/* CareerGo · lend1 · brandbook-driven design system
 * Palette: brandbook palette p.6 (Green/Teal/Ink/Graphite/Mist/Grey)
 * Type: Manrope (body/headings) + Inconsolata (mono labels) from brandbook p.7
 * Tone: спокойно, уверенно, по делу (brandbook p.8)
 */
:root {
  /* === brand palette === */
  --green:     #24906C;   /* CareerGo Green — primary accent, «Go», CTA */
  --green-700: #1F7C5C;
  --green-800: #195F47;
  --teal:      #2C9C97;   /* secondary, top of gradient */
  --teal-700:  #258480;

  --ink:       #111111;   /* primary text «Career», headings */
  --ink-700:   #2A2A2A;
  --ink-500:   #5A5A5A;
  --ink-400:   #7A7A7A;
  --grey:      #9A9A9A;   /* descriptor, captions */
  --grey-300:  #D5D5D5;
  --grey-200:  #E4E4E4;

  --graphite:  #0E1714;   /* parade-page dark bg */
  --graphite-700: #14201C;
  --mist:      #F4F6F5;   /* light surface, plates */
  --white:     #FFFFFF;

  /* gradient — only on key brand accents (logo, key headings) */
  --gradient-brand: linear-gradient(135deg, #2C9C97 0%, #24906C 100%);

  /* layout */
  --max-w: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);

  /* type scale */
  --fs-mono: 11px;
  --fs-body: 16px;
  --fs-lead: clamp(17px, 1.6vw, 20px);
  --fs-h3:   clamp(22px, 2.4vw, 30px);
  --fs-h2:   clamp(30px, 3.6vw, 48px);
  --fs-h1:   clamp(40px, 5vw, 68px);

  /* shadows */
  --shadow-soft: 0 1px 2px rgba(14, 23, 20, 0.04), 0 8px 24px rgba(14, 23, 20, 0.06);
  --shadow-deep: 0 4px 12px rgba(14, 23, 20, 0.08), 0 24px 48px rgba(14, 23, 20, 0.12);
}

/* === reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* === typography === */
h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; }
h4 { font-size: 18px;        font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

.mono {
  font-family: 'Inconsolata', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--grey);
}

/* gradient text — для «Go» в логотипе и hero-акцента */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section   { padding-block: clamp(72px, 9vw, 128px); }
.section-dark { background: var(--graphite); color: rgba(255,255,255,0.78); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .mono { color: rgba(255,255,255,0.5); }
.section-mist { background: var(--mist); }

/* zone label — eyebrow */
.zone-label {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.zone-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.section-dark .zone-label { color: var(--teal); }
.section-dark .zone-label::before { background: var(--teal); }

/* === buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  min-height: 48px;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(36, 144, 108, 0.2), 0 6px 18px rgba(36, 144, 108, 0.18);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--grey-300);
}
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-ghost,
.hero .btn-ghost,
.footer-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.footer-cta .btn-ghost:hover { border-color: #fff; }
.btn-arrow::after { content: '→'; font-weight: 500; }

/* === navbar === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 23, 20, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { display: inline-flex; align-items: center; gap: 0; color: #fff; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.nav-logo .gw { color: #fff; }
.nav-logo .gn { color: var(--green); font-style: italic; font-weight: 700; }
.nav-logo .bar {
  display: block; height: 2px; background: var(--green);
  width: 100%; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 160ms ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 18px; font-size: 14px; min-height: 40px; }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === hero === */
.hero {
  position: relative;
  background: var(--graphite);
  color: #fff;
  padding-top: clamp(140px, 18vw, 180px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero::before {
  /* tonal radial — лёгкое свечение по центру верха, как в брендбук-обложке */
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 50% 0%, rgba(44,156,151,0.18), transparent 60%),
              radial-gradient(80% 50% at 80% 100%, rgba(36,144,108,0.16), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(44,156,151,0.12);
  border: 1px solid rgba(44,156,151,0.3);
  border-radius: 100px;
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(36,144,108,0.25);
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero-sub {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  line-height: 1.5;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: 22px 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .check {
  display: inline-block; width: 16px; height: 16px;
  border-radius: 50%; background: var(--green);
  color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 700;
}

/* progress-bar line — реминисценция логотипа («линия загрузки») */
.brand-bar {
  display: block;
  height: 2px;
  background: var(--green);
  width: 56px;
  margin-bottom: 22px;
}

/* === pain section === */
.pain-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
}
.pain {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--grey-300); }
.pain-num {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.pain h4 { margin-bottom: 8px; color: var(--ink); font-size: 17px; }
.pain p { color: var(--ink-500); font-size: 14px; line-height: 1.55; margin: 0; }

/* === how-it-works (3 шага) === */
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Inconsolata', monospace;
  font-size: 36px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  min-width: 64px;
  letter-spacing: -0.02em;
}
.step-body h3 { color: #fff; margin-bottom: 10px; font-size: 22px; }
.step-body p { color: rgba(255,255,255,0.62); font-size: 15px; margin: 0; max-width: 720px; }
.step-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
}
.step-tags span {
  font-family: 'Inconsolata', monospace;
  font-size: 10.5px;
  padding: 4px 10px;
  background: rgba(44,156,151,0.12);
  color: var(--teal);
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* === features 2-col === */
.feature-2col {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .feature-2col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature-2col.reverse > div:first-child { order: 2; }
}
.feature-text h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.feature-text p { font-size: 16px; color: var(--ink-500); margin-bottom: 12px; line-height: 1.6; }
.feature-text .stat {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
}
.feature-text .stat-cap {
  font-family: 'Inconsolata', monospace;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feature-visual {
  background: var(--mist);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual.dark {
  background: var(--graphite);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
}

/* score badge — для семантики */
.score-mock {
  display: flex; flex-direction: column; gap: 16px;
  width: 100%;
  max-width: 360px;
}
.score-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--grey-200);
}
.score-row.featured {
  border: 2px solid var(--green);
  box-shadow: 0 6px 18px rgba(36,144,108,0.15);
}
.score-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.score-sub  { font-size: 12px; color: var(--grey); margin-top: 2px; }
.score-num  {
  font-family: 'Inconsolata', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}
.score-num.low { color: var(--grey); }

/* === pricing === */
.price-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}
@media (min-width: 1100px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.price-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.price-card.featured {
  background: var(--graphite);
  color: rgba(255,255,255,0.85);
  border: none;
  transform: scale(1.02);
}
.price-card.featured:hover { box-shadow: var(--shadow-deep); }
.price-tag {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}
.price-h {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.price-card.featured .price-h { color: #fff; }
.price-amount {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.1;
}
.price-card.featured .price-amount { color: var(--green); }
.price-card.featured .price-amount .gold { color: var(--green); }
.price-amount .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-500);
  letter-spacing: 0;
  margin-left: 2px;
}
.price-card.featured .price-amount .unit { color: rgba(255,255,255,0.5); }
.price-deal {
  font-family: 'Inconsolata', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
  margin-bottom: 16px;
  min-height: 28px;
}
.price-card.featured .price-deal { color: var(--teal); }
.price-sub {
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.55;
  margin-bottom: 20px;
}
.price-card.featured .price-sub { color: rgba(255,255,255,0.6); }
.price-features {
  list-style: none; padding: 0; margin: 0 0 auto;
  display: flex; flex-direction: column; gap: 9px;
}
.price-features li {
  font-size: 13px;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.8); }
.price-features li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
.price-badge {
  position: absolute;
  top: -10px; left: 22px;
  background: var(--green);
  color: #fff;
  font-family: 'Inconsolata', monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 4px;
}

/* === Footer CTA — большой финальный блок === */
.footer-cta {
  background: var(--graphite);
  padding: clamp(96px, 14vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 50%, rgba(44,156,151,0.16), transparent 60%);
  pointer-events: none;
}
.footer-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x); }
.footer-cta h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.footer-cta h2 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.footer-cta p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-lead);
  margin-bottom: 36px;
}
.footer-cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* === footer === */
.footer {
  background: #050A09;
  color: rgba(255,255,255,0.5);
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .logo-wm {
  display: inline-flex; align-items: baseline;
  color: #fff; font-weight: 700; font-size: 22px; letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.footer-brand .logo-wm .gn { color: var(--green); font-style: italic; }
.footer-brand p { font-size: 13px; line-height: 1.55; max-width: 320px; margin-top: 12px; }
.footer-col h5 {
  font-family: 'Inconsolata', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding: 6px 0;
  transition: color 160ms ease;
}
.footer-col a:hover { color: #fff; }
.footer-disclaimer {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; line-height: 1.55;
  color: rgba(255,255,255,0.35);
}

/* === fade-in on scroll === */
.fade-init { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-in { opacity: 1; transform: none; }

/* === mobile tightening === */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-trust { gap: 12px; font-size: 12px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .step-num { font-size: 28px; min-width: auto; }
  .pain { padding: 22px 20px; }
  .price-card { padding: 24px 20px; }
  .feature-text .stat { font-size: clamp(48px, 14vw, 64px); }
  .feature-visual { padding: 24px; min-height: 220px; }
}
