/* ============================================================
   STYLES.CSS — Zippy Pixel (Dark Theme)
   ============================================================
   1.  Root variables
   2.  Reset & base  (DM Sans headings)
   3.  Background texture
   4.  Navigation + 8-bit Z logo
   5.  Hero section + blobs
   6.  Hero — 3D mockup cards (realistic content)
   7.  How It Works — animated timeline
   8.  About section
   9.  Benefits section
   10. Contact section
   11. Footer
   12. Shared utilities
   13. Scroll-reveal classes
   14. Responsive / mobile
============================================================ */


/* ============================================================
   1. ROOT VARIABLES
============================================================ */
:root {
  --color-bg:       #07071A;
  --color-surface:  #0D0C26;
  --color-text:     #F1F5F9;
  --color-body:     #94A3B8;
  --color-muted:    #475569;

  --color-indigo:   #6366F1;
  --color-violet:   #8B5CF6;
  --color-purple:   #A855F7;
  --color-pink:     #EC4899;

  --grad-main:   linear-gradient(135deg, #6366F1 0%, #A855F7 60%, #EC4899 100%);
  --grad-text:   linear-gradient(135deg, #818CF8 0%, #C084FC 60%, #F472B6 100%);
  --grad-line:   linear-gradient(180deg, #6366F1 0%, #A855F7 60%, #EC4899 100%);

  --glass-bg:    rgba(255, 255, 255, 0.04);
  --glass-bg-hi: rgba(255, 255, 255, 0.07);
  --glass-blur:  blur(20px);
  --glass-border:rgba(139, 92, 246, 0.18);
  --glass-shadow:0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(139,92,246,0.12);

  --section-pad:    120px;
  --container-max:  1100px;
}


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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* DM Sans for all headings */
h1, h2, h3, h4 {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

img  { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a    { text-decoration: none; color: inherit; }


/* ============================================================
   3. BACKGROUND DOT GRID
============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(139,92,246,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

section, nav, footer { position: relative; z-index: 1; }


/* ============================================================
   4. NAVIGATION + 8-BIT Z LOGO
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0 24px;
}

#navbar.scrolled {
  background: rgba(7,7,26,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(139,92,246,0.2);
}

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

/* Logo link wrapper */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* SpeediSite wordmark — scaled to nav height */
.site-logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 34px; }

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-body);
  position: relative;
  transition: color 0.25s ease;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad-main);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover { color: #C084FC; }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(7,7,26,0.97);
  backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
  border-top: 1px solid var(--glass-border);
}

.mobile-menu.open { display: flex; }

.mobile-link {
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-body);
  border-bottom: 1px solid rgba(139,92,246,0.1);
  transition: color 0.2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: #C084FC; }


/* ============================================================
   5. HERO SECTION + BLOBS
============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 130px 24px 60px;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.55), rgba(139,92,246,0.25), transparent 70%);
  top: -220px; right: -180px;
  animation: blobFloat 16s ease-in-out infinite;
}

.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.5), rgba(236,72,153,0.2), transparent 70%);
  bottom: -80px; left: -140px;
  animation: blobFloat 20s ease-in-out infinite reverse;
}

.blob-3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(34,211,238,0.18), rgba(99,102,241,0.12), transparent 70%);
  top: 28%; left: 28%;
  animation: blobFloat 25s ease-in-out infinite;
}

.blob-4 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(236,72,153,0.38), transparent 70%);
  bottom: 18%; right: 8%;
  animation: blobFloat 18s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(25px,-35px) scale(1.05); }
  66%       { transform: translate(-20px,25px) scale(0.96); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  margin-bottom: 68px;
}

/* Hero headline — DM Sans, pure white */
.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #FFFFFF;          /* White, not gradient */
  margin-bottom: 28px;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.hero-headline .word.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-body);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.8s, transform 0.6s ease-out 0.8s;
}

.animate-hero-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 1.1s, transform 0.6s ease-out 1.1s;
}

body.loaded .animate-hero-sub,
body.loaded .animate-hero-cta {
  opacity: 1;
  transform: translateY(0);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.chevron {
  font-size: 2rem;
  color: var(--color-violet);
  opacity: 0.55;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}


/* ============================================================
   6. HERO — 3D MOCKUP CARDS
============================================================ */
.mockups-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  perspective: 1400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mockup {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(139,92,246,0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
  flex-shrink: 0;
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
}

/* Browser chrome bar */
.browser-bar {
  background: #16142e;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(139,92,246,0.15);
  flex-shrink: 0;
}

.browser-dots { display: flex; gap: 6px; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28C840; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 0.66rem;
  color: var(--color-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body {
  background: #0b0a22;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* LEFT mockup */
.mockup-left {
  width: 272px;
  transform: rotateY(28deg) translateX(62px) scale(0.87);
  transform-origin: right center;
  z-index: 1;
  opacity: 0.82;
}
.mockup-left .browser-body { height: 330px; }

/* CENTRE mockup */
.mockup-center {
  width: 338px;
  transform: translateY(-32px) scale(1.04);
  z-index: 3;
  box-shadow:
    0 60px 120px rgba(99,102,241,0.35),
    0 0 0 1px rgba(139,92,246,0.42),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.mockup-center .browser-body { height: 420px; }

/* RIGHT mockup */
.mockup-right {
  width: 272px;
  transform: rotateY(-28deg) translateX(-62px) scale(0.87);
  transform-origin: left center;
  z-index: 1;
  opacity: 0.82;
}
.mockup-right .browser-body { height: 330px; }

.mockup-left:hover  { transform: rotateY(16deg) translateX(55px) scale(0.92); opacity: 1; }
.mockup-right:hover { transform: rotateY(-16deg) translateX(-55px) scale(0.92); opacity: 1; }


/* ---- Shared fake-UI atoms ---- */
.mk-line {
  height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  margin-bottom: 5px;
}
.mk-line.mk-line-long   { width: 100%; }
.mk-line.mk-line-med    { width: 68%; }
.mk-line.mk-line-short  { width: 42%; }
.mk-line.mk-line-tiny   { width: 28%; }
.mk-line.mk-line-light  { background: rgba(255,255,255,0.25); }

/* Nav bar inside fake browser */
.mk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mk-logo-text {
  width: 52px; height: 7px;
  background: linear-gradient(90deg, #6366F1, #A855F7);
  border-radius: 3px;
}
.mk-logo-light { background: rgba(255,255,255,0.9); }

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

.mk-pill {
  width: 30px; height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
.mk-pill-light { background: rgba(255,255,255,0.35); }
.mk-pill-btn {
  width: 38px; height: 18px;
  background: linear-gradient(90deg, #6366F1, #A855F7);
  border-radius: 9px;
}


/* ---- Hero photo blocks (simulated images) ---- */
.mk-photo-hero {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mk-photo-restaurant {
  height: 130px;
  background:
    linear-gradient(180deg, rgba(10,8,30,0.1) 0%, rgba(10,8,30,0.7) 100%),
    linear-gradient(135deg, #3d1a6e 0%, #7c2d12 30%, #92400e 55%, #1c4b2a 100%);
}

.mk-photo-salon {
  height: 200px;
  background:
    linear-gradient(180deg, rgba(5,5,20,0.3) 0%, rgba(5,5,20,0.55) 60%, rgba(5,5,20,0.85) 100%),
    linear-gradient(135deg, #1e1b4b 0%, #4c1d95 30%, #86198f 65%, #be185d 100%);
  justify-content: space-between;
}

.mk-photo-plumber {
  background: linear-gradient(135deg, #0c1a3a 0%, #1e3a5f 40%, #0f4c75 70%, #164e63 100%);
  border-radius: 6px;
}

.mk-photo-overlay {
  padding: 10px 12px;
}

/* Heading lines inside photo hero */
.mk-heading-block {
  height: 9px;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  width: 85%;
  margin-bottom: 6px;
}
.mk-heading-xl { height: 11px; width: 90%; }
.mk-heading-sm { width: 60%; background: rgba(255,255,255,0.6); }

.mk-body-line {
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
  width: 80%;
  margin-bottom: 5px;
}
.mk-body-light { background: rgba(255,255,255,0.55); }
.mk-body-short { width: 55%; }

.mk-cta-pill {
  display: inline-block;
  height: 18px; width: 70px;
  background: linear-gradient(90deg, #6366F1, #A855F7);
  border-radius: 9px;
  margin-top: 8px;
}
.mk-cta-grad  { background: linear-gradient(90deg, #6366F1, #A855F7); }
.mk-cta-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}

.mk-cta-row { display: flex; gap: 7px; margin-top: 9px; }

.mk-eyebrow-pill {
  width: 80px; height: 13px;
  background: rgba(139,92,246,0.35);
  border: 1px solid rgba(139,92,246,0.5);
  border-radius: 7px;
  margin-bottom: 9px;
}

/* Salon nav inside full-bleed photo */
.mk-salon-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
}

.mk-hero-center { padding: 0 12px 8px; }

/* Social proof bar */
.mk-social-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
}

.mk-avatars { display: flex; }

.mk-avatar {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  margin-left: -5px;
}
.mk-avatar:first-child { margin-left: 0; }
.mk-av1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.mk-av2 { background: linear-gradient(135deg, #EC4899, #F472B6); }
.mk-av3 { background: linear-gradient(135deg, #22D3EE, #6366F1); }

.mk-stars { font-size: 0.5rem; color: #FBBF24; letter-spacing: 1px; }


/* ---- Restaurant: features row + menu grid ---- */
.mk-row { padding: 8px 10px; }

.mk-features-row {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mk-feature-item { display: flex; align-items: flex-start; gap: 5px; flex: 1; }

.mk-icon-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  flex-shrink: 0;
  margin-top: 2px;
}

.mk-lines { flex: 1; }

.mk-section-label {
  height: 7px; width: 55px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin: 8px 10px 6px;
}

.mk-menu-grid {
  display: flex;
  gap: 5px;
  padding: 0 10px 10px;
}

.mk-menu-card {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.12);
}

.mk-food-photo { height: 38px; }
.mk-food-1 { background: linear-gradient(135deg, #7c2d12, #dc7010); }
.mk-food-2 { background: linear-gradient(135deg, #064e3b, #059669); }
.mk-food-3 { background: linear-gradient(135deg, #1e1b4b, #7c3aed); }

.mk-card-lines { padding: 5px 5px 6px; }


/* ---- Salon: services grid + stats + testimonial ---- */
.mk-services-row {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mk-service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-service-img { height: 42px; border-radius: 5px; }
.mk-svc-1 { background: linear-gradient(135deg, #4c1d95, #be185d); }
.mk-svc-2 { background: linear-gradient(135deg, #1e3a5f, #0891b2); }
.mk-svc-3 { background: linear-gradient(135deg, #064e3b, #0d9488); }

.mk-stats-band {
  display: flex;
  padding: 8px 10px;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mk-stat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
}

.mk-stat-num {
  width: 32px; height: 10px;
  background: linear-gradient(90deg, #818CF8, #C084FC);
  border-radius: 4px;
}

.mk-testimonial {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mk-quote-icon {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 60% 70%, 40% 100%, 40% 70%, 0 70%);
}

.mk-testimonial-author { display: flex; align-items: center; gap: 5px; margin-top: 2px; }


/* ---- Plumber: split hero + trust badges + service list ---- */
.mk-split-hero {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  height: 130px;
  align-items: center;
}

.mk-split-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mk-badge-pill {
  width: 60px; height: 11px;
  background: rgba(99,102,241,0.3);
  border: 1px solid rgba(139,92,246,0.45);
  border-radius: 6px;
  margin-bottom: 3px;
}

.mk-check-list { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }

.mk-check-item { display: flex; align-items: center; gap: 4px; }

.mk-check {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  flex-shrink: 0;
}

.mk-split-photo {
  width: 90px; height: 100%;
  border-radius: 6px;
  flex-shrink: 0;
}

.mk-trust-row {
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mk-trust-badge {
  flex: 1; height: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 4px;
}

.mk-service-list { padding: 8px 10px; display: flex; flex-direction: column; gap: 7px; }
.mk-service-row  { display: flex; align-items: center; gap: 7px; }


/* ============================================================
   7. HOW IT WORKS — ANIMATED TIMELINE
============================================================ */
#how-it-works {
  padding: var(--section-pad) 24px;
}

/* Outer wrapper: holds the track + all step items */
.timeline-wrapper {
  position: relative;
  margin-top: 60px;
  padding-left: 48px; /* leaves room for the line on the left */
}

/* The background track (faint line, full height) */
.timeline-track {
  position: absolute;
  left: 10px;          /* Centre of the dot column */
  top: 16px;           /* Start at the first dot */
  bottom: 16px;
  width: 2px;
  background: rgba(139,92,246,0.15);
  border-radius: 2px;
}

/* The animated fill that grows downward as you scroll */
.timeline-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;           /* JS sets this via scroll */
  background: var(--grad-line);
  border-radius: 2px;
  transition: height 0.08s linear;
}

/* Each step row */
.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 24px;
}

.step-item:last-child { margin-bottom: 0; }

/* The dot on the line */
.step-dot {
  position: absolute;
  left: -44px;       /* aligns with the line's centre */
  top: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid rgba(139,92,246,0.3);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  flex-shrink: 0;
  z-index: 2;
}

/* Active dot — glows when the line reaches it */
.step-dot.active {
  border-color: #8B5CF6;
  background: #6366F1;
  box-shadow: 0 0 0 4px rgba(139,92,246,0.2), 0 0 14px rgba(139,92,246,0.55);
}

/* Gradient circle badge — pops above the top-right of the card */
.step-num-badge {
  position: absolute;
  top: -20px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Pops out with shadow + outer ring */
  box-shadow: 0 6px 20px rgba(139,92,246,0.55), 0 0 0 3px rgba(139,92,246,0.18);
  z-index: 4;
  letter-spacing: 0;
}

/* The card — starts invisible, slides in from left */
.step-card {
  flex: 1;
  position: relative;
  padding: 36px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.step-card.step-visible {
  opacity: 1;
  transform: translateX(0);
}

.step-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
}

.step-icon svg { width: 100%; height: 100%; }

.step-card p {
  font-size: 0.98rem;
  color: var(--color-body);
  line-height: 1.8;
}

/* "That's it." — pure fade, no slide */
.thats-it.reveal         { transform: none; }
.thats-it.reveal.revealed { opacity: 1; transform: none; }

/* "That's it." — large gradient headline after the last step */
.thats-it {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  text-align: center;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 64px;
  line-height: 1.1;
}


/* ============================================================
   8. ABOUT SECTION
============================================================ */
#about {
  padding: var(--section-pad) 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.04) 50%, transparent 100%);
}

/* Centred column layout */
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
}

/* Large bold section headline */
.about-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

.about-body {
  font-size: 1.02rem;
  color: var(--color-body);
  margin-bottom: 0;
  max-width: 660px;
}
.about-body strong { color: var(--color-text); }

/* All reveal children get vertical spacing */
.about-container > .reveal { margin-bottom: 36px; }
.about-container > .reveal:last-child { margin-bottom: 0; }

/* ---- Stat boxes block ---- */
.stats-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* "Our advantage" eyebrow */
.stats-block .eyebrow { margin-bottom: 0; }

/* Row of stat boxes */
.stat-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Individual stat box — glass card */
.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 44px;
  background: var(--glass-bg-hi);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

/* Subtle inner glow at the top of each box */
.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  border-radius: 2px 2px 0 0;
}

/* Arrow container */
.stat-arrow {
  width: 32px; height: 32px;
}
.stat-arrow svg { width: 100%; height: 100%; }

/* Down arrow bounces downward */
.stat-arrow-down svg {
  animation: arrowDown 1.6s ease-in-out infinite;
}

/* Up arrow bounces upward */
.stat-arrow-up svg {
  animation: arrowUp 1.6s ease-in-out infinite;
}

@keyframes arrowDown {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%       { transform: translateY(7px); opacity: 0.75; }
}

@keyframes arrowUp {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  50%       { transform: translateY(-7px); opacity: 0.75; }
}

/* Number + % sign inline on the same line */
.stat-value {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.stat-symbol {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-body);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}


/* ============================================================
   9. BENEFITS SECTION
============================================================ */
#benefits { padding: var(--section-pad) 24px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.benefit-card {
  padding: 34px 28px;
  border-top: 2px solid transparent;
  border-image: var(--grad-main) 1;
  position: relative;
}

.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(168,85,247,0.04));
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.benefit-card:hover::after { opacity: 1; }

.card-icon { width: 42px; height: 42px; margin-bottom: 18px; }
.card-icon svg { width: 100%; height: 100%; }

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.benefit-card p { font-size: 0.94rem; color: var(--color-body); line-height: 1.8; }


/* ============================================================
   10. CONTACT SECTION
============================================================ */
#contact {
  padding: var(--section-pad) 24px;
  background: linear-gradient(160deg, #0a0826 0%, #0f0d2e 40%, #130a2e 100%);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, rgba(99,102,241,0.1) 40%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 56px; }

.contact-sub { font-size: 1.08rem; color: var(--color-body); margin: 16px 0 32px; }

.contact-form {
  width: 100%;
  max-width: 620px;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label { font-size: 0.87rem; font-weight: 600; color: var(--color-body); }

.form-group input,
.form-group textarea {
  padding: 13px 17px;
  border-radius: 12px;
  border: 1px solid rgba(139,92,246,0.2);
  background: rgba(255,255,255,0.05);
  font-size: 1rem;
  color: var(--color-text);
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-violet);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}


/* ============================================================
   11. FOOTER
============================================================ */
footer {
  text-align: center;
  padding: 36px 24px 30px;
  font-size: 0.87rem;
  color: var(--color-muted);
  border-top: 1px solid rgba(139,92,246,0.12);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-body);
  margin-bottom: 10px;
}

.site-logo-footer { height: 22px; width: auto; display: block; opacity: 0.7; }


/* ============================================================
   12. SHARED UTILITIES
============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; width: 100%; }

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

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.8px;
  line-height: 1.22;
  margin-top: 8px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.accent-line {
  width: 0; height: 3px;
  background: var(--grad-main);
  border-radius: 4px;
  margin: 16px auto 0;
  transition: width 0.85s cubic-bezier(0.22,1,0.36,1) 0.25s;
}

.section-header.revealed .accent-line { width: 80px; }

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

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--grad-main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 28px rgba(139,92,246,0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transition: left 0.55s ease;
}

.btn-primary:hover { transform: scale(1.04); box-shadow: 0 8px 40px rgba(139,92,246,0.55), inset 0 0 0 1px rgba(255,255,255,0.1); }
.btn-primary:hover::after { left: 150%; }

.footnote { margin-top: 32px; font-size: 0.84rem; color: var(--color-muted); text-align: center; }


/* ============================================================
   13. SCROLL-REVEAL CLASSES
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

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

.reveal-stagger {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

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


/* ============================================================
   14. RESPONSIVE / MOBILE
============================================================ */
@media (max-width: 900px) {
  .mockup-left, .mockup-right { display: none; }
  .mockup-center { width: min(338px, 92vw); transform: none; }
  .mockups-scene { perspective: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }

  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  #hero { padding: 110px 20px 70px; }

  /* Timeline: tighten on mobile */
  .timeline-wrapper { padding-left: 36px; }
  .timeline-track   { left: 7px; }
  .step-dot         { left: -33px; width: 12px; height: 12px; }

  .step-card { padding: 18px 20px; }
  .step-number { font-size: 2.2rem; }

  .stat-boxes { flex-direction: column; align-items: center; }
  .stat-box    { min-width: 0; width: 100%; max-width: 280px; padding: 24px 32px; }
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }

  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-headline { letter-spacing: -0.8px; }
  .stats-row { flex-direction: column; gap: 20px; }
  .mockup-center { width: min(300px, 90vw); }
  .mockup-center .browser-body { height: 340px; }
}
