/* ── Landing Page Styles ──────────────────────────────────────────── */

/* ── Nav ────────────────────────────────────────────────────────── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(124,58,237,.07);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links {
  display: flex;
  gap: .3rem;
  margin-left: .5rem;
}
.nav-link {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 8px;
  transition: all .2s;
  font-weight: 500;
}
.nav-link:hover { color: var(--accent); background: rgba(124,58,237,.07); }
.nav-auth { margin-left: auto; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 7rem 1.5rem 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(124,58,237,.08), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(236,72,153,.07), transparent),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(236,72,153,.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(124,58,237,.1);
  border: 1.5px solid rgba(124,58,237,.2);
  border-radius: 20px;
  padding: .35rem 1rem;
  margin-bottom: 1.8rem;
  letter-spacing: .03em;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.3rem;
  letter-spacing: -.03em;
  color: var(--text);
}
.hero-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: .9rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(124,58,237,.3);
}
.btn-hero-primary:hover { opacity: .92; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,.4); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all .2s;
}
.btn-hero-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.hero-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .4rem;
}

/* ── Stats bar ──────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5rem 3rem;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: .78rem; color: var(--muted); margin-top: .3rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }
@media (max-width: 520px) { .stat-divider { display: none; } .stat-item { padding: .7rem 1.4rem; } }

/* ── Sections ───────────────────────────────────────────────────── */
.section     { padding: 5.5rem 1.5rem; }
.section-alt { background: var(--surface); }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: .97rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── Steps ──────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 680px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  position: relative;
  transition: all .25s;
  box-shadow: var(--shadow);
}
.step-card:hover {
  border-color: rgba(124,58,237,.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-size: .72rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .1em;
  margin-bottom: .7rem;
}
.step-icon { font-size: 2rem; margin-bottom: .9rem; }
.step-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .5rem; }
.step-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── Features ───────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.7rem;
  transition: all .25s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,.25);
  background: rgba(124,58,237,.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.feature-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; }
.feature-card p  { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── Topics ─────────────────────────────────────────────────────── */
.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.topic-chip {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-dim);
  border-radius: 30px;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  box-shadow: var(--shadow);
}
.topic-chip:hover {
  background: rgba(124,58,237,.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── CTA section ────────────────────────────────────────────────── */
.cta-section {
  padding: 6rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(124,58,237,.08), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(236,72,153,.06), transparent),
    var(--bg);
}
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 900;
  margin-bottom: .8rem;
  letter-spacing: -.02em;
}
.cta-inner p { color: var(--muted); margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; }
.cta-note    { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ── Footer ─────────────────────────────────────────────────────── */
.landing-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: var(--surface);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a {
  font-size: .85rem; color: var(--muted); text-decoration: none;
  transition: color .2s; font-weight: 500;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: .78rem; color: var(--muted); }

/* ── Nav header-nav links (in practice/live pages) ───────────────── */
.header-nav {
  display: flex;
  gap: .3rem;
  margin-left: .5rem;
}
