/* ── Landing page overrides ─────────────────────────────────────────── */

body.landing-body {
  padding-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.landing-body .landing-outer {
  flex: 1;
}

body.landing-body .site-footer {
  position: static;
  margin-top: 0;
}

/* ── Nav ────────────────────────────────────────────────────────────── */

.landing-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.landing-logo span {
  color: var(--accent);
}

/* ── CTA buttons ────────────────────────────────────────────────────── */

.btn-cta,
.btn-cta-large {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-cta {
  padding: 8px 18px;
  font-size: 0.88rem;
  gap: 5px;
}

.btn-cta-large {
  padding: 14px 34px;
  font-size: 1rem;
  gap: 8px;
  box-shadow: 0 4px 20px var(--accent-shadow);
}

.btn-cta:hover,
.btn-cta-large:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.landing-hero {
  max-width: 1100px;
  margin: 8px auto 0;
  padding: 72px 28px 80px;
  text-align: center;
  position: relative;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background:
    radial-gradient(ellipse at 25% 50%, rgba(123, 132, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(244, 133, 194, 0.08), transparent 55%);
  pointer-events: none;
}

.landing-hero > * {
  position: relative;
  z-index: 1;
}

.landing-hero .eyebrow {
  margin-bottom: 22px;
}

.landing-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.07;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  margin: 0 0 22px;
}

.landing-hero-sub {
  max-width: 600px;
  margin: 0 auto 38px;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Features grid ──────────────────────────────────────────────────── */

.landing-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 28px 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.feature-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text-heading);
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How it works ───────────────────────────────────────────────────── */

.landing-steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 28px 60px;
}

.landing-steps h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.015em;
  margin: 0 0 36px;
  text-align: center;
}

.steps-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step {
  flex: 1;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.3rem;
  position: relative;
}

.step-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.step-connector::after {
  content: "›";
  position: relative;
  z-index: 1;
  background: var(--page-bg);
  padding: 0 4px;
  color: var(--text-muted);
}

/* ── CTA section ────────────────────────────────────────────────────── */

.landing-cta-section {
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 64px 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.landing-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(123, 132, 255, 0.14), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(244, 133, 194, 0.09), transparent 50%);
  pointer-events: none;
}

.landing-cta-section > * {
  position: relative;
  z-index: 1;
}

.landing-cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.landing-cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0 0 32px;
}

/* ── Landing outer wrapper ──────────────────────────────────────────── */

.landing-outer {
  padding: 0 0 20px;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .steps-row {
    flex-direction: column;
  }
  .step-connector {
    width: auto;
    height: 32px;
    transform: rotate(90deg);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero {
    padding: 48px 20px 56px;
  }
  .landing-hero h1 {
    font-size: 2.2rem;
  }
}
