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

:root {
  --bg:        #050508;
  --bg2:       #0C0C14;
  --card:      #10101A;
  --border:    #1E1E2E;
  --primary:   #7C3AED;
  --primary-l: #A78BFA;
  --accent:    #C4B5FD;
  --text:      #F4F4FF;
  --text2:     #9090A8;
  --text3:     #5A5A72;
  --success:   #10B981;
  --radius:    14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-l); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,8,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}

.header-logo {
  font-size: 23px;
  font-weight: 900;
}

.nav-logo .bolt {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px #7C3AED66;
  font-size: 16px;
}

.nav-logo span { color: var(--primary-l); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text2);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; text-decoration: none !important; }

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

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

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #7C3AED22 0%, transparent 70%);
  pointer-events: none;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #7C3AED55;
  background: #7C3AED18;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ai-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-l);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--primary-l); }

.hero p {
  font-size: 18px;
  color: var(--text2);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--primary-l); color: var(--text); transform: translateY(-1px); text-decoration: none; }

.platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
}

.platform-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ── Features ── */
.section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.section.alt-bg {
  background: var(--bg2);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-l);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section > p {
  font-size: 16px;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #7C3AED22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

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

.feature-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── FAQ accordion ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, border-color 0.2s;
  position: relative;
}
.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  background: var(--text2);
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-chevron::before { width: 8px; height: 1.5px; }
.faq-chevron::after  { width: 1.5px; height: 8px; }

.faq-item[open] .faq-chevron { border-color: var(--primary); }
.faq-item[open] .faq-chevron::before { background: var(--primary-l); }
.faq-item[open] .faq-chevron::after  { background: var(--primary-l); transform: scaleY(0); }

.faq-a {
  padding: 0 4px 20px;
  animation: faqOpen 0.22s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-a p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin: 0;
}
.faq-a p strong { color: var(--text); font-weight: 600; }
.faq-a p a { color: var(--primary-l); text-decoration: underline; }

/* ── Stats ── */
.stats-row {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}

.stat {
  flex: 1;
  background: var(--card);
  padding: 24px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-l);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
}

/* ── Legal page ── */
.legal-hero {
  padding: 64px 24px 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.legal-hero .tag {
  display: inline-block;
  background: #7C3AED18;
  border: 1px solid #7C3AED44;
  color: var(--primary-l);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.legal-hero .updated {
  font-size: 13px;
  color: var(--text3);
}

.legal-body {
  padding-bottom: 80px;
}

.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.legal-section p, .legal-section li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

.legal-section ul {
  padding-left: 20px;
  margin-top: 8px;
}

.legal-section li { margin-bottom: 4px; }

.legal-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.legal-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.legal-nav a:hover, .legal-nav a.active {
  border-color: var(--primary);
  color: var(--primary-l);
  text-decoration: none;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 680px;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #7C3AED14, #7C3AED08);
}

.pricing-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin: 12px 0 4px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
}

.pricing-sub {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 9px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

footer .footer-logo {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

footer .footer-logo span { color: var(--primary-l); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text3);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text2); text-decoration: none; }

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

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .stats-row { flex-direction: column; gap: 0; }
  .hero { padding: 64px 20px 56px; }
}
