/* SideQuest Landing Page -- trysidequest.app */

/* ---- Design Tokens (from tailwind.config.js) ---- */
:root {
  /* Sage Green */
  --sage-50: #F4F7F4;
  --sage-100: #E3EAE3;
  --sage-200: #C7D5C7;
  --sage-300: #A8BEA8;
  --sage-400: #88A088;
  --sage-500: #6F8B6F;
  --sage-600: #5A735A;
  --sage-700: #465B46;
  --sage-800: #334333;
  --sage-900: #202B20;

  /* Accent Orange */
  --orange-50: #FEF3E8;
  --orange-100: #FDE0C4;
  --orange-200: #FBCA9C;
  --orange-300: #F4A960;
  --orange-400: #E67E22;
  --orange-500: #CC6E1D;
  --orange-600: #A85A18;
  --orange-700: #844613;
  --orange-800: #60330E;
  --orange-900: #3C2009;

  /* Backgrounds & Text */
  --desert-tan: #F2EFE9;
  --deep-charcoal: #2C3E50;
  --map-detail: #DED9C4;

  /* Quest Difficulty */
  --quest-chill: #4CAF50;
  --quest-bold: #FF9800;
  --quest-unhinged: #FF3366;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-badge: 8px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  color: var(--deep-charcoal);
  background-color: var(--desert-tan);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---- Typography ---- */
.text-display {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
}

.text-h1 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
}

.text-h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

.text-h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.text-body-lg {
  font-size: 16px;
  line-height: 24px;
}

.text-body-md {
  font-size: 14px;
  line-height: 20px;
}

.text-body-sm {
  font-size: 12px;
  line-height: 16px;
}

/* ---- Animations ---- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(242, 239, 233, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--sage-200);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-badge);
}

.nav-brand .nav-compass {
  width: 32px;
  height: 32px;
  border-radius: 0;
}

.nav-brand span {
  font-weight: 700;
  font-size: 20px;
  color: var(--deep-charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--sage-600);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--orange-400);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--deep-charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background-color: rgba(242, 239, 233, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sage-200);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 99;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-weight: 500;
  font-size: 18px;
  color: var(--sage-600);
  padding: var(--space-sm) 0;
  transition: color 0.2s ease;
}

.nav-mobile a:hover {
  color: var(--orange-400);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: var(--space-3xl);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: var(--sage-100);
  color: var(--sage-700);
  font-weight: 500;
  font-size: 14px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--sage-400);
  border-radius: 50%;
}

.hero-headline {
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  color: var(--deep-charcoal);
}

.hero-subtext {
  font-size: 18px;
  line-height: 28px;
  color: var(--sage-500);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.app-store-badge {
  display: inline-block;
  position: relative;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  cursor: default;
}

.app-store-badge img {
  height: 48px;
  width: auto;
}

.app-store-badge .tooltip {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--deep-charcoal);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.app-store-badge:hover .tooltip {
  opacity: 1;
}

.hero-learn-more {
  font-weight: 500;
  font-size: 15px;
  color: var(--orange-400);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.hero-learn-more:hover {
  border-bottom-color: var(--orange-400);
}

.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  gap: var(--space-lg);
}

.hero-scout-prominent {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  margin-bottom: -20px;
}

.hero-scout-prominent .scout-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.hero-scout-prominent .scout-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 22%;
  z-index: 1;
}

.hero-phone-wrapper {
  position: relative;
  z-index: 1;
}

.hero-phone-img {
  width: 280px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ---- Hero CTA Button ---- */
.hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--orange-400);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.hero-cta-button:hover {
  background-color: var(--orange-500);
  transform: translateY(-1px);
}

/* ---- Social Proof Bar ---- */
.social-proof-bar {
  background: white;
  border-top: 1px solid var(--sage-100);
  border-bottom: 1px solid var(--sage-100);
  padding: var(--space-lg) 0;
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.proof-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-charcoal);
}

.proof-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-400);
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--sage-200);
}

/* ---- Section Label ---- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-sm);
}

/* ---- Section shared ---- */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--deep-charcoal);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 16px;
  line-height: 24px;
  color: var(--sage-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.feature-icon.quest { background-color: var(--orange-50); color: var(--orange-400); }
.feature-icon.personalized { background-color: #EDE7F6; color: #7C4DFF; }
.feature-icon.verify { background-color: #E3F2FD; color: #2196F3; }
.feature-icon.xp { background-color: #FFF8E1; color: #FFB300; }
.feature-icon.badges { background-color: var(--sage-50); color: var(--sage-500); }
.feature-icon.social { background-color: #FCE4EC; color: #E91E63; }
.feature-icon.navigate { background-color: #E0F7FA; color: #00BCD4; }

.feature-card h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-500);
}

/* ---- How It Works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.step {
  text-align: center;
  padding: var(--space-xl);
}

.step-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--orange-100);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.step h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-500);
}

/* ---- Hero Stats ---- */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-md) 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange-400);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--sage-500);
  font-weight: 500;
}

/* ---- Section Alt ---- */
.section-alt {
  background-color: var(--sage-50);
}

/* ---- Categories ---- */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.category-pills.compact {
  justify-content: flex-start;
  margin-bottom: var(--space-md);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.category-pill:hover {
  transform: scale(1.05);
}

.category-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ---- Quest Showcase ---- */
.quest-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.quest-showcase-left h3,
.quest-showcase-right h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--deep-charcoal);
}

.quest-categories-visual {
  margin-bottom: var(--space-xl);
}

.difficulty-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.difficulty-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: 16px;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.difficulty-card .difficulty-name {
  font-weight: 700;
  font-size: 15px;
  min-width: 80px;
}

.difficulty-card.chill .difficulty-name { color: var(--quest-chill); }
.difficulty-card.bold .difficulty-name { color: var(--quest-bold); }
.difficulty-card.unhinged .difficulty-name { color: var(--quest-unhinged); }

.difficulty-card .difficulty-xp {
  font-weight: 600;
  font-size: 14px;
  color: var(--deep-charcoal);
  background: var(--sage-50);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.difficulty-card .difficulty-desc {
  font-size: 13px;
  color: var(--sage-500);
}

/* Quest Example Cards */
.quest-example-card {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-md);
}

.quest-example-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.quest-example-category {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.quest-example-difficulty {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  color: white;
}

.quest-example-difficulty.chill { background-color: var(--quest-chill); }
.quest-example-difficulty.bold { background-color: var(--quest-bold); }
.quest-example-difficulty.unhinged { background-color: var(--quest-unhinged); }

.quest-example-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.quest-example-challenge {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-600);
  font-style: italic;
  background: var(--sage-50);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-badge);
  margin-bottom: var(--space-sm);
  border-left: 3px solid var(--sage-200);
}

.quest-example-meta {
  display: flex;
  gap: var(--space-lg);
  font-size: 13px;
  color: var(--sage-400);
  font-weight: 500;
}

/* ---- Verification Strip ---- */
.verification-strip {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-2xl);
}

.verification-strip h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.verification-items {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.verification-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 100px;
}

.verification-item.highlight {
  position: relative;
}

.verification-item.highlight::before {
  content: 'Best';
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  background: var(--orange-400);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
}

.verification-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-500);
}

.verification-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-600);
}

.verification-bonus {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange-400);
}

/* ---- Create Quest Callout ---- */
.create-quest-callout {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.create-quest-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.create-quest-content p {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-500);
}

.create-quest-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.create-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.create-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
}

.create-step span {
  font-size: 12px;
  font-weight: 500;
  color: var(--sage-500);
  white-space: nowrap;
}

.create-step-arrow {
  color: var(--sage-300);
  margin-top: -20px;
}

/* ---- Social Grid ---- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.social-card {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.social-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-500);
  margin-bottom: var(--space-md);
}

.social-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.social-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-500);
}

/* ---- Progression Track ---- */
.progression-visual {
  margin-bottom: var(--space-2xl);
}

.progression-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.progression-item {
  text-align: center;
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.progression-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.progression-icon.xp { background-color: #FFF8E1; color: #FFB300; }
.progression-icon.streak { background-color: var(--orange-50); color: var(--orange-400); }
.progression-icon.badges-icon { background-color: var(--sage-50); color: var(--sage-500); }
.progression-icon.rank { background-color: #EDE7F6; color: #7C4DFF; }

.progression-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.progression-item p {
  font-size: 13px;
  line-height: 20px;
  color: var(--sage-500);
}

/* ---- Explorers Teaser ---- */
.explorers-teaser {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.explorers-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.explorers-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.coming-soon-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-500);
  background: var(--orange-50);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.explorers-description {
  font-size: 15px;
  line-height: 24px;
  color: var(--sage-500);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.explorers-roster {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.explorer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.explorer-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-100);
  border: 3px solid var(--sage-200);
  position: relative;
}

.explorer-card.unlocked .explorer-avatar {
  border-color: var(--orange-300);
  background: var(--orange-50);
}

.explorer-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.explorer-avatar.silhouette {
  background: var(--sage-50);
}

.explorer-question {
  position: absolute;
  font-size: 28px;
  font-weight: 700;
  color: var(--sage-300);
}

.explorer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--deep-charcoal);
}

.explorer-status {
  font-size: 12px;
  font-weight: 500;
  color: var(--sage-400);
}

.explorer-card.unlocked .explorer-status {
  color: var(--quest-chill);
}

.explorer-card.locked .explorer-name {
  color: var(--sage-400);
}

.cosmetics-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 14px;
  color: var(--sage-500);
  padding: var(--space-md);
  background: var(--sage-50);
  border-radius: var(--radius-badge);
}

.cosmetics-hint svg {
  color: var(--orange-300);
  flex-shrink: 0;
}

/* ---- Personalization Grid ---- */
.personalization-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.personalization-card {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.personalization-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.personalization-card p {
  font-size: 13px;
  line-height: 20px;
  color: var(--sage-500);
}

/* ---- CTA Subtitle & Button ---- */
.cta-subtitle {
  font-size: 16px;
  line-height: 24px;
  color: var(--sage-500);
  margin-bottom: var(--space-lg);
}

.cta-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--orange-400);
  color: white;
  font-weight: 600;
  font-size: 18px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
  margin-bottom: var(--space-md);
}

.cta-download-button:hover {
  background-color: var(--orange-500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.cta-fine-print {
  font-size: 13px;
  color: var(--sage-400);
  font-weight: 500;
}

/* ---- Personalization Icon ---- */
.personalization-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-500);
  margin: 0 auto var(--space-md);
}

/* ---- CTA ---- */
.cta-section {
  background-color: var(--sage-50);
  border-radius: var(--radius-card);
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  margin: 0 var(--space-lg);
}

.cta-scout-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-lg);
}

.cta-scout-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cta-scout-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  object-fit: contain;
  z-index: 1;
}

.cta-section h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.cta-section .app-store-badge {
  margin-bottom: var(--space-md);
}

.cta-coming-soon {
  font-size: 14px;
  color: var(--sage-500);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--sage-200);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-badge);
}

.footer-brand .footer-compass {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

.footer-brand span {
  font-weight: 700;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 14px;
  color: var(--sage-500);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.footer-meta {
  font-size: 13px;
  color: var(--sage-400);
}

.footer-meta span {
  margin: 0 var(--space-sm);
}

/* ---- Legal Pages (Privacy, Terms) ---- */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.legal-content .last-updated {
  font-size: 14px;
  color: var(--sage-500);
  margin-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 26px;
  color: var(--sage-700);
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content a {
  color: var(--orange-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--orange-500);
}

/* ---- (Phone frames removed -- Figma exports include device frames) ---- */

/* ---- App Screenshots Section ---- */
.app-screenshots-section {
  overflow: hidden;
}

.screenshots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  justify-items: center;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.screenshot-img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.10));
  transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
  transform: translateY(-8px);
}

.screenshot-caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-600);
}

/* ---- AI Quests Grid ---- */
.ai-quests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.ai-quest-card {
  background: white;
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-quest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.ai-quest-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
  margin: 0 auto var(--space-md);
}

.ai-quest-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.ai-quest-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--sage-500);
}

/* ---- Waitlist Form ---- */
.waitlist-form {
  margin-bottom: var(--space-md);
}

.waitlist-input-group {
  display: flex;
  gap: var(--space-sm);
  max-width: 460px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--sage-200);
  border-radius: var(--radius-pill);
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: var(--deep-charcoal);
  background: white;
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-input:focus {
  border-color: var(--orange-400);
}

.waitlist-input::placeholder {
  color: var(--sage-300);
}

.waitlist-button {
  padding: 14px 28px;
  background-color: var(--orange-400);
  color: white;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.waitlist-button:hover {
  background-color: var(--orange-500);
  transform: translateY(-1px);
}

.waitlist-button:disabled {
  cursor: default;
  opacity: 0.8;
}

.waitlist-button.waitlist-success {
  background-color: var(--sage-500);
  box-shadow: 0 4px 12px rgba(136, 160, 136, 0.3);
}

/* ---- Footer Social Links ---- */
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--orange-50);
  color: var(--orange-400);
}

/* ---- Responsive: Tablet (768px+) ---- */
@media (max-width: 1023px) {
  .screenshots-row {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .screenshot-img {
    width: 200px;
  }

  .hero-phone-img {
    width: 240px;
  }

  .hero-scout-prominent {
    width: 220px;
    height: 220px;
  }

  .hero-scout-prominent .scout-fallback {
    width: 160px;
    height: 160px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .hero .container {
    gap: var(--space-xl);
  }

  .hero-headline {
    font-size: 40px;
    line-height: 48px;
  }

  .quest-showcase {
    grid-template-columns: 1fr;
  }

  .create-quest-callout {
    grid-template-columns: 1fr;
  }

  .progression-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .personalization-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-quests-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Responsive: Mobile (< 768px) ---- */
@media (max-width: 767px) {
  .screenshots-row {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 var(--space-lg) var(--space-md);
    scroll-padding: 0 var(--space-lg);
  }

  .screenshot-item {
    scroll-snap-align: center;
    flex: 0 0 auto;
  }

  .screenshot-img {
    width: 220px;
  }

  .screenshot-caption {
    font-size: 13px;
  }

  .hero-phone-img {
    width: 220px;
  }

  .hero-scout-prominent {
    width: 200px;
    height: 200px;
  }

  .hero-scout-prominent .scout-fallback {
    width: 140px;
    height: 140px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-visual {
    order: -1;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-scout-prominent {
    width: 180px;
    height: 180px;
    margin-bottom: -24px;
    z-index: 2;
  }

  .hero-scout-prominent .scout-fallback {
    width: 120px;
    height: 120px;
  }

  .hero-phone-img {
    width: 200px;
  }

  .hero-headline {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-subtext {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-stats {
    justify-content: center;
  }

  .proof-items {
    gap: var(--space-lg);
  }

  .proof-number {
    font-size: 20px;
  }

  .proof-divider {
    height: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .section-header h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .quest-showcase {
    grid-template-columns: 1fr;
  }

  .verification-items {
    gap: var(--space-md);
  }

  .create-quest-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .create-quest-steps {
    flex-wrap: wrap;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .progression-track {
    grid-template-columns: 1fr;
  }

  .explorers-roster {
    gap: var(--space-md);
  }

  .explorer-avatar {
    width: 80px;
    height: 80px;
  }

  .personalization-grid {
    grid-template-columns: 1fr;
  }

  .ai-quests-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-input-group {
    flex-direction: column;
  }

  .waitlist-input,
  .waitlist-button {
    width: 100%;
  }

  .cta-section {
    margin: 0 var(--space-md);
    padding: var(--space-2xl) var(--space-md);
  }

  .cta-section h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .footer-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .footer-meta span:nth-child(2) {
    display: none;
  }

  .legal-content h1 {
    font-size: 26px;
    line-height: 34px;
  }
}
