/* ============================================================
   SONIC BRIDGE — Design System v2
   sonicbridge.ch — Premium Visual Upgrade
   ============================================================ */

/* ── 1. FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── 2. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Colors */
  --bg:              #0A0B0F;
  --surface:         #111318;
  --surface-raised:  #181C25;
  --surface-hover:   #1E2330;
  --border:          rgba(255,255,255,0.07);
  --border-glow:     rgba(99,179,237,0.2);
  --border-strong:   rgba(255,255,255,0.12);

  --blue:            #3B82F6;
  --blue-light:      #60A5FA;
  --cyan:            #22D3EE;
  --violet:          #8B5CF6;
  --violet-light:    #A78BFA;
  --green:           #10B981;
  --rose:            #F43F5E;

  --text-primary:    #F1F5F9;
  --text-secondary:  #94A3B8;
  --text-muted:      #64748B;

  /* Gradients */
  --grad-hero:    linear-gradient(145deg, #0e0c2e 0%, #0a0b0f 50%, #080c14 100%);
  --grad-accent:  linear-gradient(135deg, var(--blue), var(--cyan));
  --grad-violet:  linear-gradient(135deg, var(--blue), var(--violet));
  --grad-full:    linear-gradient(90deg, #3B82F6, #22D3EE, #8B5CF6);
  --grad-card:    linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.06));
  --grad-text:    linear-gradient(90deg, var(--blue-light), var(--cyan));

  /* Glass system */
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.13);
  --glass-blur:   blur(24px);
  --glass-blur-lg:blur(48px);

  /* Mesh gradients */
  --mesh-1: radial-gradient(ellipse 80% 55% at 15% 35%, rgba(59,130,246,0.32), transparent);
  --mesh-2: radial-gradient(ellipse 65% 70% at 85% 15%, rgba(139,92,246,0.26), transparent);
  --mesh-3: radial-gradient(ellipse 55% 75% at 55% 95%, rgba(34,211,238,0.20), transparent);

  /* Glows */
  --glow-blue-sm: 0 0 28px rgba(59,130,246,0.38);
  --glow-blue:    0 0 80px rgba(59,130,246,0.40), 0 8px 40px rgba(0,0,0,0.5);
  --glow-blue-lg: 0 0 120px rgba(59,130,246,0.50);
  --glow-cyan:    0 0 80px rgba(34,211,238,0.32);
  --glow-violet:  0 0 80px rgba(139,92,246,0.34);
  --glow-card:    0 8px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
  --glow-btn:     0 0 40px rgba(59,130,246,0.58), 0 4px 24px rgba(0,0,0,0.4);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --section-py:   7rem;
  --section-px:   1.5rem;
  --card-p:       1.75rem;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:       150ms var(--ease);
  --t-med:        300ms var(--ease);
  --t-slow:       500ms var(--ease);

  /* Layout */
  --max-w:   1200px;
  --nav-h:   72px;

  /* 3D */
  --perspective: 1200px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

/* ── 3. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 75% 45% at 8% 22%, rgba(59,130,246,0.13), transparent),
    radial-gradient(ellipse 65% 65% at 93% 78%, rgba(139,92,246,0.11), transparent),
    radial-gradient(ellipse 55% 55% at 52% 55%, rgba(34,211,238,0.07), transparent);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 4. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.875rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.75; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient--full {
  background: var(--grad-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted   { color: var(--text-muted); font-size: 0.875rem; }
.text-mono    { font-family: var(--font-mono); }
.text-center  { text-align: center; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ── 5. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--alt { background: rgba(255,255,255,0.012); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ── 6. SECTION HEADERS ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label { margin-bottom: 1rem; }
.section-header h2     { margin-bottom: 1rem; }
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ── 7. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--t-med);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  color: #fff;
  box-shadow: 0 0 48px rgba(29,78,216,0.60), 0 4px 24px rgba(0,0,0,0.40);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #2563eb, #0369a1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 52px rgba(37,99,235,0.65), 0 6px 24px rgba(0,0,0,0.40);
}
.btn--primary:hover::before { opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  border-color: rgba(99,179,237,0.4);
  background: rgba(59,130,246,0.07);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  padding: 0.75rem 1.25rem;
}
.btn--ghost:hover { color: #fff; }

.btn--lg  { padding: 1rem 2.25rem; font-size: 1rem; }
.btn svg  { width: 18px; height: 18px; flex-shrink: 0; }

/* ── 8. CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-p);
  transition: all var(--t-med);
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.card--glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.card--gradient {
  background: var(--grad-card);
  border: 1px solid var(--border-glow);
}

/* 3D tilt card — JS sets --tilt-x / --tilt-y */
.card--tilt {
  transform: perspective(var(--perspective)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}

/* Gradient top-border accent */
.card--accent-top {
  position: relative;
}
.card--accent-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-full);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity var(--t-med);
}
.card--accent-top:hover::before { opacity: 1; }

/* ── 9. NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}

.nav.scrolled {
  background: rgba(10,11,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.nav__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--grad-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-mark svg { width: 18px; height: 18px; color: #fff; }
.nav__logo-text { letter-spacing: -0.03em; }
.nav__logo-text span { color: var(--cyan); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all var(--t-fast);
}
.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav__link.active { color: var(--text-primary); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switcher a {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all var(--t-fast);
}
.lang-switcher a.active { background: var(--blue); color: #fff; }
.lang-switcher a:hover:not(.active) { color: var(--text-primary); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-med);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Slide-in drawer from right */
.nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 82vw;
  max-width: 360px;
  background: rgba(10,11,15,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition:
    transform  0.35s var(--ease),
    opacity    0.32s var(--ease),
    visibility 0s linear 0.36s;
}
.nav__mobile.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform  0.35s var(--ease),
    opacity    0.32s var(--ease),
    visibility 0s linear 0s;
}
.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text-primary); padding-left: 0.5rem; }
/* Hide EN/DE switcher inside the mobile drawer */
.nav__mobile .lang-switcher { display: none; }
/* CTA button inside drawer: full width, bold */
.nav__mobile .btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
}
/* Overlay backdrop */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.36s;
}
.nav__overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0s;
}

/* ── 10. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Mesh gradient layer */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mesh-1), var(--mesh-2), var(--mesh-3);
  pointer-events: none;
}

/* Animated beam lines */
.hero__bg::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.35) 40%, rgba(34,211,238,0.35) 60%, transparent 100%);
  top: 38%;
  left: -50%;
  transform: rotate(-12deg);
  animation: beamDrift 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beamDrift {
  0%, 100% { opacity: 0.4; transform: rotate(-12deg) translateY(0); }
  50%       { opacity: 0.8; transform: rotate(-12deg) translateY(40px); }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.44) 0%, transparent 70%);
  top: -150px; right: -150px;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(139,92,246,0.36) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: -4.5s;
}
.hero__orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(34,211,238,0.30) 0%, transparent 70%);
  top: 40%; left: 38%;
  animation-delay: -2s;
  filter: blur(55px);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 10%, transparent 100%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-28px) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--section-px) 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content { max-width: 580px; }
.hero__label   { margin-bottom: 1.5rem; }

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__visual  { position: relative; }

.hero__card-stack {
  position: relative;
  height: 440px;
}

/* Glassmorphism hero mockup cards */
.hero__mockup-card {
  position: absolute;
  background: rgba(17,19,24,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--t-slow);
}

.hero__mockup-card--main {
  width: 340px;
  right: 0;
  top: 20px;
  border-color: rgba(59,130,246,0.25);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.12),
    0 24px 64px rgba(0,0,0,0.6),
    var(--glow-blue-sm);
  animation: cardFloat 6s ease-in-out infinite;
}

.hero__mockup-card--stat {
  width: 195px;
  left: 0;
  bottom: 60px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: -2s;
}

.hero__mockup-card--badge {
  width: 175px;
  left: 28px;
  top: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card__label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

.badge-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.badge-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16,185,129,0.7);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px rgba(16,185,129,0.5); }
  50%       { box-shadow: 0 0 14px rgba(16,185,129,0.8); }
}

.mockup-browser {
  background: var(--surface-raised);
  border-radius: 8px;
  overflow: hidden;
}
.mockup-browser__bar {
  background: rgba(255,255,255,0.04);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.mockup-browser__dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-browser__url {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  height: 16px;
  flex: 1;
  margin-left: 0.5rem;
}
.mockup-browser__body {
  height: 160px;
  background: linear-gradient(135deg, rgba(59,130,246,0.09) 0%, rgba(139,92,246,0.09) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-browser__body-inner { text-align: center; }
.mockup-browser__tag {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── 11. TRUST BAR ────────────────────────────────────────── */
.trust-bar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.012);
  overflow: hidden;
  position: relative;
}
.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}
.trust-bar::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.trust-bar__track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.trust-bar__track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1.25rem 0.4rem 1rem;
  margin: 0 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.trust-bar__item:hover {
  color: var(--text-secondary);
  border-color: rgba(99,179,237,0.15);
}
.trust-bar__item svg {
  width: 14px; height: 14px;
  color: var(--cyan);
  flex-shrink: 0;
}
.trust-bar__sep { display: none; }

/* ── 12. PROBLEM SECTION ──────────────────────────────────── */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: rgba(17,19,24,0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-med);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
  opacity: 0.45;
  transition: opacity var(--t-med);
}
.problem-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mesh-1);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.problem-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover::after  { opacity: 0.5; }

.problem-card__icon {
  width: 48px; height: 48px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--t-med);
}
.problem-card:hover .problem-card__icon {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.35);
}
.problem-card__icon svg { width: 22px; height: 22px; color: var(--blue-light); }
.problem-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.problem-card p  { font-size: 0.9rem; }

/* ── 13. SERVICES GRID ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(17,19,24,0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--t-med), box-shadow var(--t-med), background var(--t-med), transform .4s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
  opacity: 0.45;
  transition: opacity var(--t-med);
}
.service-card:hover {
  border-color: rgba(99,179,237,0.32);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.15), var(--glow-blue);
  background: rgba(22,27,40,0.75);
  transform: translateY(-4px) rotate(0.2deg);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 40px; height: 40px;
  background: var(--grad-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med);
  flex-shrink: 0;
}
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(34,211,238,0.15));
  box-shadow: var(--glow-blue-sm);
}
.service-card__icon svg { width: 18px; height: 18px; color: var(--cyan); }
.service-card h3 { font-size: 1rem; }
.service-card p  { font-size: 0.875rem; line-height: 1.65; color: var(--text-secondary); }

.service-card__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
.service-card__chips li {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: rgba(226,232,240,0.55);
  background: rgba(226,232,240,0.05);
  border: 1px solid rgba(226,232,240,0.10);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.6;
  white-space: nowrap;
}

.service-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: gap var(--t-fast), color var(--t-fast);
}
.service-card__chevron {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  transition: transform var(--t-fast);
}
.service-card:hover .service-card__link { color: var(--cyan); gap: 6px; }
.service-card:hover .service-card__chevron { transform: translateX(2px); }

/* ── 14. PROCESS ──────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Gradient connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet));
  opacity: 0.35;
}

.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.process-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all var(--t-med);
  box-shadow: 0 0 0 4px var(--bg);
}
.process-step:hover .process-step__num {
  background: var(--grad-accent);
  border-color: transparent;
  box-shadow: 0 0 0 4px var(--bg), var(--glow-blue-sm);
  transform: scale(1.08);
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p  { font-size: 0.875rem; }

/* ── 15. PORTFOLIO BROWSER FRAME ──────────────────────────── */
.browser-frame {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
}
.browser-frame__bar {
  flex-shrink: 0; height: 28px;
  background: #1c2133;
  display: flex; align-items: center;
  padding: 0 10px; gap: 5px;
}
.browser-frame__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.browser-frame__dot:nth-child(1) { background: #ff5f57; }
.browser-frame__dot:nth-child(2) { background: #febc2e; }
.browser-frame__dot:nth-child(3) { background: #28c840; }
.browser-frame__url {
  flex: 1; margin: 0 8px; height: 16px; border-radius: 3px;
  background: #252d42;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-family: ui-monospace, monospace;
  color: rgba(255,255,255,.4); user-select: none;
}
.browser-frame__img {
  flex: 1; background: #0b1018; overflow: hidden;
}
.browser-frame__img img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: top center;
  display: block;
}

/* ── 15. PORTFOLIO CARDS ──────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-med);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue);
  transform: translateY(-5px);
}

.portfolio-card__img {
  position: relative;
  height: 260px;
  background: #0b1018;
  overflow: hidden;
}

.portfolio-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(139,92,246,0.12) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}
.portfolio-card__placeholder svg { width: 32px; height: 32px; color: var(--border-glow); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,11,15,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-med);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }

.portfolio-card__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.portfolio-card h3 { font-size: 1.2rem; }
.portfolio-card p  { font-size: 0.875rem; }

.portfolio-card__improvements {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.portfolio-card__improvements li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.portfolio-card__improvements li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.portfolio-card__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Portfolio filter bar */
.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.portfolio-filter .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.portfolio-filter .btn:hover,
.portfolio-filter .btn.active {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.35);
  color: var(--blue-light);
}

/* ── 16. AEO SECTION ──────────────────────────────────────── */
.aeo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.aeo-visual {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glow-blue);
  position: relative;
  overflow: hidden;
}
.aeo-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
}

.aeo-answer-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.aeo-answer-card__source {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.aeo-answer-card__source-dot {
  width: 24px; height: 24px;
  background: var(--grad-accent);
  border-radius: 6px;
}
.aeo-answer-card__source-label { font-size: 0.75rem; color: var(--text-muted); }
.aeo-answer-card__text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.aeo-answer-card__text strong { color: var(--text-primary); }
.aeo-answer-card__cite {
  font-size: 0.75rem;
  color: var(--blue-light);
  margin-top: 0.5rem;
  font-family: var(--font-mono);
}

/* ── 17. INDUSTRIES ───────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--t-med);
  cursor: default;
}
.industry-card:hover {
  border-color: rgba(99,179,237,0.30);
  background: rgba(59,130,246,0.06);
  transform: translateY(-3px);
  box-shadow: var(--glow-blue-sm);
}
.industry-card__icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.industry-card h4   { font-size: 0.9rem; }
.industry-card p    { font-size: 0.8125rem; margin-top: 0.25rem; }

/* ── 18. FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--cyan); }

.faq-question__icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med);
}
.faq-question__icon svg { width: 12px; height: 12px; transition: transform var(--t-med); }
.faq-item.open .faq-question__icon { background: var(--blue); border-color: var(--blue); box-shadow: var(--glow-blue-sm); }
.faq-item.open .faq-question__icon svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.35rem; }
.faq-answer p { font-size: 0.9375rem; line-height: 1.8; }

/* ── 19. FINAL CTA BAND ───────────────────────────────────── */
.cta-band {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,0.20) 0%, rgba(10,11,15,0.6) 50%, rgba(139,92,246,0.18) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Mesh overlay */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mesh-1), var(--mesh-3);
  pointer-events: none;
}

/* Animated beam */
.cta-band::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), rgba(34,211,238,0.4), transparent);
  top: 50%;
  left: -50%;
  transform: rotate(-8deg);
  animation: beamDrift 12s ease-in-out infinite;
  pointer-events: none;
}

.cta-band__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.30) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 { margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-band p  { max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-band__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── 20. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-full);
  opacity: 0.25;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p { font-size: 0.875rem; margin: 1rem 0 1.5rem; max-width: 240px; }

/* Footer contact — desktop: labeled rows; mobile: two side-by-side buttons */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.footer__contact-item:hover { color: var(--text-primary); }
.footer__contact-item svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-muted); }
.footer__contact-full { white-space: nowrap; }
.footer__contact-short { display: none; }

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer__col ul a:hover { color: var(--text-primary); padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.8125rem; }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer__legal a:hover { color: var(--text-primary); }

/* ── 21. SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.65s var(--ease),
    transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy delay classes — preserved for existing PHP markup */
.reveal-delay-1 { --reveal-delay: 100ms; }
.reveal-delay-2 { --reveal-delay: 200ms; }
.reveal-delay-3 { --reveal-delay: 300ms; }
.reveal-delay-4 { --reveal-delay: 400ms; }

/* ── 22. STAT COUNTER ─────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  position: relative;
  transition: background var(--t-med);
}
.stat-item:hover { background: rgba(59,130,246,0.04); }
.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.6rem;
  display: block;
}
.stat-item__label { font-size: 0.875rem; color: var(--text-muted); }

/* Text-only stat variant — two-line value, no counter animation */
.stat-item__value--text {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.25;
}
@media (max-width: 640px) {
  .stat-item__value--text { font-size: 1.15rem; }
}

/* ── 23. COOKIE BANNER ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 680px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 200;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.cookie-banner p { font-size: 0.875rem; flex: 1; min-width: 200px; }
.cookie-banner__btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* ── 24. BACK TO TOP ──────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-med);
  z-index: 90;
  pointer-events: none;
  backdrop-filter: blur(12px);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--glow-blue-sm); }
.back-top svg { width: 18px; height: 18px; }

/* ── 25. BEAM COMPONENT ───────────────────────────────────── */
.beam-line {
  position: absolute;
  height: 1px;
  left: 0; right: 0;
  overflow: hidden;
  pointer-events: none;
}
.beam-line::after {
  content: '';
  position: absolute;
  top: 0;
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: beamSweep 3.5s ease-in-out infinite;
}
@keyframes beamSweep {
  0%   { left: -15%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 115%; opacity: 0; }
}

/* ── 26. BENTO GRID ───────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 1.25rem;
}
.bento-span-2 { grid-column: span 2; }
.bento-row-2  { grid-row: span 2; }

/* ── 27. FORMS ────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-label span { color: rgba(239,68,68,0.8); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.14);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--surface-raised); color: var(--text-primary); }

.form-error {
  display: none;
  font-size: 0.8rem;
  color: rgba(239,68,68,0.9);
}

.form-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  min-width: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
}
.form-check input[type="checkbox"]:checked {
  background: var(--blue);
  border-color: var(--blue);
}
.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 5px; height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-check__label { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.4; }

.form-consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
}
.form-consent input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 6px; height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-consent__label { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.form-consent__label a { color: var(--blue-light); }
.form-consent__label a:hover { color: var(--cyan); }

.btn--submit { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 1rem; }

.form-status {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: none;
}
.form-status.success {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  color: #6ee7b7;
  display: block;
}
.form-status.error {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  color: rgba(252,165,165,0.9);
  display: block;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  background: rgba(17,19,24,0.60);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact-info-card:hover { border-color: var(--border-glow); box-shadow: var(--glow-blue-sm); }
.contact-info-card__icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--grad-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-card__icon svg { width: 18px; height: 18px; color: var(--cyan); }
.contact-info-card__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.2rem; }
.contact-info-card__value { font-size: 0.9375rem; color: var(--text-primary); font-weight: 500; }

/* ── 28. LEGAL PAGES ──────────────────────────────────────── */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}
.legal-content h2:first-of-type { margin-top: 1rem; border-top: none; padding-top: 0; }
.legal-content h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--text-secondary); }
.legal-content p  { margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.8; }
.legal-content ul, .legal-content ol {
  margin: 0.75rem 0 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.legal-content ul  { list-style: disc; }
.legal-content ol  { list-style: decimal; }
.legal-content li  { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.legal-content a   { color: var(--blue-light); }
.legal-content a:hover { color: var(--cyan); }
.legal-content .legal-notice {
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--violet-light);
}
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; }
.legal-content th, .legal-content td { text-align: left; padding: 0.6rem 0.75rem; border: 1px solid var(--border); }
.legal-content th {
  background: var(--surface-raised);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-content td { color: var(--text-secondary); }

/* ── 29. LAYOUT UTILITY GRIDS ─────────────────────────────── */
.sb-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.sb-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.sb-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.sb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── 30. UTILITIES ────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── 31. RESPONSIVE — 1440px max ──────────────────────────── */
@media (min-width: 1440px) {
  :root { --max-w: 1320px; }
}

/* ── 32. RESPONSIVE — 1024px ──────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 5rem; }
  .hero__inner           { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual          { display: none; }
  .hero__content         { max-width: 100%; }
  .process-steps         { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .footer__grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .industries-grid       { grid-template-columns: repeat(3, 1fr); }
  .sb-featured-grid      { grid-template-columns: 1fr; }
  .sb-contact-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .aeo-grid              { gap: 2.5rem; }
}

/* ── 33. RESPONSIVE — 768px ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 4rem; --section-px: 1.25rem; }
  .nav__links           { display: none; }
  .nav__right .btn      { display: none; }
  .nav__burger          { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid        { grid-template-columns: 1fr; }
  .problem-cards        { grid-template-columns: 1fr; }
  .portfolio-grid       { grid-template-columns: 1fr; }
  .aeo-grid             { grid-template-columns: 1fr; }
  .stats-row            { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
  .industries-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer__grid         { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom       { flex-direction: column; align-items: flex-start; }
  /* Mobile contact: two equal pill buttons side by side */
  .footer__contact      { flex-direction: row; gap: 0.625rem; margin-top: 1rem; }
  .footer__contact-item {
    flex: 1;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    min-width: 0;
    white-space: nowrap;
  }
  .footer__contact-item:hover {
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: var(--glow-blue-sm);
  }
  .footer__contact-full  { display: none; }
  .footer__contact-short { display: inline; }
  .hero__ctas           { flex-direction: column; align-items: flex-start; }
  .cta-band__btns       { flex-direction: column; align-items: center; }
  .process-steps        { grid-template-columns: 1fr; }
  .form-grid            { grid-template-columns: 1fr; }
  .form-checks          { grid-template-columns: 1fr; }
  .sb-body-grid         { grid-template-columns: 1fr; }
  .sb-impact-grid       { grid-template-columns: 1fr 1fr; }
  .sb-contact-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .bento-grid           { grid-template-columns: 1fr; }
  .bento-span-2         { grid-column: span 1; }
}

/* ── 34. RESPONSIVE — 430px (iPhone 14 Pro Max) ──────────── */
@media (max-width: 430px) {
  :root { --section-py: 3.5rem; --section-px: 1rem; --card-p: 1.25rem; }
  h1 { font-size: 2.15rem; }
  .hero__title { font-size: 2.15rem; }
  .stat-item__value { font-size: 2rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .trust-bar__item { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
  .cookie-banner { flex-direction: column; bottom: 0.75rem; }
  .portfolio-filter { gap: 0.4rem; }
  .portfolio-filter .btn { padding: 0.4rem 0.9rem; font-size: 0.8125rem; }
}

/* ── 35. RESPONSIVE — 390px (iPhone 14) ──────────────────── */
@media (max-width: 390px) {
  :root { --section-px: 0.875rem; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  .btn--lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .sb-impact-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 36. PAGE HERO (inner pages) ─────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 4.5rem);
  padding-bottom: 4rem;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mesh-1), var(--mesh-2);
  pointer-events: none;
}
.page-hero__orbs { position: absolute; inset: 0; pointer-events: none; }
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}
.page-hero .label { margin-bottom: 1.25rem; display: inline-flex; }
.page-hero h1     { margin-bottom: 1.25rem; }
.page-hero p      { max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── 37. SERVICE NAV (sticky anchor bar) ─────────────────── */
.service-nav {
  background: rgba(17,19,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav::-webkit-scrollbar { display: none; }
.service-nav__inner {
  display: flex;
  gap: 0.25rem;
  padding: 0.6rem 0;
  white-space: nowrap;
}
.service-nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.service-nav__link:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.service-nav__link.active { color: var(--cyan); background: rgba(34,211,238,0.07); }

/* ── 38. BTN SIZES ────────────────────────────────────────── */
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }
.btn--xs { padding: 0.35rem 0.8rem; font-size: 0.8125rem; }

/* ── 39. SECTION SPACER ───────────────────────────────────── */
.mt-lg { margin-top: 2.5rem; }

/* ══════════════════════════════════════════════════════════════
   ── 41. DEPTH & 3D ENHANCEMENTS ─────────────────────────────
   Hero bridge wire, card shine, process float, CTA orbs.
   No new dependencies — pure CSS + injected via main.js.
   ══════════════════════════════════════════════════════════════ */

/* ── Hero: 3D perspective tilt container ──────────────────── */
.hero__visual {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Abstract bridge/wave SVG — injected by JS into .hero__visual */
.hero__wire {
  position: absolute;
  inset: -14% -10% -10% -10%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero__wire svg { width: 100%; height: 100%; overflow: visible; }

/* Card stack renders above the wire */
.hero__card-stack { position: relative; z-index: 1; }

/* Bridge wire path glow pulse */
.hw-path { animation: hwGlow 5.5s ease-in-out infinite; }
.hw-path--2 { animation-duration: 7s;  animation-delay: -2.5s; }
.hw-path--3 { animation-duration: 9s;  animation-delay: -4.5s; }

/* Bridge apex node dots */
.hw-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: hwDotPulse 4s ease-in-out infinite;
}
.hw-dot--b { animation-delay: -1.5s; animation-duration: 5.5s; }
.hw-dot--c { animation-delay: -3s;   animation-duration: 4.5s; }

@keyframes hwGlow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}
@keyframes hwDotPulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.8); opacity: 1;   }
}

/* ── Service Cards: cursor-following radial shine ──────────── */
/* ::before is the top accent border; ::after is new shine layer */
.service-card { --mx: 50%; --my: 50%; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 180px at var(--mx) var(--my),
    rgba(255,255,255,0.07) 0%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
  z-index: 0;
}
.service-card:hover::after { opacity: 1; }

/* Ensure card content floats above shine */
.service-card__icon,
.service-card h3,
.service-card p,
.service-card__link { position: relative; z-index: 1; }

/* ── Process Steps: perspective container + float ──────────── */
.process-steps { perspective: 1400px; }

/* Float starts after the scroll-reveal transition (0.65s) completes */
.process-step.visible {
  animation: processFloat 7s ease-in-out infinite 0.7s;
}
.process-step.visible:nth-child(2) { animation-delay: 0.9s;  }
.process-step.visible:nth-child(3) { animation-delay: 1.1s;  }
.process-step.visible:nth-child(4) { animation-delay: 1.3s;  }

@keyframes processFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

/* ── CTA Band: animated depth orbs (injected via JS) ────────── */
.cta-depth-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  z-index: 0;
}
.cta-depth-orb--1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(59,130,246,0.26) 0%, transparent 70%);
  top: -90px; left: 5%;
  animation: ctaOrb 11s ease-in-out infinite;
}
.cta-depth-orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.20) 0%, transparent 70%);
  bottom: -60px; right: 5%;
  animation: ctaOrb 13s ease-in-out infinite reverse;
  animation-delay: -5s;
}
.cta-depth-orb--3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,211,238,0.16) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaOrbCenter 9s ease-in-out infinite;
}

@keyframes ctaOrb {
  0%, 100% { transform: translate(0, 0) scale(1);         }
  40%       { transform: translate(22px, -18px) scale(1.07); }
  70%       { transform: translate(-14px, 10px) scale(0.97); }
}
@keyframes ctaOrbCenter {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.6; }
  50%       { transform: translate(-50%,-50%) scale(1.28); opacity: 1;   }
}

/* ── Stat Items: depth hover lift ───────────────────────────── */
.stat-item { transition: transform var(--t-med), box-shadow var(--t-med); }
.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(59,130,246,0.20);
}

/* ── Portfolio Cards: stronger depth on hover ───────────────── */
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--glow-blue), 0 32px 80px rgba(0,0,0,0.45);
}

/* ── 42. REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .card--tilt { transform: none !important; }

  /* New 3D enhancements — disable cleanly */
  .hw-path,
  .hw-dot,
  .process-step.visible,
  .cta-depth-orb { animation: none !important; }

  .hero__visual,
  .hero__wire    { transform: none !important; will-change: auto; }
}

/* ── 41. FOCUS / ACCESSIBILITY ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 38. SELECTION ────────────────────────────────────────── */
::selection { background: rgba(59,130,246,0.32); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   ── 44. PREMIUM 3D v2 — Glass Orbs · Particle Network ────────
   Inspired by high-end 3D motion design:
   - Canvas particle network with glass orbs (injected via JS)
   - Perspective depth entrance on scroll reveal
   - Iridescent aurora on key sections
   - Enhanced card depth and hover states
   ══════════════════════════════════════════════════════════════ */

/* ── Hero canvas — sits inside .hero__bg ──────────────────── */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.88;
}

/* ── Perspective entrance: override section 21 .reveal ──────── */
/* Same specificity, later in cascade — wins on transform only  */
.reveal {
  transform: perspective(900px) rotateX(16deg) translateY(28px) scale(0.97);
}
.reveal.visible {
  transform: perspective(900px) rotateX(0deg) translateY(0) scale(1);
}

/* ── Iridescent connector line on process steps ──────────────── */
@keyframes iridescentFlow {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}
.process-steps::before {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet), var(--cyan), var(--blue));
  background-size: 200% 100%;
  animation: iridescentFlow 5s linear infinite;
  opacity: 0.65;
}

/* ── Aurora section background ───────────────────────────────── */
@keyframes auroraA {
  0%, 100% { transform: translate(0%, 0%) scale(1) rotate(0deg);    opacity: 0.7; }
  35%       { transform: translate(7%, -8%) scale(1.18) rotate(55deg); opacity: 1;   }
  70%       { transform: translate(-6%, 9%) scale(0.9)  rotate(120deg); opacity: 0.6; }
}
@keyframes auroraB {
  0%, 100% { transform: translate(0%, 0%) scale(1) rotate(0deg);      opacity: 0.6; }
  40%       { transform: translate(-9%, 6%) scale(1.14) rotate(-70deg); opacity: 1;   }
  75%       { transform: translate(5%, -8%) scale(0.88) rotate(-150deg); opacity: 0.5; }
}

.sb-aurora {
  position: absolute;
  inset: -35%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.sb-aurora::before,
.sb-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
}
.sb-aurora::before {
  width: 65%; height: 75%;
  top: 8%; left: 3%;
  background: radial-gradient(ellipse, rgba(59,130,246,0.17) 0%, rgba(139,92,246,0.11) 45%, transparent 72%);
  animation: auroraA 20s ease-in-out infinite;
}
.sb-aurora::after {
  width: 58%; height: 65%;
  bottom: 6%; right: 4%;
  background: radial-gradient(ellipse, rgba(34,211,238,0.15) 0%, rgba(99,102,241,0.09) 45%, transparent 72%);
  animation: auroraB 26s ease-in-out infinite;
  animation-delay: -9s;
}

/* ── Service card: deeper icon lift on hover ─────────────────── */
.service-card:hover .service-card__icon {
  transform: scale(1.14) translateY(-3px);
  box-shadow: 0 10px 28px rgba(59,130,246,0.32), var(--glow-blue-sm);
}

/* ── Service card: border becomes iridescent on hover ───────── */
.service-card::before {
  background: var(--grad-accent);
  transition: background var(--t-med), opacity var(--t-med);
}
.service-card:hover::before {
  background: linear-gradient(90deg, #3B82F6, #22D3EE, #8B5CF6, #22D3EE, #3B82F6);
  opacity: 1;
}

/* ── Problem cards: deeper glow depth on hover ───────────────── */
.problem-card:hover {
  border-color: rgba(59,130,246,0.38);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.22),
    0 24px 64px rgba(0,0,0,0.5),
    0 0 48px rgba(59,130,246,0.15);
}

/* ── Industry cards: depth lift ──────────────────────────────── */
.industry-card:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: rgba(34,211,238,0.28);
  box-shadow: 0 20px 52px rgba(0,0,0,0.42), 0 0 0 1px rgba(34,211,238,0.2);
}

/* ── AEO answer card: glass hover float ──────────────────────── */
.aeo-answer-card {
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  cursor: default;
}
.aeo-answer-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 20px 52px rgba(0,0,0,0.42), 0 0 0 1px rgba(34,211,238,0.22);
}

/* ── Card testimonials: iridescent border shimmer ────────────── */
@keyframes borderShimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
.card {
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #3B82F6, #22D3EE, #8B5CF6, #3B82F6);
  background-size: 300% 300%;
  animation: borderShimmer 7s ease infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.card:hover::after { opacity: 0.45; }

/* ── Stat values: depth glow ─────────────────────────────────── */
.stat-item__value {
  text-shadow: 0 0 36px rgba(59,130,246,0.38), 0 0 12px rgba(34,211,238,0.2);
}

/* ── Section header: depth text glow ─────────────────────────── */
.section-header h2 {
  text-shadow: 0 2px 48px rgba(59,130,246,0.16);
}

/* ── 44. REDUCED MOTION: disable all v2 effects ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-canvas              { display: none !important; }
  .sb-aurora,
  .sb-aurora::before,
  .sb-aurora::after         { animation: none !important; opacity: 0 !important; }
  .process-steps::before    { animation: none !important; }
  .card::after              { animation: none !important; }
  .reveal                   { transform: translateY(20px) !important; }
  .reveal.visible           { transform: translateY(0) !important; }
  .stat-item__value         { text-shadow: none !important; }
  .section-header h2        { text-shadow: none !important; }
  .aeo-answer-card          { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   ── 45. CINEMATIC LUXURY-TECH v3 ─────────────────────────────
   Cursor ambient · Magnetic CTAs · Hero scroll parallax
   Cinematic light beams · Blur-in reveals · Process floor
   CTA bridge motif · Premium microinteractions
   ══════════════════════════════════════════════════════════════ */

/* ── Global cursor ambient light ──────────────────────────────── */
:root {
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle 720px at var(--cursor-x) var(--cursor-y),
    rgba(59,130,246,0.052) 0%,
    rgba(34,211,238,0.024) 35%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Magnetic buttons ─────────────────────────────────────────── */
.btn {
  will-change: transform;
}
.btn--primary {
  transition:
    transform     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow    var(--t-med),
    background    var(--t-med),
    border-color  var(--t-med);
}

/* ── Hero: cinematic light beams ──────────────────────────────── */
@keyframes beamSweep {
  0%   { transform: rotate(-38deg) translateX(-160%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.55; }
  100% { transform: rotate(-38deg) translateX(280%);  opacity: 0; }
}

.hero-beam {
  position: absolute;
  top: -10%;
  left: 0;
  width: 2px;
  height: 220%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255,255,255,0.18) 20%,
    rgba(99,179,237,0.35) 48%,
    rgba(139,92,246,0.28) 65%,
    rgba(255,255,255,0.12) 82%,
    transparent 100%
  );
  filter: blur(5px);
  animation: beamSweep 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  transform-origin: 50% 0%;
}
.hero-beam--2 {
  width: 1.5px;
  filter: blur(3px);
  animation-delay: -7s;
  animation-duration: 18s;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(34,211,238,0.16) 25%,
    rgba(255,255,255,0.22) 50%,
    rgba(59,130,246,0.18) 72%,
    transparent 100%
  );
  opacity: 0.7;
}

/* ── Hero: scroll depth hint ──────────────────────────────────── */
@keyframes hintFadeIn  { to { opacity: 1; } }
@keyframes hintBarDrop {
  0%, 100% { transform: scaleY(0.8) translateY(0);    opacity: 0.45; }
  50%       { transform: scaleY(1.2) translateY(4px);  opacity: 1;    }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  animation: hintFadeIn 0.8s ease 2.2s forwards;
  pointer-events: none;
}
.hero__scroll-hint span {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.hero__scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(99,179,237,0.55), transparent);
  animation: hintBarDrop 2s ease-in-out infinite;
  transform-origin: top center;
}

/* ── Section headers: cinematic blur-in reveal ─────────────────── */
.section-header.reveal {
  filter: blur(7px);
  transition:
    opacity   0.90s var(--ease),
    transform 0.90s var(--ease),
    filter    0.90s var(--ease);
}
.section-header.reveal.visible {
  filter: blur(0px);
}

/* ── Service card: enhanced cinematic hover ───────────────────── */
.service-card:hover {
  box-shadow:
    0 0 0 1px rgba(99,179,237,0.30),
    0 24px 72px rgba(0,0,0,0.60),
    0 0 64px rgba(59,130,246,0.16),
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -1px 0 rgba(59,130,246,0.06);
}

/* ── Problem cards: stronger cinematic depth ──────────────────── */
.problem-card {
  transition:
    transform      var(--t-med),
    box-shadow     var(--t-med),
    border-color   var(--t-med),
    background     var(--t-med);
}

/* ── Process section: perspective floor grid ──────────────────── */
.process-floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) perspective(520px) rotateX(74deg);
  width: 170%;
  height: 52%;
  background-image:
    linear-gradient(rgba(59,130,246,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.11) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 78% 90% at 50% 100%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 78% 90% at 50% 100%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── CTA: cinematic bridge cable overlay ──────────────────────── */
.cta-bridge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.22;
}
.cta-bridge svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── Enhanced card hover transition timing ────────────────────── */
.card {
  transition:
    transform      var(--t-med),
    box-shadow     var(--t-med),
    border-color   var(--t-med);
}

/* ── Stat row items: depth perception on hover ────────────────── */
.stat-item:hover {
  box-shadow:
    0 24px 64px rgba(0,0,0,0.40),
    0 0 0 1px rgba(59,130,246,0.24),
    0 0 48px rgba(59,130,246,0.12);
}

/* ── Portfolio card: cinematic depth hover ────────────────────── */
.portfolio-card:hover {
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.22),
    0 32px 80px rgba(0,0,0,0.55),
    0 0 80px rgba(59,130,246,0.18);
}

/* ── Nav: glass depth when scrolled ──────────────────────────── */
.nav.scrolled {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05),
    0 8px 40px rgba(0,0,0,0.40),
    0 0 60px rgba(59,130,246,0.06);
}

/* ── Mobile: disable heavy v3 effects ────────────────────────── */
@media (max-width: 768px) {
  body::after             { display: none; }
  .hero-beam,
  .hero-beam--2           { display: none; }
  .hero__scroll-hint      { display: none; }
  .process-floor          { display: none; }
  .section-header.reveal  { filter: none; }
  .section-header.reveal.visible { filter: none; }
}

/* ── 45. REDUCED MOTION: v3 additions ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body::after             { display: none !important; }
  .hero-beam,
  .hero-beam--2           { display: none !important; }
  .hero__scroll-hint      { animation: none !important; opacity: 1 !important; }
  .hero__scroll-bar       { animation: none !important; }
  .section-header.reveal  { filter: none !important;
                            transition: opacity 0.4s, transform 0.4s !important; }
  .section-header.reveal.visible { filter: none !important; }
  .btn,
  .btn--primary           { will-change: auto !important; transform: none !important; }
  .process-floor          { display: none !important; }
}

/* ── 46. HERO SHOWCASE (replaces card stack) ─────────────────── */
.hero__showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.browser-frame--hero {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 24px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(59,130,246,0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-frame--hero .browser-frame__img {
  max-height: 340px;
  overflow: hidden;
}

.browser-frame--hero .browser-frame__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
}

.hero__showcase-credit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* ── 47. INDUSTRY CARD: SVG icon styling ─────────────────────── */
.industry-card__icon {
  width: 40px;
  height: 40px;
  background: var(--grad-card);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: all var(--t-med);
  flex-shrink: 0;
}
.industry-card__icon svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}
.industry-card:hover .industry-card__icon {
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(34,211,238,0.15));
  box-shadow: var(--glow-blue-sm);
}

/* ── 48. METHOD STEPS (redesigned process) ───────────────────── */
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 2.5rem auto 0;
}

.method-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.method-step:last-child { border-bottom: none; }

.method-step__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.06em;
  opacity: 0.7;
  min-width: 2rem;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.method-step__body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.method-step__body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 49. AEO CHANNELS (replaces mock AI card) ────────────────── */
.aeo-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aeo-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--t-med);
}

.aeo-channel-item:hover {
  border-color: rgba(34,211,238,0.22);
  background: rgba(34,211,238,0.04);
}

.aeo-channel-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aeo-channel-item__icon svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

/* ── 50. TESTIMONIALS (redesigned) ──────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}

.testimonial-card:hover {
  border-color: rgba(99,179,237,0.22);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.testimonial-card__quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  user-select: none;
  pointer-events: none;
}

.testimonial-card__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.75;
  padding-top: 1rem;
}

.testimonial-card__result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.18);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  width: fit-content;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__author {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-card__author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-card__author-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── 51. FOUNDER SECTION ─────────────────────────────────────── */
.founder-section {
  background: var(--surface);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.founder__image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.founder__avatar {
  width: 220px;
  height: 264px;
  border: 1px solid rgba(99,179,237,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
}

.founder__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.founder__text .label {
  display: inline-flex;
}

.founder__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.25rem;
}

.founder__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.founder__fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.founder__fact strong {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.founder__fact span {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Mobile hero showcase ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    display: none;
  }
}
@media (min-width: 901px) {
  .hero__visual { display: block; }
}

/* ── New components ───────────────────────────────────────── */
.hero__trust-micro { font-size:0.78rem; color:var(--text-muted); margin-top:0.875rem; letter-spacing:0.01em; }
.stat-source { display:block; font-size:0.7rem; color:var(--text-muted); margin-top:0.25rem; font-style:italic; }
.portfolio-card__result { font-size:0.8125rem; color:var(--cyan); font-weight:500; margin-top:0.75rem; padding-top:0.75rem; border-top:1px solid var(--border); }
.founder__quote { font-size:1.0625rem; font-style:italic; color:var(--text-primary); border-left:3px solid var(--cyan); padding-left:1rem; margin:1.5rem 0; line-height:1.6; }
.services-advanced-label { font-size:0.78rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.08em; margin:2rem 0 1rem; display:flex; align-items:center; gap:0.75rem; }
.services-advanced-label::before, .services-advanced-label::after { content:''; flex:1; height:1px; background:var(--border); }
.services-grid--single { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content:center; }
.testimonial-card__tags { display:flex; gap:0.4rem; margin-top:0.875rem; flex-wrap:wrap; }
.testimonial-tag { font-size:0.7rem; padding:0.2rem 0.55rem; border-radius:100px; background:rgba(99,179,237,0.1); border:1px solid rgba(99,179,237,0.2); color:var(--blue-light); }
.sticky-cta-mobile { display:none; position:fixed; bottom:0; left:0; right:0; z-index:900; background:var(--surface); border-top:1px solid var(--border-strong); padding:0.875rem 1.25rem; opacity:0; transform:translateY(100%); transition:opacity 0.4s ease, transform 0.4s ease; }
.sticky-cta-mobile.visible { opacity:1; transform:translateY(0); }
.sticky-cta-mobile a { display:block; text-align:center; padding:0.75rem; background:var(--blue); color:white; border-radius:var(--radius-sm); font-weight:600; font-size:0.9375rem; text-decoration:none; }
@media (max-width: 768px) { .sticky-cta-mobile { display:block; } }

/* ── CREDIBILITY SECTION ─────────────────────────────────── */
.credibility-section { padding-block: var(--section-py); }
.credibility-section .section-header__sub {
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  text-align: center;
}
.credibility-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.credibility-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.credibility-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow-blue-sm);
  transform: translateY(-4px);
}
.credibility-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.credibility-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}
.credibility-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.credibility-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
/* Responsive */
@media (max-width: 1024px) {
  .credibility-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .credibility-cards { grid-template-columns: 1fr; gap: 1rem; }
  .credibility-card  { padding: 1.375rem 1.25rem; }
}
