/* ─────────────────────────────────────────────────────────────
   index.css — Ankhora marketing page styles
   Shared design tokens match dashboard.html.
   ───────────────────────────────────────────────────────────── */

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

/* ── Design tokens ── */
:root {
  --bg:         #070d0a;
  --surface:    #0c1510;
  --surface-2:  #101a14;
  --border:     rgba(45,216,129,0.08);
  --border-2:   rgba(45,216,129,0.14);
  --text:       #e8e6e1;
  --text-dim:   rgba(255,255,255,0.38);
  --text-mid:   rgba(255,255,255,0.58);
  --green:      #2dd881;
  --green-dim:  rgba(45,216,129,0.10);
  --green-mid:  rgba(45,216,129,0.18);
  --green-glow: rgba(45,216,129,0.28);
  --red:        #e05252;
}

[data-theme="light"] {
  --bg:          #e6e9e3;
  --surface:     #f0f2ec;
  --surface-2:   #e8ebe4;
  --border:      rgba(22,42,28,0.09);
  --border-2:    rgba(22,42,28,0.15);
  --text:        #141e18;
  --text-mid:    rgba(20,30,24,0.58);
  --text-dim:    rgba(20,30,24,0.38);
  --green-dim:   rgba(45,216,129,0.13);
  --green-mid:   rgba(45,216,129,0.20);
  --green-glow:  rgba(45,216,129,0.18);
}
[data-theme="light"] nav { background: rgba(230,233,227,0.88); border-bottom-color: rgba(22,42,28,0.09); }
[data-theme="light"] .nav-links a:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .nav-login:hover { background: rgba(0,0,0,0.05); }
[data-theme="light"] .bg-glow-1 { background: radial-gradient(circle, rgba(45,216,129,0.12), transparent 70%); }
[data-theme="light"] .bg-glow-2 { background: radial-gradient(circle, rgba(45,216,129,0.08), transparent 70%); }
/* comparison table */
[data-theme="light"] .cross { color: rgba(20,30,24,0.32); }
[data-theme="light"] .comparison-table tbody tr:hover td { background: rgba(0,0,0,0.03); }
[data-theme="light"] .comparison-table tbody tr:hover td.col-ankhora { background: rgba(45,216,129,0.10); }
/* spec pills */
[data-theme="light"] .spec-pill { background: rgba(0,0,0,0.04); border-color: rgba(22,42,28,0.12); }
[data-theme="light"] .spec-pill:hover { background: rgba(0,0,0,0.07); border-color: rgba(22,42,28,0.22); }
/* pricing muted icon */
[data-theme="light"] .plan-features li.muted svg path { stroke: rgba(20,30,24,0.28); }
/* faq hover */
[data-theme="light"] .faq-q:hover { background: rgba(0,0,0,0.04); }
/* cookie banner — always dark regardless of theme; pin all colors to dark values */
[data-theme="light"] .ck-logo { color: #e8e6e1; }
[data-theme="light"] .ck-text { color: rgba(232,230,225,0.55); }
[data-theme="light"] .ck-text a { color: #2dd881; }
[data-theme="light"] .ck-btn-accept { color: #0b1210; }
[data-theme="light"] .ck-btn-essential { color: rgba(232,230,225,0.6); border-color: rgba(255,255,255,0.16); }
[data-theme="light"] .ck-btn-essential:hover { color: #e8e6e1; border-color: rgba(255,255,255,0.32); }
/* auth modal */
[data-theme="light"] .auth-close:hover { background: rgba(0,0,0,0.07); }

html, body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Particle canvas ── */
#particleCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; display: block;
}

/* ── Background effects ── */
.bg-grain {
  position: fixed; inset: 0; z-index: 0; opacity: 0.025; pointer-events: none;
  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;
}
.bg-glow { position: fixed; border-radius: 50%; filter: blur(130px); pointer-events: none; z-index: 0; }
.bg-glow-1 { width: 700px; height: 700px; top: -280px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(45,216,129,0.06), transparent 70%); }
.bg-glow-2 { width: 500px; height: 500px; bottom: 20%; right: -100px; background: radial-gradient(circle, rgba(45,216,129,0.04), transparent 70%); }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px; height: 64px;
  background: rgba(6,8,10,0.72);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; animation: fadeIn 0.6s ease 0.1s forwards;
}
.nav-inner {
  width: 100%; max-width: 900px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.045em; color: var(--text); text-decoration: none; line-height: 1; }
.nav-mark { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 0.8rem; color: var(--text-dim); text-decoration: none; padding: 6px 14px; border-radius: 100px; transition: all 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: transparent; border: 1px solid var(--border-2); color: var(--text-mid); cursor: pointer; transition: background 0.2s, color 0.2s; flex-shrink: 0; margin-right: 4px; }
.theme-btn:hover { background: var(--green-dim); color: var(--text); }
.nav-cta {
  padding: 9px 20px; background: var(--green-dim);
  border: 1px solid rgba(45,216,129,0.22); border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; color: var(--green);
  text-decoration: none; transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  margin-left: 8px; display: inline-block; will-change: transform;
}
.nav-cta:hover { background: var(--green-mid); border-color: rgba(45,216,129,0.4); box-shadow: 0 0 20px var(--green-dim); }
.nav-login {
  font-size: 0.82rem; font-weight: 500; color: var(--text-mid);
  background: none; border: none; cursor: pointer;
  padding: 9px 16px; border-radius: 100px;
  transition: color 0.2s, background 0.2s; margin-right: 2px;
  font-family: 'Outfit', sans-serif;
}
.nav-login:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* ── Auth modal ── */
.auth-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(6,8,10,0.75); backdrop-filter: blur(14px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.auth-overlay.open { display: flex; animation: authFadeIn 0.2s ease; }
@keyframes authFadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 18px; width: 100%; max-width: 390px;
  padding: 32px 30px;
  animation: authSlideUp 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
@keyframes authSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); padding: 4px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.auth-close:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.auth-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -0.045em;
  color: var(--text); margin-bottom: 22px; line-height: 1;
}
.auth-mark { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }
.auth-tabs {
  display: flex; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 3px; margin-bottom: 26px;
}
.auth-tab {
  flex: 1; padding: 8px;
  background: none; border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dim); cursor: pointer; transition: all 0.18s;
}
.auth-tab.active {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.auth-panel { display: none; }
.auth-panel.active { display: block; animation: authFadeIn 0.2s ease; }
.auth-label {
  display: block; font-size: 0.74rem; font-weight: 600;
  color: var(--text-mid); margin-bottom: 6px;
}
/* Row layout for "Password" label + "Forgot?" link */
.auth-label-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.auth-label-row .auth-label { margin-bottom: 0; }
.auth-input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 9px; padding: 11px 13px;
  font-family: 'Outfit', sans-serif; font-size: 0.875rem; color: var(--text);
  outline: none; margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus {
  border-color: rgba(45,216,129,0.38);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.auth-input::placeholder { color: var(--text-dim); }
.auth-btn {
  width: 100%; padding: 12px;
  background: var(--green); color: var(--bg);
  border: none; border-radius: 9px; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.875rem; font-weight: 700;
  letter-spacing: -0.01em; margin-top: 4px;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.auth-btn:hover { background: #38e68e; transform: translateY(-1px); box-shadow: 0 6px 22px var(--green-glow); }
.auth-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-forgot {
  font-size: 0.72rem; color: var(--text-dim);
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: color 0.15s;
}
.auth-forgot:hover { color: var(--green); }
.auth-switch {
  text-align: center; font-size: 0.76rem; color: var(--text-dim);
  margin-top: 18px;
}
.auth-switch button {
  background: none; border: none; color: var(--green);
  font-family: 'Outfit', sans-serif; font-size: 0.76rem; font-weight: 600;
  cursor: pointer; padding: 0; transition: opacity 0.15s;
}
.auth-switch button:hover { opacity: 0.8; }
.auth-terms {
  font-size: 0.7rem; color: var(--text-dim);
  margin-top: 14px; text-align: center; line-height: 1.55;
}
.auth-terms a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.auth-terms a:hover { color: var(--green); }
.auth-error {
  font-size: 0.76rem; color: var(--red);
  background: rgba(224,82,82,0.08); border: 1px solid rgba(224,82,82,0.16);
  border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; display: none;
}
.auth-success {
  text-align: center; padding: 8px 0; display: none; animation: authFadeIn 0.3s ease;
}
.auth-success-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green-dim); border: 1px solid rgba(45,216,129,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin: 0 auto 14px;
}
.auth-success-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.auth-success-sub { font-size: 0.8rem; color: var(--text-mid); line-height: 1.55; }

/* ── Page shell ── */
.page { position: relative; z-index: 1; padding-top: 64px; }
.section-inner { max-width: 900px; margin: 0 auto; padding: 0 48px; }

/* ── Hero ── */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 88px 48px 0; max-width: 720px; margin: 0 auto;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); position: relative; flex-shrink: 0; }
.tag-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--green); animation: dotPulse 2s ease infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0; transform: scale(2.2); } }
.headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.7s ease 0.6s forwards;
}
.headline em { font-style: italic; color: var(--green); }
.subline {
  font-size: 1.05rem; font-weight: 300; color: var(--text-mid); line-height: 1.75; max-width: 500px;
  opacity: 0; animation: fadeUp 0.7s ease 0.8s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.7s ease 1s forwards;
}
.btn-ghost {
  padding: 13px 28px;
  background: transparent; color: var(--text-mid);
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.28); }

/* ── Card scene ── */
.card-section {
  position: relative; display: flex; justify-content: center;
  padding: 160px 0;
  clip-path: inset(0);
  opacity: 0; animation: fadeUp 0.8s ease 1s forwards;
}
.card-scene { position: relative; width: 340px; height: 210px; perspective: 900px; flex-shrink: 0; }
.card {
  width: 100%; height: 100%; border-radius: 18px;
  background: linear-gradient(150deg, #131820 0%, #1a2230 50%, #111820 100%);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset, 0 0 60px rgba(45,216,129,0.05);
  animation: cardFloat 6s ease-in-out infinite; transform-style: preserve-3d;
}
@keyframes cardFloat {
  0%, 100% { transform: rotateX(2deg) rotateY(-1.5deg) translateY(0); }
  50%       { transform: rotateX(-1deg) rotateY(1deg) translateY(-8px); }
}
.card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.025) 43%, rgba(255,255,255,0.055) 50%, rgba(255,255,255,0.025) 57%, transparent 62%);
  animation: shine 7s ease-in-out infinite; pointer-events: none;
}
@keyframes shine { 0%, 100% { transform: translateX(-30%) translateY(-30%); } 50% { transform: translateX(30%) translateY(30%); } }
.card::after {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.card-logo { position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.04em; color: #e8e6e1; line-height: 1; }
.card-logo-mark { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }
.card-signal { position: absolute; top: 20px; right: 24px; width: 32px; height: 32px; }
.signal-arc { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; opacity: 0; }
.signal-arc:nth-child(1) { animation: arcPulse 2.5s ease infinite 0s; }
.signal-arc:nth-child(2) { animation: arcPulse 2.5s ease infinite 0.35s; }
.signal-arc:nth-child(3) { animation: arcPulse 2.5s ease infinite 0.7s; }
.signal-dot { fill: var(--green); }
@keyframes arcPulse { 0%, 100% { opacity: 0.15; } 40% { opacity: 0.85; } 70% { opacity: 0.15; } }
.card-label { position: absolute; bottom: 28px; right: 24px; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.18); font-weight: 500; }
.card-ring {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%;
  pointer-events: none; opacity: 0;
  animation: sonarPing 3.6s cubic-bezier(0.15, 0, 0.35, 1) infinite;
}
.card-ring:nth-child(1) { width: 340px; height: 340px; animation-delay: 0s;    border: 1.5px solid rgba(45,216,129,0.55); }
.card-ring:nth-child(2) { width: 480px; height: 480px; animation-delay: 1.2s;  border: 1px solid rgba(45,216,129,0.35); }
.card-ring:nth-child(3) { width: 620px; height: 620px; animation-delay: 2.4s;  border: 1px solid rgba(45,216,129,0.18); }
@keyframes sonarPing {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.28); }
  8%   { opacity: 1; }
  85%  { opacity: 0.08; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* ── Sonar sweep (always running) ── */
.sonar-sweep {
  position: absolute; width: 420px; height: 420px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0%,
    transparent 78%,
    rgba(45,216,129,0.04) 86%,
    rgba(45,216,129,0.18) 94%,
    rgba(45,216,129,0.32) 100%
  );
  pointer-events: none;
  opacity: 0.55;
  animation: sonarSweep 3s linear infinite;
}
@keyframes sonarSweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.card-section:hover .sonar-sweep { opacity: 1; }

/* ── Sonar detection blip ── */
.sonar-blip {
  position: absolute; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px 3px rgba(45,216,129,0.7);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: none;
}

/* ── Sonar status label — sits between card-section and specs-strip ── */
.sonar-status {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 0 18px;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(45,216,129,0.6); font-weight: 500;
  opacity: 0.6;
  pointer-events: none; white-space: nowrap;
}
.sonar-status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(45,216,129,0.9);
  animation: statusBlink 1.8s ease-in-out infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* ── Specs strip ── */
.specs-strip {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 0 48px 80px; max-width: 720px; margin: 0 auto;
  opacity: 0; animation: fadeUp 0.7s ease 1.2s forwards;
}
.spec-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.76rem; color: var(--text-mid);
  transition: all 0.2s;
}
.spec-pill svg { flex-shrink: 0; opacity: 0.7; }
.spec-pill:hover { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.1); color: var(--text); }

/* ── Section shared ── */
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 16px; font-weight: 400;
}
.section-heading em { font-style: italic; color: var(--green); }
.section-sub { font-size: 1rem; font-weight: 300; color: var(--text-mid); line-height: 1.7; max-width: 520px; }

/* ── Problem section ── */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.problem-card {
  padding: 28px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--surface);
}
.problem-card.is-bad { border-color: rgba(224,82,82,0.2); }
.problem-card.is-good { border-color: rgba(45,216,129,0.2); }
.problem-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 18px;
}
.problem-badge.bad  { color: var(--red);   background: rgba(224,82,82,0.1);  border: 1px solid rgba(224,82,82,0.2); }
.problem-badge.good { color: var(--green); background: var(--green-dim);     border: 1px solid rgba(45,216,129,0.2); }
.problem-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.problem-card p  { font-size: 0.875rem; font-weight: 300; color: var(--text-mid); line-height: 1.7; }
.problem-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.problem-list li { font-size: 0.875rem; font-weight: 300; color: var(--text-mid); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.problem-list li::before { flex-shrink: 0; margin-top: 2px; }
.problem-list.bad  li::before { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%23e05252' stroke-width='1.2'/%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23e05252' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.problem-list.good li::before { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%232dd881' stroke-width='1.2'/%3E%3Cpath d='M4.5 8l2.5 2.5L11.5 5.5' stroke='%232dd881' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step {
  padding: 28px 24px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--surface);
  position: relative; transition: border-color 0.25s;
}
.step:hover { border-color: rgba(45,216,129,0.2); }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem; line-height: 1; color: rgba(45,216,129,0.12);
  position: absolute; top: 20px; right: 24px;
  font-style: italic; pointer-events: none;
}
.step-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-dim); border: 1px solid rgba(45,216,129,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.step p  { font-size: 0.875rem; font-weight: 300; color: var(--text-mid); line-height: 1.65; }

/* ── Comparison table ── */
.comparison-wrap { margin-top: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.comparison-table th {
  padding: 14px 20px; text-align: left;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); border-bottom: 1px solid var(--border);
}
.comparison-table th.col-ankhora {
  color: var(--green);
  background: rgba(45,216,129,0.05);
  border-bottom-color: rgba(45,216,129,0.2);
  border-radius: 8px 8px 0 0;
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; color: var(--text-mid);
}
.comparison-table td.col-ankhora { background: rgba(45,216,129,0.04); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tbody tr:hover td.col-ankhora { background: rgba(45,216,129,0.07); }
.check    { color: var(--green); font-weight: 600; font-size: 0.95rem; }
.cross    { color: rgba(255,255,255,0.22); font-size: 0.95rem; }
.feat-col { color: var(--text); font-weight: 500; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan {
  padding: 32px 28px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column; gap: 0;
}
.plan.is-featured {
  border-color: rgba(45,216,129,0.3);
  background: linear-gradient(160deg, rgba(45,216,129,0.05) 0%, var(--surface) 60%);
  position: relative;
}
.plan-badge {
  position: absolute; top: -12px; left: 28px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); background: var(--green);
  padding: 4px 12px; border-radius: 100px;
}
.plan-name    { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.plan-price   { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price .amount { font-family: 'Instrument Serif', serif; font-size: 2.8rem; color: var(--text); }
.plan-price .period { font-size: 0.85rem; color: var(--text-dim); }
.plan-desc    { font-size: 0.83rem; font-weight: 300; color: var(--text-dim); margin-bottom: 24px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 0.84rem; font-weight: 300; color: var(--text-mid); display: flex; align-items: center; gap: 10px; }
.plan-features li svg { flex-shrink: 0; }
.plan-features li.muted { color: var(--text-dim); }
.plan-features li.muted svg path { stroke: rgba(255,255,255,0.22); }

/* ── FAQ ── */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(45,216,129,0.2); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: transparent; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 500;
  color: var(--text); text-align: left; gap: 16px; transition: background 0.2s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s; color: var(--text-dim); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.25s;
  padding: 0 24px; font-size: 0.88rem; font-weight: 300; color: var(--text-mid); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ── Waitlist / CTA section ── */
.cta-section { padding: 96px 48px; border-top: 1px solid var(--border); text-align: center; }
.cta-section .section-heading { margin: 0 auto 12px; }
.cta-section .section-sub     { margin: 0 auto 40px; }
.cta-actions {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 460px; margin: 0 auto;
}
/* Primary CTA button — mirrors dashboard's .btn-primary style */
.btn-cta {
  padding: 14px 36px;
  background: var(--green); color: var(--bg);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 700;
  border: none; border-radius: 100px; cursor: pointer;
  letter-spacing: -0.01em; display: inline-block;
  transition: background 0.15s, box-shadow 0.15s;
  will-change: transform;
}
.btn-cta:hover {
  background: #38e68e;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--green-glow);
}
.cta-note { font-size: 0.73rem; color: var(--text-dim); }
.cta-note a { color: var(--text-mid); text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: var(--green); }

/* ── Footer ── */
.page-footer {
  border-top: 1px solid var(--border); padding: 28px 48px;
  display: flex; align-items: center; justify-content: center;
}
.footer-inner {
  width: 100%; max-width: 900px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; letter-spacing: -0.04em; color: var(--text-mid); line-height: 1; }
.footer-mark { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { font-size: 0.72rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 0.72rem; color: var(--text-dim); }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social a { color: var(--text-dim); display: flex; align-items: center; transition: color 0.2s; }
.footer-social a:hover { color: var(--green); }
.footer-social-img { width: 15px; height: 15px; opacity: 0.38; filter: brightness(0) invert(1); transition: opacity 0.2s; }
.footer-social a:hover .footer-social-img { opacity: 0.65; }
[data-theme="light"] .footer-social-img { filter: brightness(0); opacity: 0.42; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ── Cookie banner ── */
#ankhora-cookie { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; transform: translateY(110%); transition: transform 0.4s cubic-bezier(0.32,0.72,0,1); }
#ankhora-cookie.visible { transform: translateY(0); }
#ankhora-cookie.hidden  { transform: translateY(110%); }
.ck-inner { background: rgba(13,17,23,0.97); border-top: 1px solid rgba(45,216,129,0.14); backdrop-filter: blur(12px); padding: 16px 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.ck-logo  { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.04em; color: var(--text); flex-shrink: 0; line-height: 1; }
.ck-mark { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.ck-text  { flex: 1; min-width: 180px; font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.ck-text a { color: var(--green); text-decoration: none; }
.ck-text a:hover { text-decoration: underline; }
.ck-actions   { display: flex; gap: 8px; flex-shrink: 0; }
.ck-btn { border: none; border-radius: 100px; padding: 9px 18px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all 0.2s; }
.ck-btn-accept    { background: var(--green); color: var(--bg); }
.ck-btn-accept:hover { background: #3df595; }
.ck-btn-essential { background: transparent; color: var(--text-dim); border: 1px solid rgba(255,255,255,0.1); }
.ck-btn-essential:hover { color: var(--text); border-color: rgba(255,255,255,0.22); }

/* ── Social proof counter ── */
.social-proof {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-mid);
  margin-top: 20px;
  animation: fadeUp 0.8s ease 0.5s both;
}
.proof-dot {
  width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 8px rgba(45,216,129,0.6);
  animation: proofPulse 2.4s ease infinite; flex-shrink: 0;
}
@keyframes proofPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Founding perks strip ── */
.founding-perks {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-top: 4px;
}
.founding-perks span {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: var(--text-mid);
}
.founding-perks svg { color: var(--green); flex-shrink: 0; }

/* ── App mockup visual ── */
.mockup-wrap { display: flex; justify-content: center; margin-top: 60px; }
.mockup-phone {
  width: 216px; height: 390px;
  background: #070d0a;
  border: 1.5px solid rgba(45,216,129,0.22);
  border-radius: 30px; padding: 12px;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(45,216,129,0.06), 0 24px 60px rgba(0,0,0,0.5);
  animation: fadeUp 1s ease 0.2s both;
}
.mockup-notch {
  width: 56px; height: 5px;
  background: rgba(255,255,255,0.1); border-radius: 3px;
  margin: 0 auto 8px;
}
.mockup-screenshot {
  width: 100%; display: block;
  border-radius: 18px; overflow: hidden;
}
.mockup-phone-screenshot { height: auto; padding-bottom: 10px; }

/* ── Mobile menu ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 34px; height: 34px; padding: 6px; border-radius: 8px;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }
.nav-hamburger span {
  display: block; width: 17px; height: 1.5px;
  background: var(--text-mid); border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
body.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
body.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--bg); border-top: 1px solid var(--border);
  flex-direction: column; padding: 16px 20px 40px; overflow-y: auto;
}
body.menu-open .mobile-menu { display: flex; animation: mobileMenuIn 0.18s ease; }
@keyframes mobileMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu-link {
  display: block; font-size: 1rem; font-weight: 500;
  color: var(--text-mid); text-decoration: none;
  padding: 13px 16px; border-radius: 10px;
  transition: color 0.15s, background 0.15s;
  background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; text-align: left; width: 100%;
}
.mobile-menu-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
[data-theme="light"] .mobile-menu-link:hover { background: rgba(0,0,0,0.05); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 8px 0; flex-shrink: 0; }
.mobile-menu-cta {
  margin-top: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #06080a;
  font-size: 0.95rem; font-weight: 700; padding: 15px;
  border-radius: 100px; text-decoration: none;
  transition: background 0.15s; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; width: 100%;
}
.mobile-menu-cta:hover { background: #38e68e; }

/* ── Blog index ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  border-color: rgba(45,216,129,0.28);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.blog-card-thumb {
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-thumb svg { opacity: 0.55; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag {
  display: inline-block;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.blog-card-title {
  font-size: 1rem; font-weight: 600; color: var(--text);
  line-height: 1.4; letter-spacing: -0.015em; margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 0.8rem; color: var(--text-mid); line-height: 1.65;
  flex: 1; margin-bottom: 18px;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.68rem; color: var(--text-dim);
}
.blog-card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.blog-card-read {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 600; color: var(--green);
  margin-top: 14px; text-decoration: none;
}
.blog-card-read svg { transition: transform 0.18s; }
.blog-card:hover .blog-card-read svg { transform: translateX(3px); }

/* ── Article page ── */
.article-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-dim);
  text-decoration: none; margin-bottom: 40px;
  transition: color 0.18s;
}
.article-back:hover { color: var(--green); }
.article-back svg { flex-shrink: 0; }
.article-tag {
  display: inline-block;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 16px;
}
.article-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.15; letter-spacing: -0.025em;
  color: var(--text); margin-bottom: 20px;
}
.article-title em { font-style: italic; color: var(--green); }
.article-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; color: var(--text-dim);
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.article-hero-art {
  width: 100%; height: 220px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 44px; overflow: hidden; position: relative;
}

/* Prose typography */
.prose { color: var(--text-mid); font-size: 1rem; line-height: 1.8; }
.prose h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin: 48px 0 14px;
}
.prose h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--text);
  letter-spacing: -0.01em; margin: 32px 0 10px;
}
.prose p { margin-bottom: 20px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { opacity: 0.82; }
.prose .callout {
  background: var(--surface-2, #111620);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 0.93rem;
  color: var(--text-mid);
}
.prose .callout strong { color: var(--green); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.article-cta {
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
}
.article-cta h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem; font-style: italic;
  color: var(--text); margin-bottom: 10px;
}
.article-cta p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 22px; }

/* ── Responsive ── */
@media (max-width: 760px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 64px 24px 0; }
  .card-section { padding: 100px 0; }
  .specs-strip { padding: 0 24px 64px; }
  .section-inner { padding: 0 24px; }
  .section { padding: 64px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .card-scene { width: 290px; height: 178px; }
  .card-ring:nth-child(1) { width: 290px; height: 290px; }
  .card-ring:nth-child(2) { width: 400px; height: 400px; }
  .card-ring:nth-child(3) { width: 510px; height: 510px; }
  .sonar-sweep { width: 340px; height: 340px; }
  .cta-section { padding: 64px 24px; }
  .page-footer { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .ck-inner { padding: 16px 20px; }
  .ck-actions { width: 100%; }
  .ck-btn { flex: 1; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero-art { height: 160px; }
  .article-cta { padding: 28px 20px; }
}

/* ── Auth button spinner ── */
@keyframes auth-spin { to { transform: translateY(-50%) rotate(360deg); } }
.auth-btn[data-loading] { pointer-events: none; opacity: 0.8; }
.auth-btn[data-loading]::after {
  content: '';
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border: 2px solid rgba(6,8,10,0.25);
  border-top-color: rgba(6,8,10,0.75);
  border-radius: 50%;
  animation: auth-spin 0.65s linear infinite;
}
.auth-btn { position: relative; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
  #particleCanvas { display: none !important; }
  .sonar-sweep { animation: none !important; opacity: 0.35 !important; }
  .card-ring { animation: none !important; opacity: 0.5 !important; }
  .sonar-status-dot { animation: none !important; }
  .tag-dot { animation: none !important; }
  .proof-dot { animation: none !important; }
}
