/* === BASE === */
:root {
  --slate: #1a2744;
  --slate-mid: #2a3a5a;
  --amber: #e8a838;
  --amber-light: #f5d58a;
  --amber-dim: rgba(232, 168, 56, 0.12);
  --cream: #faf7f2;
  --cream-dark: #f0ebe1;
  --text: #1a2744;
  --text-mid: #3d4f6a;
  --text-light: #6b7a92;
  --border: #e2ddd5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--slate);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,39,68,0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--slate);
  margin-bottom: 32px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-tag {
  display: inline-block;
  padding: 7px 16px;
  background: var(--amber-dim);
  border: 1px solid rgba(232,168,56,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}

/* === STATS === */
.stats {
  background: var(--slate);
  padding: 0 32px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.stat {
  flex: 1;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  max-width: 200px;
}

/* === FEATURE SECTIONS === */
.feature-section {
  padding: 100px 32px;
}

.passport-section { background: var(--cream); }
.coach-section { background: var(--cream-dark); }
.income-section { background: var(--cream); }
.reentry-section { background: var(--cream-dark); }

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-inner.reverse {
  direction: rtl;
}

.feature-inner.reverse > * {
  direction: ltr;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.feature-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.feature-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.feature-body:last-child { margin-bottom: 0; }

/* === PASSPORT CARD === */
.passport-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 40px rgba(26,39,68,0.08), 0 2px 8px rgba(26,39,68,0.04);
}

.passport-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.passport-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--slate);
}

.passport-id {
  font-size: 11px;
  color: var(--text-light);
  font-family: monospace;
}

.passport-status {
  margin-left: auto;
  background: #d4edda;
  color: #1a5c32;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.passport-progress {
  margin-bottom: 20px;
}

.passport-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.passport-pct {
  font-weight: 600;
  color: var(--slate);
}

.passport-bar {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 100px;
  overflow: hidden;
}

.passport-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-light) 100%);
  border-radius: 100px;
}

.passport-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.passport-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.passport-item.done { color: var(--text-mid); }
.passport-item.active { color: var(--slate); font-weight: 500; }

.check-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.passport-item.done .check-icon { background: var(--amber-dim); }
.passport-item.active .check-icon { background: var(--amber); }
.active-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; margin: auto; }
.empty { border: 1.5px solid var(--border); }

/* === COACH INTERFACE === */
.coach-interface {
  background: var(--slate);
  border-radius: 16px;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(26,39,68,0.3);
}

.coach-topbar {
  background: var(--slate-mid);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coach-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.coach-badge {
  background: rgba(232,168,56,0.2);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

.coach-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coach-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.coach-incoming { align-self: flex-start; }
.coach-outgoing { align-self: flex-end; text-align: right; }

.coach-incoming p, .coach-outgoing p {
  background: var(--slate-mid);
  color: rgba(255,255,255,0.9);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.coach-incoming.highlight p {
  border: 1px solid rgba(232,168,56,0.3);
  background: #1f2d4a;
}

.coach-outgoing p {
  background: var(--amber);
  color: var(--slate);
}

.coach-time {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  padding: 0 4px;
}

.coach-input {
  margin: 0 20px 20px;
  padding: 12px 16px;
  background: var(--slate-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.1);
}

.coach-input-text {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* === INCOME CARD === */
.income-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 40px rgba(26,39,68,0.08);
}

.income-header {
  background: var(--slate);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.income-label { font-size: 13px; font-weight: 600; color: white; }

.income-score {
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  background: rgba(232,168,56,0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

.income-jobs {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.income-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-info { display: flex; flex-direction: column; gap: 4px; }

.job-title { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.3; }

.job-meta { font-size: 11px; color: var(--text-light); }

.job-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.job-badge.done { background: #d4edda; color: #1a5c32; }
.job-badge.active { background: var(--amber-dim); color: #8a6200; }

.income-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.balance-label { font-size: 12px; color: var(--text-light); }
.balance-amount { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--slate); }
.income-withdraw { font-size: 13px; font-weight: 500; color: var(--amber); }

/* === MINDBRIDGE === */
.mindbridge-section {
  padding: 100px 32px;
  background: var(--slate);
}

.mindbridge-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mindbridge-text { display: flex; flex-direction: column; }

.mindbridge-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.mindbridge-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.mindbridge-body:last-child { margin-bottom: 0; }

/* Map */
.map-container {
  background: #121c33;
  border-radius: 16px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.map-row {
  display: flex;
  gap: 4px;
}

.map-cell {
  flex: 1;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-cell.highlighted {
  background: rgba(232,168,56,0.08);
  border: 1px solid rgba(232,168,56,0.2);
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.map-pin { display: flex; align-items: center; }

.map-label {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  display: block;
  line-height: 1.2;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.route-line {
  width: 16px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  opacity: 0.5;
}

/* === REENTRY CARD === */
.reentry-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 40px rgba(26,39,68,0.08);
}

.reentry-header {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-mid) 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reentry-label { font-size: 13px; font-weight: 600; color: white; }

.reentry-phase {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.reentry-steps {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 10px;
  transition: background 0.2s;
}

.rs-item.done, .rs-item.active { background: var(--cream-dark); }

.rs-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-item.done .rs-num { background: var(--amber-dim); color: var(--slate); }
.rs-item.active .rs-num { background: var(--amber); color: var(--slate); }

.rs-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.rs-title { font-size: 13px; font-weight: 600; color: var(--text); }
.rs-desc { font-size: 11px; color: var(--text-light); line-height: 1.4; }

.rs-progress-ring { display: flex; align-items: center; }

/* === VALUES === */
.values-section {
  padding: 100px 32px;
  background: var(--cream);
}

.values-inner { max-width: 1200px; margin: 0 auto; }

.values-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.value-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--amber-dim);
  line-height: 1;
}

.value-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}

.value-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* === CLOSING === */
.closing-section {
  padding: 120px 32px;
  background: var(--slate);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.closing-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,56,0.06) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.closing-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.closing-body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.closing-body:last-of-type { margin-bottom: 32px; }

.closing-vision {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--amber-light);
  line-height: 1.6;
}

/* === FOOTER === */
.site-footer {
  background: #0f1a2e;
  padding: 64px 32px 40px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  color: white;
  display: block;
  margin-bottom: 16px;
}

.footer-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-col p { font-size: 14px; color: rgba(255,255,255,0.55); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-inner.reverse { direction: ltr; }
  .mindbridge-inner { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat-divider { width: 100%; height: 1px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 15px; }
  .stats { padding: 0 20px; }
  .stat-number { font-size: 32px; }
  .feature-section, .mindbridge-section, .values-section, .closing-section { padding: 64px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .passport-card, .coach-interface, .income-card, .reentry-card { max-width: 100%; }
  .map-container { padding: 16px; }
}