/* ============================================================
   PIXFLOW — style.css
   Theme: Framer-inspired void black · Framer Blue #0099ff
   Fonts: Plus Jakarta Sans (display) · Inter (body) · JetBrains Mono
   ============================================================ */

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --bg:             #000000;
  --surface:        #090909;
  --surface-2:      #111117;
  --white:          #ffffff;
  --silver:         #a6a6a6;
  --blue:           #0099ff;
  --violet:         #a855f7;
  --pink:           #f43f8e;
  --mint:           #10b981;
  --amber:          #f59e0b;
  --orange:         #f97316;
  --danger:         #ff5f57;

  --frosted:        rgba(255,255,255,0.08);
  --frosted-hover:  rgba(255,255,255,0.14);
  --ghost:          rgba(255,255,255,0.6);
  --placeholder:    rgba(255,255,255,0.35);

  --blue-ring:      rgba(0,153,255,0.15);
  --blue-glow:      rgba(0,153,255,0.08);
  --blue-aura:      rgba(0,153,255,0.45);
  --violet-aura:    rgba(168,85,247,0.45);
  --border-subtle:  rgba(255,255,255,0.06);
  --border-danger:  rgba(255,95,87,0.4);

  /* Typography */
  --font-display:   'Plus Jakarta Sans', sans-serif;
  --font-body:      'Inter', -apple-system, system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', monospace;

  /* Elevation */
  --shadow-ring:    0 0 0 1px var(--blue-ring);
  --shadow-float:   rgba(255,255,255,0.1) 0px 0.5px 0px 0.5px,
                    rgba(0,0,0,0.35) 0px 12px 40px;

  /* Layout */
  --container:      1160px;
  --header-h:       68px;

  /* Radius */
  --r-sm:  5px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 24px;
  --r-nav: 40px;
  --r-pill: 100px;
}

/* ── Base ────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "cv11";
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utilities ───────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
}

.accent-text {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.typewriter-line {
  display: block;
  min-height: 1em;
  white-space: nowrap;
}
.typewriter-cursor {
  display: inline;
  margin-left: 1px;
  animation: cursorBlink 0.75s step-end infinite;
  color: var(--blue);
  -webkit-text-fill-color: var(--blue);
  font-style: normal;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Hero TextRotate ─────────────────────────────────────── */
.hero-rotate-line {
  display: inline;
}
.hero-rotate-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-rotate-track {
  display: block;
  position: relative;
}
.hero-rotate-word {
  display: block;
  white-space: nowrap;
}
/* enter: slides up from below */
@keyframes rotateWordIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
/* exit: slides up and out */
@keyframes rotateWordOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-110%); opacity: 0; }
}
.hero-rotate-word.is-entering {
  animation: rotateWordIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-rotate-word.is-exiting {
  position: absolute;
  top: 0;
  left: 0;
  animation: rotateWordOut 0.45s cubic-bezier(0.55, 0, 0.45, 1) forwards;
}

/* ── Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Buttons ─────────────────────────────────────────────── */
/* Shiny button @property declarations */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.96); }

.btn-solid {
  background: var(--white);
  color: var(--bg);
}
.btn-solid:hover { opacity: 0.88; }

/* ── Shiny CTA button ─────────────────────────────────── */
.btn-shiny {
  --shiny-fg:       #ffffff;
  --shiny-hi:       #0099ff;
  --shiny-hi-sub:   #66ccff;
  --shiny-dur:      3s;
  --shiny-ease:     800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  border: 0 !important;
  border-radius: var(--r-pill);
  color: var(--shiny-fg);
  background: #060a10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  transition:
    var(--shiny-ease),
    box-shadow 0.4s ease,
    transform 0.15s ease;
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, box-shadow, transform;
}

.btn-shiny::before,
.btn-shiny::after,
.btn-shiny span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  border-radius: inherit;
}

/* Border sweep: masked so the glow follows the exact pill contour */
.btn-shiny::before {
  inset: 0;
  z-index: 0;
  padding: 1px;
  background: conic-gradient(
    from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
    transparent,
    var(--shiny-hi)       var(--gradient-percent),
    var(--gradient-shine) calc(var(--gradient-percent) * 2),
    var(--shiny-hi)       calc(var(--gradient-percent) * 3),
    transparent           calc(var(--gradient-percent) * 4)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.95;
}

/* Inner shimmer — hidden by default, visible on hover */
.btn-shiny::after {
  inset: 1px;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,120,255,0.45) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-shiny:is(:hover, :focus-visible)::after {
  opacity: 0.35;
}

.btn-shiny span {
  z-index: 2;
  position: relative;
  border-radius: inherit;
}

.btn-shiny span::before {
  inset: -10px -14px;
  width: auto;
  height: auto;
  translate: none;
  border-radius: inherit;
  z-index: -1;
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-hi);
  opacity: 0;
  transition: opacity var(--shiny-ease);
  animation: calc(var(--shiny-dur) * 1.5) shiny-breathe linear infinite;
}

/* Animate border sweep */
.btn-shiny,
.btn-shiny::before,
.btn-shiny::after {
  animation:
    shiny-spin var(--shiny-dur) linear infinite,
    shiny-spin calc(var(--shiny-dur) / 0.4) linear reverse paused;
  animation-composition: add;
}

.btn-shiny:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-hi-sub);
  opacity: 1 !important;
}
.btn-shiny:is(:hover, :focus-visible),
.btn-shiny:is(:hover, :focus-visible)::before,
.btn-shiny:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}
.btn-shiny:is(:hover, :focus-visible) span::before { opacity: 1; }

@keyframes shiny-spin {
  to { --gradient-angle: 360deg; }
}
@keyframes shiny-shimmer {
  to { rotate: 360deg; }
}
@keyframes shiny-breathe {
  from, to { scale: 1; }
  50%       { scale: 1.2; }
}

.btn-frosted {
  background: var(--frosted);
  color: var(--white);
  border: 1px solid var(--border-subtle);
}
.btn-frosted:hover {
  background: var(--frosted-hover);
  border-color: rgba(255,255,255,0.12);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { opacity: 0.88; }

.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-full { width: 100%; padding: 13px; font-size: 15px; }


/* ════════════════════════════════════════════════════════
   HEADER — floating pill navbar
════════════════════════════════════════════════════════ */

@keyframes navbarEnter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

#header {
  --nav-expanded-padding-left: 16px;
  --nav-expanded-padding-right: 12px;
  --nav-expanded-gap: 16px;

  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: var(--nav-expanded-width, max-content);
  max-width: calc(100% - 48px);

  display: flex;
  flex-direction: column;
  align-items: stretch;

  overflow: hidden;
  background: rgba(9,12,18,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-pill);
  box-shadow: 0 18px 60px rgba(0,0,0,0.34), 0 0 0 1px rgba(0,153,255,0.04) inset;

  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.35s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  will-change: width;
  animation: navbarEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* When mobile menu is open — rectangle corners */
#header.menu-open {
  border-radius: var(--r-xl);
}

#header.nav-collapsed {
  width: 48px;
  max-width: 48px;
  border-radius: 50%;
  cursor: pointer;
  border-color: rgba(0,153,255,0.28);
  background: rgba(9,12,18,0.86);
  box-shadow: 0 16px 44px rgba(0,0,0,0.42), 0 0 24px rgba(0,153,255,0.10);
  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.16s,
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

#header.nav-collapsed:hover {
  transform: translateX(-50%) scale(1.1);
  border-color: rgba(102,204,255,0.48);
  box-shadow: 0 16px 44px rgba(0,0,0,0.5), 0 0 32px rgba(0,153,255,0.18);
}

#header.nav-collapsed:active,
#header.nav-collapsed.nav-tapping {
  transform: translateX(-50%) scale(0.95);
  transition: transform 0.1s ease;
}

.header-inner {
  position: relative;
  width: max-content;
  min-width: 0;
  height: 48px;
  padding: 0 var(--nav-expanded-padding-right) 0 var(--nav-expanded-padding-left);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--nav-expanded-gap);
  transition: padding 0.35s ease;
}

#header.nav-collapsed .header-inner {
  width: 48px;
  padding: 0;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  flex-shrink: 0;
  /* Expand: logo appears first with spring-like overshoot */
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex: 0 1 auto;
  justify-content: center;
  position: relative;
  transition: pointer-events 0s linear;
}

.nav-links a {
  position: relative;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 400;
  color: var(--silver);
  border-radius: var(--r-sm);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
  font-feature-settings: "cv11","ss03";
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition:
    color 0.15s ease,
    opacity 0.26s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Expand stagger: links appear left-to-right after logo */
.nav-links a:nth-child(1) { transition-delay: 0s, 0.14s, 0.14s; }
.nav-links a:nth-child(2) { transition-delay: 0s, 0.20s, 0.20s; }
.nav-links a:nth-child(3) { transition-delay: 0s, 0.26s, 0.26s; }
.nav-links a:nth-child(4) { transition-delay: 0s, 0.32s, 0.32s; }

/* Two-layer hover text flip */
.nav-links a .nav-link-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
}
.nav-links a .nav-link-top,
.nav-links a .nav-link-bottom {
  display: block;
  white-space: nowrap;
}
.nav-links a .nav-link-bottom {
  color: var(--white);
  position: absolute;
  top: 100%;
}
.nav-links a:hover .nav-link-inner {
  transform: translateY(-50%);
}

/* Fallback for non-inner links */
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-sm);
  background: var(--frosted);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.nav-links a:hover::before { opacity: 1; }
.nav-links a:hover { color: var(--white); }
.nav-links a.nav-active { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
  transform: translateX(0) scale(1);
  /* Expand: CTA appears last */
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.38s,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.nav-cta { flex-shrink: 0; }
.nav-cta {
  padding-inline: 18px;
}

/* Collapse: items fade out with reverse stagger (actions → links → logo) */
#header.nav-collapsed .logo {
  opacity: 0;
  transform: translateX(-25px) rotate(-180deg);
  transition: opacity 0.25s ease 0s, transform 0.32s cubic-bezier(0.55, 0, 0.45, 1) 0s;
}

#header.nav-collapsed .logo-mark {
  transform: none; /* rotation handled on .logo now */
}

#header.nav-collapsed .nav-links {
  pointer-events: none;
}

#header.nav-collapsed .nav-links a {
  opacity: 0;
  transform: translateX(-20px) scale(0.95);
  transition:
    color 0.15s ease 0s,
    opacity 0.2s ease 0s,
    transform 0.25s cubic-bezier(0.55, 0, 0.45, 1) 0s;
}

/* Reverse stagger: last child exits first */
#header.nav-collapsed .nav-links a:nth-child(4) { transition-delay: 0s, 0s, 0s; }
#header.nav-collapsed .nav-links a:nth-child(3) { transition-delay: 0s, 0.04s, 0.04s; }
#header.nav-collapsed .nav-links a:nth-child(2) { transition-delay: 0s, 0.08s, 0.08s; }
#header.nav-collapsed .nav-links a:nth-child(1) { transition-delay: 0s, 0.12s, 0.12s; }

#header.nav-collapsed .nav-actions {
  opacity: 0;
  transform: translateX(-20px) scale(0.95);
  transition:
    opacity 0.2s ease 0s,
    transform 0.25s cubic-bezier(0.55, 0, 0.45, 1) 0s;
}

#header.nav-collapsed .logo,
#header.nav-collapsed .nav-links,
#header.nav-collapsed .nav-actions {
  pointer-events: none;
}

/* Signup glow wrapper (matches component's white glow) */
.nav-cta-wrap {
  position: relative;
}
.nav-cta-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.15);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-cta-wrap:hover::before {
  opacity: 1;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-md);
  color: var(--silver);
}
.burger svg {
  display: block;
}

.nav-collapsed-trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: auto;
  background: transparent;
  border: 0;
  color: var(--white);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#header.nav-collapsed .nav-collapsed-trigger {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition:
    opacity 0.22s ease 0.15s,
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

/* Mobile dropdown inside pill */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-nav.open { display: flex; }

.mobile-link {
  padding: 11px 12px;
  font-size: 15px;
  color: var(--silver);
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
  text-align: center;
}
.mobile-link:hover {
  color: var(--white);
  background: var(--frosted);
}

.mobile-cta {
  margin-top: 8px;
  text-align: center;
  width: 100%;
  justify-content: center;
}


/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
}

/* Aurora shader canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 40px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--frosted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 7px 18px 7px 12px;
  margin-bottom: 32px;
  align-self: flex-start;
}
.badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  flex-shrink: 0;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--blue); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--blue); }
}
.badge-label {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8.5vw, 110px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--silver);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-feature-settings: "cv01","cv05","cv09","cv11","ss03","ss07";
}

/* Shimmer sweep animation */
@keyframes shimmerSweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.hero-sub--shimmer {
  background: linear-gradient(
    90deg,
    var(--silver) 0%,
    var(--silver) 30%,
    rgba(255,255,255,0.92) 48%,
    rgba(255,255,255,0.92) 52%,
    var(--silver) 70%,
    var(--silver) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSweep 3s linear infinite;
  animation-delay: 1.5s;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* ── Stat Badge (AnimatedBadge-style) ───────────────────── */
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}
.stat-badge:hover {
  border-color: rgba(0,153,255,0.22);
  background: rgba(0,153,255,0.05);
}

/* pulsing dot */
.stat-badge-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dot-color) 35%, transparent);
  flex-shrink: 0;
}
.stat-badge-dot::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--dot-color);
}
.stat-badge-ping {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dot-color) 30%, transparent);
  animation: badgePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes badgePing {
  0%   { transform: scale(1);   opacity: 0.6; }
  75%  { transform: scale(2.4); opacity: 0;   }
  100% { transform: scale(2.4); opacity: 0;   }
}

/* thin vertical separator */
.stat-badge-divider {
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.1);
  margin: 0 12px;
  flex-shrink: 0;
}

.stat-badge-body {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.stat-badge-num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}
.stat-badge-label {
  font-size: 12px;
  color: var(--silver);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ── Hero Mockup ─────────────────────────────────────────── */
.hero-mockup {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 540px;
  z-index: 1;
}

.mockup-window {
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-float), 0 0 0 1px var(--blue-ring);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.8;
}
.mockup-url {
  font-size: 10px;
  color: var(--silver);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 16px;
}

.mockup-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}
.mockup-logo-block {
  width: 60px;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
.mockup-nav-item {
  width: 32px;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}
.mockup-btn-block {
  width: 48px;
  height: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
}

.mockup-hero-area {
  padding: 10px 0 20px;
}
.mockup-line {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  margin-bottom: 6px;
}
.mockup-line--xl {
  height: 14px;
  background: rgba(255,255,255,0.14);
}
.mockup-headline {
  width: 90%;
}
.mockup-cta {
  height: 24px;
  width: 80px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--r-pill);
}
.mockup-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}

.mockup-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.mockup-card {
  height: 48px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}


/* ════════════════════════════════════════════════════════
   PORTFOLIO — expand cards
════════════════════════════════════════════════════════ */
.portfolio-section {
  padding-bottom: 0;
}

.expand-cards {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 420px;
  padding: 0 40px 100px;
}

.expand-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  width: 72px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--border-subtle);
}
.expand-card[data-active="true"],
.expand-card:hover {
  width: 380px;
}

.expand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease;
  filter: brightness(0.55) saturate(0.8);
}
.expand-card[data-active="true"] img,
.expand-card:hover img {
  filter: brightness(0.45) saturate(0.9);
}

.expand-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}
.expand-card[data-active="true"] .expand-card__info,
.expand-card:hover .expand-card__info {
  opacity: 1;
  transform: translateY(0);
}

.expand-card__tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}
.expand-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.025em;
}

@media (max-width: 960px) {
  .expand-cards {
    height: 340px;
    padding: 0 28px 80px;
  }
  .expand-card[data-active="true"],
  .expand-card:hover { width: 280px; }
}

@media (max-width: 768px) {
  .expand-cards {
    height: 260px;
    padding: 0 20px 60px;
    gap: 4px;
  }
  .expand-card { width: 48px; border-radius: var(--r-lg); }
  .expand-card[data-active="true"],
  .expand-card:hover { width: 200px; }
}


/* ════════════════════════════════════════════════════════
   SECTIONS COMMON
════════════════════════════════════════════════════════ */
.section {
  padding: 100px 0;
}
.section--alt {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,153,255,0.025) 40%,
    transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
}
.section-sub {
  font-size: 17px;
  color: var(--silver);
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-feature-settings: "cv01","cv09","cv11";
}


/* ════════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  gap: 12px;
}
.cards-3  { grid-template-columns: repeat(3, 1fr); }
.cards-2x2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-2px);
}

/* Danger card — orange-red top accent */
.card--danger {
  border-top: 2px solid rgba(255,95,87,0.6);
}
.card--danger::before {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,95,87,0.06), transparent);
}
.card--danger:hover {
  border-color: rgba(255,95,87,0.35);
  border-top-color: rgba(255,95,87,0.8);
  box-shadow: 0 8px 32px rgba(255,95,87,0.06);
}
.card--danger:hover::before { opacity: 1; }
.card--danger .card-icon {
  color: rgba(255,95,87,0.8);
}

/* Accent card — blue top accent */
.card--accent {
  border-top: 2px solid rgba(0,153,255,0.5);
}
.card--accent::before {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,153,255,0.06), transparent);
}
.card--accent:hover {
  border-top-color: rgba(0,153,255,0.8);
  box-shadow: var(--shadow-ring), 0 8px 32px rgba(0,153,255,0.05);
}
.card--accent:hover::before { opacity: 1; }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.card-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,153,255,0.12);
  border: 1px solid rgba(0,153,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.card p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.6;
  font-feature-settings: "cv01","cv11";
}


/* ════════════════════════════════════════════════════════
   TIMELINE / PROCESS
════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.timeline-track {
  position: absolute;
  top: 58px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--blue) 20%,
    var(--violet) 80%,
    transparent
  );
  opacity: 0.35;
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.timeline-num {
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  line-height: 1;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(0,153,255,0.12);
  flex-shrink: 0;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.timeline-body p {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.6;
  font-feature-settings: "cv11";
}


/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open {
  border-color: rgba(0,153,255,0.2);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  gap: 16px;
  transition: color 0.15s ease;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.faq-item.open .faq-q { color: var(--blue); }

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--blue);
}
.faq-plus-v {
  transition: opacity 0.25s ease;
}
.faq-item.open .faq-plus-v {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1), padding 0.35s ease;
  padding: 0 20px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-a p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.65;
  font-feature-settings: "cv01","cv11";
}


/* ════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,153,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-text .section-tag {
  display: block;
  text-align: left;
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px;
  color: var(--silver);
  margin-bottom: 36px;
  line-height: 1.55;
  font-feature-settings: "cv01","cv09","cv11";
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--silver);
}
.trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(0,153,255,0.08);
  border: 1px solid rgba(0,153,255,0.15);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}


/* ── Form ────────────────────────────────────────────────── */
.cta-form-wrap {
  background: var(--surface);
  border: 1px solid rgba(0,153,255,0.15);
  border-radius: var(--r-2xl);
  padding: 32px;
  box-shadow: var(--shadow-ring), 0 24px 48px rgba(0,0,0,0.4);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.form-field input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  font-feature-settings: "cv11";
}
.form-field input::placeholder { color: var(--placeholder); }
.form-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,153,255,0.15);
}
.form-field.has-error input { border-color: rgba(255,95,87,0.5); }
.field-error {
  font-size: 11px;
  color: #ff5f57;
  min-height: 14px;
  letter-spacing: 0.01em;
}

/* ── Custom dropdown ─────────────────────────────────────── */
.custom-select {
  position: relative;
  cursor: pointer;
  outline: none;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--placeholder);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.custom-select__trigger:hover,
.custom-select[aria-expanded="true"] .custom-select__trigger {
  border-color: rgba(255,255,255,0.14);
}
.custom-select[aria-expanded="true"] .custom-select__trigger {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,153,255,0.15);
}
.custom-select.has-value .custom-select__trigger {
  color: var(--white);
}
.form-field.has-error .custom-select__trigger {
  border-color: rgba(255,95,87,0.5);
}

.custom-select__icon {
  display: flex;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.custom-select.has-value .custom-select__icon { color: var(--blue); }

.custom-select__value { flex: 1; }

.custom-select__chevron {
  display: flex;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.custom-select[aria-expanded="true"] .custom-select__chevron {
  transform: rotate(180deg);
}

.custom-select__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #16161e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 4px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,153,255,0.08);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.custom-select[aria-expanded="true"] .custom-select__list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--silver);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  outline: none;
}
.custom-select__item:hover,
.custom-select__item:focus {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.custom-select__item.selected {
  color: var(--blue);
  background: rgba(0,153,255,0.08);
}

.custom-select__item-icon {
  display: flex;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.custom-select__item:hover .custom-select__item-icon,
.custom-select__item.selected .custom-select__item-icon {
  color: var(--blue);
}

/* Success state */
.form-success {
  text-align: center;
  padding: 32px 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  display: none;
}
.form-success:not([hidden]) {
  display: flex;
}
.success-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 24px rgba(0,153,255,0.3);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.form-success p { color: var(--silver); font-size: 14px; }


/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.footer-glow--blue {
  bottom: -10%;
  left: 20%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,153,255,0.10) 0%, transparent 65%);
}
.footer-glow--violet {
  bottom: -20%;
  right: 10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.08) 0%, transparent 65%);
}

.footer-glass {
  position: relative;
  z-index: 1;
  background: rgba(9,9,9,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px 24px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 56px 0 40px;
}

/* Brand column */
.footer-logo { margin-bottom: 14px; }

.footer-desc {
  font-size: 13px;
  color: rgba(166,166,166,0.55);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: rgba(166,166,166,0.7);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social-link:hover {
  background: rgba(0,153,255,0.12);
  border-color: rgba(0,153,255,0.3);
  color: var(--blue);
}

/* Nav columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,153,255,0.5);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(166,166,166,0.6);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }

/* Contacts column */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(166,166,166,0.6) !important;
  transition: color 0.15s ease;
}
.footer-contact-row svg { flex-shrink: 0; color: var(--blue); opacity: 0.7; }
.footer-contact-row:hover { color: var(--white) !important; }

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 5px 10px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: var(--r-pill);
  font-size: 11px;
  color: rgba(16,185,129,0.85);
  width: fit-content;
}
.footer-status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.footer-status-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(16,185,129,0.3);
  animation: statusPing 2s ease-in-out infinite;
}
@keyframes statusPing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.6); opacity: 0; }
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-copy,
.footer-made {
  font-size: 12px;
  color: rgba(166,166,166,0.35);
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-mockup { width: 38%; right: -1%; }
  .hero-content { max-width: 55%; }
}

@media (max-width: 960px) {
  .container { padding: 0 28px; }

  .hero-mockup { display: none; }
  .hero-content { max-width: 100%; }

  .cards-3  { grid-template-columns: 1fr; }
  .cards-2x2 { grid-template-columns: 1fr 1fr; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .timeline-track { display: none; }
  .timeline-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding: 0 0 32px;
    position: relative;
  }
  .timeline-step::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 28px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(0,153,255,0.3), transparent);
  }
  .timeline-step:last-child::after { display: none; }
  .timeline-node {
    flex-direction: column-reverse;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .timeline-num { margin-bottom: 0; font-size: 10px; }
  .timeline-dot { margin: 0; }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
}

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

  #header {
    top: 16px;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    border-radius: var(--r-nav);
  }
  .header-inner {
    width: 100%;
    min-width: 0;
    padding: 10px 20px;
    height: auto;
  }

  #header.nav-collapsed {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    border-radius: var(--r-nav);
    cursor: default;
    transform: translateX(-50%);
  }
  #header.nav-collapsed:hover,
  #header.nav-collapsed:active,
  #header.nav-collapsed.nav-tapping {
    transform: translateX(-50%);
  }
  #header.nav-collapsed .logo,
  #header.nav-collapsed .nav-links,
  #header.nav-collapsed .nav-actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  #header.nav-collapsed .nav-collapsed-trigger,
  .nav-collapsed-trigger {
    display: none;
  }

  .hero { padding-top: 90px; }

  .nav-links { display: none; }
  .nav-actions { display: none; }
  .burger {
    display: flex;
    margin-left: auto;
  }

  .hero-title {
    font-size: clamp(44px, 12vw, 68px);
    letter-spacing: -0.04em;
  }
  .hero-stats { gap: 8px; }
  .stat-badge-num { font-size: 16px; }
  .stat-badge-label { font-size: 11px; }
  .section-title { letter-spacing: -0.03em; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-stats {
    flex-wrap: wrap;
    gap: 8px;
  }
  .stat-badge { flex-shrink: 0; }
  .cards-2x2 { grid-template-columns: 1fr; }
  .cta-form-wrap { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .logos-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
}
