/* ============================================================
   Stay Citable — styles.css v2.0
   Design: Dark-first, editorial agency, Space Grotesk
   2026-03-10 — Pixel iteration 2
   ============================================================ */

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

:root {
  /* Core colors */
  --bg:             #08080e;
  --bg-2:           #0d0d18;
  --bg-card:        #111120;
  --bg-card-2:      #171730;
  --border:         rgba(255,255,255,0.065);
  --border-mid:     rgba(255,255,255,0.10);
  --border-bright:  rgba(255,255,255,0.14);

  /* Text — increased contrast for accessibility */
  --text-primary:   #f0f0f8;
  --text-secondary: #a0a0c0;
  --text-muted:     #6c6c8a;

  /* Brand */
  --violet:         #7c5cfc;
  --cyan:           #4fc3f7;
  --violet-glow:    rgba(124,92,252,0.22);
  --cyan-glow:      rgba(79,195,247,0.12);
  --green:          #22c55e;
  --red:            #ef4444;
  --amber:          #eab308;

  /* Gradients */
  --grad-brand:     linear-gradient(135deg, #7c5cfc 0%, #4fc3f7 100%);
  --grad-card:      linear-gradient(135deg, rgba(124,92,252,0.07) 0%, rgba(79,195,247,0.03) 100%);
  --grad-glow:      radial-gradient(ellipse 60% 40% at 50% 0%, rgba(124,92,252,0.12) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Menlo', monospace;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3.5rem;
  --sp-3xl: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.5), 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 48px var(--violet-glow);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Utilities ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

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

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.22);
  padding: 0.3em 0.85em;
  border-radius: 100px;
  margin-bottom: var(--sp-lg);
  font-family: var(--font-display);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-2xl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Entry Animations — Always Visible, Auto-Play on Load ── */
/* No opacity:0 hiding. CSS animations play once on load with stagger delays. */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: animFadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  .reveal-right {
    animation: animFadeRight 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  .reveal-fast {
    animation: animFadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
}

/* reveal class has no effect by itself — used as JS hook only */
.reveal.revealed,
.reveal-right.revealed,
.reveal-fast.revealed {
  /* legacy compat */
}

@keyframes animFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes animFadeRight {
  from { opacity: 0; transform: translateX(28px) translateY(6px); }
  to   { opacity: 1; transform: translate(0, 0); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  font-size: 0.925rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 20px var(--violet-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 36px rgba(124,92,252,0.38);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,14,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-color: var(--border-mid);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-text { letter-spacing: -0.01em; font-weight: 600; }
.logo-text strong { color: var(--violet); font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  font-family: var(--font-display);
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  color: var(--violet) !important;
  background: rgba(124,92,252,0.1);
  border: 1px solid rgba(124,92,252,0.22);
  padding: 0.45em 1.1em;
  border-radius: var(--r-sm);
  transition: all 0.2s !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: rgba(124,92,252,0.2) !important;
  color: #fff !important;
  border-color: rgba(124,92,252,0.4) !important;
}

/* Mobile menu button */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Background grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 30%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(124,92,252,0.16) 0%, transparent 70%);
  top: -100px;
  left: -80px;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(79,195,247,0.10) 0%, transparent 70%);
  top: 20%;
  right: -40px;
}

/* Hero layout — 2-column split */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero text */
.hero-text {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-lg);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}

/* Proof avatars — gradient border style */
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.proof-avatars {
  display: flex;
  align-items: center;
}

.proof-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  flex-shrink: 0;
}

.proof-avatar-wrap:first-child {
  margin-left: 0;
}

/* Gradient ring using pseudo-element */
.proof-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--grad-brand);
  z-index: 0;
}

.proof-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  border: 2px solid var(--bg);
}

.av-1 { background: linear-gradient(135deg, #2d1b69, #7c5cfc); color: #a78bfa; }
.av-2 { background: linear-gradient(135deg, #0c3050, #4fc3f7); color: #7dd3fc; }
.av-3 { background: linear-gradient(135deg, #1a3a1a, #22c55e); color: #4ade80; }
.av-4 { background: linear-gradient(135deg, #3b1717, #ef4444); color: #fca5a5; }
.av-more { background: var(--bg-card-2); color: var(--text-secondary); font-size: 0.62rem; }

.proof-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.proof-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Hero Visual / Dashboard Mockup ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.3deg); }
  66% { transform: translateY(-4px) rotate(-0.2deg); }
}

.dash-card {
  background: #16162a;
  border: 1px solid rgba(124,92,252,0.35);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow:
    0 8px 64px rgba(0,0,0,0.7),
    0 0 0 1px rgba(124,92,252,0.15),
    0 0 160px rgba(124,92,252,0.15),
    0 0 40px rgba(79,195,247,0.06),
    inset 0 1px 0 rgba(124,92,252,0.12);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* Top gradient line */
.dash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(124,92,252,0.8) 30%, rgba(79,195,247,0.7) 70%, transparent 95%);
  z-index: 1;
}

/* Browser chrome */
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dash-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.dash-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dash-dot-red    { background: #ff5f57; }
.dash-dot-yellow { background: #febc2e; }
.dash-dot-green  { background: #28c840; }

.dash-url-bar {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Query bar */
.dash-query {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(124,92,252,0.07);
  border-bottom: 1px solid rgba(124,92,252,0.15);
  font-size: 0.8rem;
  color: #b8b8d8;
}

.query-icon { flex-shrink: 0; }

.query-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  background: var(--violet);
  margin-left: 1px;
  vertical-align: middle;
  animation: cursorBlink 1.1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Response area */
.dash-response {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.response-avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.response-body {
  flex: 1;
  min-width: 0;
}

.response-text {
  font-size: 0.82rem;
  color: #c0c0d8;
  line-height: 1.65;
  margin-bottom: 10px;
}

.cited-brand {
  background: linear-gradient(135deg, rgba(124,92,252,0.25), rgba(79,195,247,0.2));
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: 3px;
  padding: 0 3px;
  color: var(--text-primary);
  font-weight: 600;
}

.response-sources {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  padding: 0.28em 0.65em;
  border-radius: 4px;
  font-family: var(--font-mono);
  border: 1px solid var(--border-mid);
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.source-chip.active {
  background: rgba(124,92,252,0.15);
  border-color: rgba(124,92,252,0.4);
  color: #a78bfa;
}

.source-num {
  background: var(--violet);
  color: #fff;
  border-radius: 3px;
  font-size: 0.6rem;
  width: 13px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.source-chip.active .source-num {
  background: var(--violet);
}

/* Metrics row */
.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}

.metric-block {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.metric-block:first-child {
  border-right: 1px solid var(--border);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.metric-up {
  color: var(--green);
}

.metric-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.metric-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: 2px;
  animation: fillBar 1.5s ease 0.5s both;
}

@keyframes fillBar {
  from { width: 0; }
}

.metric-sparkline {
  height: 20px;
  margin-top: 2px;
}

.metric-sparkline svg {
  width: 100%;
  height: 100%;
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a32;
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(124,92,252,0.08);
  z-index: 3;
}

.float-badge div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.float-badge strong {
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.float-badge span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.float-badge-1 {
  top: -16px;
  right: -16px;
  animation: float 5s ease-in-out 1s infinite;
}

.float-badge-2 {
  bottom: -12px;
  left: -24px;
  animation: float 7s ease-in-out 2s infinite;
}

/* Pulse ring on live badge */
.pulse-ring {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
}

.pulse-ring::after {
  animation: pulseRing 1.8s ease-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── AI Strip ── */
.ai-strip {
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.ai-strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
  font-family: var(--font-display);
}

.ai-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}

.ai-logo-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-display);
  transition: color 0.2s;
}

.ai-logo-item:hover { color: var(--text-primary); }

.ai-engine-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.ai-logo-item:hover .ai-engine-icon { opacity: 1; }

/* ── Problem ── */
.problem {
  padding: var(--sp-3xl) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.problem-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: border-color 0.2s, transform 0.2s;
}

.problem-item:hover {
  border-color: rgba(239,68,68,0.2);
  transform: translateY(-3px);
}

.problem-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.problem-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Results Bar ── */
.results-bar {
  background: linear-gradient(135deg, rgba(124,92,252,0.06) 0%, rgba(79,195,247,0.04) 100%), var(--bg-2);
  border-top: 1px solid rgba(124,92,252,0.15);
  border-bottom: 1px solid rgba(79,195,247,0.1);
  padding: var(--sp-xl) 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: var(--sp-md);
}

.result-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Services ── */
.services {
  padding: var(--sp-3xl) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,252,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(124,92,252,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,92,252,0.1);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured {
  background: var(--grad-card);
  border-color: rgba(124,92,252,0.28);
  box-shadow: 0 0 48px rgba(124,92,252,0.06);
}

.service-card.featured::before { opacity: 1; }

.service-number {
  position: absolute;
  top: var(--sp-xl);
  right: var(--sp-xl);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--grad-brand);
  color: #fff;
  padding: 0.22em 0.7em;
  border-radius: 100px;
  font-family: var(--font-display);
}

.service-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
  padding-right: 60px; /* avoid badge overlap */
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.feature-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
  font-size: 0.8rem;
}

/* ── How It Works ── */
.how-it-works {
  padding: var(--sp-3xl) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-xl);
  align-items: flex-start;
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--violet);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.step:hover .step-num {
  background: rgba(124,92,252,0.16);
  border-color: rgba(124,92,252,0.4);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 0.65rem;
  letter-spacing: -0.01em;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.72;
  margin-bottom: var(--sp-md);
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.2em 0.6em;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
}

/* ── Social Proof ── */
.social-proof {
  padding: var(--sp-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.testimonial-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-md);
}

.testimonial-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-display);
}

.testimonial-card blockquote {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Gradient border testimonial avatars */
.testimonial-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.testimonial-avatar-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--grad-brand);
  z-index: 0;
}

.testimonial-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  border: 2px solid var(--bg-card);
}

.author-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── FAQ ── */
.faq {
  padding: var(--sp-3xl) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-xl) var(--sp-xl) var(--sp-lg);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(124,92,252,0.2);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-q-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(124,92,252,0.12);
  border: 1px solid rgba(124,92,252,0.2);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--violet);
  font-family: var(--font-display);
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ── CTA Section ── */
.cta-section {
  padding: var(--sp-3xl) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,0.14) 0%, transparent 65%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.025em;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
}

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto var(--sp-md);
}

.cta-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 0.8em 1em;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cta-input::placeholder { color: var(--text-muted); }

.cta-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact {
  padding: var(--sp-3xl) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-3xl);
  align-items: flex-start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-md);
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.72;
  margin-bottom: var(--sp-xl);
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contact-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(124,92,252,0.08);
  border: 1px solid rgba(124,92,252,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-feature h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.contact-feature p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-card);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form-group {
  margin-bottom: var(--sp-md);
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4em;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  padding: 0.7em 0.9em;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.form-select {
  cursor: pointer;
  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='%235c5c7a' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5em;
}

.form-textarea { resize: vertical; min-height: 80px; }

.form-submit {
  font-size: 0.925rem;
  padding: 0.9em 1.5em;
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
}

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--sp-md);
}

/* ── Footer ── */
.footer {
  padding: var(--sp-3xl) 0 var(--sp-xl);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  margin-bottom: var(--sp-md);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-sm);
}

.footer-contact {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-contact a:hover { color: var(--text-primary); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .hero {
    min-height: auto;
    padding: var(--sp-2xl) 0;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .dash-card {
    max-width: 480px;
  }

  .float-badge-1 { display: none; }
  .float-badge-2 { display: none; }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--sp-lg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(8,8,14,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--sp-lg);
    gap: var(--sp-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-menu-btn {
    display: flex;
  }

  .nav {
    position: sticky;
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-lg);
  }

  .hero-stat-divider { display: none; }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Ensure comfortable reading on small screens */
  body { font-size: 16px; }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding: var(--sp-xl) 0;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    min-height: 48px;
  }

  .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide dashboard mockup on very small screens — show simplified stats instead */
  .hero-visual {
    display: none;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .problem-item,
  .service-card,
  .faq-item,
  .testimonial-card {
    padding: var(--sp-lg);
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: var(--sp-md);
  }

  .step-num {
    width: 44px;
    height: 44px;
    font-size: 0.65rem;
  }

  /* Larger touch targets on mobile */
  .nav-cta,
  .btn,
  .form-submit,
  .cta-input {
    min-height: 44px;
  }

  /* Results bar 2-column on phone */
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* AI strip wrap tighter */
  .ai-logos {
    gap: var(--sp-lg);
  }

  /* Footer single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .badge-dot,
  .cursor,
  .dash-card,
  .float-badge,
  .metric-fill,
  .pulse-ring::after {
    animation: none;
  }

  .reveal, .reveal-right, .reveal-fast {
    animation: none;
  }
}

/* ── Print ── */
@media print {
  .nav, .hero-orb, .hero-grid-bg, .cta-glow, .float-badge { display: none; }
  body { background: white; color: black; }
  .gradient-text { background: none; -webkit-text-fill-color: #333; color: #333; }
}

/* ============================================================
   v3 Upgrades — Pixel Session 2 / 2026-03-10
   Key improvements: readability, amber accent, bigger stats,
   quotation motif, reduced glow overuse, stronger CTA.
   ============================================================ */

/* ── Enhanced Color System ── */
:root {
  /* Improved text contrast (WCAG AA target) */
  --text-secondary: #b2b2cc;   /* was #a0a0c0 */
  --text-muted:     #828298;   /* was #6c6c8a */

  /* Amber/gold — citation authority accent */
  --amber-gold:     #f59e0b;
  --amber-warm:     #fbbf24;
  --amber-glow:     rgba(245,158,11,0.12);
  --amber-soft:     rgba(245,158,11,0.08);
}

/* ── Body: 17px for better readability ── */
@media (min-width: 481px) {
  html { font-size: 17px; }
  body { font-size: 17px; }
}

/* ── Section typography improvements ── */
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

/* ── Results Bar — Dramatic Upgrade ── */
.results-bar {
  padding: var(--sp-3xl) 0;
  background: linear-gradient(
    135deg,
    rgba(124,92,252,0.07) 0%,
    rgba(245,158,11,0.04) 50%,
    rgba(79,195,247,0.05) 100%
  ), var(--bg-2);
  border-top: 1px solid rgba(124,92,252,0.18);
  border-bottom: 1px solid rgba(79,195,247,0.12);
}

.results-eyebrow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: var(--sp-xl);
  font-family: var(--font-display);
}

.results-grid {
  gap: 0;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.result-item {
  padding: var(--sp-xl) var(--sp-md);
  position: relative;
  border-right: 1px solid var(--border);
}

.result-item:last-child {
  border-right: none;
}

.result-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,252,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.result-item:hover::before {
  opacity: 1;
}

.result-number {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.result-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── Hero CTA — Bigger, More Prominent ── */
.hero-ctas .btn-primary {
  padding: 1em 2.2em;
  font-size: 1rem;
  box-shadow: 0 6px 36px rgba(124,92,252,0.32);
  font-weight: 700;
}

.hero-ctas .btn-primary:hover {
  box-shadow: 0 10px 48px rgba(124,92,252,0.48);
}

/* ── Hero: Quotation Mark Brand Motif ── */
.hero-text {
  position: relative;
}

.hero-quote-mark {
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16rem;
  line-height: 1;
  color: rgba(124,92,252,0.055);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -0.05em;
}

/* ── Hero: Noise Texture for Depth ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.018;
  mix-blend-mode: screen;
  z-index: 1;
}

/* ── Badge Dot — Amber Upgrade ── */
.badge-dot {
  background: var(--amber-gold);
  box-shadow: 0 0 10px rgba(245,158,11,0.5);
}

/* ── Service Cards — Reduce Glow Overuse ── */
.service-card {
  box-shadow: none;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(124,92,252,0.08);
}

.service-card.featured {
  box-shadow: 0 0 40px rgba(124,92,252,0.06);
}

/* Service card text improvements */
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── Problem Items — Better Text ── */
.problem-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Steps — Better Text ── */
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Testimonials — Richer Cards ── */
.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.025) 0%,
    rgba(124,92,252,0.015) 100%
  ), var(--bg-card);
  border-color: rgba(255,255,255,0.08);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(124,92,252,0.12);
  pointer-events: none;
  user-select: none;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.78;
  font-style: normal;
  position: relative;
}

.author-role {
  color: var(--text-secondary);
}

/* ── FAQ — Better Readability ── */
.faq-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-item h3 {
  font-size: 0.93rem;
  color: var(--text-primary);
}

/* ── Contact Features ── */
.contact-feature h4 {
  font-size: 0.95rem;
}

.contact-feature p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── AI Strip Icons — More Visible ── */
.ai-engine-icon {
  opacity: 0.8;
}

.ai-logo-item {
  font-size: 0.875rem;
}

/* ── Amber-Accented Section Labels (optional class) ── */
.section-label-amber {
  color: var(--amber-gold);
  background: var(--amber-soft);
  border-color: rgba(245,158,11,0.22);
}

/* ── Results Eyebrow: Show if added in HTML ── */
.results-eyebrow + .results-grid {
  margin-top: 0;
}

/* ── Footer Brand Text ── */
.footer-brand p {
  color: var(--text-secondary);
}

/* ── Proof text ── */
.proof-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ── CTA sub ── */
.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ── Float badges text ── */
.float-badge span {
  color: var(--text-secondary);
}

/* ── Step tags better contrast ── */
.tag {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

/* ── Hero badge: warm glass ── */
.hero-badge {
  border-color: rgba(245,158,11,0.2);
  background: rgba(245,158,11,0.06);
}


/* ── Blog & Article Styles ── */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-2xl) var(--sp-xl);
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-xl);
}

.breadcrumb a {
  color: var(--violet);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: var(--sp-xl);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  color: var(--text-primary);
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.post-separator {
  margin: 0 8px;
  color: var(--border-bright);
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body a {
  color: var(--violet);
  text-decoration: none;
}

.post-body a:hover {
  text-decoration: underline;
}

.post-body blockquote {
  border-left: 4px solid var(--violet);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.content-table th, .content-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.content-table th {
  background: rgba(124,92,252,0.08);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.content-table tbody tr:last-child td {
  border-bottom: none;
}

/* Blog Index */
.blog-header {
  text-align: center;
  margin-bottom: var(--sp-3xl);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-lg);
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,252,0.3);
}

.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.insight-date {
  color: var(--text-muted);
}

.insight-tag {
  background: rgba(124,92,252,0.1);
  color: var(--violet);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--font-display);
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.insight-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.insight-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.insight-link {
  color: var(--violet);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.insight-link:hover {
  text-decoration: underline;
}
