/* ── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --navy:        #191433;
  --navy-mid:    #221a4a;
  --purple:      #8B2DB5;
  --purple-light:#C47FD4;
  --cream:       #F0E4EF;
  --white:       #ffffff;
  --text-muted:  #9b89aa;

  --gradient:    linear-gradient(135deg, #6B1FA8 0%, #C44FC0 100%);
  --gradient-text: linear-gradient(135deg, #b45fd4 0%, #e06ae0 100%);

  --radius:      16px;
  --radius-sm:   10px;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--navy); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }

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

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(25, 20, 51, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between;
  height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.nav-logo img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn) { font-size: 15px; color: var(--text-muted);
  transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; border-radius: 999px;
  cursor: pointer; transition: all .2s; border: none; white-space: nowrap; }
.btn-sm   { font-size: 14px; padding: 8px 18px; }
.btn-lg   { font-size: 16px; padding: 14px 28px; }
.btn-full { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }

.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 24px rgba(139,45,181,0.4); }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 6px 32px rgba(139,45,181,0.55); }

.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

.btn-outline { background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--purple-light); color: var(--purple-light); }

/* ── Gradient text ──────────────────────────────────────────────────────────── */
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero { padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%); width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,45,181,0.18) 0%, transparent 70%);
  pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,45,181,0.15); border: 1px solid rgba(196,127,212,0.3);
  color: var(--purple-light); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #7cffc4;
  box-shadow: 0 0 6px #7cffc4; flex-shrink: 0; }

.hero-headline { font-size: clamp(48px, 8vw, 88px); font-weight: 900;
  line-height: 1.05; letter-spacing: -2px; max-width: 700px; }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: 13px; color: var(--text-muted); }

/* ── Mockup ─────────────────────────────────────────────────────────────────── */
.mockup { margin-top: 16px; width: 100%; max-width: 780px; }
.mockup-screen { background: #0d0a1e; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1); overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05); }
.mockup-video { position: relative; aspect-ratio: 16/9;
  background: linear-gradient(160deg, #1a0e3a 0%, #0d0a1e 100%);
  display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }

.mockup-bars { display: flex; gap: 8px; align-items: flex-end; opacity: .3; }
.bar { background: var(--purple-light); border-radius: 2px; width: 4px; }
.bar-1 { height: 20px; }
.bar-2 { height: 32px; }
.bar-3 { height: 14px; }

.mockup-controls { position: absolute; bottom: 88px; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.ctrl-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); flex-shrink: 0; }
.ctrl-line { flex: 1; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--purple) 35%, rgba(255,255,255,.15) 35%); }

.mockup-subs { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 8px; }
.sub-pill { background: rgba(0,0,0,0.72); backdrop-filter: blur(4px);
  color: #fff; font-size: clamp(12px, 2vw, 16px); font-weight: 600;
  padding: 5px 16px; border-radius: 6px; text-align: center; max-width: 90%; }
.sub-2 { color: #e0b4f0; font-size: clamp(11px, 1.8vw, 14px); font-weight: 400; }

/* ── Services bar ───────────────────────────────────────────────────────────── */
.services-bar { padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center; }
.services-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1.2px; margin-bottom: 20px; }
.services-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.service-chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px; padding: 6px 16px; font-size: 14px; color: var(--text-muted); }

/* ── Sections ───────────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--navy-mid); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.1; margin-top: 12px; }
.section-sub { margin-top: 16px; color: var(--text-muted); font-size: 18px; }
.section-tag { display: inline-block; background: rgba(139,45,181,0.15);
  border: 1px solid rgba(196,127,212,0.3); color: var(--purple-light);
  border-radius: 999px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.section-header.light h2 { color: var(--white); }
.section-header.light .section-sub { color: var(--text-muted); }

/* ── Steps ──────────────────────────────────────────────────────────────────── */
.steps { display: flex; align-items: flex-start; gap: 0; max-width: 900px; margin: 0 auto; }
.step { flex: 1; text-align: center; padding: 0 16px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient);
  font-size: 22px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(139,45,181,0.4); }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p  { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.step-connector { width: 80px; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple-light));
  margin-top: 26px; opacity: .4; flex-shrink: 0; }

/* ── Features grid ──────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: rgba(196,127,212,0.3); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 760px; margin: 0 auto; align-items: start; }

.pricing-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 36px; position: relative; }
.pricing-card-pro { background: rgba(139,45,181,0.12); border-color: rgba(196,127,212,0.4);
  box-shadow: 0 0 0 1px rgba(196,127,212,0.15), 0 24px 60px rgba(139,45,181,0.2); }

.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap; }

.plan-name { font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.price-amount { font-size: 48px; font-weight: 800; letter-spacing: -2px; }
.price-period { color: var(--text-muted); font-size: 16px; }
.plan-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }

.plan-features { list-style: none; display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.plan-features li.muted { color: var(--text-muted); }
.check { color: #7cffc4; font-weight: 700; flex-shrink: 0; }
.cross { color: rgba(255,255,255,0.2); flex-shrink: 0; }
.plan-trial { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* ── CTA section ────────────────────────────────────────────────────────────── */
.section-cta { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.06); }
.cta-inner { text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 20px; }
.cta-logo { border-radius: 14px; }
.cta-inner h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  letter-spacing: -1.5px; }
.cta-inner p { color: var(--text-muted); font-size: 18px; max-width: 460px; }
.cta-note { font-size: 13px; color: var(--text-muted); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ── Language bubbles ────────────────────────────────────────────────────────── */
.lang-bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 620px; }
.lang-bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--text-muted);
  transition: all .2s; }
.lang-bubble--on { background: rgba(139,45,181,0.2); border-color: rgba(196,127,212,0.5);
  color: var(--purple-light); }

/* ── Billing toggle ──────────────────────────────────────────────────────────── */
.billing-toggle { display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 40px; }
.billing-label { font-size: 15px; color: var(--text-muted); font-weight: 500; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: color .2s; }
.billing-label--active { color: var(--white); }

.toggle-switch { position: relative; display: inline-block; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track { display: block; width: 48px; height: 26px; background: rgba(255,255,255,0.12);
  border-radius: 999px; position: relative; transition: background .25s; }
.toggle-switch input:checked + .toggle-track { background: var(--purple); }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; transition: transform .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(22px); }

.save-badge { background: rgba(124,255,196,0.15); border: 1px solid rgba(124,255,196,0.35);
  color: #7cffc4; font-size: 12px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; }

/* ── Price billed line ───────────────────────────────────────────────────────── */
.price-billed { font-size: 13px; color: var(--text-muted); margin-top: -6px;
  margin-bottom: 14px; min-height: 20px; }

/* ── Nav burger (mobile) ─────────────────────────────────────────────────────── */
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .25s; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 110px 0 60px; }
  .steps { flex-direction: column; align-items: center; gap: 16px; }
  .step-connector { width: 2px; height: 32px; margin: 0 auto; }
  .step { max-width: 360px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; }
}
