@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #F0F4FF;
  --dark: #0D1B4B;
  --forest: #1B2B6B;
  --sage: #6B82CC;
  --gold: #3D5AFE;
  --light-sage: #E0E8FF;
  --border: #C8D4F0;
  --text-muted: #3A4A7A;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px !important;
}

.nav-cta:hover { background: var(--dark) !important; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover { background: var(--dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover { background: var(--light-sage); }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: #b8994e; transform: translateY(-1px); }

/* HERO */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 2rem 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--light-sage);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--forest);
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: var(--forest);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* HERO VISUAL */
.hero-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 4px 40px rgba(45,74,62,0.08);
}

.hero-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.match-item:last-child { border-bottom: none; }

.match-pct {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--forest);
  min-width: 52px;
}

.match-title { font-size: 14px; font-weight: 500; }
.match-salary { font-size: 12px; color: var(--text-muted); }

.match-bar-bg { height: 4px; background: var(--light-sage); border-radius: 2px; margin-top: 6px; }
.match-bar-fill { height: 4px; background: var(--sage); border-radius: 2px; }

/* HOW IT WORKS */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 2rem;
}

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

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 56px;
}

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

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--light-sage);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.feature-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* TESTIMONIAL */
.testimonial-band {
  background: #1B2B6B;
  padding: 80px 2rem;
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--cream);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  font-size: 14px;
  color: #8BA3F0;
  font-weight: 500;
}

/* CTA BAND */
.cta-band {
  background: var(--dark);
  padding: 80px 2rem;
  text-align: center;
}

.cta-band h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-band p {
  font-size: 17px;
  color: var(--sage);
  margin-bottom: 36px;
}

/* FOOTER */
footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--forest);
  text-decoration: none;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--dark); }

.footer-copy { font-size: 13px; color: var(--text-muted); }

/* CAREER MATCHER PAGE */
.matcher-hero {
  background: #1B2B6B;
  padding: 80px 2rem 60px;
  text-align: center;
}

.matcher-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--cream);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.matcher-hero p {
  font-size: 17px;
  color: rgba(247,244,239,0.7);
  max-width: 520px;
  margin: 0 auto;
}

.matcher-container {
  max-width: 680px;
  margin: -32px auto 80px;
  padding: 0 2rem;
}

.matcher-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: 0 8px 48px rgba(45,74,62,0.1);
}

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--sage);
  background: var(--white);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.skill-tag {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  cursor: pointer;
  background: var(--cream);
  color: var(--text-muted);
  transition: all 0.15s;
  user-select: none;
}

.skill-tag.active {
  background: #E0E8FF;
  border-color: #3D5AFE;
  color: #1B2B6B;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--forest);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover { background: var(--dark); transform: translateY(-1px); }
.submit-btn:disabled { background: var(--sage); cursor: not-allowed; transform: none; }

/* RESULTS */
#results-section { display: none; }

.results-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.results-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 6px;
}

.results-header p { font-size: 14px; color: var(--text-muted); }

.result-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  background: var(--cream);
  transition: border-color 0.2s;
}

.result-card:hover { border-color: var(--sage); }

.result-card.top-match {
  border-color: #1B2B6B;
  background: #E0E8FF;
}

.result-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.result-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
}

.result-match-pct {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--forest);
  font-weight: normal;
}

.result-salary {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.result-bar-bg {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 14px;
}

.result-bar-fill {
  height: 5px;
  background: #3D5AFE;
  border-radius: 3px;
  transition: width 1s ease;
}

.result-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.tag-skill {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: #E0E8FF;
  color: #1B2B6B;
  font-weight: 500;
}

.tag-gap {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: #FEF3E2;
  color: #8B5E0A;
  font-weight: 500;
}

.result-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.top-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1B2B6B;
  color: #E0E8FF;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

/* LOCKED */
.locked-card {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
  background: var(--white);
}

.locked-card h3 { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; }
.locked-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* LOADING */
.loading-state {
  text-align: center;
  padding: 48px 0;
  display: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-state p { font-size: 15px; color: var(--text-muted); }

/* BLOG PAGE */
.blog-hero {
  padding: 80px 2rem 60px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.blog-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(45,74,62,0.1);
}

.blog-card-img {
  height: 180px;
  background: var(--light-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.blog-card-body { padding: 24px; }

.blog-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--dark);
}

.blog-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* GET STARTED PAGE */
.gs-page {
  max-width: 580px;
  margin: 0 auto;
  padding: 80px 2rem;
}

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

.gs-page h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.gs-page > p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.checklist-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}

.checklist-preview h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.checklist-item:last-child { border-bottom: none; }

.check-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--light-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}

.gs-form { display: flex; flex-direction: column; gap: 14px; }

.gs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.gs-submit {
  padding: 16px;
  background: var(--forest);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.gs-submit:hover { background: var(--dark); transform: translateY(-1px); }

.gs-fine {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

.success-state {
  text-align: center;
  padding: 48px 0;
  display: none;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--light-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.success-state h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.success-state p { font-size: 15px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gs-form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { gap: 20px; }
  .hero { padding: 60px 1.5rem 60px; }
}
