/* =====================================================
   ALUTIONZ — Editorial Design System
   Slate + Cream + Mustard
   ===================================================== */

:root {
  /* Surfaces — warm slate, three-tier depth */
  --bg: #0d0c12;          /* main background — medium */
  --bg-2: #09080d;        /* alt sections + footer — sunken/dark band */
  --bg-3: #15131c;        /* slightly darker than bg — for inputs */
  --surface: #17151f;     /* cards + stats + logos — elevated/light */
  --surface-2: #201d2b;   /* hover state — lifted further */
  --border: rgba(243, 242, 247, 0.10);
  --border-strong: rgba(243, 242, 247, 0.18);

  /* Text — cream */
  --text: #f3f2f7;
  --text-muted: #a8a6b4;
  --text-faint: #6e6c7d;

  /* Accent — mustard */
  --brand: #8b5cf6;
  --brand-soft: #a78bfa;
  --brand-dark: #6d28d9;
  --on-brand: #ffffff;

  /* Effects */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .25);
  --shadow: 0 14px 40px rgba(0, 0, 0, .32);
  --shadow-glow: 0 16px 50px -12px rgba(139, 92, 246, .35);

  /* Layout */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --container: 1200px;

  /* Brushstroke SVG (yellow underline) */
  --brushstroke: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M3 7 C40 3 80 11 120 6 C160 2 180 9 197 7 L195 11 C160 14 130 8 95 12 C60 15 30 9 5 11 Z' fill='%238b5cf6'/></svg>");
}

/* Hide native scrollbar — we render a custom one via JS */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Custom scrollbar — flat mustard rectangle on black, mirrors progress bar */
.scrollbar-rail {
  position: fixed;
  top: 0; right: 0;
  width: 10px;
  height: 100vh;
  background: #000;
  z-index: 9998;
  pointer-events: none;
}
.scrollbar-thumb {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--brand);
  border-radius: 0;
  will-change: transform, height;
}
@media (max-width: 640px) {
  .scrollbar-rail { width: 6px; }
}

* { box-sizing: border-box; }
*::selection { background: rgba(139, 92, 246, .35); color: var(--on-brand); }

html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(139, 92, 246, .04), transparent 70%),
    var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================
   Progress bar
   ===================================================== */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0; z-index: 9999;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(139, 92, 246, .5);
  transition: width .15s ease;
}

/* =====================================================
   Navbar — always visible
   ===================================================== */
.navbar {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 100;
  background: rgba(13, 12, 18, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: background .25s, border-color .25s;
}
.navbar .nav-inner {
  width: min(var(--container), 92%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0;
}
.navbar.scrolled {
  background: rgba(9, 8, 13, 0.92);
  border-bottom: 1px solid var(--border-strong);
}

.logo {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
.logo-mark {
  width: 32px; height: 32px;
  color: var(--text);
  flex-shrink: 0;
}
.logo-mark path { fill: currentColor; }
.logo-text {
  font-size: 1.1rem; letter-spacing: .16em;
  color: var(--text);
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative;
  padding: .55rem .9rem;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  left: .9rem; right: .9rem;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.actions { display: flex; align-items: center; gap: .5rem; }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s, box-shadow .25s, border-color .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn.primary {
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, .45);
}
.btn.primary:hover {
  background: var(--brand-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(139, 92, 246, .55);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(243, 242, 247, 0.18);
}
.btn.ghost:hover {
  background: rgba(243, 242, 247, 0.04);
  border-color: rgba(243, 242, 247, 0.36);
  transform: translateY(-2px);
}
.btn.sm { padding: .55rem .9rem; font-size: .68rem; }
.btn .arrow { transition: transform .25s; display: inline-flex; }
.btn:hover .arrow { transform: translateX(3px); }

.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; font-size: .7rem;
}

/* =====================================================
   Brushstroke accent (yellow under text)
   ===================================================== */
.accent {
  position: relative;
  display: inline-block;
  color: var(--text);
}
.accent::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  bottom: -.18em;
  height: .26em;
  background-image: var(--brushstroke);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

/* =====================================================
   Hero
   ===================================================== */
#header {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}
#header-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transform: scale(1.05);
  filter: saturate(.95) contrast(1.02);
}
.overlay-grad {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 60% at 50% 35%, transparent 0%, rgba(9, 8, 13, .15) 55%, rgba(9, 8, 13, .65) 85%, var(--bg) 100%),
    linear-gradient(180deg, rgba(9, 8, 13, .15) 0%, transparent 25%, transparent 55%, rgba(13, 12, 18, .8) 92%, var(--bg) 100%);
}
.overlay-grad::after {
  content: ''; position: absolute; inset: 0; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh;
  text-align: center;
  padding: 7rem 1rem 5rem;
}
.hero-inner { max-width: 920px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .95rem;
  border-radius: 999px;
  background: rgba(243, 242, 247, .04);
  border: 1px solid rgba(243, 242, 247, .12);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(8px);
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px rgba(139, 92, 246, .8);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  color: var(--text);
  text-transform: uppercase;
}

.hero p {
  margin: 4rem auto 0;
  color: var(--text);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  max-width: 640px;
}
.hero p strong {
  color: var(--text);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 62%, rgba(243, 242, 247, .14) 62%, rgba(243, 242, 247, .14) 92%, transparent 92%);
  padding: 0 .18em;
}

.cta-wrap {
  margin-top: 2.4rem;
  display: inline-flex; flex-wrap: wrap;
  gap: .8rem; justify-content: center;
}

.hero-trust {
  margin-top: 4rem;
  display: flex; gap: 1.4rem 3rem; flex-wrap: wrap;
  justify-content: center; align-items: center;
  color: var(--text-faint);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-trust span::before {
  content: ''; width: 4px; height: 4px;
  background: var(--brand); border-radius: 50%;
}

/* =====================================================
   Section separator
   ===================================================== */
.section-sep {
  display: block; position: absolute;
  bottom: -1px; left: 0; width: 100%;
  height: 80px; z-index: 2;
}
.section-sep path { fill: var(--bg); }

/* =====================================================
   Sections
   ===================================================== */
.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.2rem;
  width: min(var(--container), 92%);
  margin: 0 auto;
}
.section.alt {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 1.5rem auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.2rem, 3vw, 3rem);
}

.heading {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.2rem;
  margin-bottom: 3rem;
}
.heading .eyebrow {
  display: inline-flex;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, .10);
  border: 1px solid rgba(139, 92, 246, .25);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand);
}
.heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1; margin: 0 0 .4rem;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.heading h2::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -.55rem;
  width: 72px; height: 10px;
  background-image: var(--brushstroke);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.heading p {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 1.02rem; line-height: 1.6;
  margin: 0;
}

/* =====================================================
   Stats strip
   ===================================================== */
/* Open layout — no boxes, just thin dividers (buteor-style) */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: min(var(--container), 92%);
  margin: 0 auto 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 2.4rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; gap: .55rem;
  align-items: center;
  border-left: 1px solid var(--border);
}
.stat:nth-child(4n+1) { border-left: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  color: var(--text-muted); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.8rem 1rem; }
  .stat:nth-child(4n+1) { border-left: 1px solid var(--border); }
  .stat:nth-child(2n+1) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* =====================================================
   Cards grid
   ===================================================== */
.grid {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  grid-template-columns: repeat(12, 1fr);
}
.card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  border-color: rgba(139, 92, 246, .35);
  background: var(--surface-2);
}
.card .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(139, 92, 246, .10);
  border: 1px solid rgba(139, 92, 246, .22);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  transition: background .25s, border-color .25s;
}
.card:hover .icon-wrap {
  background: rgba(139, 92, 246, .16);
  border-color: rgba(139, 92, 246, .4);
}
.card h3 {
  margin: .3rem 0 .55rem;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.card p {
  color: var(--text-muted);
  font-size: .96rem; line-height: 1.6;
  margin: 0;
}
@media (max-width: 980px) { .card { grid-column: span 6; } }
@media (max-width: 640px) { .card { grid-column: span 12; } }

/* =====================================================
   Cases / logos
   ===================================================== */
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 3.5rem;
}
.logo-item {
  background: var(--surface);
  padding: 1.6rem 1rem;
  display: grid; place-items: center;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: .14em;
  transition: color .25s, background .25s;
}
.logo-item:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 980px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials { position: relative; overflow: hidden; padding: .5rem 0; }
.testimonial-track {
  display: flex; gap: 1.2rem;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.testimonial {
  min-width: calc(33.333% - .8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem; position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.testimonial::before {
  content: '\201C';
  position: absolute; top: -10px; left: 16px;
  font-family: Georgia, serif;
  font-size: 5rem; line-height: 1;
  color: var(--brand);
  opacity: .55;
}
.testimonial .quote {
  font-size: 1rem; color: var(--text);
  line-height: 1.6; margin: 0 0 1.4rem;
}
.testimonial .author-row {
  display: flex; align-items: center; gap: .8rem;
}
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand);
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 700;
  color: var(--on-brand);
  flex-shrink: 0;
}
.testimonial .meta { display: flex; flex-direction: column; gap: 0; }
.testimonial .author { font-weight: 600; font-size: .95rem; color: var(--text); }
.testimonial .role { color: var(--text-muted); font-size: .82rem; }

.t-controls {
  display: flex; gap: .5rem; justify-content: center;
  margin-top: 1.4rem;
}
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(243, 242, 247, .18);
  border: none; cursor: pointer; padding: 0;
  transition: background .25s, transform .25s, width .25s;
}
.t-dot.active {
  background: var(--brand);
  width: 22px; border-radius: 4px;
}
@media (max-width: 980px) { .testimonial { min-width: calc(50% - .6rem); } }
@media (max-width: 640px) { .testimonial { min-width: 100%; } }

/* =====================================================
   Pricing
   ===================================================== */
.switch {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem; gap: .25rem;
  position: relative;
}
.switch button {
  position: relative; z-index: 1;
  border: none; background: transparent;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer; color: var(--text-muted);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  transition: color .25s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.switch button.active {
  color: var(--on-brand);
  background: var(--brand);
  box-shadow: 0 6px 16px -6px rgba(139, 92, 246, .55);
}
.save-tag {
  font-size: .56rem; font-weight: 700;
  padding: .18rem .5rem; border-radius: 999px;
  background: rgba(139, 92, 246, .22);
  color: var(--brand);
  letter-spacing: .15em;
}
.switch button.active .save-tag {
  background: rgba(255, 255, 255, .22);
  color: var(--on-brand);
}

.pricing-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}
.price-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 242, 247, .14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  background: var(--surface-2);
}
.price-card.featured {
  border: 1px solid var(--brand);
  box-shadow: var(--shadow-glow);
}
.price-card.featured:hover {
  border-color: var(--brand-soft);
  box-shadow: 0 20px 60px -10px rgba(139, 92, 246, .45);
}
.price-card .badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: .6rem; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  background: var(--brand); color: var(--on-brand);
  padding: .35rem .85rem; border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(139, 92, 246, .5);
  white-space: nowrap;
}
.price-card h3 {
  font-size: 1rem; margin: 0;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-muted); font-weight: 600;
}
.price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem; font-weight: 700;
  margin: .35rem 0 .2rem;
  line-height: 1.1;
  display: flex; align-items: baseline; gap: .35rem;
  flex-wrap: wrap;
  color: var(--text);
}
.price .amount-wrap { display: inline-flex; align-items: baseline; }
.price .currency { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.price .per { font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.price-card ul {
  list-style: none; padding: 0;
  margin: 1.6rem 0 1.8rem;
  display: flex; flex-direction: column; gap: .65rem;
  flex: 1;
}
.price-card li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .94rem; color: var(--text);
}
.price-card li svg {
  flex-shrink: 0; margin-top: 3px;
  color: var(--brand);
  width: 16px; height: 16px;
}
.price-card .btn { width: 100%; }
@media (max-width: 980px) {
  .price-card { grid-column: span 6; }
  .price-card.featured { grid-column: span 12; }
}
@media (max-width: 640px) { .price-card { grid-column: span 12; } }

/* =====================================================
   Contact form
   ===================================================== */
.form {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin: 0 auto;
}
.form .full { grid-column: span 2; }
.field { position: relative; }
.input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1rem .55rem;
  color: var(--text);
  font-size: .98rem; font-family: inherit;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
textarea.input { resize: vertical; min-height: 130px; padding-top: 1.6rem; }
.input:focus {
  border-color: rgba(139, 92, 246, .55);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .12);
}
.field label {
  position: absolute; left: 1rem; top: 1rem;
  pointer-events: none;
  color: var(--text-muted);
  font-size: .92rem;
  transition: top .2s, font-size .2s, color .2s, letter-spacing .2s;
}
.field .input:focus + label,
.field .input:not(:placeholder-shown) + label {
  top: .35rem; font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.form .submit-row {
  grid-column: span 2;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.form-status {
  font-size: .9rem; color: var(--brand);
  opacity: 0; transition: opacity .25s;
}
.form-status.show { opacity: 1; }
@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
  .form .full, .form .submit-row { grid-column: span 1; }
}

/* =====================================================
   Reveal animations
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d100 { transition-delay: .08s; }
.d200 { transition-delay: .16s; }
.d300 { transition-delay: .24s; }
.d400 { transition-delay: .32s; }
.d500 { transition-delay: .40s; }

/* =====================================================
   Sticky CTA
   ===================================================== */
.sticky-cta {
  position: fixed; bottom: 24px; right: 16px;
  z-index: 70;
  transform: translateY(160%);
  transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn {
  padding: .85rem 1.2rem;
  box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .55);
}
@media (max-width: 640px) {
  .sticky-cta { bottom: 16px; right: 12px; }
  .sticky-cta .btn { padding: .8rem 1rem; font-size: .66rem; }
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  padding: 4rem 1.2rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  margin-top: 3rem;
}
.footer-inner {
  width: min(var(--container), 92%);
  margin: 0 auto;
  display: grid; gap: 2.4rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer .brand-col p {
  color: var(--text-muted);
  margin: 1rem 0 0;
  max-width: 320px; line-height: 1.6;
  font-size: .94rem;
}
.footer h4 {
  font-size: .7rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--text);
  margin: 0 0 1.1rem; font-weight: 700;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.footer a {
  color: var(--text-muted);
  transition: color .2s;
  font-size: .92rem;
}
.footer a:hover { color: var(--text); }
.footer-bottom {
  width: min(var(--container), 92%);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  color: var(--text-faint); font-size: .85rem;
}
.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: all .25s;
  color: var(--text-muted);
}
.socials a:hover {
  background: var(--bg);
  border-color: rgba(139, 92, 246, .4);
  color: var(--brand); transform: translateY(-2px);
}
.socials svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer .brand-col { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer .brand-col { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   Mobile nav
   ===================================================== */
.hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(243, 242, 247, .14);
  background: rgba(243, 242, 247, .04);
  color: var(--text); cursor: pointer; padding: 0;
  transition: background .2s, border-color .2s;
}
.hamburger:hover { background: rgba(243, 242, 247, .08); }
.hamburger svg { width: 18px; height: 18px; }
.hamburger .icon-close { display: none; }
.hamburger.open .icon-open { display: none; }
.hamburger.open .icon-close { display: inline-block; }

@media (max-width: 860px) {
  .navbar .nav-inner { padding: .7rem 0; }
  .nav {
    position: fixed;
    top: 66px; left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(94vw, 420px);
    background: rgba(32, 29, 43, 0.96);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: .55rem;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open {
    opacity: 1; pointer-events: auto; visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav a {
    padding: .85rem 1rem; font-size: .8rem;
    border-radius: 10px;
  }
  .hamburger { display: inline-flex; }
}

/* =====================================================
   Hero responsive
   ===================================================== */
@media (max-width: 640px) {
  .hero { padding: 6rem 1rem 4rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.08; }
  .hero p { font-size: 1rem; }
  .hero-trust { margin-top: 2.6rem; gap: 1rem 2rem; font-size: .6rem; }
  .section { padding: 3rem 1rem; }
  .section.alt { padding: 2.4rem 1.2rem; margin: 1rem auto; border-radius: var(--radius); }
  .heading { margin-bottom: 1.8rem; }
  .stats { width: 92%; }
  .stat { padding: 1.2rem 1rem; }
}

/* =====================================================
   Reduced motion + touch
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  #header-video { display: none; }
}
@media (hover: none) {
  .btn, .nav a { padding-top: .95rem; padding-bottom: .95rem; }
}
