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

* { box-sizing: border-box; }

:root {
  --ink: #14121f;
  --ink-soft: #4b4560;
  --muted: #7c7794;
  --border: #e8e5f2;
  --surface: #ffffff;
  --bg: #f6f5fb;

  --primary: #4f2fce;
  --primary-dark: #3c22a3;
  --primary-light: #7c5cff;
  --gold: #c8932a;
  --gold-light: #e8b94a;

  --shadow-sm: 0 1px 2px rgba(20, 18, 31, .05);
  --shadow-md: 0 4px 16px rgba(20, 18, 31, .06), 0 1px 3px rgba(20, 18, 31, .08);
  --shadow-lg: 0 24px 60px rgba(20, 18, 31, .12), 0 4px 14px rgba(20, 18, 31, .07);
  --shadow-glow: 0 30px 80px rgba(79, 47, 206, .22);
  --radius: 14px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
svg { display: block; }

/* ---------------------------------------------------------------- nav */
.nav {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .brand-by {
  color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 6px 14px rgba(79, 47, 206, .35);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark::before {
  content: '\20B9';
  color: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
/* .nav-links a's own color rule (0,1,1 specificity) otherwise beats
   .btn-primary/.btn-secondary's (0,1,0), silently overriding a nav button's
   intended text color with the plain-link muted color — these restore it. */
.nav-links .btn-primary { color: #fff; }
.nav-links .btn-primary:hover { color: #fff; }
.nav-links .btn-secondary { color: var(--ink); }
.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  margin: -6px;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle-btn svg { width: 24px; height: 24px; display: block; }
.nav-toggle-btn .icon-close { display: none; }
.nav-toggle-btn.is-open .icon-menu { display: none; }
.nav-toggle-btn.is-open .icon-close { display: block; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -12%, #efe9ff 0%, transparent 58%),
    radial-gradient(900px 520px at 6% 4%, #fdf3e2 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 110%, #eee9fc 0%, transparent 60%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79,47,206,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,47,206,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 420px at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 88px 24px 0;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(120deg, var(--primary), var(--gold)); flex: none; }

h1.headline {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 0 0 20px;
}
h1.headline .grad {
  background: linear-gradient(120deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subhead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 12.5px; color: var(--muted); margin: 0 0 64px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-note b { color: var(--ink-soft); font-weight: 700; }
.hero-note .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 47, 206, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(79, 47, 206, .36); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- product preview */
.preview-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 120px;
}
.preview-card {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transform: perspective(1400px) rotateX(3deg);
}
.preview-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #fbfaff;
}
.preview-chrome span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.preview-chrome .url {
  margin-left: 10px;
  font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 12px;
}
.preview-body { padding: 30px 34px 34px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.preview-doc { text-align: left; }
.preview-doc .doc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.preview-doc .doc-brand { font-weight: 800; font-size: 15px; }
.preview-doc .doc-brand span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.preview-doc .doc-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); background: #f1ecff; border-radius: 999px; padding: 4px 11px;
}
.preview-rows { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.preview-rows .r { display: flex; justify-content: space-between; padding: 9px 13px; font-size: 12px; }
.preview-rows .r + .r { border-top: 1px solid var(--border); }
.preview-rows .r span:first-child { color: var(--muted); }
.preview-rows .r span:last-child { font-weight: 700; }
.preview-rows .total { background: #faf8ff; }
.preview-rows .total span:last-child { color: var(--primary); font-size: 13.5px; }
.preview-side { display: flex; flex-direction: column; gap: 10px; }
.preview-chip {
  display: flex; align-items: center; gap: 10px;
  background: #fbfaff; border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 13px; text-align: left;
}
.preview-chip .ic {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.preview-chip .ic svg { width: 16px; height: 16px; }
.preview-chip b { display: block; font-size: 12px; font-weight: 700; line-height: 1.3; }
.preview-chip small { color: var(--muted); font-size: 10.8px; }

.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 15px 9px 9px;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .ic {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.float-badge .ic svg { width: 14px; height: 14px; }
.float-badge.b1 { top: -6%; left: -4%; }
.float-badge.b1 .ic { background: linear-gradient(135deg, #1a9f6b, #34c98f); }
.float-badge.b2 { bottom: 10%; right: -5%; animation-delay: 1.4s; }
.float-badge.b2 .ic { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 760px) {
  .preview-body { grid-template-columns: 1fr; }
  .preview-card { transform: none; }
  .float-badge { display: none; }
}

/* ------------------------------------------------------------- stats strip */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat b {
  display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--primary), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; text-align: center; }
}

/* ------------------------------------------------------------------ section */
.section { max-width: 1180px; margin: 0 auto; padding: 88px 24px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #d9d2f5; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(79, 47, 206, .25);
  color: #fff;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.feature-card p { font-size: 13.8px; color: var(--muted); line-height: 1.55; margin: 0; }
.feature-card.soon { opacity: .9; border-style: dashed; }
.feature-card.soon .feature-icon { background: linear-gradient(135deg, #b9b4d6, #d5d0ec); box-shadow: none; }
.pill-soon {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; color: var(--gold); background: #fdf3e2; border-radius: 999px;
  padding: 3px 9px; margin-bottom: 10px;
}

/* ------------------------------------------------------------ comparison table */
.cmp-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; white-space: nowrap; }
.cmp-table th, .cmp-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; background: var(--bg); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table td.num, .cmp-table th.num { text-align: right; }
.cmp-table td.commission { color: var(--primary-dark); font-weight: 800; }
.cmp-table tr.is-muted td { color: var(--muted); }

/* --------------------------------------------------------------- terms list */
.terms-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.terms-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.terms-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--primary); }

/* ------------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.step { position: relative; text-align: center; padding: 0 22px; }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 20px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; box-shadow: 0 10px 22px rgba(79, 47, 206, .28);
  position: relative; z-index: 2;
}
.step h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.step p { font-size: 13.8px; color: var(--muted); line-height: 1.6; margin: 0; max-width: 260px; margin-inline: auto; }
.step-connector {
  position: absolute; top: 26px; left: calc(16.66% + 26px); right: calc(16.66% + 26px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
  z-index: 1;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
}

/* ------------------------------------------------------------------ pricing */
.pricing-panel {
  background: linear-gradient(135deg, var(--ink) 0%, #241a5c 100%);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 15% -10%, rgba(200, 147, 42, .28), transparent 60%);
  pointer-events: none;
}
.pricing-panel::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(560px 300px at 85% 110%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(560px 300px at 85% 110%, #000, transparent 70%);
  pointer-events: none;
}
.pricing-panel > * { position: relative; }
.pricing-panel .kicker { color: var(--gold); }
.pricing-panel h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 8px 0 14px; letter-spacing: -.02em; }
.pricing-panel p { color: #cfc9ea; max-width: 520px; margin: 0 auto 26px; line-height: 1.6; font-size: 15px; }
.pricing-panel .btn-primary { box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.pricing-checks {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin: 0 0 32px; padding: 0; list-style: none;
}
.pricing-checks li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #e7e3fa; font-weight: 600; }
.pricing-checks svg { width: 16px; height: 16px; color: var(--gold-light); flex: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 8px auto 28px;
  text-align: left;
}
.plan-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.is-featured {
  background: rgba(232, 185, 74, .08);
  border-color: rgba(232, 185, 74, .5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.plan-card-badge {
  position: absolute; top: -11px; left: 20px;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: var(--ink);
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.plan-card h3 { margin: 4px 0 6px; font-size: 17px; font-weight: 800; color: #fff; }
.plan-card .plan-price { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.plan-card .plan-price .interval { font-size: 12px; font-weight: 500; color: #b9b3d9; }
.plan-card ul { list-style: none; padding: 0; margin: 14px 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-card ul li { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: #d8d3ee; line-height: 1.4; }
.plan-card ul li svg { width: 14px; height: 14px; color: var(--gold-light); flex: none; margin-top: 2px; }
.plan-card .btn { width: 100%; text-align: center; justify-content: center; font-size: 13.5px; padding: 10px 16px; }
.pricing-fineprint { color: #b9b3d9; font-size: 12.5px; margin-top: -8px; }

/* ------------------------------------------------------------------------ faq */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
}
.faq-q .chev { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); color: var(--primary); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-q::-webkit-details-marker { display: none; }

/* ----------------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-top {
  max-width: 1180px; margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
}
.footer-about .brand { margin-bottom: 12px; }
.footer-about p { color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 260px; margin: 0; }
.footer-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 13.8px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .muted { color: var(--muted); font-size: 12.5px; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-inner { height: 60px; }
  .nav-toggle-btn { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(20, 18, 31, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-links.is-open { max-height: 420px; }
  .nav-links a:not(.btn) { padding: 14px 24px; border-top: 1px solid var(--border); width: 100%; box-sizing: border-box; }
  .nav-links a:first-child { border-top: none; }
  .nav-links .btn { margin: 14px 24px; }
  .hero-inner { padding: 56px 20px 0; }
  .preview-wrap { padding: 0 20px 72px; }
  .section { padding: 56px 20px; }
  .pricing-panel { padding: 48px 22px; }
}
