/* ============================================
   Vigil Tutela — Cohort Program Design Tokens
   ============================================ */
:root {
  --navy-950: #070c16;
  --navy-900: #0b1526;
  --navy-800: #121f38;
  --navy-700: #1a2c4d;
  --green-500: #1bc47d;
  --green-400: #3ddb96;
  --green-glow: rgba(27, 196, 125, 0.35);
  --paper: #f7f9fb;
  --paper-dim: #eef1f5;
  --ink: #0b1526;
  --ink-soft: #4a5568;
  --mist: #8b95a5;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(11, 21, 38, 0.1);

  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow / terminal-style label — signature motif */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green-500);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green-500);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--green-glow);
  animation: blink 1.6s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* Header */
.cohort-header {
  background: var(--navy-900);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.cohort-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cohort-header img { height: 30px; }
.cohort-header nav a {
  color: #cfd6e2;
  font-size: 14px;
  margin-left: 28px;
}
.cohort-header nav a:hover { color: var(--green-400); }

/* Hero */
.hero {
  background: radial-gradient(ellipse 90% 60% at 50% -10%, #142442 0%, var(--navy-950) 70%);
  color: #fff;
  padding: 88px 0 96px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 20px 0 18px;
  font-weight: 600;
}
.hero h1 span { color: var(--green-400); }
.hero p {
  color: #a9b3c4;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--green-500);
  color: var(--navy-950);
  box-shadow: 0 0 0 0 var(--green-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--green-glow); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-400); }
.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Section */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 14px 0 10px;
}
.section-head p { color: var(--ink-soft); max-width: 520px; margin: 0 auto; }

/* Pricing tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.tier-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(11,21,38,0.25); }
.tier-card.featured {
  border-color: var(--green-500);
  box-shadow: 0 0 0 1px var(--green-500);
}
.tier-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--green-500);
  color: var(--navy-950);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tier-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 14px;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.tier-price small { font-size: 0.9rem; color: var(--mist); font-weight: 500; }
.tier-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }
.tier-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier-features li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 8px 0;
  border-top: 1px solid var(--paper-dim);
}
.tier-features li:first-child { border-top: none; }
.tier-features li::before { content: "✓"; color: var(--green-500); font-weight: 700; }
.tier-card .btn { width: 100%; text-align: center; }

/* Auth / questionnaire panel */
.panel-page {
  min-height: 100vh;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}
.panel {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 40px 34px;
}
.panel-logo { height: 26px; margin-bottom: 28px; }

/* Progress bar */
.progress-track {
  height: 6px;
  background: var(--paper-dim);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 32px;
}
.progress-fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.q-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 6px;
}
.q-hint { color: var(--mist); font-size: 13px; margin-bottom: 24px; }

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-dim);
  background: #fff;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.15s ease;
}
.option-card .check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #cbd3df;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
}
.option-card.selected {
  border-color: var(--green-500);
  background: rgba(27, 196, 125, 0.06);
}
.option-card.selected .check {
  background: var(--green-500);
  border-color: var(--green-500);
  color: #fff;
}

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--paper-dim);
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
}

.form-error {
  background: #fdecec;
  color: #b3261e;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: none;
}
.form-note { text-align: center; font-size: 13px; color: var(--mist); margin-top: 18px; }
.form-note a { color: var(--green-500); font-weight: 600; }

/* Dashboard */
.dash-shell { background: var(--paper); min-height: 100vh; }
.dash-header {
  background: var(--navy-900);
  color: #fff;
  padding: 20px 0;
}
.dash-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.dash-user { font-size: 14px; color: #a9b3c4; }
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  padding: 26px;
}
.card h3 { font-family: var(--font-display); margin-top: 0; }
.status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.status-pending { background: #fff4e0; color: #9a6700; }
.status-paid { background: rgba(27,196,125,0.12); color: #128a55; }

footer.cohort-footer {
  background: var(--navy-950);
  color: #7c8aa0;
  text-align: center;
  padding: 30px 0;
  font-size: 13px;
}
