/* ============================================================
   landing.css — Shared styles for all assessment landing pages
   Brand: Your Next Step / Alpine / Leadership aesthetic
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #00437c;
  --accent: #0ab3eb;
  --gray: #959595;
  --dark: #2e2e2e;
  --light: #f9f9f9;
  --white: #ffffff;
}

body {
  font-family: Poppins, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

/* ---- NAV ---- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e6e6e6;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-nav img {
  height: 48px;
}
.lp-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.lp-nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.9rem;
}
.lp-nav-links a:hover {
  color: var(--navy);
}
.lp-nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.lp-nav-cta:hover {
  background: var(--accent) !important;
}

/* ---- HERO ---- */
.lp-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #001a30 0%, #00437c 60%, #0ab3eb 100%);
}
.lp-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/themes/yns/images/andre-hiking-mountains.jpg") center/cover
    no-repeat;
  opacity: 0.18;
}
.lp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lp-hero-text {
  color: var(--white);
}
.lp-hero-eyebrow {
  display: inline-block;
  background: rgba(10, 179, 235, 0.2);
  border: 1px solid rgba(10, 179, 235, 0.5);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.lp-hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.lp-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 460px;
}
.lp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn-hero-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background: #089dcc;
  transform: translateY(-1px);
}
.btn-hero-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-hero-secondary:hover {
  border-color: var(--white);
}

/* ---- HERO CARD (right side) ---- */
.lp-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 36px;
  color: var(--white);
}
.lp-hero-card h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.hero-stat-list {
  list-style: none;
}
.hero-stat-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}
.hero-stat-list li:last-child {
  border-bottom: none;
}
.hero-stat-icon {
  font-size: 1.4rem;
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 32px;
}
.section-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 16px;
}
.section p {
  color: var(--gray);
  font-size: 1rem;
}
.section-alt {
  background: var(--light);
}
.section-dark {
  background: var(--navy);
}
.section-dark h2,
.section-dark p,
.section-dark .section-eyebrow {
  color: var(--white);
}

/* ---- CONTENT MAX WIDTH ---- */
.content-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- FEATURE GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--white);
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 28px;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature-item h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ---- AREAS WHEEL ---- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.area-pill {
  background: var(--white);
  border: 2px solid #e6e6e6;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition:
    border-color 0.2s,
    transform 0.15s;
}
.area-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.area-pill-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.area-pill h4 {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

/* ---- CTA SECTION ---- */
.lp-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #0a5a9e 100%);
  padding: 80px 32px;
  text-align: center;
  color: var(--white);
}
.lp-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}
.lp-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- TESTIMONIAL ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 28px;
  color: var(--white);
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
}
.testimonial-author {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- FOOTER ---- */
.lp-footer {
  background: #001a30;
  color: rgba(255, 255, 255, 0.5);
  padding: 32px;
  text-align: center;
  font-size: 0.82rem;
}
.lp-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .lp-hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lp-hero-card {
    display: none;
  }
  .steps-grid,
  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-nav-links {
    display: none;
  }
}

/* ── SPACING FIXES ──────────────────────────────────── */
.lp-nav {
  padding: 1rem 2rem;
  gap: 1rem;
}
.lp-nav-links {
  gap: 1.5rem;
}
.lp-hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.lp-cta-section {
  padding: 4rem 2rem;
}
.lp-cta-section .lp-hero-actions {
  margin-top: 1.5rem;
  justify-content: center;
}

/* ── LANDING PAGE SPACING FIXES ───────────────────────────── */
.lp-nav {
  padding: 0 2rem;
  gap: 1.5rem;
}
.lp-nav a {
  margin: 0 0.25rem;
}
.lp-nav img {
  height: 44px;
  width: auto;
  margin-right: 0.5rem;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.lp-nav-cta {
  margin-left: 0.5rem !important;
  padding: 0.4rem 1rem !important;
}
.lp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.lp-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── Landing page tier themes ──────────────────────────────────────────
   Each landing page sets data-tier="classic|premium|team" on <body>.
   Change colours once here; all pages of that tier update automatically.
   Per-page background image override: add style="--lp-bg-image:url(...)"
   on the hero <section>.
─────────────────────────────────────────────────────────────────────── */

/* Classic: light, approachable */
body[data-tier="classic"] {
  --lp-hero-bg: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  --lp-h1: #00437c;
  --lp-body: #374151;
  --lp-token-bg: rgba(0, 67, 124, 0.08);
  --lp-token-border: rgba(0, 67, 124, 0.2);
  --lp-token-color: #00437c;
  --lp-note: #9ca3af;
  --lp-about-bg: #f0f7ff;
  --lp-cta-bg: #00437c;
}
/* Premium: dark navy */
body[data-tier="premium"] {
  --lp-hero-bg: linear-gradient(135deg, #001e3c 0%, #002952 55%, #003d7a 100%);
  --lp-h1: white;
  --lp-body: rgba(255, 255, 255, 0.72);
  --lp-token-bg: rgba(10, 179, 235, 0.15);
  --lp-token-border: rgba(10, 179, 235, 0.3);
  --lp-token-color: #0ab3eb;
  --lp-note: rgba(255, 255, 255, 0.4);
  --lp-about-bg: #001427;
  --lp-cta-bg: #001e3c;
}
/* Team: deep navy/teal */
body[data-tier="team"] {
  --lp-hero-bg: linear-gradient(135deg, #001427 0%, #002040 60%, #003a5c 100%);
  --lp-h1: white;
  --lp-body: rgba(255, 255, 255, 0.72);
  --lp-token-bg: rgba(0, 200, 195, 0.12);
  --lp-token-border: rgba(0, 200, 195, 0.3);
  --lp-token-color: #00c8c3;
  --lp-note: rgba(255, 255, 255, 0.4);
  --lp-about-bg: #001427;
  --lp-cta-bg: #001e3c;
}
