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

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --bg: #0A0A0F;
  --bg-alt: #111118;
  --surface: #1A1A24;
  --border: #2A2A3A;
  --text: #E8E8ED;
  --text-muted: #9494A8;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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; }

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

/* === Nav === */
.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);
}

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

.logo { font-size: 1.25rem; font-weight: 700; }
.logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600;
  padding: 10px 20px; border-radius: 8px;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

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

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }

.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.nav-links .btn { background: var(--primary); color: white; border-radius: 8px; }

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

.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #E040FB, #00BCD4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 56px; }

.hero-stats { display: flex; justify-content: center; gap: 48px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary-light); }
.stat span { font-size: 0.85rem; color: var(--text-muted); }

/* === Sections === */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-top: 12px; line-height: 1.3; }

.tag {
  display: inline-block;
  padding: 4px 14px; border-radius: 100px;
  background: rgba(108, 92, 231, 0.12);
  color: var(--primary-light);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}

/* === Grid === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover { border-color: var(--primary); transform: translateY(-4px); }

.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.card-features { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card-features li {
  font-size: 0.78rem; color: var(--primary-light);
  background: rgba(108, 92, 231, 0.1);
  padding: 4px 10px; border-radius: 6px;
}

/* === Steps === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: white;
  font-size: 1.25rem; font-weight: 800; margin-bottom: 16px;
}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* === Pricing === */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s;
}

.price-card:hover { border-color: var(--primary); }

.price-card-featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
}

.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 100px;
}

.price-name { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.price-amount { font-size: 2.5rem; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--border); }

/* === Testimonials === */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testimonial p { font-size: 0.95rem; font-style: italic; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }

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

.faq-item summary {
  font-size: 1rem; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}

.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--text-muted); }
.faq-item[open] summary::after { content: '−'; }

.faq-item p { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* === CTA === */
.section-cta {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}

.section-cta h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; }
.section-cta > .container > p { color: var(--text-muted); margin-bottom: 36px; }

.cta-form { max-width: 560px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

.cta-form input, .cta-form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color 0.2s;
}

.cta-form input:focus, .cta-form textarea:focus { border-color: var(--primary); }
.cta-form textarea { margin-bottom: 16px; resize: vertical; }
.cta-form .btn { margin-top: 4px; }

.cta-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 16px; }

/* === Footer === */
.footer { padding: 64px 0 0; border-top: 1px solid var(--border); }

.footer-inner { display: flex; justify-content: space-between; margin-bottom: 48px; }

.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

.footer-links { display: flex; gap: 64px; }
.footer-links h4 { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.footer-links a { display: block; font-size: 0.88rem; color: var(--text-muted); padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom { padding: 20px 0; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--primary-light); }

/* === Mobile === */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; }

  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }

  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.75rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
}
