/* =====================================================
   AppLabx GEO — Design System
   Inspired by Perplexity.ai aesthetic
   Dark, precise, teal-accented, editorial
   ===================================================== */

:root {
  --bg: #080a0b;
  --bg-2: #0d1112;
  --bg-3: #121718;
  --bg-card: #101415;
  --bg-card-hover: #141a1c;
  --border: rgba(213,236,234,0.08);
  --border-bright: rgba(213,236,234,0.16);

  --teal: #22c3b6;
  --teal-dim: rgba(34,195,182,0.12);
  --teal-glow: rgba(34,195,182,0.22);
  --teal-bright: #39d6c8;

  --text: #f2f5f4;
  --text-muted: #9aa7a7;
  --text-dim: #667273;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 8px;
  --transition: 0.2s ease;

  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- UTILITY ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, #8fe7df 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10,11,13,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.scrolled { padding: 12px 0; }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 128px;
  height: auto;
}
.footer .brand-logo {
  width: 142px;
}
.logo-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  background: var(--teal-dim); color: var(--teal);
  border: 1px solid rgba(32,192,160,0.25);
  padding: 2px 6px; border-radius: 4px;
  vertical-align: middle; margin-left: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1;
}
.nav-link {
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 400;
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-3); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all 0.2s; }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile .nav-link { display: block; padding: 10px 12px; }
.nav-mobile.open { display: flex; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: #000; font-weight: 600;
}
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 4px 20px var(--teal-glow); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-3); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-dim); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-full { width: 100%; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 132px 0 76px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 30%, black 25%, transparent 78%);
}
.hero-shell {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--teal);
  background: var(--teal-dim); border: 1px solid rgba(32,192,160,0.3);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--teal-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700; line-height: 1.02;
  letter-spacing: 0;
  max-width: 900px;
  margin-bottom: 22px;
  animation: fadeInUp 0.6s 0.1s ease both;
}
.hero-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.65;
  max-width: 710px; margin-bottom: 34px;
  font-weight: 400;
  animation: fadeInUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px;
  animation: fadeInUp 0.6s 0.5s ease both;
}
.hero-engines {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.engine-label { font-size: 13px; color: var(--text-dim); font-weight: 400; }
.engine-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.engine-badge {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 7px;
}
.engine-badge.active {
  color: var(--teal);
  background: var(--teal-dim);
  border-color: rgba(34,195,182,0.24);
}
.query-console {
  width: min(780px, 100%);
  animation: fadeInUp 0.6s 0.3s ease both;
}
.query-bar {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  background: #0b0e0f;
  border: 1px solid rgba(213,236,234,0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
  text-align: left;
}
.query-icon {
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
}
.query-text {
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.query-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--teal);
  color: #031211;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.answer-panel {
  margin-top: 14px;
  padding: 22px;
  background: rgba(16,20,21,0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
}
.answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 13px;
}
.answer-header strong {
  color: var(--teal);
  font-size: 15px;
}
.answer-panel p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.answer-panel strong { color: var(--text); }
.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.source-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
}
.source-item > span {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
}
.source-item small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 3px;
}

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 16px 48px; }
.stat-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: var(--teal); line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.stat-divider {
  width: 1px; height: 60px; background: var(--border);
}

/* ---- SECTIONS ---- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); font-size: 17px; }
.section-cta { text-align: center; margin-top: 48px; }

/* ---- TWO COL ---- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.col-text .section-label { display: inline-block; margin-bottom: 12px; }
.col-text h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 20px; }
.col-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 16px; }
.col-text p strong { color: var(--text); }

/* ---- GEO DIAGRAM ---- */
.col-visual { display: flex; justify-content: center; }
.geo-diagram {
  position: relative; width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.diagram-center {
  position: relative; z-index: 2;
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #7dd4f0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #000;
  text-align: center;
  box-shadow: 0 0 60px var(--teal-glow);
}
.diagram-orbit {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.diagram-ring {
  position: absolute; inset: 0;
  animation: spin 18s linear infinite;
}
.ring-item {
  position: absolute; font-size: 12px; font-weight: 500;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); padding: 6px 14px; border-radius: 100px;
  transform-origin: 50% 50%;
}
.ri-1 { top: 8px; left: 50%; transform: translateX(-50%); }
.ri-2 { top: 50%; right: 0; transform: translateY(-50%); }
.ri-3 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.ri-4 { top: 50%; left: 0; transform: translateY(-50%); }
.ri-5 { top: 20%; right: 10%; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* counter-rotate text */
.diagram-ring .ring-item { animation: counterSpin 18s linear infinite; }
@keyframes counterSpin { from { transform: rotate(0deg) translateX(-50%); } to { transform: rotate(-360deg) translateX(-50%); } }
.ri-2 { animation: counterSpinY 18s linear infinite !important; }
.ri-4 { animation: counterSpinY 18s linear infinite !important; }
@keyframes counterSpinY { from { transform: rotate(0deg) translateY(-50%); } to { transform: rotate(-360deg) translateY(-50%); } }
.ri-5 { animation: counterSpinFree 18s linear infinite !important; }
@keyframes counterSpinFree { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card); padding: 36px 32px;
  transition: background var(--transition);
  cursor: default;
  color: inherit;
  text-decoration: none;
}
.service-card:hover { background: var(--bg-card-hover); }
.service-icon {
  font-size: 28px; color: var(--teal); margin-bottom: 16px;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ---- PRICING ---- */
.pricing-preview {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}
.billing-toggle {
  width: fit-content;
  margin: 0 auto 32px;
  padding: 4px;
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.billing-option {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
}
.billing-option span {
  color: var(--teal);
  font-size: 12px;
  margin-left: 4px;
}
.billing-option.active {
  background: var(--teal);
  color: #031211;
}
.billing-option.active span { color: #031211; }
.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative;
  transition: border-color var(--transition);
}
.plan-card:hover { border-color: var(--border-bright); }
.plan-card.plan-featured {
  border-color: var(--teal);
  background: linear-gradient(160deg, rgba(32,192,160,0.06), var(--bg-card));
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
}
.plan-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin-bottom: 4px;
}
.plan-for { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }
.plan-price { margin-bottom: 24px; line-height: 1; }
.price-original {
  display: none;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.plan-price.yearly .price-original {
  display: block;
}
.price-amount {
  font-family: var(--font-display); font-size: 40px; font-weight: 800;
  color: var(--text);
}
.plan-price.yearly .price-amount {
  color: var(--teal);
}
.price-period { font-size: 15px; color: var(--text-muted); font-weight: 400; }
.plan-features {
  list-style: none; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  font-size: 14px; color: var(--text-muted);
  padding-left: 20px; position: relative;
}
.plan-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--teal); font-weight: 700; font-size: 12px;
}
.plan-saving {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 12px;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: var(--border-bright); }
.testi-quote {
  font-family: var(--font-display); font-size: 60px; line-height: 0.8;
  color: var(--teal); opacity: 0.4; margin-bottom: 16px;
}
.testimonial-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #7dd4f0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #000;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--text-dim); }
.testi-plan {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--teal);
  background: var(--teal-dim); border: 1px solid rgba(32,192,160,0.25);
  padding: 3px 10px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--bg-2); padding: 100px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-inner {
  position: relative;
  text-align: center; max-width: 600px; margin: 0 auto;
  overflow: hidden;
}
.cta-orb {
  display: none;
}
.cta-inner h2 {
  font-family: var(--font-display); font-size: 40px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-inner p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }

/* ---- LINK ARROW ---- */
.link-arrow {
  color: var(--teal); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: gap 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow:hover { gap: 10px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg); padding: 72px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted); font-size: 14px; margin: 16px 0 20px; line-height: 1.7;
}
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: 13px;
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--teal); color: var(--teal); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-dim);
  flex-wrap: wrap; gap: 12px;
}

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 140px 0 80px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,192,160,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .section-label { display: block; margin-bottom: 12px; }
.page-header h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px;
}
.page-header p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ---- PRICING PAGE ---- */
.pricing-note {
  text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 16px;
}
.feature-table-wrap { overflow-x: auto; margin-top: 20px; }
.feature-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.feature-table thead th {
  padding: 16px 20px; text-align: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg-2);
}
.feature-table thead th:first-child { text-align: left; }
.feature-table thead .th-essential { color: var(--text-muted); }
.feature-table thead .th-accelerator { color: var(--teal); }
.feature-table thead .th-pinnacle { color: #a78bfa; }
.feature-table .th-price {
  font-size: 12px; color: var(--text-dim);
  font-family: var(--font-body); font-weight: 400; margin-top: 4px;
}
.feature-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.feature-table tbody tr:hover { background: var(--bg-card); }
.feature-table tbody tr.section-row td {
  background: var(--bg-3); font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); padding: 10px 20px;
}
.feature-table td {
  padding: 14px 20px; color: var(--text-muted);
}
.feature-table td:first-child { color: var(--text); }
.feature-table td:not(:first-child) { text-align: center; }
.check-yes { color: var(--teal); font-size: 16px; }
.check-no { color: var(--text-dim); font-size: 16px; }
.check-partial { color: #f59e0b; font-size: 13px; }

/* ---- CASE STUDIES ---- */
.cs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cs-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  text-decoration: none; color: inherit;
  display: block;
  transition: all var(--transition);
  cursor: pointer;
}
.cs-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.cs-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px; display: block;
}
.cs-card h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  margin-bottom: 10px; line-height: 1.3;
}
.cs-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.65; }
.cs-stats { display: flex; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.cs-stat-num {
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--teal);
}
.cs-stat-label { font-size: 11px; color: var(--text-dim); }
.cs-card-meta {
  display: flex; justify-content: space-between; align-items: center; margin-top: 16px;
}
.cs-plan {
  font-size: 11px; background: var(--bg-3); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px; color: var(--text-muted);
}

.episode-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px;
  display: flex; gap: 20px; align-items: center;
  transition: border-color var(--transition);
}
.episode-card:hover { border-color: var(--border-bright); }
.ep-num {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--border); min-width: 60px; text-align: center; flex-shrink: 0;
}
.ep-play {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; border: none;
  font-size: 14px; color: #000;
  transition: all var(--transition);
}
.ep-play:hover { background: var(--teal-bright); transform: scale(1.05); }
.ep-info { flex: 1; }
.ep-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.ep-desc { color: var(--text-muted); font-size: 13px; }
.ep-meta { font-size: 12px; color: var(--text-dim); margin-top: 6px; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 16px;
}
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-detail {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--teal-dim); border: 1px solid rgba(32,192,160,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 14px; flex-shrink: 0;
}
.contact-detail-label { font-size: 12px; color: var(--text-dim); }
.contact-detail-value { font-size: 14px; color: var(--text); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; display: block; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-family: var(--font-body); font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--bg-2); }
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.form-status {
  min-height: 20px;
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.form-status.success { color: var(--teal); }
.form-status.error { color: #fca5a5; }

/* ---- PRIVACY / TERMS ---- */
.prose-content {
  max-width: 780px; margin: 0 auto;
}
.prose-content h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin: 40px 0 12px; padding-top: 40px; border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.prose-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.prose-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.prose-content ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 16px; }
.prose-content li { margin-bottom: 8px; line-height: 1.7; }
.prose-content a { color: var(--teal); text-decoration: none; }
.prose-content a:hover { text-decoration: underline; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  color: var(--text); font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-chevron { color: var(--text-muted); font-size: 18px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* ---- ALERT BAND ---- */
.alert-band {
  background: var(--teal-dim); border-bottom: 1px solid rgba(32,192,160,0.2);
  padding: 10px 24px; text-align: center;
  font-size: 13px; color: var(--teal);
}
.alert-band a { color: var(--teal); font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .col-visual { display: none; }
  .pricing-preview { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 112px 0 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .episode-card { flex-direction: column; align-items: flex-start; }
  .source-list { grid-template-columns: 1fr; }
  .query-bar { grid-template-columns: auto minmax(0, 1fr); }
  .query-action { grid-column: 1 / -1; width: 100%; }
  .query-text { white-space: normal; }
}
