/* ---------- tokens ---------- */
:root {
  --bg: #08080a;
  --bg-elevated: #111114;
  --bg-card: #16161b;
  --border: #26262e;
  --border-soft: #1c1c22;
  --text: #f3f2f6;
  --text-dim: #9a97a6;
  --text-faint: #605d6b;
  --pink: #ff2e93;
  --pink-bright: #ff5cae;
  --pink-dim: #b81f68;
  --pink-glow: rgba(255, 46, 147, 0.35);
  --green: #35e07c;
  --amber: #ffb648;
  --red: #ff5c6c;
  --radius: 14px;
  --radius-sm: 9px;
  --max: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% -10%, rgba(255, 46, 147, 0.16), transparent 45%),
    radial-gradient(circle at 100% 10%, rgba(255, 46, 147, 0.08), transparent 40%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-dim); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pink-bright);
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.25);
  padding: 6px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dim));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--pink-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--pink-glow); }
.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--pink-dim); color: var(--pink-bright); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dim));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px var(--pink-glow);
  font-size: 16px;
}
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: 9px 16px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: var(--text-dim); transition: color .15s ease, background .15s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); background: var(--bg-card); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; margin: 22px 0 18px; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--pink-bright), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { max-width: 620px; margin: 0 auto 34px; font-size: 17.5px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; color: var(--text); }
.hero-stats .stat span { font-size: 13px; color: var(--text-faint); }

/* ---------- sections / cards ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.feature-card .icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(255, 46, 147, 0.12); border: 1px solid rgba(255, 46, 147, 0.25);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 14.5px; }

/* pricing */
.pricing-card { position: relative; display: flex; flex-direction: column; }
.pricing-card.is-featured { border-color: var(--pink-dim); box-shadow: 0 0 0 1px var(--pink-dim), 0 20px 44px -20px var(--pink-glow); }
.pricing-card .badge {
  position: absolute; top: -12px; right: 24px;
  background: linear-gradient(135deg, var(--pink), var(--pink-dim)); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.pricing-card h3 { font-size: 15px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.pricing-card .price { font-size: 40px; font-weight: 800; margin: 6px 0 4px; }
.pricing-card .price span { font-size: 14px; font-weight: 500; color: var(--text-faint); }
.pricing-card .plan-desc { font-size: 14px; margin-bottom: 22px; }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.pricing-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-dim); align-items: flex-start; }
.pricing-card li .ok { color: var(--green); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; background: none; border: none; color: var(--text); font-size: 15.5px; font-weight: 600; text-align: left;
}
.faq-q .chev { transition: transform .2s ease; color: var(--text-faint); flex-shrink: 0; }
.faq-item.is-open .faq-q .chev { transform: rotate(45deg); color: var(--pink-bright); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-dim); }
.faq-cta { text-align: center; margin-top: 40px; font-size: 14.5px; color: var(--text-faint); }
.faq-cta a { color: var(--pink-bright); font-weight: 600; }

/* ---------- auth / dashboard shell ---------- */
.auth-shell { max-width: 420px; margin: 70px auto; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-card .sub { text-align: center; font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); font-size: 14.5px;
  transition: border-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--pink-dim); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--text-faint); }
.auth-switch a { color: var(--pink-bright); font-weight: 600; }
.form-msg { font-size: 13.5px; padding: 11px 14px; border-radius: 8px; margin-bottom: 16px; }
.form-msg.error { background: rgba(255, 92, 108, 0.1); border: 1px solid rgba(255, 92, 108, 0.3); color: var(--red); }
.form-msg.success { background: rgba(53, 224, 124, 0.1); border: 1px solid rgba(53, 224, 124, 0.3); color: var(--green); }

.dash { padding: 48px 0 90px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.dash-head h1 { font-size: 26px; margin: 0; }
.dash-head .welcome { color: var(--text-faint); font-size: 14px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }

.license-card { padding: 26px; }
.license-card .row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tier-badge {
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.tier-badge.lifetime { background: rgba(255, 46, 147, 0.14); color: var(--pink-bright); border: 1px solid rgba(255, 46, 147, 0.3); }
.tier-badge.monthly { background: rgba(255, 182, 72, 0.12); color: var(--amber); border: 1px solid rgba(255, 182, 72, 0.28); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-pill.active .dot { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-pill.expired .dot { background: var(--red); }
.status-pill.none .dot { background: var(--text-faint); }

.key-box {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; margin: 6px 0 18px;
}
.key-box code { flex: 1; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 15px; letter-spacing: .04em; color: var(--text); word-break: break-all; }
.copy-btn {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
  border-radius: 7px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; flex-shrink: 0;
  transition: color .15s ease, border-color .15s ease;
}
.copy-btn:hover { color: var(--pink-bright); border-color: var(--pink-dim); }
.copy-btn.copied { color: var(--green); border-color: var(--green); }

.meta-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 10px 0; border-top: 1px solid var(--border-soft); }
.meta-row span:first-child { color: var(--text-faint); }
.expiry-bar { height: 6px; border-radius: 999px; background: var(--bg-elevated); overflow: hidden; margin-top: 6px; }
.expiry-bar > div { height: 100%; background: linear-gradient(90deg, var(--pink-dim), var(--pink)); }

.side-card { padding: 22px; margin-bottom: 20px; }
.side-card h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin-bottom: 14px; }
.side-card .link-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 14px; border-top: 1px solid var(--border-soft); }
.side-card .link-row:first-of-type { border-top: none; padding-top: 0; }
.side-card .link-row a { color: var(--pink-bright); font-weight: 600; }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-state .icon { font-size: 30px; margin-bottom: 10px; }
.empty-state p { font-size: 14px; max-width: 340px; margin: 0 auto 18px; }

/* ---------- download page ---------- */
.download-hero { text-align: center; padding: 70px 0 50px; }
.download-panel { max-width: 640px; margin: 0 auto; padding: 32px; }
.version-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.version-line .v { font-weight: 700; font-size: 15px; }
.version-line .v span { color: var(--text-faint); font-weight: 500; font-size: 12.5px; display: block; margin-top: 2px; }
.req-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.req-list li {
  font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px;
}
.gate-locked { text-align: center; padding: 28px 10px; }
.gate-locked .lock { font-size: 26px; margin-bottom: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 50px 0 34px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 36px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); padding: 5px 0; }
.footer-col a:hover { color: var(--pink-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 13px; color: var(--text-faint); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
