/* ============================
   Selfster Landing — index.css
   Mobile-first, no inline styles
   ============================ */

:root {
  --landing-bg {
    color: #050816;
  }
  --landing-bg-soft {
    color: #0b1220;
  }
  --landing-surface {
    color: #0f172a;
  }
  --landing-surface-soft {
    color: #111827;
  }
  --landing-border {
    color: #1f2937;
  }
  --landing-border-soft {
    color: #1e293b;
  }
  --landing-text {
    color: #e5e7eb;
  }
  --landing-text-muted {
    color: #9ca3af;
  }
  --landing-accent {
    color: #f97316;
  }
  --landing-accent-soft {
    color: rgba(249, 115, 22, 0.12);
  }
  --landing-accent-strong {
    color: #fb923c;
  }
  --landing-accent-pill-bg {
    color: rgba(249, 115, 22, 0.08);
  }
  --landing-radius-lg {
    border-radius: 1.5rem;
  }
  --landing-radius-md {
    border-radius: 1rem;
  }
  --landing-radius-pill {
    border-radius: 999px;
  }
  --landing-shadow-soft {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  }
  --landing-shadow-card {
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
  }
}

/* In case your global theme is light, give the landing a dark shell
   without fighting the rest of the site too hard. */

.landing-hero {
  background-image: radial-gradient(circle at top left, #1d283a 0%, #020617 55%, #020617 100%);
  color: var(--landing-text);
  padding-top: 2.5rem;
  padding-right: 1rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
}

.landing-features {
  background-color: #020617;
  color: var(--landing-text);
  padding-top: 2.25rem;
  padding-right: 1rem;
  padding-bottom: 2.75rem;
  padding-left: 1rem;
}

.landing-steps {
  background-color: #020617;
  color: var(--landing-text);
  padding-top: 0;
  padding-right: 1rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
}

/* Layout shell */

.landing-hero-inner {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.landing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.landing-title {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.landing-title-accent {
  color: var(--landing-accent-strong);
}

.landing-subtitle {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--landing-text-muted);
  max-width: 34rem;
}

/* CTA row */

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Buttons (local to landing) */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  padding-right: 1.4rem;
  padding-bottom: 0.78rem;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--landing-radius-pill);
  border-width: 0;
  border-style: solid;
  border-color: transparent;
  color: #020617;
  background-image: linear-gradient(135deg, #f97316, #facc15);
  box-shadow: 0 18px 45px rgba(248, 181, 38, 0.4);
  white-space: nowrap;
}

.btn-primary:hover {
  box-shadow: 0 20px 55px rgba(248, 181, 38, 0.55);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 28px rgba(248, 181, 38, 0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-top: 0.72rem;
  padding-right: 1.2rem;
  padding-bottom: 0.74rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--landing-radius-pill);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.8);
  background-color: rgba(15, 23, 42, 0.7);
  color: var(--landing-text);
  backdrop-filter: blur(18px);
}

.btn-ghost:hover {
  border-color: #e5e7eb;
  background-color: rgba(15, 23, 42, 0.92);
}

/* Highlights list */

.landing-highlights {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--landing-text-muted);
}

.landing-highlights li::before {
  content: "";
}

/* Right hero panel */

.landing-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.landing-card {
  border-radius: var(--landing-radius-md);
  background-color: rgba(15, 23, 42, 0.96);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: var(--landing-shadow-card);
  padding-top: 0.95rem;
  padding-right: 1rem;
  padding-bottom: 0.95rem;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.landing-card h2 {
  margin-top: 0.1rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.landing-card ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1.1rem;
  color: var(--landing-text-muted);
}

.landing-card li + li {
  margin-top: 0.15rem;
}

.landing-card--santa {
  background-image: radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), rgba(15, 23, 42, 0.95));
}

.landing-card--wishlist {
  background-image: radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.25), rgba(15, 23, 42, 0.98));
}

/* Features section */

.landing-section-header {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.landing-section-header h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.landing-section-header p {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  color: var(--landing-text-muted);
}

.landing-feature-grid {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.feature-card {
  border-radius: 1rem;
  background-color: #020617;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.22);
  padding-top: 0.9rem;
  padding-right: 1rem;
  padding-bottom: 0.9rem;
  padding-left: 1rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.feature-card p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--landing-text-muted);
}

/* Steps section */

.steps-list {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.steps-list li {
  background-color: #020617;
  border-radius: 1rem;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.25);
  list-style-position: inside;
  padding-top: 0.75rem;
  padding-right: 0.85rem;
  padding-bottom: 0.8rem;
  padding-left: 0.85rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.steps-list h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.steps-list p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--landing-text-muted);
}

.steps-cta {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.steps-note {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
}

/* Scroll animations (progressive enhancement) */

.js-landing .reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition-property: opacity, transform, box-shadow, border-color;
  transition-duration: 280ms;
  transition-timing-function: ease-out;
}

.js-landing .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsiveness */

@media (min-width: 640px) {
  .landing-title {
    font-size: 2.3rem;
  }

  .landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    list-style-type: none;
  }

  .steps-list li {
    list-style-type: none;
  }
}

@media (min-width: 880px) {
  .landing-hero-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .landing-title {
    font-size: 2.6rem;
  }

  .landing-subtitle {
    font-size: 1rem;
  }

  .landing-hero {
    padding-top: 3rem;
    padding-bottom: 3.4rem;
  }
}

@media (min-width: 1040px) {
  .landing-hero-inner {
    gap: 3rem;
  }

  .landing-title {
    font-size: 2.8rem;
  }

  .landing-feature-grid {
    gap: 1.1rem;
  }
}

/* Light mode fallback if the rest of the app is light themed */

@media (prefers-color-scheme: light) {
  .landing-hero {
    background-image: radial-gradient(circle at top left, #eff6ff 0%, #f9fafb 40%, #eef2ff 100%);
    color: #020617;
  }

  .landing-features {
    background-color: #f9fafb;
    color: #020617;
  }

  .landing-steps {
    background-color: #f9fafb;
    color: #020617;
  }

  .landing-subtitle,
  .landing-section-header p,
  .feature-card p,
  .steps-list p,
  .steps-note,
  .landing-highlights {
    color: #4b5563;
  }

  .landing-card {
    background-color: #ffffff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  }

  .feature-card {
    background-color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }

  .steps-list li {
    background-color: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }

  .btn-ghost {
    background-color: rgba(15, 23, 42, 0.04);
    color: #111827;
    border-color: rgba(148, 163, 184, 0.9);
  }

  .btn-ghost:hover {
    background-color: rgba(15, 23, 42, 0.08);
  }
}
