/* =============================================
   YASHICOM - AI Consulting Website
   Light/Dark Theme + Enhanced Motion
   ============================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #7000F4;
  --purple-dark: #5200b3;
  --purple-light: #9b4dff;
  --blue: #2184F9;
  --blue-light: #5ba3ff;
  --red: #DE1414;
  --yellow: #FFD800;
  --gradient-primary: linear-gradient(135deg, #7000F4 0%, #2184F9 100%);
  --gradient-accent: linear-gradient(135deg, #7000F4 0%, #DE1414 100%);
  --gradient-warm: linear-gradient(135deg, #2184F9 0%, #00d4aa 100%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --nav-height: 80px;
  --container-width: 1280px;
  --section-padding: 120px;
}

/* DARK THEME (default) */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-card: #12121a;
  --bg-surface: #1a1a28;
  --bg-elevated: #22222e;
  --border-color: #2a2a3a;
  --border-hover: rgba(112, 0, 244, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #e8e8f0;
  --text-muted: #9090a0;
  --text-faint: #6a6a7a;
  --tag-color: #9b4dff;
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 60px rgba(112, 0, 244, 0.15);
  --particle-color-1: rgba(112, 0, 244, 0.6);
  --particle-color-2: rgba(33, 132, 249, 0.5);
  --nav-bg: rgba(10, 10, 15, 0.85);
  --input-bg: #1a1a28;
  --marquee-bg: #12121a;
}

/* LIGHT THEME */
[data-theme="light"] {
  --bg-primary: #f8f7fc;
  --bg-card: #ffffff;
  --bg-surface: #f0eef6;
  --bg-elevated: #e8e5f0;
  --border-color: #d8d5e2;
  --border-hover: rgba(112, 0, 244, 0.25);
  --text-primary: #1a1028;
  --text-secondary: #2d2640;
  --text-muted: #6b6580;
  --text-faint: #8a85a0;
  --tag-color: #7000F4;
  --shadow-card: 0 10px 30px rgba(112, 0, 244, 0.08);
  --shadow-glow: 0 0 60px rgba(112, 0, 244, 0.06);
  --particle-color-1: rgba(112, 0, 244, 0.2);
  --particle-color-2: rgba(33, 132, 249, 0.15);
  --nav-bg: rgba(248, 247, 252, 0.9);
  --input-bg: #f0eef6;
  --marquee-bg: #f0eef6;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.5s ease, color 0.5s ease;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; display: block; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--purple-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle, rgba(112, 0, 244, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(112, 0, 244, 0.04) 0%, transparent 70%);
}

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tag-color);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; margin-bottom: 64px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(112, 0, 244, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(112, 0, 244, 0.5);
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: var(--gradient-primary);
  z-index: -1;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-glow:hover::after { opacity: 0.6; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--tag-color);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}

.theme-toggle:hover {
  border-color: var(--purple);
  background: rgba(112, 0, 244, 0.1);
  transform: rotate(15deg);
}

.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-theme="dark"] .theme-icon.sun {
  color: var(--yellow);
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
[data-theme="dark"] .theme-icon.moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
[data-theme="light"] .theme-icon.sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
[data-theme="light"] .theme-icon.moon {
  color: var(--purple);
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  min-height: var(--nav-height);
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.logo-y-svg {
  display: block;
  height: 48px;
  width: 48px;
  border-radius: 14px;
  filter: drop-shadow(0 2px 8px rgba(112, 0, 244, 0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover .logo-y-svg {
  filter: drop-shadow(0 4px 16px rgba(112, 0, 244, 0.5));
  transform: scale(1.05);
}

.logo-y-svg circle {
  animation: confettiTwinkle 3s ease-in-out infinite;
}
.logo-y-svg circle:nth-child(odd) { animation-delay: 0.5s; }
.logo-y-svg circle:nth-child(3n) { animation-delay: 1s; }
.logo-y-svg circle:nth-child(4n) { animation-delay: 1.5s; }

@keyframes confettiTwinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}

.logo-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-item::before {
  content: attr(data-num);
  font-size: 0.65rem;
  color: var(--purple);
  margin-right: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before { opacity: 1; }

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
  background: rgba(112, 0, 244, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(112, 0, 244, 0.4);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--particle-color-1), transparent 70%);
  top: -15%;
  right: -10%;
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--particle-color-2), transparent 70%);
  bottom: -15%;
  left: -10%;
  animation: orbFloat 12s ease-in-out infinite -4s;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(222, 20, 20, 0.2), transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat 14s ease-in-out infinite -8s;
}

[data-theme="light"] .hero-orb-3 {
  background: radial-gradient(circle, rgba(112, 0, 244, 0.08), transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -40px) scale(1.08); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(30px, 20px) scale(1.03); }
}

/* FLOATING GEOMETRIC SHAPES */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.15;
}

[data-theme="light"] .shape { opacity: 0.1; }

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--purple);
  top: 15%;
  left: 8%;
  animation: shapeFloat1 18s ease-in-out infinite, shapeSpin 25s linear infinite;
}

.shape-circle {
  width: 40px;
  height: 40px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  top: 25%;
  right: 12%;
  animation: shapeFloat2 15s ease-in-out infinite;
}

.shape-square {
  width: 35px;
  height: 35px;
  border: 3px solid var(--purple-light);
  bottom: 25%;
  left: 15%;
  animation: shapeFloat3 20s ease-in-out infinite, shapeSpin 30s linear infinite reverse;
}

.shape-hex {
  width: 50px;
  height: 29px;
  background: var(--purple);
  position: absolute;
  bottom: 20%;
  right: 8%;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: shapeFloat1 22s ease-in-out infinite -5s;
}

.shape-ring {
  width: 80px;
  height: 80px;
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  top: 60%;
  left: 5%;
  animation: shapeFloat2 25s ease-in-out infinite -3s, ringPulse 4s ease-in-out infinite;
}

.shape-dot-cluster {
  position: absolute;
  top: 10%;
  right: 25%;
  width: 80px;
  height: 80px;
}

.shape-dot-cluster span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: dotPulse 3s ease-in-out infinite;
}

.shape-dot-cluster span:nth-child(1) { top: 0; left: 20px; animation-delay: 0s; }
.shape-dot-cluster span:nth-child(2) { top: 20px; left: 0; animation-delay: 0.3s; }
.shape-dot-cluster span:nth-child(3) { top: 20px; left: 40px; animation-delay: 0.6s; }
.shape-dot-cluster span:nth-child(4) { top: 40px; left: 10px; animation-delay: 0.9s; }
.shape-dot-cluster span:nth-child(5) { top: 40px; left: 30px; animation-delay: 1.2s; }

@keyframes shapeFloat1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(60px, -40px); }
  50% { transform: translate(20px, 50px); }
  75% { transform: translate(-30px, -20px); }
}

@keyframes shapeFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-50px, 30px); }
  66% { transform: translate(40px, -50px); }
}

@keyframes shapeFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(40px, -60px) rotate(45deg); }
}

@keyframes shapeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.15); opacity: 0.25; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.5); }
}

/* ANIMATED GRID LINES */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.grid-line {
  position: absolute;
  background: var(--gradient-primary);
  opacity: 0.06;
}

[data-theme="light"] .grid-line { opacity: 0.04; }

.gl-h {
  height: 1px;
  width: 100%;
  animation: gridSlideH 8s ease-in-out infinite;
}

.gl-v {
  width: 1px;
  height: 100%;
  animation: gridSlideV 10s ease-in-out infinite;
}

.gl-1 { top: 30%; animation-delay: 0s; }
.gl-2 { top: 70%; animation-delay: -4s; }
.gl-3 { left: 25%; animation-delay: -2s; }
.gl-4 { left: 75%; animation-delay: -6s; }

@keyframes gridSlideH {
  0% { transform: translateX(-100%); opacity: 0; }
  30% { opacity: 0.08; }
  70% { opacity: 0.08; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes gridSlideV {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 0.06; }
  70% { opacity: 0.06; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* SECTION BACKGROUND BLOBS */
.section-bg-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(112, 0, 244, 0.08);
  top: -20%;
  right: -10%;
  animation: blobMorph 15s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(33, 132, 249, 0.06);
  bottom: -10%;
  left: -5%;
  animation: blobMorph 18s ease-in-out infinite -6s;
}

.blob-3 {
  width: 600px;
  height: 600px;
  background: rgba(112, 0, 244, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: blobMorph 20s ease-in-out infinite -4s;
}

.blob-4 {
  width: 500px;
  height: 500px;
  background: rgba(33, 132, 249, 0.06);
  top: 20%;
  right: -15%;
  animation: blobMorph 16s ease-in-out infinite -8s;
}

[data-theme="light"] .blob-1,
[data-theme="light"] .blob-2,
[data-theme="light"] .blob-3,
[data-theme="light"] .blob-4 { opacity: 0.5; }

@keyframes blobMorph {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50%; }
  25% { transform: translate(30px, -20px) scale(1.1); border-radius: 40% 60% 60% 40%; }
  50% { transform: translate(-20px, 30px) scale(0.9); border-radius: 60% 40% 40% 60%; }
  75% { transform: translate(10px, -10px) scale(1.05); border-radius: 45% 55% 50% 50%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(112, 0, 244, 0.15);
  border: 1px solid rgba(112, 0, 244, 0.3);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tag-color);
  margin-bottom: 32px;
}

[data-theme="light"] .hero-badge {
  background: rgba(112, 0, 244, 0.08);
  border-color: rgba(112, 0, 244, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(112, 0, 244, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 10px rgba(112, 0, 244, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--tag-color);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gradient-primary);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* PARTICLE GRID background */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(112, 0, 244, 0.12) 1px, transparent 0);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] .hero::after {
  background-image: radial-gradient(circle at 1px 1px, rgba(112, 0, 244, 0.06) 1px, transparent 0);
}

/* ---------- SECTION COMMONS ---------- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-primary); }
.about-grid { grid-template-columns: 1fr 1fr; }

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }

.about-feature { display: flex; gap: 16px; align-items: flex-start; }

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(112, 0, 244, 0.1);
  border: 1px solid rgba(112, 0, 244, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tag-color);
}

.feature-icon svg { width: 20px; height: 20px; }
.about-feature h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.about-feature p { font-size: 0.9rem; color: var(--text-faint); }

.about-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.about-card-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: var(--shadow-card);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.card-1, .card-2, .card-3 { top: auto; left: auto; z-index: auto; }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg { width: 24px; height: 24px; color: white; }
.about-card h4 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; }
.about-card p { font-size: 0.9rem; color: var(--text-faint); }

/* ---------- SERVICES ---------- */
.services { background: var(--bg-card); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(112, 0, 244, 0.1);
  border: 1px solid rgba(112, 0, 244, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  color: var(--tag-color);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-primary); margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; color: var(--text-faint); line-height: 1.65; margin-bottom: 20px; }

.service-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tag-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.service-link span { transition: transform 0.3s ease; }
.service-link:hover span { transform: translateX(4px); }

/* ---------- APPROACH ---------- */
.approach { background: var(--bg-primary); }

.approach-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--blue), transparent);
}

.approach-step {
  display: grid;
  grid-template-columns: 72px 1fr 80px;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  position: relative;
  z-index: 1;
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--bg-primary);
  border: 2px solid var(--purple);
  border-radius: 50%;
  z-index: -1;
}

.step-content {
  min-width: 0;
  padding-left: 0;
}

.step-content h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-primary); margin-bottom: 12px; }
.step-content p { font-size: 0.95rem; color: var(--text-faint); line-height: 1.7; }

.step-visual { display: flex; justify-content: center; }

.step-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(112, 0, 244, 0.1);
  border: 1px solid rgba(112, 0, 244, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tag-color);
  transition: all 0.4s ease;
}

.approach-step:hover .step-icon-wrapper {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
}

.step-icon-wrapper svg { width: 24px; height: 24px; }

/* ---------- CASE STUDIES ---------- */
.case-studies { background: var(--bg-card); }

.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.case-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 40px;
}

.case-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-card); }

.case-large { grid-column: 1 / -1; background: var(--gradient-primary); border-color: transparent; }
.case-large .case-tag { background: rgba(255, 255, 255, 0.2); color: white; }
.case-large p, .case-large .case-link { color: rgba(255, 255, 255, 0.85); }
.case-large h3 { color: #fff; }

.case-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(112, 0, 244, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tag-color);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-content h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text-primary); margin-bottom: 12px; line-height: 1.3; }
.case-content p { font-size: 0.95rem; color: var(--text-faint); margin-bottom: 20px; line-height: 1.65; }

.case-metrics { display: flex; gap: 32px; margin-bottom: 20px; }
.metric { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.metric span { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #fff; }

.case-link { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--tag-color); transition: all 0.3s ease; }
.case-link:hover { color: var(--text-primary); }

/* ---------- VALUES ---------- */
.values { background: var(--bg-primary); }

.values-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.values-intro p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-top: 8px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.value-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.value-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.value-card h3 { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-primary); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; }

/* ---------- INSIGHTS ---------- */
.insights { background: var(--bg-card); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.insight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.insight-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-card); }

.insight-img-wrap { display: block; text-decoration: none; color: inherit; }
.insight-img { height: 200px; position: relative; overflow: hidden; background: var(--bg-card); }
.insight-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-body { padding: 28px; }
.insight-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.insight-category { font-size: 0.75rem; font-weight: 600; color: var(--tag-color); text-transform: uppercase; letter-spacing: 1px; }
.insight-date { font-size: 0.8rem; color: var(--text-faint); }
.insight-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 12px; line-height: 1.4; }
.insight-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.6; margin-bottom: 16px; }
.insight-link { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--tag-color); }

/* ---------- CLIENTS MARQUEE ---------- */
.clients { padding: 80px 0; background: var(--bg-primary); overflow: hidden; }
.client-marquee { overflow: hidden; margin-top: 16px; }

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-placeholder {
  flex-shrink: 0;
  padding: 16px 40px;
  background: var(--marquee-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.client-logo-placeholder:hover { border-color: var(--border-hover); color: var(--text-secondary); }

/* ---------- CAREERS ---------- */
.careers { background: var(--bg-card); }
.careers-grid { grid-template-columns: 1fr 1fr; }
.careers-text { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.8; }
.careers-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.perk { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-secondary); }
.perk svg { width: 20px; height: 20px; color: var(--tag-color); flex-shrink: 0; }
.careers-roles { display: flex; flex-direction: column; gap: 12px; }

.role-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all 0.4s ease;
}

.role-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
.role-info h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.role-type { font-size: 0.8rem; color: var(--text-faint); }
.role-apply { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; color: var(--tag-color); transition: all 0.3s ease; }
.role-apply:hover { color: var(--text-primary); }

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-primary); }
.contact-grid { grid-template-columns: 1fr 1fr; }
.contact-text { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-secondary); }
.contact-item svg { width: 20px; height: 20px; color: var(--tag-color); flex-shrink: 0; }
.contact-socials { display: flex; gap: 12px; }

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--purple); border-color: var(--purple); color: white; transform: translateY(-2px); }

.contact-form-wrapper {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(112, 0, 244, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239090a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 32px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-logo-link { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-mark .logo-y-svg { height: 40px; width: 40px; }
.footer-logo-link .logo-text-group .logo-brand {
  font-size: 1.1rem;
  letter-spacing: 2.5px;
}
.footer-logo-link .logo-text-group .logo-tagline {
  font-size: 0.5rem;
  letter-spacing: 3px;
}
.footer-placeholder-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.7; max-width: 300px; }
.footer-links h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--text-faint); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--tag-color); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }
.footer-certifications { display: flex; gap: 12px; }

.cert-badge {
  padding: 6px 14px;
  background: rgba(112, 0, 244, 0.1);
  border: 1px solid rgba(112, 0, 244, 0.15);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tag-color);
}

/* ---------- ANIMATIONS ---------- */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT SHIMMER for hero title */
.text-reveal {
  display: inline-block;
  position: relative;
}

/* ---------- SERVICE PAGE STYLES ---------- */
.service-hero {
  position: relative;
  padding: 160px 40px 80px;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.service-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.service-hero .hero-gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 0; }
.service-hero .hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--particle-color-1), transparent 70%); top: -20%; right: -10%; animation: orbFloat 10s ease-in-out infinite; }
.service-hero .hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--particle-color-2), transparent 70%); bottom: -20%; left: -10%; animation: orbFloat 12s ease-in-out infinite -4s; }

.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tag-color);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
.back-link:hover { color: var(--text-primary); transform: translateX(-4px); }

.service-hero-content .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.service-hero-content .breadcrumb a { color: var(--tag-color); }
.service-hero-content .breadcrumb a:hover { text-decoration: underline; }

.service-hero-content h1,
.service-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}

.service-hero-content .lead,
.service-hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* Article (insight) page */
.article-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 32px;
  border: 1px solid var(--border-color);
}
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: 0.9rem; color: var(--text-faint); }
.article-meta .category { font-weight: 600; color: var(--tag-color); text-transform: uppercase; letter-spacing: 1px; }
.article-content { max-width: 720px; margin: 0 auto; }
.article-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 20px; }
.article-content h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-primary); margin: 40px 0 16px; }
.article-content h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-primary); margin: 28px 0 12px; }
.article-content ul { margin: 16px 0 24px; padding-left: 24px; color: var(--text-muted); line-height: 1.8; }
.article-content li { margin-bottom: 8px; }

/* Service capabilities grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.capability-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.capability-card .cap-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(112, 0, 244, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.cap-icon svg {
  width: 24px;
  height: 24px;
  color: var(--tag-color);
}
.capability-card:hover .cap-icon {
  background: var(--gradient-primary);
}
.capability-card:hover .cap-icon svg {
  color: #fff;
}

.capability-card h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-primary); margin-bottom: 10px; }
.capability-card p { font-size: 0.9rem; color: var(--text-faint); line-height: 1.65; }

/* Differentiator / approach section on service pages */
.differentiator {
  background: var(--bg-card);
}

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-content h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--text-primary); margin-bottom: 20px; }
.diff-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.diff-highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }

.diff-item {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.diff-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.diff-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.diff-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.diff-highlight {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.diff-highlight:hover { border-color: var(--border-hover); }

.diff-highlight .hl-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.diff-highlight .hl-icon svg { width: 20px; height: 20px; }
.diff-highlight h4 { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text-primary); margin-bottom: 4px; }
.diff-highlight p { font-size: 0.85rem; color: var(--text-faint); margin: 0; }

/* CTA banner */
.cta-banner {
  text-align: center;
  background: var(--gradient-primary);
  padding: 80px 40px;
}

.cta-banner h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-white {
  background: #fff;
  color: var(--purple);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ---------- BODY SCROLL LOCK (mobile menu open) ---------- */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: fixed;
    top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: calc(100vh - var(--nav-height) - env(safe-area-inset-top, 0px));
    z-index: 1001;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 40px;
    gap: 8px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .services-grid, .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .careers-grid, .contact-grid, .values-layout, .diff-layout { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px; }
  .container { padding: 0 20px; }
  .hero { padding: 120px 20px 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  .services-grid, .insights-grid, .capabilities-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .approach-step { grid-template-columns: 60px 1fr; }
  .approach-timeline::before { left: 30px; }
  .step-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-certifications { flex-wrap: wrap; justify-content: center; }
  .floating-shapes { display: none; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 0.7rem; padding: 6px 14px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .about-card-stack { max-width: 100%; }
  .about-card { max-width: 100%; }
  .nav-logo .logo-text-group .logo-brand { font-size: 1rem; letter-spacing: 2px; }
  .nav-logo .logo-text-group .logo-tagline { font-size: 0.5rem; letter-spacing: 2px; }
}
