/* ============================================
   KnightLab — Precision-Dark Marketing Site
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0F1117;
  --bg-surface: #1A1F2E;
  --bg-card: #1E2433;
  --text-primary: #F1F5F9;
  --text-secondary: #B0BEC5;
  --text-muted: #8494A7;
  --accent: #3B82F6;
  --accent-hover: #60A5FA;
  --accent-dim: rgba(59, 130, 246, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(59, 130, 246, 0.3);
  --font-display: 'Syne', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Animation Base --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
  }

  .terminal-cursor::after {
    animation: none !important;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled,
.nav.nav-opaque {
  background-color: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 44px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent);
}

/* Mobile: nav links are hidden dropdown by default */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background-color: rgba(15, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  gap: 16px;
}

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

.nav-link {
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 8px 0;
}

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

.nav-cta {
  font-size: 16px;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--accent-dim);
  color: var(--accent-hover);
}

/* Hamburger — visible by default (mobile-first), hidden on desktop */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.6s ease 0.2s forwards;
}

.hero-eyebrow {
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.hero-note {
  font-size: 16px;
  color: var(--text-muted);
}

.hero-visual {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.6s ease 0.5s forwards;
  max-width: 480px;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Terminal Card */
.terminal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 15px;
}

.terminal-dots {
  display: flex;
  gap: 8px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.terminal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.terminal-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.04em;
  margin-bottom: -1px;
}

.terminal-tab:hover {
  color: var(--text-secondary);
}

.terminal-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.terminal-scenario {
  display: none;
}

.terminal-scenario.is-active {
  display: block;
}

.terminal-body {
  padding: 24px;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
}

.terminal-label {
  color: var(--accent);
  font-weight: 500;
}

.terminal-arrow {
  color: var(--text-muted);
}

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

.terminal-connector {
  color: var(--text-muted);
  margin-bottom: 4px;
  user-select: none;
}

.terminal-line-last {
  position: relative;
}

.terminal-cursor::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background-color: var(--accent);
  margin-left: 4px;
  vertical-align: text-top;
  animation: cursorBlink 1s step-end infinite;
}

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

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section {
  padding: 100px 0;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subhead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.pain-card {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.pain-card:hover {
  border-left-color: var(--accent-hover);
}

.pain-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.pain-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pain-closing {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
  display: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 0;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-accent);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  max-width: 680px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 6px;
}

.step-icons svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.6;
}

.step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   SERVICES / PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card-highlight {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--border-accent), 0 0 40px rgba(59, 130, 246, 0.08);
}

.pricing-card-highlight:hover {
  box-shadow: 0 0 0 1px var(--border-accent), 0 0 50px rgba(59, 130, 246, 0.12);
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  background-color: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-header {
  margin-bottom: 16px;
}

.pricing-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-cost {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-setup {
  font-weight: 500;
  color: var(--text-primary);
}

.pricing-monthly {
  font-weight: 500;
  color: var(--text-primary);
}

.pricing-desc a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.pricing-desc a:hover {
  color: var(--accent-hover);
}

.pricing-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 16px;
}

.pricing-best {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  font-style: italic;
}

/* Pricing Add-ons */
.pricing-addons {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.addon-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
}

.addon-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.addon-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.addon-note {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  border-left: 2px solid var(--border);
  padding-left: 16px;
  margin-bottom: 24px;
}

/* ============================================
   WHO IT'S FOR
   ============================================ */
.niche-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.niche-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.niche-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.niche-icon {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  opacity: 0.9;
}
.niche-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.niche-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.niche-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.niche-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, gap 0.2s ease;
}

.niche-link:hover {
  color: var(--accent-hover);
}

.niche-closing {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   WHY KNIGHTLAB
   ============================================ */
.why-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.why-headshot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

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

.diff-card {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  transition: border-color 0.2s ease;
}

.diff-card:hover {
  border-left-color: var(--accent-hover);
}

.diff-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.diff-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  font-family: var(--font-mono);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-bottom: 24px;
  max-width: 680px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.section-cta {
  background-color: var(--bg-surface);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
}

.section-cta .section-headline {
  margin-bottom: 16px;
}

.section-cta .section-subhead {
  max-width: 640px;
  margin: 0 auto 40px;
}

.cta-email {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-muted);
}

.cta-email a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.cta-email a:hover {
  color: var(--accent);
}

.booking-placeholder {
  margin-top: 48px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cta-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.cta-stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-filled {
  background-color: var(--accent);
  color: #fff;
}

.btn-filled:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-outlined {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outlined:hover {
  background-color: var(--accent-dim);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 17px;
  padding: 16px 32px;
}

/* Full-width buttons on small screens for better touch targets */
@media (max-width: 480px) {
  .pricing-card .btn {
    width: 100%;
  }

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

  .section-cta .btn {
    width: 100%;
  }

  .terminal-card {
    font-size: 15px;
  }

  .terminal-body {
    padding: 16px;
  }

  .terminal-connector {
    text-align: center;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-copy {
  font-size: 15px;
  color: var(--text-muted);
}

.footer-center {
  font-size: 15px;
  color: var(--text-muted);
}

.footer-tagline {
  font-style: italic;
}

.footer-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.footer-disclaimer p {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================
   FOCUS STYLES
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIVE — TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }

  .hero {
    padding: 140px 0 100px;
  }

  /* Two-column grids at tablet */
  .pain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 40px;
    justify-content: center;
    margin-bottom: 56px;
  }

  .pain-grid .pain-card {
    flex: 0 1 calc(50% - 20px);
    min-width: 260px;
  }

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

  /* Steps: horizontal layout with timeline */
  .steps::before {
    display: block;
  }

  .step {
    flex-direction: row;
    gap: 32px;
  }

  /* Footer: row layout */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-left {
    flex-direction: row;
    gap: 16px;
  }
}

/* ============================================
   RESPONSIVE — NAV INLINE (min-width: 900px)
   Nav needs more room than other tablet layouts
   ============================================ */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    gap: 24px;
  }

  .nav-link {
    font-size: 15px;
    padding: 0;
  }
}

/* ============================================
   RESPONSIVE — DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
  .nav-link {
    font-size: 15px;
  }

  .nav-links {
    gap: 32px;
  }
  .section {
    padding: 140px 0;
  }

  .hero {
    padding: 160px 0 120px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero-visual {
    max-width: none;
  }

  /* Three-column grids at desktop */
  .pain-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 64px;
  }

  .pain-grid .pain-card {
    flex: 0 1 calc(33.333% - 28px);
    min-width: 260px;
  }

  .pricing-grid {
    max-width: 600px;
  }

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

/* ============================================
   PRIVACY POLICY
   ============================================ */

.nav-back {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 100px;
}

.page-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* Scope link color override to .page — base `a` rule uses color: inherit */
.page a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.page a:hover {
  color: var(--accent-hover);
}

/* Scope .section to avoid conflict with shared .section { padding: 100px 0 } */
.page .section {
  margin-bottom: 48px;
  padding: 0;
}

/* Scope generic element styles to .page to avoid bleed into index.html */
.page p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.page p:last-child {
  margin-bottom: 0;
}

.page ul {
  margin: 12px 0 16px;
  padding-left: 0;
  list-style: none;
}

.page ul li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding: 4px 0 4px 20px;
  position: relative;
}

.page ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.page strong {
  color: var(--text-primary);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-right: 10px;
  font-weight: 500;
}

.highlight-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 16px;
}

.contact-block p {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   NICHE GUIDES
   ============================================ */

.page-subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.page .section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.page .highlight-box p {
  font-size: 16px;
}

.guide-cta {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-accent);
  border-radius: 6px;
  padding: 32px 36px;
  margin: 64px 0 0;
}

.guide-cta-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.guide-cta p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.page .btn-filled,
.page .btn-filled:hover {
  color: #fff;
}

.guide-footer-copy {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  padding: 0 24px;
}