:root {
  --c-primary:      #1a1748;
  --c-primary-light:#2a2870;
  --c-accent:       #e8a820;
  --c-accent-hover: #d4961a;
  --c-text:         #111827;
  --c-text-muted:   #6b7280;
  --c-bg:           #ffffff;
  --c-bg-subtle:    #f8f7ff;
  --c-border:       #e5e7eb;
  --c-hero-bg:      #0f0d2e;
  --radius-sm:      0.5rem;
  --radius:         0.875rem;
  --radius-lg:      1.25rem;
  --shadow-sm:      0 1px 2px rgba(0,0,0,.06);
  --shadow:         0 2px 8px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 20px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --max-w:          1120px;
  --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--c-text); background: var(--c-bg); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
input, button, select { font-family: inherit; font-size: inherit; }

/* ── Layout ───────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--c-bg-subtle); }

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,13,46,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__logo {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.125rem; color: #fff; letter-spacing: -.01em;
}
.nav__logo svg { flex-shrink: 0; }
.nav__logo span { color: var(--c-accent); }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { color: rgba(255,255,255,.8); font-size: .9375rem; transition: color .15s; }
.nav__links a:hover { color: #fff; text-decoration: none; }
.nav__cta { margin-left: .5rem; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .625rem 1.375rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9375rem; line-height: 1;
  cursor: pointer; border: none; transition: all .15s; white-space: nowrap;
  text-decoration: none;
}
.btn--primary { background: var(--c-accent); color: #1a1100; }
.btn--primary:hover { background: var(--c-accent-hover); text-decoration: none; }
.btn--outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-bg-subtle); text-decoration: none; }
.btn--lg { padding: .8125rem 1.875rem; font-size: 1.0625rem; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

/* ── Hero ─────────────────────────────────────── */
.hero {
  background: var(--c-hero-bg);
  padding: 6rem 0 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(100,80,220,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(232,168,32,.15); border: 1px solid rgba(232,168,32,.3);
  color: var(--c-accent); font-size: .8125rem; font-weight: 600;
  padding: .3rem .875rem; border-radius: 99px; margin-bottom: 1.75rem;
  letter-spacing: .02em; text-transform: uppercase;
}
.hero__h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; color: #fff;
  line-height: 1.18; letter-spacing: -.03em;
  margin-bottom: 1.25rem;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero__h1 em { font-style: normal; color: var(--c-accent); }
.hero__sub {
  font-size: 1.125rem; color: rgba(255,255,255,.7);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-num { font-size: 2rem; font-weight: 800; color: #fff; }
.hero__stat-label { font-size: .875rem; color: rgba(255,255,255,.55); margin-top: .125rem; }

/* ── Features ─────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--c-bg-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--c-primary);
}
.feature-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { font-size: .9375rem; color: var(--c-text-muted); line-height: 1.6; }

/* ── Section headings ─────────────────────────── */
.section__tag {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-primary); opacity: .6; margin-bottom: .75rem;
}
.section__h2 {
  font-size: clamp(1.625rem, 3.5vw, 2.375rem); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.2; margin-bottom: .875rem;
}
.section__sub { font-size: 1.0625rem; color: var(--c-text-muted); max-width: 560px; }

/* ── About / Creator ──────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.about__quote {
  font-size: 1.25rem; font-weight: 500;
  line-height: 1.6; color: var(--c-text);
  border-left: 3px solid var(--c-accent);
  padding-left: 1.25rem; margin-bottom: 1.5rem;
}
.about__attribution { font-size: .9375rem; color: var(--c-text-muted); }
.about__attribution strong { color: var(--c-text); }
.about__visual {
  background: var(--c-hero-bg);
  border-radius: var(--radius-lg);
  padding: 2.5rem; color: rgba(255,255,255,.85);
}
.about__list { display: flex; flex-direction: column; gap: .875rem; margin-top: 1.25rem; }
.about__list-item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9375rem; line-height: 1.5;
}
.about__list-icon { color: var(--c-accent); flex-shrink: 0; margin-top: .1rem; }

/* ── Pricing ──────────────────────────────────── */
.pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem; align-items: start;
}
.pricing-card {
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.pricing-card--featured {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(26,23,72,.08);
  position: relative;
}
.pricing-card__badge {
  display: inline-block;
  background: var(--c-primary); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .625rem; border-radius: 99px;
  margin-bottom: .75rem;
}
.pricing-card__name { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-card__price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; }
.pricing-card__price span { font-size: 1rem; font-weight: 500; color: var(--c-text-muted); letter-spacing: 0; }
.pricing-card__desc { font-size: .875rem; color: var(--c-text-muted); margin: .5rem 0 1.25rem; }
.pricing-card__divider { border: none; border-top: 1px solid var(--c-border); margin: 1.25rem 0; }
.pricing-card__features { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.75rem; }
.pricing-card__feature { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; }
.pricing-card__feature svg { flex-shrink: 0; color: var(--c-accent); margin-top: .15rem; }

/* ── Signup form ──────────────────────────────── */
.signup { background: var(--c-hero-bg); padding: 5rem 0; }
.signup__inner { max-width: 440px; margin: 0 auto; text-align: center; }
.signup__h2 { font-size: 1.875rem; font-weight: 800; color: #fff; margin-bottom: .625rem; letter-spacing: -.025em; }
.signup__sub { color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.signup__form { display: flex; flex-direction: column; gap: .875rem; }
.signup__form input {
  padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07); color: #fff;
  font-size: 1rem; transition: border-color .15s;
}
.signup__form input::placeholder { color: rgba(255,255,255,.35); }
.signup__form input:focus { outline: none; border-color: var(--c-accent); background: rgba(255,255,255,.10); }
.signup__note { font-size: .8125rem; color: rgba(255,255,255,.4); margin-top: .5rem; }

/* ── Footer ───────────────────────────────────── */
.footer {
  background: #08071e;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 0;
  color: rgba(255,255,255,.45);
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__logo { font-weight: 700; color: rgba(255,255,255,.7); font-size: .9375rem; }
.footer__logo span { color: var(--c-accent); }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { color: rgba(255,255,255,.45); font-size: .875rem; }
.footer__links a:hover { color: rgba(255,255,255,.8); }
.footer__copy { font-size: .8125rem; }

/* ── Help page ────────────────────────────────── */
.help-hero {
  background: var(--c-hero-bg); padding: 4rem 0;
  text-align: center;
}
.help-hero h1 { font-size: 2.25rem; font-weight: 800; color: #fff; margin-bottom: .75rem; letter-spacing: -.025em; }
.help-hero p { color: rgba(255,255,255,.65); font-size: 1.0625rem; max-width: 480px; margin: 0 auto; }
.help-body { max-width: 780px; margin: 0 auto; padding: 4rem 1.5rem; }
.help-body h2 { font-size: 1.375rem; font-weight: 700; margin: 2.5rem 0 .875rem; letter-spacing: -.02em; }
.help-body h2:first-child { margin-top: 0; }
.help-body p { font-size: .9375rem; color: var(--c-text-muted); line-height: 1.7; margin-bottom: .875rem; }
.help-body ul { padding-left: 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: .4rem; margin-bottom: .875rem; }
.help-body ul li { font-size: .9375rem; color: var(--c-text-muted); line-height: 1.6; }
.help-body strong { color: var(--c-text); }
.help-tip {
  background: rgba(232,168,32,.08); border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .875rem 1.125rem; margin: 1.25rem 0;
  font-size: .9375rem; color: var(--c-text);
}
.help-section { border-bottom: 1px solid var(--c-border); padding-bottom: 2rem; margin-bottom: 0; }

/* ── App placeholder ──────────────────────────── */
.app-placeholder {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--c-hero-bg); color: rgba(255,255,255,.7); text-align: center; padding: 2rem;
}
.app-placeholder h1 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.app-placeholder p { font-size: .9375rem; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav__links { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero__stats { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .hero__h1 { font-size: 1.875rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
