/* =========================================================
   Binance Careers · Landing Page
   ========================================================= */

:root {
  --bg: #181a20;
  --bg-elev: #1e2329;
  --card: #2b3139;
  --card-2: #20262e;
  --border: #2b3139;
  --border-strong: #474d57;
  --text: #ffffff;
  --text-2: #b7bdc6;
  --text-3: #848e9c;
  --brand: #f0b90b;
  --brand-hover: #fcd535;
  --brand-ink: #181a20;
  --success: #0ecb81;
  --danger: #f6465d;
  --node-line: rgba(240, 185, 11, 0.35);

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px #f0b90b, 0 12px 36px rgba(240, 185, 11, 0.22);
  --shadow-pop: 0 24px 60px rgba(0, 0, 0, 0.55);

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 8px;
  --radius-modal: 16px;

  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg: #fafafa;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --card-2: #f4f5f7;
  --border: #eaecef;
  --border-strong: #cfd4d9;
  --text: #1e2329;
  --text-2: #474d57;
  --text-3: #76808f;
  --shadow-card: 0 8px 24px rgba(20, 30, 50, 0.06);
  --shadow-pop: 0 24px 60px rgba(20, 30, 50, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "IBM Plex Sans", "PingFang SC", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease),
    color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 6px 18px rgba(240, 185, 11, 0.18);
}
.btn--primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240, 185, 11, 0.35);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ==================== Navigation ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand { color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 30px; width: 30px; object-fit: contain; display: block; }
.brand__text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text);
  line-height: 1;
}
.nav__links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.nav__links a {
  position: relative;
  padding: 6px 2px;
  transition: color 180ms var(--ease);
}
.nav__links a:hover { color: var(--brand); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__cta { display: inline-flex; }

/* Segmented language switch */
.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.seg__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
  letter-spacing: .3px;
}
.seg__btn.is-active {
  background: var(--brand);
  color: var(--brand-ink);
}
.seg__btn:hover:not(.is-active) { color: var(--text); }

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-2);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
    transform 180ms var(--ease);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(240, 185, 11, 0.18), transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(14, 203, 129, 0.10), transparent 60%),
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 75%);
  opacity: .55;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  animation: float 14s ease-in-out infinite;
}
.orb--1 {
  width: 360px; height: 360px;
  background: #f0b90b;
  top: -120px; right: -80px;
}
.orb--2 {
  width: 280px; height: 280px;
  background: #0ecb81;
  bottom: -120px; left: -60px;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -24px, 0); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 0%, transparent); }
}

.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero__stats {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 560px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--card) 80%, transparent);
}
.hero__stats strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.hero__stats strong span { color: var(--brand); }
.hero__stats li span:last-child {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* Hero node stage */
.hero__visual { position: relative; }
.node-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.node-stage__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.node {
  position: absolute;
  transform: translate(-50%, -50%);
}
.node--core {
  top: 50%; left: 50%;
  width: 96px; height: 96px;
  display: grid; place-items: center;
}
.node__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
  animation: ring 3.2s var(--ease) infinite;
}
.node__ring::after {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, transparent);
  animation: spin 14s linear infinite;
}
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.25); }
  50%      { box-shadow: 0 0 0 14px rgba(240, 185, 11, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.node__core {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #fcd535, #f0b90b 60%, #b58805 100%);
  color: #181a20;
  box-shadow: 0 10px 30px rgba(240, 185, 11, 0.45), inset 0 -2px 4px rgba(0,0,0,.2);
}

.node__dot {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: var(--shadow-card);
}
.node__dot--usdt {
  color: #073a24;
  background: linear-gradient(180deg, #0ecb81, #0aa56a);
  border-color: #0ecb81;
}
.node__dot--remote { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.node--n1 { top: 12%; left: 50%; }
.node--n2 { top: 30%; left: 86%; }
.node--n3 { top: 72%; left: 86%; }
.node--n4 { top: 88%; left: 50%; }
.node--n5 { top: 72%; left: 14%; }
.node--n6 { top: 30%; left: 14%; }

.ticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 85%, transparent);
  border: 1px solid var(--border);
  font-size: 12px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}
.ticker__label { color: var(--text-3); }
.ticker__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker__val.up { color: var(--success); }
.ticker--tl { top: 2%; left: -4%; }
.ticker--br { bottom: 2%; right: -4%; }

/* ==================== Section base ==================== */
.section { padding: 88px 0; position: relative; }
.section--story { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 4%, transparent)); }
.section__head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section__head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section__head p {
  color: var(--text-2);
  margin: 0;
  font-size: 16px;
}

/* ==================== Video ==================== */
.video-shell {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow-pop);
}
.video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #000;
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #181a20;
  background: var(--brand);
  display: grid;
  place-items: center;
  padding-left: 4px;
  box-shadow: 0 0 0 8px rgba(240, 185, 11, 0.18), 0 12px 40px rgba(240, 185, 11, .45);
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), opacity 200ms var(--ease);
}
.video-play:hover { background: var(--brand-hover); transform: translate(-50%, -50%) scale(1.05); }
.video-play.is-hidden { opacity: 0; pointer-events: none; }
.video-play__ring {
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(240, 185, 11, .4);
  animation: ring 2.8s var(--ease) infinite;
}
.video.is-playing ~ .video-play { opacity: 0; pointer-events: none; }

.video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.65));
  position: absolute;
  left: 0; right: 0; bottom: 0;
  color: #fff;
}
.video-bar__title { font-size: 13px; font-weight: 600; }
.video-bar__controls { display: flex; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 180ms var(--ease);
}
.chip:hover { background: rgba(255, 255, 255, .2); }
.chip--live { cursor: default; background: rgba(14, 203, 129, .18); border-color: rgba(14,203,129,.4); }
.chip--live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse 1.8s var(--ease) infinite;
}

.quote {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
}
.quote p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}
.quote footer {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text-3);
  font-size: 14px;
}
.quote footer span:first-child { color: var(--brand); font-weight: 700; }

/* ==================== Cards / Benefits ==================== */
.cards {
  display: grid;
  gap: 20px;
}
.cards--benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}
.benefit {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.benefit:hover,
.benefit:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
  outline: none;
}
.benefit__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--brand-ink);
  margin-bottom: 4px;
}
.benefit__icon--1 { background: linear-gradient(135deg, #f0b90b, #fcd535); }
.benefit__icon--2 { background: linear-gradient(135deg, #0ecb81, #13d489); color: #073a24; }
.benefit__icon--3 { background: linear-gradient(135deg, #f6465d, #ff7a8a); }
.benefit__icon--4 { background: linear-gradient(135deg, #f0b90b, #ffe169); }
.benefit__icon--5 { background: linear-gradient(135deg, #fcd535, #f6465d); }

.benefit h3 {
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.01em;
}
.benefit p {
  color: var(--text-2);
  margin: 0;
  font-size: 14px;
}
.card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.benefit--cta {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(240, 185, 11, .18), transparent 60%),
    var(--card);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
  cursor: default;
}
.benefit--cta:hover { transform: none; box-shadow: var(--shadow-card); }
.benefit__badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  text-transform: uppercase;
}

/* ==================== Tags ==================== */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  border: 1px solid transparent;
}
.tag--neutral {
  background: color-mix(in srgb, var(--text-3) 22%, transparent);
  color: var(--text-2);
}
.tag--danger {
  background: color-mix(in srgb, var(--danger) 15%, transparent);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 45%, transparent);
}
.tag--warn {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
}
.tag--brand {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
}

/* ==================== Roles ==================== */
.roles { display: grid; gap: 16px; }
.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}
.role:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
  box-shadow: var(--shadow-glow);
}
.role__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.role__head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.role__desc {
  color: var(--text-2);
  margin: 0 0 10px;
  font-size: 14px;
}
.role__meta {
  color: var(--text-3);
  font-size: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.role__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 240px;
}
.salary { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.salary__num {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.salary__unit {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.salary__extra {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* ==================== Footer CTA ==================== */
.footer-cta {
  padding: 56px 0 72px;
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: 20px;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(240, 185, 11, .25), transparent 60%),
    linear-gradient(135deg, #1c1f26, #0f1117);
  border: 1px solid var(--border);
}
[data-theme="light"] .footer-cta__inner {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(240, 185, 11, .25), transparent 60%),
    linear-gradient(135deg, #ffffff, #f4f5f7);
}
.footer-cta h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
}
.footer-cta p { margin: 0; color: var(--text-2); }

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--text-3);
  font-size: 13px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 18px; }
.footer__links a:hover { color: var(--brand); }

/* ==================== Modal ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.is-open { display: block; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 220ms var(--ease);
}
.modal__panel {
  position: relative;
  max-width: 480px;
  width: calc(100% - 32px);
  margin: 8vh auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-modal);
  padding: 28px;
  box-shadow: var(--shadow-pop);
  animation: pop-in 240ms var(--ease);
}
.modal__panel--form { max-width: 520px; }
.modal__panel--center { text-align: center; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: grid; place-items: center;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.modal__close:hover { color: var(--danger); border-color: var(--danger); }
.modal__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.modal__panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.modal__panel p {
  margin: 0 0 14px;
  color: var(--text-2);
}
.modal__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}
.modal__bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 14px;
}
.modal__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.muted { color: var(--text-3); font-size: 13px; }
.muted strong { color: var(--text); font-weight: 600; }

/* Form fields */
.field {
  display: block;
  margin-bottom: 14px;
}
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-input);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.field input::placeholder { color: var(--text-3); }
.field input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text-3);
  margin: 4px 0 18px;
  cursor: pointer;
}
.check input { margin-top: 3px; accent-color: var(--brand); }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 10px;
}

/* Submit button with spinner/success */
#submitBtn { position: relative; }
.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(24, 26, 32, .25);
  border-top-color: var(--brand-ink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
#submitBtn.is-loading .btn__label { opacity: .6; }
#submitBtn.is-loading .btn__spinner { display: inline-block; }
#submitBtn.is-success {
  background: var(--success);
  color: #04231a;
  pointer-events: none;
}
#submitBtn.is-success .btn__label { gap: 6px; }

.success-check {
  display: grid;
  place-items: center;
  margin: 4px auto 14px;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 15%, transparent);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==================== Loader ==================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(8, 9, 12, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.loader.is-open { display: grid; animation: fade-in 220ms var(--ease); }
.loader__card {
  width: min(420px, calc(100% - 40px));
  text-align: center;
  padding: 28px;
  background: linear-gradient(180deg, #1f242c, #15181f);
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--border));
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(240, 185, 11, .18);
}
.loader__stage {
  height: 120px;
  margin-bottom: 14px;
}
.loader__lines { width: 100%; height: 100%; }
.loader__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  min-height: 20px;
  letter-spacing: .2px;
}
.loader__bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--success));
  transition: width 120ms linear;
}
.loader__percent {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ==================== Responsive ==================== */
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .cards--benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role { grid-template-columns: 1fr; padding: 20px; }
  .role__aside { align-items: flex-start; }
  .salary { text-align: left; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .cards--benefits { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .nav__cta { display: none; }
  .footer-cta__inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .modal__panel { padding: 24px 20px; margin-top: 6vh; }
  .video-play { width: 64px; height: 64px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
