/* ==========================================
   CertStack — Landing Page Styles
   ========================================== */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --emerald: #10b981;
  --emerald-dark: #059669;
  --amber: #f59e0b;
  --amber-light: #fde68a;
  --white: #ffffff;
  --off-white: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --text-primary: #0F172A;
  --text-muted: #64748b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
  --shadow-lg: 0 20px 48px rgba(15,23,42,0.12), 0 8px 24px rgba(15,23,42,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
}
.nav-link--cta {
  background: #10b981;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.nav-link--cta:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* ── Section base ── */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 64px;
  background: var(--off-white);
  border-bottom: 1px solid var(--slate-200);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 0;
}
.hero-stat:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 120px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
  margin: 0 24px;
}

/* Roadmap Card */
.roadmap-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.roadmap-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.roadmap-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--emerald);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.track-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.track-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.done-icon { background: var(--emerald); }
.active-icon { background: var(--navy); }
.next-icon { background: var(--slate-200); }
.next-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}
.track-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.track-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.track-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.track-duration {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-400);
  flex-shrink: 0;
}
.track-connector {
  width: 2px;
  height: 12px;
  background: var(--slate-200);
  margin-left: 15px;
}
.roadmap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}
.mini-bar-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mini-progress-bar {
  width: 140px;
  height: 4px;
  background: var(--slate-200);
  border-radius: 4px;
  overflow: hidden;
}
.mini-progress-fill {
  height: 100%;
  background: var(--emerald);
  border-radius: 4px;
}
.roadmap-footer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Proof Bar ── */
.proofbar {
  padding: 24px 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.proofbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proofbar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.proofbar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.proof-tag {
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--slate-200);
}

/* ── Roadmap Comparison ── */
.roadmap-section {
  padding: 96px 0;
  background: var(--white);
}
.roadmap-header {
  margin-bottom: 56px;
}
.roadmap-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.comp-col { padding: 32px; }
.comp-left { border: 1px solid var(--slate-200); border-radius: var(--radius-lg); }
.comp-right { border: 2px solid var(--emerald); border-radius: var(--radius-lg); background: rgba(16,185,129,0.03); }
.comp-header { margin-bottom: 24px; }
.comp-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  padding: 4px 12px;
  background: var(--slate-100);
  border-radius: 100px;
}
.green-label {
  background: var(--emerald);
  color: white;
}
.comp-divider {
  width: 1px;
  background: var(--slate-200);
  margin: 32px 32px 0;
  align-self: stretch;
}
.comp-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.comp-item.good-item { color: var(--navy); }
.comp-item.bad-item { color: var(--slate-600); }
.comp-check, .comp-x { flex-shrink: 0; margin-top: 1px; }

/* ── Companion Section ── */
.companion-section {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.companion-header { margin-bottom: 48px; }
.companion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.companion-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.companion-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.companion-card-accent {
  background: var(--navy);
  border-color: var(--navy);
}
.companion-icon {
  width: 48px;
  height: 48px;
  background: rgba(16,185,129,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.companion-card-accent .companion-icon { background: rgba(255,255,255,0.1); }
.companion-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.companion-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 14px;
}
.companion-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  font-style: italic;
}
.companion-card-accent .companion-detail {
  color: rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,0.1);
}

/* ── Journey ── */
.journey-section {
  padding: 96px 0;
  background: var(--white);
}
.journey-header { margin-bottom: 56px; }
.journey-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--emerald);
  line-height: 1;
  opacity: 0.4;
  flex-shrink: 0;
}
.step-body { padding-top: 4px; }
.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.journey-arrow {
  flex-shrink: 0;
  margin: 0 12px;
  align-self: center;
  padding-top: 20px;
}

/* ── Outcomes ── */
.outcomes-section {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.outcomes-header { margin-bottom: 48px; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.outcome-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.outcome-card-green {
  border-color: var(--emerald);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(16,185,129,0.12);
}
.outcome-cert-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--navy);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.outcome-roles {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 16px;
  line-height: 1.5;
}
.outcome-salary {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}
.salary-range {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.salary-sep {
  color: var(--slate-400);
  font-size: 1.1rem;
}
.outcome-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}
.outcomes-note {
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-top: 20px;
}

/* ── Closing ── */
.closing-section {
  padding: 100px 0;
  background: var(--navy);
}
.closing-inner { text-align: center; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 8px; }
  .hero-stat-divider { margin: 0 16px; }
  .section-inner, .hero-inner { padding: 0 24px; }
  .roadmap-comparison { grid-template-columns: 1fr; }
  .comp-divider { display: none; }
  .companion-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .journey-steps { flex-direction: column; gap: 24px; align-items: stretch; }
  .journey-arrow { transform: rotate(90deg); padding: 0; }
}
@media (max-width: 640px) {
  .hero-headline { font-size: 2.2rem; }
  .companion-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .stat-number { font-size: 1.4rem; }
  .proofbar-inner { flex-direction: column; align-items: flex-start; }
}