/* ─── SubAudit AI — Premium Landing Page ─────────────────────── */

:root {
  --bg: #0a0a0f;
  --bg-surface: #111118;
  --bg-card: #16161f;
  --bg-elevated: #1c1c28;
  --border: #2a2a3a;
  --border-light: #1f1f2e;
  --text: #e4e4eb;
  --text-dim: #8888a0;
  --text-muted: #5a5a72;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #a78bfa;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ──────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

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

.nav-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ─── Buttons ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 13px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}

.btn-nav:hover { background: var(--primary-dark); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--primary-light);
  color: var(--text);
}

.btn-xl {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-full { width: 100%; }

/* ─── Hero ────────────────────────────────────────────────────── */

.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

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

/* Hero Preview */
.hero-preview {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.preview-window {
  width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.preview-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  gap: 10px;
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.preview-dots span:first-child { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:last-child { background: #22c55e; }

.preview-title {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}

.preview-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}

.preview-connected {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.preview-body {
  padding: 12px 16px 16px;
}

.preview-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.preview-row span:first-child { flex: 1; font-weight: 500; }

.preview-count {
  color: var(--text-muted);
  font-size: 11px;
  margin-right: 12px;
}

.preview-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.preview-btn-mock {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Problem Section ─────────────────────────────────────────── */

.problem {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 48px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.compare-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

.compare-card ul { list-style: none; }

.compare-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.compare-card li::before {
  position: absolute;
  left: 0;
  font-size: 14px;
}

.compare-without { border-color: rgba(239, 68, 68, 0.2); }
.compare-without h3 { color: var(--red); }
.compare-without li::before { content: '\2717'; color: var(--red); }

.compare-with { border-color: rgba(34, 197, 94, 0.2); }
.compare-with h3 { color: var(--green); }
.compare-with li::before { content: '\2713'; color: var(--green); }

/* ─── How It Works ────────────────────────────────────────────── */

.how-it-works {
  padding: 100px 0;
  background: var(--bg-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ─── Features / Asset Coverage ───────────────────────────────── */

.features {
  padding: 100px 0;
}

.asset-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.asset-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.2s;
}

.asset-tag:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(99, 102, 241, 0.08);
}

/* ─── Output Formats ──────────────────────────────────────────── */

.output {
  padding: 100px 0;
  background: var(--bg-surface);
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.output-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.output-card-highlight {
  border-color: rgba(167, 139, 250, 0.3);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.05) 0%, var(--bg-card) 100%);
}

.output-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.output-icon {
  margin-bottom: 18px;
}

.output-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.output-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.output-card ul {
  list-style: none;
}

.output-card li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.output-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
}

.output-card-highlight li::before {
  color: var(--accent);
}

.output-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  font-style: italic;
}

/* ─── Pricing ─────────────────────────────────────────────────── */

.pricing {
  padding: 100px 0;
}

.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pricing-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 10px;
}

.pricing-amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-save {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ─── FAQ ─────────────────────────────────────────────────────── */

.faq {
  padding: 100px 0;
  background: var(--bg-surface);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

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

.faq-item summary {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── Final CTA ───────────────────────────────────────────────── */

.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.final-cta p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 28px;
}

.final-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px !important;
}

/* ─── Footer ──────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-light);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

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

.footer-link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
}

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

/* ─── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }

  .compare-grid,
  .output-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .preview-window { width: 100%; max-width: 340px; }

  .pricing-card { padding: 28px; }
  .pricing-amount { font-size: 44px; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 120px 0 60px; }
  .container { padding: 0 16px; }
}
