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

:root {
  --bg: #0f0f13;
  --bg2: #16161d;
  --bg3: #1e1e2a;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f5;
  --text2: #9090a8;
  --accent: #3b82f6;
  --accent2: #6366f1;
  --glow: rgba(59,130,246,0.15);
  --card-bg: #1a1a24;
  --radius: 14px;
}

[data-theme="light"] {
  --bg: #f8f8fc;
  --bg2: #ffffff;
  --bg3: #f0f0f8;
  --border: rgba(0,0,0,0.08);
  --text: #111118;
  --text2: #555568;
  --glow: rgba(59,130,246,0.08);
  --card-bg: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  transition: background .2s, color .2s;
}

a { color: inherit; text-decoration: none; }

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

.gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text2);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }
.btn-ghost.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }

.btn-outline {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-outline:hover { background: var(--bg3); border-color: var(--accent); }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
}
.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav a:hover { color: var(--text); }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--glow), transparent);
}

.badge {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--text);
}

.hero-desc {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

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

.hero-trust {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 40px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-pills span {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── How ── */
.how {
  padding: 80px 0 40px;
  text-align: center;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.how h2, .platform h2, .pricing h2, .faq h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}

.section-desc {
  color: var(--text2);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Features ── */
.features { padding: 20px 0 80px; }

.feature-block {
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }

.feature-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-block h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
  max-width: 600px;
}

.feature-desc {
  color: var(--text2);
  font-size: 15px;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s;
}
.card:hover { border-color: rgba(99,102,241,.35); }

.card-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}
.card-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Platform ── */
.platform {
  padding: 80px 0;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-logo {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 36px 0 20px;
  flex-wrap: wrap;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text2);
}
.platform-icon {
  width: 60px;
  height: 60px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.platform-note {
  font-size: 13px;
  color: var(--text2);
  opacity: .6;
}

/* ── Pricing ── */
.pricing {
  padding: 90px 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
  text-align: left;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: rgba(99,102,241,.3); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(99,102,241,.06));
}

.plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.plan-price {
  margin-bottom: 6px;
}
.price-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
}
.price-period {
  font-size: 14px;
  color: var(--text2);
}
.plan-desc {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card ul li {
  font-size: 14px;
  color: var(--text2);
  padding-left: 22px;
  position: relative;
}
.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── FAQ ── */
.faq {
  padding: 90px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(99,102,241,.35); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--text2);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }

/* ── Final CTA ── */
.cta-final {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, var(--glow), transparent);
}
.cta-final h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  color: var(--text);
}
.cta-final p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 36px;
}

/* ── Footer ── */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer span {
  font-size: 13px;
  color: var(--text2);
}
.footer span a { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
