/* ═══════════════════════════════════════════════════
   SKILLCHAIN — Landing Page  (index_new.css)
   Theme: Dark bg · Orange accent · Syne display font
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────── */
:root {
  --dark-bg:        #1a1108;
  --dark-hero:      #1c1208;
  --dark-card:      #231609;
  --dark-border:    rgba(255,255,255,0.08);
  --dark-border-h:  rgba(255,255,255,0.14);

  --light-bg:       #f5f2ee;
  --light-card:     #ffffff;
  --light-border:   #e8e2d9;
  --light-text:     #1a1108;
  --light-muted:    #7a7060;

  --orange:         #e85c00;
  --orange-dark:    #c44e00;
  --orange-light:   rgba(232,92,0,0.12);
  --orange-glow:    rgba(232,92,0,0.22);

  --text:           #f5ede0;
  --text-muted:     #9a8a76;
  --text-dim:       #5a4e40;

  --font-display:   'Syne', system-ui, sans-serif;
  --font-body:      'Inter', system-ui, sans-serif;

  --radius-s:  6px;
  --radius-m:  10px;
  --radius-l:  16px;
  --radius-xl: 24px;

  --transition: 0.18s ease;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  background: var(--dark-bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-m);
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn--orange       { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,92,0,.35); }

.btn--ghost        { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover  { background: rgba(255,255,255,0.06); border-color: var(--orange); color: #fff; }

.btn--sm  { padding: 0.42rem 0.9rem; font-size: 0.85rem; border-radius: var(--radius-s); }
.btn--lg  { padding: 0.85rem 1.9rem; font-size: 1rem; }
.btn--full{ width: 100%; }

/* ── Nav ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  color: var(--text); letter-spacing: -0.01em;
}
.nav-logo__icon { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }

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

.nav-link {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-s);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-hero);
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 6rem;
}

.hero__glow {
  position: absolute; top: -100px; right: -60px;
  width: 580px; height: 580px; border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.04);
}
.hero__badge svg { color: var(--orange); flex-shrink: 0; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  color: var(--orange);
  font-style: italic;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ── Stats Bar ──────────────────────────────────── */
.stats-bar {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 2.25rem 2rem;
}

.stats-bar__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item__val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item__lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-border);
  flex-shrink: 0;
}

/* ── Section base ───────────────────────────────── */
.section-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--light-text);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-title--light { color: var(--text); }

.section-sub {
  font-size: 0.975rem;
  color: var(--light-muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

/* ── Feature / How section (light bg) ──────────── */
.how-section {
  background: var(--light-bg);
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-l);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.feature-card__num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: rgba(232,92,0,0.12);
  line-height: 1;
}

.feature-card__icon { font-size: 2rem; margin-bottom: 1rem; }

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--light-text);
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--light-muted);
  line-height: 1.65;
}

/* ── Steps section (dark bg) ────────────────────── */
.steps-section {
  background: var(--dark-bg);
  padding: 6rem 0;
  border-top: 1px solid var(--dark-border);
}

.steps-ol {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.steps-ol__item {
  display: flex;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--dark-border);
  transition: border-color var(--transition);
}

.steps-ol__item:last-child { border-bottom: none; }

.steps-ol__item:hover { border-color: var(--dark-border-h); }

.steps-ol__num {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800;
  color: var(--orange);
  min-width: 2.8rem;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.steps-ol__body strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
  font-size: 0.975rem;
}

.steps-ol__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA Section ────────────────────────────────── */
.cta-section {
  background: var(--dark-hero);
  padding: 7rem 0;
  border-top: 1px solid var(--dark-border);
  overflow: hidden;
}

.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section__glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.cta-section__sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.25rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #110d05;
  border-top: 1px solid var(--dark-border);
  padding: 1.75rem 2rem;
}

.footer__inner {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__logo { font-size: 0.95rem; }

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer__copy strong { color: var(--text-muted); font-weight: 600; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .nav        { padding: 0 1rem; }
  .hero       { padding: 4rem 1.25rem 5rem; min-height: 75vh; }

  .stats-bar__inner { gap: 0.5rem; }
  .stat-divider     { display: none; }
  .stat-item        { flex: 1; min-width: 90px; }

  .how-section,
  .steps-section,
  .cta-section { padding: 4rem 0; }

  .section-inner { padding: 0 1.25rem; }

  .features-grid { grid-template-columns: 1fr; }

  .steps-ol__item { gap: 1.1rem; padding: 1.35rem 0; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
}

/* ── Entrance animations ─────────────────────────── */
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge   { animation: fadein-up 0.5s ease both; }
.hero__title   { animation: fadein-up 0.6s 0.1s ease both; }
.hero__sub     { animation: fadein-up 0.6s 0.2s ease both; }
.hero__actions { animation: fadein-up 0.6s 0.3s ease both; }
.stats-bar     { animation: fadein-up 0.6s 0.4s ease both; }