:root {
  --purple: #7C3AED;
  --purple-dark: #6D28D9;
  --pink: #EC4899;
  --gradient: linear-gradient(135deg, var(--purple), var(--pink));
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; }

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

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

img { max-width: 100%; display: block; }

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

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-size: 1.25rem; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--purple); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: 0.3s;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,58,237,0.06) 0%, transparent 100%);
}
.hero-icon {
  width: 100px; height: 100px; border-radius: 24px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px; font-size: 48px; color: #fff;
  box-shadow: 0 8px 32px rgba(124,58,237,0.3);
}
.hero h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span {
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.2rem; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 36px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px;
  background: var(--gradient); color: #fff;
  font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(124,58,237,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124,58,237,0.4);
  text-decoration: none;
}

/* ── SECTION COMMON ── */
section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; color: var(--text-secondary); max-width: 520px;
  margin: 0 auto 48px; font-size: 1.05rem;
}

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(236,72,153,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--surface); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  counter-reset: step;
}
.step { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); }

/* ── PRICING ── */
.pricing-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: 760px; margin: 0 auto;
}
.pricing-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
  border: 1px solid var(--border); text-align: center;
}
.pricing-card.featured {
  border-color: var(--purple);
  position: relative; overflow: hidden;
}
.pricing-card.featured::before {
  content: 'BEST VALUE';
  position: absolute; top: 16px; right: -32px;
  background: var(--gradient); color: #fff;
  padding: 4px 40px; font-size: 0.7rem; font-weight: 700;
  transform: rotate(45deg); letter-spacing: 0.5px;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.pricing-price {
  font-size: 2.5rem; font-weight: 800; margin: 12px 0 4px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }
.pricing-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: '✓'; color: var(--purple); font-weight: 700; font-size: 1rem;
}

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-question {
  font-weight: 600; font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left;
  color: var(--text); padding: 0;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--purple); transition: 0.2s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }

/* ── FOOTER ── */
.footer {
  background: var(--text); color: rgba(255,255,255,0.7); padding: 48px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center; font-size: 0.8rem;
}

/* ── LEGAL PAGES ── */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 {
  font-size: 2rem; font-weight: 700; margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 36px;
}
.legal-page h2 {
  font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px;
}
.legal-page p, .legal-page li {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }

/* ── SUPPORT PAGE ── */
.support-content {
  max-width: 640px; margin: 0 auto;
}
.support-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border);
  text-align: center; margin-bottom: 32px;
}
.support-card .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(236,72,153,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
}
.support-card h3 { margin-bottom: 8px; }
.support-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--surface); padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: block; }
}
