/* Syntora landing — vanilla CSS, dark theme matching admin */

/* ── Reset + base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #050816;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }

:root {
  --bg:           #050816;
  --bg-surface:   #0a0e1f;
  --bg-surface-2: #0f1428;
  --border:       #1f2942;
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --text-faint:   #64748b;
  --accent:       #22d3ee;
  --accent-2:     #818cf8;
  --accent-3:     #ec4899;
  --success:      #22c55e;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --container:    1200px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  color: #050816;
  font-weight: 600;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ── Header / Nav ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  font-weight: 700;
  color: #050816;
}
.brand-text {
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--text); }
.header-cta { display: flex; gap: 8px; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background: radial-gradient(ellipse at top, rgba(34,211,238,0.08), transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(129,140,248,0.05), transparent 50%);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 60px;
}

/* Hero screenshot frame */
.hero-screenshot {
  max-width: 1000px;
  margin: 0 auto;
}
.screenshot-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
              0 0 80px rgba(34, 211, 238, 0.05);
}
.screenshot-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red    { background: #ef4444; }
.dot-amber  { background: #f59e0b; }
.dot-green  { background: #22c55e; }
.screenshot-url {
  margin-left: 16px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-faint);
}
.screenshot-placeholder {
  padding: 32px;
  min-height: 240px;
}
.ss-kpi-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.ss-kpi {
  padding: 16px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
}
.ss-kpi-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.ss-kpi-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  font-family: "SF Mono", Menlo, monospace;
  margin-bottom: 4px;
}
.ss-kpi-delta {
  font-size: 11px;
  color: var(--text-muted);
}
.delta-good { color: var(--success); }

/* ── Social proof strip ───────────────────────────────────────────── */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.trust-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 600; }
.trust-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.trust-coming { font-weight: 400; color: var(--text-faint); font-style: italic; font-size: 13px; }
.trust-sep { color: var(--border); }
.testimonial {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  position: relative;
}
.quote-mark {
  font-size: 40px;
  color: var(--accent);
  font-family: serif;
  line-height: 0;
  margin-right: 4px;
  vertical-align: -10px;
}
.testimonial cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
}

/* ── Sections (generic) ────────────────────────────────────────────── */
section { padding: 80px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 48px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── 3 Pillars ─────────────────────────────────────────────────────── */
.features { background: var(--bg-surface); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  padding: 32px 28px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pillar-icon { font-size: 36px; margin-bottom: 16px; }
.pillar h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.pillar-tagline {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.pillar-bullets {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.pillar-bullets li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.pillar-bullets li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.pillar-bullets strong { color: var(--text); font-weight: 600; }
.pillar-edge {
  font-size: 13px;
  color: var(--text);
  padding: 10px 14px;
  background: rgba(34,211,238,0.08);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

/* ── How it works ──────────────────────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  text-align: center;
  padding: 24px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050816;
  font-size: 28px;
  font-weight: 700;
  border-radius: 50%;
  font-family: "SF Mono", Menlo, monospace;
}
.how-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.how-step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── AEO Edge ──────────────────────────────────────────────────────── */
.aeo-edge {
  background:
    linear-gradient(135deg, rgba(34,211,238,0.05), rgba(129,140,248,0.05), rgba(236,72,153,0.03)),
    var(--bg-surface);
  text-align: center;
}
.aeo-stat { margin-bottom: 16px; }
.aeo-stat-number {
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 800;
  font-family: "SF Mono", Menlo, monospace;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.aeo-stat-label {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 8px auto 32px;
}
.aeo-question {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.aeo-body {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.aeo-body strong { color: var(--text); }

/* ── Pricing ───────────────────────────────────────────────────────── */
.pricing { background: var(--bg-surface); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}
.plan {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(34,211,238,0.05), rgba(129,140,248,0.04));
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #050816;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.plan-currency {
  font-size: 18px;
  color: var(--text-muted);
}
.plan-value {
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  font-family: "SF Mono", Menlo, monospace;
}
.plan-period {
  font-size: 14px;
  color: var(--text-muted);
}
.plan-annual {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.plan-features {
  flex: 1;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.plan-features li {
  padding-left: 18px;
  position: relative;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan-features strong { color: var(--text); font-weight: 600; }
.enterprise-line {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.enterprise-line a { color: var(--accent); }
.enterprise-line a:hover { text-decoration: underline; }

/* ── Demo CTA ──────────────────────────────────────────────────────── */
.demo-cta {
  text-align: center;
  padding: 96px 0;
  background:
    radial-gradient(ellipse at center, rgba(34,211,238,0.08), transparent 70%);
}
.demo-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.demo-cta p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { background: var(--bg-surface); }
.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}
.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 0;
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item p strong { color: var(--text); }
.faq-item p a { color: var(--accent); }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: 64px 0 32px;
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-soon { color: var(--text-faint); font-size: 13px; font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
}
.footer-meta a { color: var(--accent); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ss-kpi-row { grid-template-columns: repeat(4, 1fr); }
  .ss-kpi-row .ss-kpi:nth-child(n+5) { display: none; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .header-cta .btn-ghost { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .pillars, .how-steps, .plans { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .ss-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .ss-kpi-row .ss-kpi:nth-child(n+3) { display: none; }
  .screenshot-placeholder { padding: 16px; min-height: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .cta-row .btn { width: 100%; justify-content: center; }
}
