/* ============================================================
   PurpleBridgeAI — Premium Minimal Dark Theme v4
   Clean, luxurious, conversion-focused
   ============================================================ */

:root {
  --bg-deep: #09080e;
  --bg-primary: #0e0d15;
  --bg-card: #12111b;
  --bg-card-hover: #161422;
  --bg-surface: #181624;
  --bg-elevated: #1c1a2c;

  --purple-50: #f4f0ff;
  --purple-100: #e4dbff;
  --purple-200: #c4b5fd;
  --purple-300: #a78bfa;
  --purple-400: #8b5cf6;
  --purple-500: #7c3aed;
  --purple-600: #6d28d9;
  --purple-700: #5b21b6;
  --purple-800: #4c1d95;
  --purple-900: #3b0f7a;

  --text-primary: #f0ecff;
  --text-secondary: #b5aed0;
  --text-muted: #635e80;

  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-card: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(139, 92, 246, 0.3);

  --glow-sm: 0 0 24px rgba(139, 92, 246, 0.08);
  --glow-md: 0 0 48px rgba(139, 92, 246, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1140px;
  --section-py: 8rem;
  --header-h: 72px;
  --announcement-h: 36px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announcement-h));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.hidden { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 700;
}
h2 em, h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-300), var(--purple-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANNOUNCEMENT STRIP
   ============================================================ */
.announcement-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--announcement-h);
  background: linear-gradient(90deg, rgba(109, 40, 217, 0.15), rgba(139, 92, 246, 0.08), rgba(109, 40, 217, 0.15));
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.announcement-strip.hidden-strip {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.announcement-inner {
  text-align: center;
  width: 100%;
}
.announcement-inner p {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(196, 181, 253, 0.7);
  letter-spacing: 0.03em;
}
.announcement-inner a {
  color: var(--purple-200);
  font-weight: 600;
  margin-left: 6px;
  transition: color 0.3s;
}
.announcement-inner a:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: var(--announcement-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  /* Solid background — no backdrop-filter. Kills a major paint cost. */
  background: rgba(9, 8, 14, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s, box-shadow 0.3s, top 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: #09080e;
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}
.site-header.strip-hidden {
  top: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.logo-purple {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-bridge { color: rgba(240, 236, 255, 0.88); }
.logo-ai {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-left: 1px;
}

.footer-logo .logo-text { font-size: 1.1rem; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.03); }
.nav-link.nav-cta-link { color: var(--purple-300); }
.nav-link.nav-cta-link:hover { background: rgba(139, 92, 246, 0.08); color: var(--purple-200); }

.header-cta { white-space: nowrap; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: rgba(15, 13, 24, 0.92);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 10px;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(139, 92, 246, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  position: relative;
  z-index: 1002;
}
.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: rgba(24, 20, 38, 0.96);
  border-color: rgba(139, 92, 246, 0.45);
}
.mobile-toggle.active {
  background: rgba(24, 20, 38, 0.98);
  border-color: rgba(167, 139, 250, 0.55);
}
.mobile-toggle .bar {
  display: block;
  width: 22px; height: 2px;
  background: #f3e8ff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { font-size: 0.84rem; padding: 10px 22px; }
.btn-lg { font-size: 0.9rem; padding: 15px 30px; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  box-shadow: 0 2px 20px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
  box-shadow: 0 4px 32px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.04);
  color: var(--purple-200);
  transform: translateY(-2px);
}

/* ============================================================
   HERO — Split Layout
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--announcement-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 0;
  overflow: hidden;
}
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  /* Much cheaper than filter: blur(120px) — a radial gradient
     fades naturally, so we don't need the filter at all. */
  pointer-events: none;
  will-change: auto;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.20) 0%, transparent 70%);
  top: -15%; left: -10%;
  opacity: 0.8;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
  bottom: -20%; right: -10%;
  opacity: 0.7;
}
/* hero-glow-3 removed to reduce paint area — not visually essential */
.hero-glow-3 { display: none; }

/* Hero Grid: Split left/right */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 64px;
}
.hero-left { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.55);
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.1);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-400);
  animation: dotPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(139, 92, 246, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: rgba(240, 236, 255, 0.95);
}

/* Premium static gradient for accent line.
   The infinite gradientShift animation has been removed — it repainted
   the entire hero title on every frame for no real UX value. */
.hero-accent {
  background: linear-gradient(
    110deg,
    #f3e8ff 0%,
    #c4b5fd 35%,
    #a78bfa 65%,
    #c084fc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ground {
  font-size: 0.92rem;
  color: rgba(181, 174, 208, 0.65);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-micro-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(167, 139, 250, 0.55);
  font-weight: 400;
}
.hero-micro-item svg { color: var(--purple-500); flex-shrink: 0; opacity: 0.7; }

/* Powered by — rotating AI brand names */
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}
.powered-by-label { letter-spacing: 0.03em; }
.powered-by-rotate {
  display: inline-flex;
  align-items: center;
  min-width: 90px;
  height: 1.4em;
  overflow: hidden;
}
.powered-by-name {
  display: inline-block;
  color: var(--purple-300);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ============================================================
   HERO RIGHT — Rotating Visual Stage
   ============================================================ */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 340px;
  margin: 0 auto;
}
.visual-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
}
.visual-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.visual-card {
  position: relative;
  width: 100%;
  height: 100%;
  /* Solid gradient — no backdrop-filter (heavy on scroll/paint) */
  background: linear-gradient(160deg, #181624, #121119);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.visual-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
.visual-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.visual-status {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-300);
  background: rgba(139, 92, 246, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.visual-body {
  padding: 24px;
  height: calc(100% - 58px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Visual 1 — Chat */
.visual-chat .chat-msg {
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 11px 15px;
  border-radius: 12px;
  max-width: 88%;
  color: var(--text-primary);
  font-weight: 400;
  animation: chatIn 0.6s var(--ease-out) both;
}
.visual-chat .chat-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.visual-chat .chat-ai {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(109, 40, 217, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: rgba(244, 240, 255, 0.92);
  animation-delay: 0.2s;
}
.visual-chat .chat-ai strong {
  color: var(--purple-200);
  font-weight: 600;
}
.visual-chat .chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  animation-delay: 0.4s;
}
.visual-chat .chat-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple-300);
  animation: typingDot 1.4s ease-in-out infinite;
}
.visual-chat .chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.visual-chat .chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Visual 2 — Workflow */
.visual-flow .flow-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex: 1;
}
.visual-flow .flow-node {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  text-align: center;
  flex: 1;
  transition: all 0.4s var(--ease-out);
}
.visual-flow .flow-node.is-active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(109, 40, 217, 0.12));
  border-color: rgba(139, 92, 246, 0.35);
  color: var(--purple-200);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.18);
}
.visual-flow .flow-line {
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.1));
  flex-shrink: 0;
}
.visual-flow .flow-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Visual 3 — Premium SEO Website */
.visual-seo {
  gap: 16px;
}
.visual-seo .seo-browser {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatIn 0.6s var(--ease-out) both;
}
.visual-seo .seo-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.visual-seo .seo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.35);
}
.visual-seo .seo-dot:nth-child(2) { background: rgba(167, 139, 250, 0.5); }
.visual-seo .seo-dot:nth-child(3) { background: rgba(167, 139, 250, 0.65); }
.visual-seo .seo-url {
  margin-left: 10px;
  font-size: 0.66rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.visual-seo .seo-page {
  position: relative;
  flex: 1;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.04), transparent 70%);
}
.visual-seo .seo-line {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.06));
  animation: seoLine 0.7s var(--ease-out) both;
}
.visual-seo .seo-line-title {
  width: 78%;
  height: 11px;
  background: linear-gradient(90deg, rgba(196, 181, 253, 0.45), rgba(139, 92, 246, 0.1));
  animation-delay: 0.15s;
}
.visual-seo .seo-line-sub {
  width: 56%;
  animation-delay: 0.3s;
}
.visual-seo .seo-cta {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.5);
  animation: seoBtnGlow 2.6s ease-in-out infinite, chatIn 0.6s 0.45s var(--ease-out) both;
}
.visual-seo .seo-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 4px 9px;
  border-radius: 999px;
  animation: seoRankPulse 2.4s ease-in-out infinite;
}
.visual-seo .seo-rank svg {
  animation: seoArrow 2.4s ease-in-out infinite;
}
.visual-seo .seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.visual-seo .seo-tag {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--purple-200);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.18);
  animation: chatIn 0.5s var(--ease-out) both;
}
.visual-seo .seo-tag:nth-child(2) { animation-delay: 0.1s; }
.visual-seo .seo-tag:nth-child(3) { animation-delay: 0.2s; }
@keyframes seoLine {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes seoBtnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.45); }
  50% { box-shadow: 0 0 18px 2px rgba(139, 92, 246, 0.35); }
}
@keyframes seoRankPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes seoArrow {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-1px); opacity: 1; }
}

/* Visual 4 — Knowledge */
.visual-know .know-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.visual-know .know-search svg { color: var(--purple-400); flex-shrink: 0; }
.visual-know .know-answer {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(109, 40, 217, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  flex: 1;
  animation: chatIn 0.6s 0.2s var(--ease-out) both;
}
.visual-know .know-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-300);
  margin-bottom: 6px;
}
.visual-know .know-answer p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 400;
}
.visual-know .know-answer strong {
  color: var(--purple-200);
  font-weight: 600;
}
.visual-know .know-source {
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 8px;
}

/* Visual 5 — Core Orbit */
.visual-core {
  align-items: center;
  justify-content: center;
}
.visual-core .core-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visual-core .core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.18);
}
.visual-core .ring-1 {
  inset: 24px;
}
.visual-core .ring-2 {
  inset: 8px;
  border-color: rgba(139, 92, 246, 0.08);
}
.visual-core .core-center {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.4);
}
.visual-core .orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-300);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.6);
}
.visual-core .orbit-n1 { top: 10%; left: 50%; }
.visual-core .orbit-n2 { top: 50%; right: 10%; }
.visual-core .orbit-n3 { bottom: 10%; left: 50%; }
.visual-core .orbit-n4 { top: 50%; left: 10%; }
.visual-core .core-stats {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
.visual-core .core-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.visual-core .core-stats strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}
.visual-core .core-stats span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Visual footer — label + dot indicators */
.visual-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.visual-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.6);
  transition: opacity 0.4s;
}
.visual-indicators {
  display: flex;
  gap: 8px;
}
.visual-dot-btn {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(139, 92, 246, 0.18);
  transition: background 0.4s var(--ease-out), width 0.4s var(--ease-out);
  border: none;
  cursor: pointer;
  padding: 0;
}
.visual-dot-btn:hover { background: rgba(139, 92, 246, 0.35); }
.visual-dot-btn.active {
  width: 36px;
  background: linear-gradient(90deg, var(--purple-400), var(--purple-200));
}

/* ============================================================
   TOP MARQUEE — Just below header
   ============================================================ */
.top-marquee {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: calc(var(--header-h) + var(--announcement-h));
  padding: 12px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
  background: linear-gradient(180deg, rgba(15, 13, 24, 0.7), rgba(9, 8, 14, 0.5));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.site-header.strip-hidden ~ .top-marquee {
  margin-top: var(--header-h);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(181, 174, 208, 0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.5;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip-section {
  padding: 56px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.trust-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.08);
  color: var(--purple-400);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.trust-item:hover .trust-icon {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: var(--glow-sm);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s, background 0.45s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0), transparent);
  transition: background 0.5s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--glow-md);
}
.service-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
}

.service-card--highlight {
  border-color: rgba(139, 92, 246, 0.1);
  background: rgba(139, 92, 246, 0.02);
}

.service-icon-wrap {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.1);
  color: var(--purple-400);
  margin-bottom: 20px;
  transition: box-shadow 0.4s;
}
.service-card:hover .service-icon-wrap { box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }

.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; line-height: 1.75; font-weight: 300; margin-bottom: 14px; }
.service-outcome {
  display: block;
  font-size: 0.78rem;
  color: var(--purple-300);
  font-weight: 500;
  opacity: 0.7;
}

/* ============================================================
   RESULTS / OUTCOMES
   ============================================================ */
.results {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.result-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.result-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
}

.result-block {
  padding: 32px 28px;
}
.result-block + .result-block {
  border-left: 1px solid var(--border-subtle);
}
.result-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.result-challenge .result-label { color: var(--text-muted); }
.result-solution .result-label { color: var(--purple-400); }
.result-outcome .result-label { color: rgba(34, 197, 94, 0.65); }
.result-block p {
  font-size: 0.88rem;
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.process-step:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-300);
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.04);
  margin-bottom: 20px;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.process-step:hover .process-number {
  border-color: var(--purple-400);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.86rem; line-height: 1.7; font-weight: 300; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--glow-md);
}
.why-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(180deg, var(--purple-500), var(--purple-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1rem; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; line-height: 1.75; font-weight: 300; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-sm);
  transform: translateY(-3px);
}
.testimonial-card > p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-weight: 300;
  flex: 1;
}
.testimonial-card footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card footer strong { font-size: 0.88rem; color: var(--text-primary); font-weight: 600; }
.testimonial-card footer span { font-size: 0.76rem; color: var(--text-muted); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
}
.founder-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.founder-image-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.founder-content .section-eyebrow { text-align: left; }
.founder-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-align: left;
}
.founder-content p {
  font-size: 0.92rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 12px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
}
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--purple-400);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-eyebrow { text-align: left; }
.contact-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-align: left;
}
.contact-info > p {
  font-size: 0.94rem;
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.contact-detail-item svg { color: var(--purple-400); flex-shrink: 0; opacity: 0.8; }
.contact-detail-item:hover { color: var(--purple-300); }

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(167, 139, 250, 0.45);
  font-weight: 400;
}
.contact-trust-item svg { color: var(--purple-500); flex-shrink: 0; opacity: 0.6; }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-weight: 300; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  background: var(--bg-elevated);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.field-error { font-size: 0.74rem; color: #ef4444; font-weight: 400; min-height: 0; }

.btn-submit { width: 100%; margin-top: 6px; }
.btn-submit .spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 14px;
  padding: 0;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: all 0.4s var(--ease-out);
}
.form-status.success {
  padding: 18px 22px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: #86efac;
}
.form-status.error {
  padding: 18px 22px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: var(--section-py) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.final-cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 18px;
}
.final-cta-content > p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--text-secondary);
  font-weight: 300;
}
.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 72px 0 36px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand > p {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 280px;
  font-weight: 300;
}
.footer-contact-items { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-items a { font-size: 0.82rem; color: var(--text-secondary); transition: color 0.3s; }
.footer-contact-items a:hover { color: var(--purple-300); }

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-links-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0;
  font-weight: 400;
  transition: color 0.3s;
}
.footer-links-col a:hover { color: var(--purple-300); }

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.footer-bottom p { font-size: 0.76rem; color: var(--text-muted); }

/* ============================================================
   FLOATING CALL
   ============================================================ */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.floating-call:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(139, 92, 246, 0.45); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
  .hero-left { max-width: 100%; }
  .hero-visual-stage { max-width: 480px; height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .result-card { grid-template-columns: 1fr; }
  .result-block + .result-block { border-left: none; border-top: 1px solid var(--border-subtle); }
}

@media (max-width: 900px) {
  :root { --section-py: 5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .founder-image-placeholder { margin: 0 auto; }
  .founder-content .section-eyebrow { text-align: center; }
  .founder-title { text-align: center !important; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; --header-h: 64px; --announcement-h: 32px; }

  .main-nav {
    position: fixed;
    /* Full-height drawer so the content can scroll inside if needed */
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(86vw, 360px);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    /* Solid premium dark-purple background — no transparency, no backdrop-filter */
    background: #0c0a18;
    background-image: linear-gradient(180deg, #120f22 0%, #0a0814 100%);
    border-left: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: calc(var(--header-h) + 20px) 22px 40px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    z-index: 1003;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 18px;
    color: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(139, 92, 246, 0.06);
  }
  .main-nav .nav-link:hover,
  .main-nav .nav-link:focus-visible {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.38);
    color: #ffffff;
  }
  .main-nav .nav-link.nav-cta-link {
    margin-top: 12px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    border-color: rgba(167, 139, 250, 0.55);
    color: #ffffff;
    text-align: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.35);
  }

  /* Mobile menu overlay — clicking it closes the drawer */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 10, 0.62);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s var(--ease-out), visibility 0s linear 0s;
  }

  .mobile-toggle { display: flex; }
  .header-cta { display: none; }

  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

  .services-grid, .process-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero {
    padding-top: 32px;
    min-height: auto;
  }
  .hero-grid { gap: 40px; padding-bottom: 40px; }
  .top-marquee { padding: 9px 0; }
  .marquee-item { padding: 0 24px; font-size: 0.7rem; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.08; }
  .hero-badge { padding: 8px 18px; font-size: 0.64rem; margin-bottom: 22px; }
  .hero-ground { font-size: 0.88rem; margin-bottom: 26px; }
  .hero-micro { gap: 14px; }
  .hero-visual-stage { max-width: 100%; height: 300px; }
  .visual-header { padding: 14px 18px; }
  .visual-body { padding: 18px; gap: 12px; }
  .visual-core .core-orbit { width: 150px; height: 150px; }
  .visual-core .core-center { width: 48px; height: 48px; font-size: 0.85rem; }

  .contact-form-wrap { padding: 24px 18px; }

  .floating-call { display: flex; }

  .announcement-inner p { font-size: 0.68rem; }

  /* Drawer is now full-height from 0 — do not override top here */

  /* ---------- PERFORMANCE: further trim the hero on mobile/tablet ---------- */
  #particleCanvas { display: none !important; }
  .hero-glow-1,
  .hero-glow-2 { opacity: 0.45; }
  .top-marquee { display: none; }
  .hero { padding-top: calc(var(--header-h) + var(--announcement-h) + 24px); }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual-stage { height: 280px; }
  .visual-title { font-size: 0.78rem; }
  .visual-status { font-size: 0.62rem; padding: 3px 8px; }
  .visual-footer { margin-top: 18px; }
  .visual-core .core-orbit { width: 130px; height: 130px; }
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .final-cta-buttons .btn { width: 100%; }
  .announcement-inner p { font-size: 0.62rem; }
}

/* ============================================================
   FOOTER — Service areas (internal links)
   ============================================================ */
.footer-areas {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.footer-areas h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-300);
  margin-bottom: 10px;
}
.footer-areas p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-areas a {
  color: var(--text-secondary);
  border-bottom: 1px dotted rgba(139, 92, 246, 0.3);
  transition: color 0.3s, border-color 0.3s;
}
.footer-areas a:hover {
  color: var(--purple-200);
  border-bottom-color: var(--purple-300);
}

/* ============================================================
   BODY LOCK — used when mobile menu is open
   The drawer itself keeps its own scroll (overflow-y:auto).
   Do NOT set touch-action:none here — it breaks scrolling
   inside the open drawer on iOS/Android.
   ============================================================ */
body.no-scroll {
  overflow: hidden;
  /* Position: fixed alternative avoided — it would lose scroll position
     and is not necessary since we also lock html via the .no-scroll class. */
}
html.no-scroll {
  overflow: hidden;
}

/* ============================================================
   PREFERS REDUCED MOTION — accessibility + performance
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #particleCanvas { display: none !important; }
  .hero-glow,
  .hero-accent { animation: none !important; }
  .marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
