@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --purple:       #7C3AED;
  --purple-light: #9F67FF;
  --purple-dark:  #5B21B6;
  --bg:           #0F0F11;
  --bg-card:      #1C1C1E;
  --bg-card2:     #2C2C2E;
  --border:       rgba(255,255,255,0.08);
  --text:         #F5F5F7;
  --muted:        #8E8E93;
  --success:      #34D399;
  --font:         'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Background mesh ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(124,58,237,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(15,15,17,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--purple-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--purple) !important;
  color: var(--text) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--purple-dark) !important; }

/* ── Layout ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ── Glass card ── */
.card {
  background: rgba(28,28,30,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  border: 1px solid rgba(124,58,237,0.3);
  margin-bottom: 1.25rem;
}

/* ── Section headings ── */
.section-label {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-label p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Hero ── */
.hero {
  padding: 7rem 0 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--purple-light);
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: rgba(28,28,30,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124,58,237,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p  { font-size: 0.875rem; color: var(--muted); }

/* ── Pricing ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.plan-card {
  background: rgba(28,28,30,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
}

.plan-card--highlight {
  border-color: rgba(124,58,237,0.6);
  background: rgba(124,58,237,0.08);
}

.plan-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name  { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan-price sup { font-size: 1.1rem; vertical-align: super; font-weight: 600; }
.plan-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.plan-quota { font-size: 0.9rem; font-weight: 600; color: var(--purple-light); margin-bottom: 1.25rem; }

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.plan-card .btn { width: 100%; justify-content: center; }

/* ── AI disclosure banner ── */
.ai-banner {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
}

.ai-banner-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }

.ai-banner p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.ai-banner strong { color: var(--text); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

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

.footer-logo { font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; }
.footer-logo span { color: var(--purple-light); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* ── Legal pages ── */
.legal-header {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.legal-header p { color: var(--muted); font-size: 0.9rem; }

.legal-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}

.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.legal-body p, .legal-body li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-body ul, .legal-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body a { color: var(--purple-light); }

.legal-highlight {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.legal-highlight p { margin: 0; }

/* ── Support page ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.support-card {
  background: rgba(28,28,30,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.support-card p  { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.25rem; }

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

.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.faq-item p  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1.25rem; }
  section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}