/* ============================================
   INCBA — Consultora Tecnológica
   Styles — incba.com.ar
   ============================================ */

/* --- Custom Properties --- */
:root {
  --navy: #0B1C2D;
  --navy-light: #0F172A;
  --graphite: #2B2F36;
  --accent: #00C896;
  --accent-dark: #00A87D;
  --accent-glow: rgba(0, 200, 150, 0.15);
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --text-on-dark: #E2E8F0;
  --font-primary: 'Manrope', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 150, 0.3), 0 0 40px rgba(0, 200, 150, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(11, 28, 45, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0, 200, 150, 0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo,
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}

.logo-img-wrap {
  height: 32px;
  overflow: hidden;
}

.logo-img-wrap img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: cover;
  object-position: top;
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.14em;
  margin-top: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.85rem !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #0d2137 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Particle canvas */
.hero-particles {
  display: none; /* replaced by SVG illustration */
}

/* Hero 2-column layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* Data blocks subtle float */
.data-block {
  animation: block-float 5s ease-in-out infinite;
}

.db-1 { animation-delay: 0s; }
.db-2 { animation-delay: 0.8s; }
.db-3 { animation-delay: 1.6s; }

@keyframes block-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(3px, -5px); }
}

/* === Car → Rocket morph animation (10s cycle) === */
/* Crossfade: car and rocket OVERLAP during 18-24%, no empty frames. */

.morph-car {
  animation: carDrive 10s linear infinite;
  transform-origin: center center;
}
.morph-rocket {
  opacity: 0;
  animation: rocketFly 10s linear infinite;
  transform-origin: center center;
}

/* Energy cocoon layers */
.morph-ring-outer {
  opacity: 0;
  transform-origin: 270px 258px;
  animation: ringOuter 10s linear infinite;
}
.morph-glow {
  opacity: 0;
  transform-origin: 270px 258px;
  animation: glowEnvelope 10s linear infinite;
}
.morph-core {
  opacity: 0;
  transform-origin: 270px 258px;
  animation: coreFlash 10s linear infinite;
}

/* Energy particles */
.morph-particles { opacity: 0; }
.mp { animation: mpBase 10s linear infinite; }
.mp-1 { animation-name: mp1; }
.mp-2 { animation-name: mp2; }
.mp-3 { animation-name: mp3; }
.mp-4 { animation-name: mp4; }
.mp-5 { animation-name: mp5; }
.mp-6 { animation-name: mp6; }
.mp-7 { animation-name: mp7; }
.mp-8 { animation-name: mp8; }

/* ---- Car: visible 0-20%, crossfade out 18-22%, reappear 94-100% ---- */
@keyframes carDrive {
  0%   { opacity: 1; transform: translateX(-10px); }
  16%  { opacity: 1; transform: translateX(5px); }
  18%  { opacity: 1; transform: translateX(8px); }
  22%  { opacity: 0; transform: translateX(12px); }
  93%  { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(-10px); }
}

/* ---- Rocket: crossfade in 18-24%, visible 24-80%, exit 80-88% ---- */
@keyframes rocketFly {
  0%, 18%  { opacity: 0; transform: translateX(-5px) translateY(2px); }
  24%      { opacity: 1; transform: translateX(0) translateY(0); }
  70%      { opacity: 1; transform: translateX(6px) translateY(-2px); }
  78%      { opacity: 1; transform: translateX(14px) translateY(-5px); }
  84%      { opacity: 0.6; transform: translateX(30px) translateY(-12px); }
  88%      { opacity: 0; transform: translateX(50px) translateY(-20px); }
  100%     { opacity: 0; transform: translateX(-5px) translateY(2px); }
}

/* ---- Cocoon: quick pulse at 18-26% to mask the crossfade ---- */
@keyframes ringOuter {
  0%, 17%  { opacity: 0; transform: scale(0.3); }
  19%      { opacity: 0.5; transform: scale(0.8); }
  21%      { opacity: 0.6; transform: scale(1.05); }
  24%      { opacity: 0.2; transform: scale(1.2); }
  26%      { opacity: 0; transform: scale(1.4); }
  100%     { opacity: 0; }
}

@keyframes glowEnvelope {
  0%, 17%  { opacity: 0; transform: scale(0.2); }
  19%      { opacity: 0.4; transform: scale(0.7); }
  21%      { opacity: 0.7; transform: scale(1); }
  24%      { opacity: 0.2; transform: scale(1.1); }
  26%      { opacity: 0; transform: scale(1.2); }
  100%     { opacity: 0; }
}

@keyframes coreFlash {
  0%, 18%  { opacity: 0; transform: scale(0.1); }
  20%      { opacity: 0.8; transform: scale(1); }
  22%      { opacity: 0.5; transform: scale(0.8); }
  25%      { opacity: 0; transform: scale(0.2); }
  100%     { opacity: 0; }
}

/* ---- Energy particles ---- */
@keyframes mp1 { 0%,18%{ opacity:0; transform:translate(0,0) } 22%{ opacity:0.7; transform:translate(-55px,-30px) } 26%{ opacity:0; transform:translate(-80px,-45px) } 100%{ opacity:0 } }
@keyframes mp2 { 0%,18%{ opacity:0; transform:translate(0,0) } 22%{ opacity:0.6; transform:translate(50px,-28px) } 26%{ opacity:0; transform:translate(78px,-40px) } 100%{ opacity:0 } }
@keyframes mp3 { 0%,19%{ opacity:0; transform:translate(0,0) } 23%{ opacity:0.8; transform:translate(-40px,22px) } 27%{ opacity:0; transform:translate(-65px,35px) } 100%{ opacity:0 } }
@keyframes mp4 { 0%,19%{ opacity:0; transform:translate(0,0) } 23%{ opacity:0.5; transform:translate(45px,18px) } 27%{ opacity:0; transform:translate(70px,30px) } 100%{ opacity:0 } }
@keyframes mp5 { 0%,18%{ opacity:0; transform:translate(0,0) } 22%{ opacity:0.6; transform:translate(-65px,-4px) } 26%{ opacity:0; transform:translate(-95px,-6px) } 100%{ opacity:0 } }
@keyframes mp6 { 0%,19%{ opacity:0; transform:translate(0,0) } 23%{ opacity:0.5; transform:translate(60px,-8px) } 27%{ opacity:0; transform:translate(88px,-12px) } 100%{ opacity:0 } }
@keyframes mp7 { 0%,19%{ opacity:0; transform:translate(0,0) } 23%{ opacity:0.4; transform:translate(-28px,-36px) } 27%{ opacity:0; transform:translate(-45px,-55px) } 100%{ opacity:0 } }
@keyframes mp8 { 0%,18%{ opacity:0; transform:translate(0,0) } 22%{ opacity:0.4; transform:translate(32px,26px) } 26%{ opacity:0; transform:translate(50px,42px) } 100%{ opacity:0 } }

/* Speed lines shimmer */
.speed-ln {
  animation: speed-shimmer 2s ease-in-out infinite;
}

.sl-1 { animation-delay: 0s; }
.sl-2 { animation-delay: 0.3s; }
.sl-3 { animation-delay: 0.6s; }
.sl-4 { animation-delay: 0.9s; }

@keyframes speed-shimmer {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.6; }
}

/* Flow lines draw animation */
.flow-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: flow-draw 3s ease forwards;
}

.fl-1 { animation-delay: 0.5s; }
.fl-2 { animation-delay: 0.8s; }
.fl-3 { animation-delay: 1.1s; }

@keyframes flow-draw {
  to { stroke-dashoffset: 0; }
}

/* Orbit subtle rotation */
.hero-orbit {
  animation: orbit-spin 40s linear infinite;
  transform-origin: 280px 250px;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(0, 200, 150, 0.07);
  top: 10%;
  right: 5%;
  animation: orb-float-1 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: rgba(0, 200, 150, 0.05);
  bottom: 15%;
  left: 10%;
  animation: orb-float-2 10s ease-in-out infinite;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: rgba(0, 140, 255, 0.04);
  top: 40%;
  left: 50%;
  animation: orb-float-3 12s ease-in-out infinite;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.15); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15px, -30px) scale(0.9); }
}

/* Section decorators */
.section-deco {
  position: absolute;
  top: 40px;
  left: -60px;
  width: 200px;
  height: 200px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.section-deco-right {
  left: auto;
  right: -60px;
  top: auto;
  bottom: 40px;
}

.deco-circuit,
.deco-hex {
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 200, 150, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.08);
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 200, 150, 0.08); }
  50% { box-shadow: 0 0 30px rgba(0, 200, 150, 0.15); }
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-metric {
  text-align: left;
}

.hero-metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-metric-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ============================================
   SECTION: BRAND DECODER
   ============================================ */
.decoder-section {
  position: relative;
  padding: 100px 0 80px;
  background: var(--navy);
  overflow: hidden;
}

.decoder-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Circuit background */
.decoder-circuits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.circuit-line {
  opacity: 0;
  animation: circuit-fade 4s ease-in-out infinite;
}
.cl-1 { animation-delay: 0s; }
.cl-2 { animation-delay: 0.8s; }
.cl-3 { animation-delay: 1.6s; }
.cl-4 { animation-delay: 0.4s; }
.cl-5 { animation-delay: 1.2s; }
.cl-6 { animation-delay: 2s; }

@keyframes circuit-fade {
  0%, 100% { opacity: 0; }
  30%, 70% { opacity: 1; }
}

.circuit-dot {
  animation: dot-pulse 3s ease-in-out infinite;
}
.cd-1 { animation-delay: 0.2s; }
.cd-2 { animation-delay: 0.8s; }
.cd-3 { animation-delay: 1.4s; }
.cd-4 { animation-delay: 1s; }
.cd-5 { animation-delay: 1.8s; }

@keyframes dot-pulse {
  0%, 100% { r: 3; opacity: 0.3; }
  50% { r: 6; opacity: 0.8; }
}

/* Letters layout */
.decoder-letters {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.decoder-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 100px;
}

/* The big letter glyph */
.letter-glyph {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 200, 150, 0.15);
  border-radius: 16px;
  background: rgba(0, 200, 150, 0.03);
  overflow: hidden;
  transition: all 0.4s ease;
}

.decoder-letter:hover .letter-glyph {
  border-color: rgba(0, 200, 150, 0.5);
  background: rgba(0, 200, 150, 0.08);
  box-shadow: 0 0 40px rgba(0, 200, 150, 0.15), inset 0 0 30px rgba(0, 200, 150, 0.05);
  transform: translateY(-4px);
}

.letter-char {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.letter-accent {
  color: var(--accent);
}

.decoder-letter:hover .letter-char {
  text-shadow: 0 0 20px rgba(0, 200, 150, 0.6);
}

.decoder-letter:hover .letter-accent {
  text-shadow: 0 0 30px rgba(0, 200, 150, 0.9);
}

/* Scanline sweep effect */
.letter-scanline {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 150, 0.08), transparent);
  animation: scanline-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

.decoder-letter:nth-child(1) .letter-scanline { animation-delay: 0s; }
.decoder-letter:nth-child(2) .letter-scanline { animation-delay: 0.5s; }
.decoder-letter:nth-child(3) .letter-scanline { animation-delay: 1s; }
.decoder-letter:nth-child(5) .letter-scanline { animation-delay: 1.5s; }
.decoder-letter:nth-child(6) .letter-scanline { animation-delay: 2s; }

@keyframes scanline-sweep {
  0% { left: -100%; }
  40%, 100% { left: 200%; }
}

/* Connector line */
.letter-connector {
  width: 40px;
  height: 50px;
  opacity: 0.6;
}

.connector-line {
  stroke-dashoffset: 60;
  animation: dash-draw 2s ease forwards;
}

.decoder-letter:nth-child(1) .connector-line { animation-delay: 0.5s; }
.decoder-letter:nth-child(2) .connector-line { animation-delay: 0.7s; }
.decoder-letter:nth-child(3) .connector-line { animation-delay: 0.9s; }
.decoder-letter:nth-child(5) .connector-line { animation-delay: 1.1s; }
.decoder-letter:nth-child(6) .connector-line { animation-delay: 1.3s; }

@keyframes dash-draw {
  to { stroke-dashoffset: 0; }
}

.connector-dot {
  opacity: 0;
  animation: dot-appear 0.4s ease forwards;
}

.decoder-letter:nth-child(1) .connector-dot { animation-delay: 1.2s; }
.decoder-letter:nth-child(2) .connector-dot { animation-delay: 1.4s; }
.decoder-letter:nth-child(3) .connector-dot { animation-delay: 1.6s; }
.decoder-letter:nth-child(5) .connector-dot { animation-delay: 1.8s; }
.decoder-letter:nth-child(6) .connector-dot { animation-delay: 2s; }

@keyframes dot-appear {
  to { opacity: 1; }
}

/* Meaning text */
.letter-meaning {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: meaning-reveal 0.6s ease forwards;
}

.decoder-letter:nth-child(1) .letter-meaning { animation-delay: 1.4s; }
.decoder-letter:nth-child(2) .letter-meaning { animation-delay: 1.6s; }
.decoder-letter:nth-child(3) .letter-meaning { animation-delay: 1.8s; }
.decoder-letter:nth-child(5) .letter-meaning { animation-delay: 2s; }
.decoder-letter:nth-child(6) .letter-meaning { animation-delay: 2.2s; }

@keyframes meaning-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.meaning-word {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.meaning-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.meaning-ampersand {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-500);
  font-style: italic;
}

/* "for" separator */
.decoder-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gray-500);
  padding-top: 0;
}

/* Full tagline */
.decoder-tagline {
  text-align: center;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.decoder-tagline p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .decoder-letters {
    flex-wrap: wrap;
    gap: 8px;
  }
  .decoder-letter { min-width: 70px; }
  .letter-glyph { width: 70px; height: 70px; }
  .letter-char { font-size: 2.2rem; }
  .decoder-sep { height: 70px; min-width: 30px; font-size: 0.75rem; }
  .meaning-word { font-size: 0.8rem; }
  .meaning-desc { display: none; }
  .decoder-tagline p { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .decoder-letters { gap: 4px; }
  .decoder-letter { min-width: 56px; }
  .letter-glyph { width: 56px; height: 56px; border-radius: 10px; }
  .letter-char { font-size: 1.7rem; }
  .decoder-sep { height: 56px; min-width: 22px; }
  .letter-connector { height: 36px; }
}

/* Decoder animations start paused until in view */
.decoder-letters .connector-line,
.decoder-letters .connector-dot,
.decoder-letters .letter-meaning,
.decoder-letters .letter-scanline {
  animation-play-state: paused;
}

.decoder-letters.decoder-active .connector-line,
.decoder-letters.decoder-active .connector-dot,
.decoder-letters.decoder-active .letter-meaning,
.decoder-letters.decoder-active .letter-scanline {
  animation-play-state: running;
}

/* ============================================
   SECTION: PROBLEM
   ============================================ */
.section { padding: 120px 0; position: relative; overflow: hidden; }
.section-dark { background: var(--navy); color: var(--white); }
.section-alt { background: var(--off-white); }

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

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.problem-card:hover {
  border-color: rgba(0, 200, 150, 0.15);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 200, 150, 0.06);
  transform: translateY(-4px);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  background: #FEF2F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #EF4444;
}

.problem-card-icon svg { width: 22px; height: 22px; }

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   SECTION: SOLUTION
   ============================================ */
.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.solution-text .highlight {
  color: var(--accent);
  font-weight: 600;
}

.solution-text p {
  color: var(--text-on-dark);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.solution-feature-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(0, 200, 150, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.solution-feature-icon svg { width: 14px; height: 14px; color: var(--accent); }

.solution-feature span {
  color: var(--text-on-dark);
  font-size: 0.95rem;
}

/* Integration diagram */
.integration-diagram {
  position: relative;
}

.diagram-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 48px 32px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.diagram-center {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 200, 150, 0.3);
}

.diagram-center span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.diagram-center::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 150, 0.2);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.5; }
}

.diagram-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.diagram-node {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  transition: all var(--transition);
}

.diagram-node:hover {
  border-color: var(--accent);
  background: rgba(0, 200, 150, 0.05);
}

.diagram-node-icon {
  margin-bottom: 8px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-node-icon svg {
  width: 28px;
  height: 28px;
}

.diagram-node-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-300);
}

.diagram-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform: translate(-50%, -50%);
}

/* ============================================
   SECTION: SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 200, 150, 0.08);
  transform: translateY(-4px);
  border-color: rgba(0, 200, 150, 0.15);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

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

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SECTION: PROCESS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.15);
  transition: all var(--transition);
}

.process-step:hover .process-step-num {
  box-shadow: 0 0 35px rgba(0, 200, 150, 0.3);
  transform: scale(1.05);
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   SECTION: BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

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

.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.benefit-icon svg { width: 20px; height: 20px; }

.benefit h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SECTION: WHY INCBA
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.why-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.why-card:hover {
  border-color: rgba(0, 200, 150, 0.35);
  background: rgba(0, 200, 150, 0.05);
  box-shadow: 0 0 30px rgba(0, 200, 150, 0.08), inset 0 1px 0 rgba(0, 200, 150, 0.1);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 200, 150, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.why-card-icon svg { width: 22px; height: 22px; }

.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   SECTION: TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}

.team-member:hover {
  border-color: rgba(0, 200, 150, 0.2);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 200, 150, 0.06);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.team-member:hover .team-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.2);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.team-member h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.team-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* ============================================
   SECTION: PARTNERS
   ============================================ */
.partners-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.partners-text h2 {
  margin-bottom: 20px;
}

.partners-text > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.partners-perks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.perk-icon svg { width: 18px; height: 18px; }

.perk-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.perk-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.partners-visual {
  position: relative;
}

.partners-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 48px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 150, 0.1);
}

.partners-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.1) 0%, transparent 70%);
}

.partners-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
}

.partners-card p {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}

.partners-card .btn {
  position: relative;
}

.partners-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

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

.partner-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.partner-stat-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTION: MANIFESTO / QUOTE
   ============================================ */
.manifesto {
  text-align: center;
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.manifesto-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 150, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 150, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.manifesto-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 200, 150, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.data-stream {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  pointer-events: none;
}

.data-stream::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: data-flow 4s linear infinite;
}

.ds-1 { left: 15%; }
.ds-1::before { animation-delay: 0s; }
.ds-2 { left: 50%; }
.ds-2::before { animation-delay: 1.5s; }
.ds-3 { right: 20%; left: auto; }
.ds-3::before { animation-delay: 3s; }

@keyframes data-flow {
  0% { top: -40px; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { top: calc(100% + 40px); opacity: 0; }
}

.manifesto .container {
  position: relative;
  z-index: 1;
}

.manifesto-bracket {
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(0, 200, 150, 0.25);
  font-family: 'Courier New', monospace;
  margin-bottom: 8px;
}

.manifesto-bracket-close {
  margin-top: 8px;
  margin-bottom: 0;
}

.manifesto blockquote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.manifesto blockquote .accent {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0, 200, 150, 0.3);
}

.manifesto-sub {
  font-size: 1rem;
  color: var(--gray-400);
  margin-top: 24px;
  font-weight: 400;
}

.manifesto-cursor {
  display: inline-block;
  font-size: 1.3rem;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  margin-top: 16px;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ============================================
   SECTION: CLIENTS CAROUSEL
   ============================================ */
.clients-section {
  padding: 80px 0 60px;
  background: var(--navy);
  overflow: hidden;
}

.clients-header {
  text-align: center;
  margin-bottom: 48px;
}

.clients-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-on-dark);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: carouselScroll 40s linear infinite;
}

.carousel-slide {
  flex-shrink: 0;
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 12px 16px;
  transition: background 0.3s ease;
}

.carousel-slide:hover {
  background: #fff;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.carousel-slide img:hover {
  opacity: 1;
}

.carousel-slide.dark-card {
  background: rgba(30, 45, 60, 0.85);
}
.carousel-slide.dark-card:hover {
  background: rgba(30, 45, 60, 1);
}

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

/* ============================================
   SECTION: CTA / CONTACT
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2137 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CTA animated mesh */
.cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 200, 150, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 140, 255, 0.04) 0%, transparent 50%);
  animation: mesh-shift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mesh-shift {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.orb-cta-1 {
  width: 250px;
  height: 250px;
  background: rgba(0, 200, 150, 0.06);
  top: -50px;
  right: 10%;
  animation: orb-float-1 7s ease-in-out infinite;
  z-index: 0;
}

.orb-cta-2 {
  width: 180px;
  height: 180px;
  background: rgba(0, 140, 255, 0.04);
  bottom: -30px;
  left: 15%;
  animation: orb-float-2 9s ease-in-out infinite;
  z-index: 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content > p {
  color: var(--gray-400);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.cta-info {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.cta-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.cta-info-item a {
  color: var(--gray-300);
  transition: color var(--transition);
}

.cta-info-item a:hover { color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo .logo-img-wrap { height: 26px; }
.footer-logo .logo-img-wrap img { height: 40px; }
.footer-logo .logo-sub { font-size: 0.48rem; }

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-illustration {
    max-width: 400px;
    margin: 0 auto;
  }

  .solution-layout,
  .partners-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 28, 45, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .hero-metrics {
    flex-direction: column;
    gap: 24px;
  }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }

  .hero-illustration {
    max-width: 320px;
  }

  .hero-svg {
    max-width: 320px;
  }

  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .diagram-nodes { grid-template-columns: repeat(2, 1fr); }

  .partners-stats { grid-template-columns: 1fr; gap: 16px; }

  .carousel-track { gap: 32px; }
  .carousel-slide { width: 90px; height: 45px; }

  .cta-info { flex-direction: column; align-items: center; gap: 16px; }

  .footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero .container { padding-top: 80px; }
}
