:root {
  color-scheme: dark;
  --bg: #03060a;
  --bg-soft: #071019;
  --panel: rgba(9, 17, 25, 0.76);
  --panel-strong: rgba(11, 22, 32, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-hot: rgba(134, 239, 75, 0.34);
  --text: #f5f8f2;
  --muted: #aeb8b0;
  --dim: #6f7a74;
  --green: #86ef4b;
  --green-deep: #3ca61e;
  --gold: #dcc890;
  --cyan: #59d6ff;
  --red: #ff5964;
  --blue: #4b8dff;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(89, 214, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 25% 62%, rgba(134, 239, 75, 0.09), transparent 32rem),
    linear-gradient(135deg, var(--bg), #06080d 45%, #061016);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), 1380px);
  margin: 0 auto;
  padding: 18px 0;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 8px -16px auto;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(3, 6, 10, 0.54);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.site-header.is-glass::before {
  opacity: 1;
  transform: translateY(0);
}

.brand,
.ghost-button,
.top-nav {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.58rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand span:last-child,
.mini-logo span {
  color: var(--green);
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav a {
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--green);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(134, 239, 75, 0.42);
  border-radius: 999px;
  background: rgba(3, 6, 10, 0.58);
  box-shadow: inset 0 0 20px rgba(134, 239, 75, 0.07), 0 16px 40px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ghost-button svg,
.close-button svg,
.contact-link svg {
  width: 18px;
  height: 18px;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  border-color: rgba(134, 239, 75, 0.84);
  box-shadow: inset 0 0 24px rgba(134, 239, 75, 0.13), 0 18px 46px rgba(40, 182, 54, 0.16);
  transform: translateY(-1px);
}

.snap-shell {
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.panel {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  isolation: isolate;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 239, 75, 0.34), rgba(89, 214, 255, 0.2), transparent);
}

.section-frame {
  width: min(calc(100% - 48px), 1320px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 104px 0 48px;
}

.hero-frame {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  align-items: start;
  gap: 34px;
  padding-top: 118px;
}

.market-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.hero-section {
  background:
    linear-gradient(90deg, rgba(3, 6, 10, 0.94), rgba(3, 6, 10, 0.68) 52%, rgba(4, 8, 12, 0.84)),
    radial-gradient(circle at 78% 42%, rgba(134, 239, 75, 0.2), transparent 24rem);
}

.hero-copy {
  max-width: 610px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy h1,
.section-title h2,
.referral-copy h2,
.modal-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 4.2rem;
  line-height: 0.98;
  font-weight: 900;
}

.hero-copy h1 span {
  color: var(--green);
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: #d3dad2;
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.terminal-panel,
.phone-mockup,
.job-card,
.reward-card {
  transform-style: preserve-3d;
}

.job-card,
.reward-card {
  will-change: transform;
}

.terminal-panel {
  position: absolute;
  top: 42px;
  right: 58px;
  width: min(620px, 88%);
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 18, 27, 0.94), rgba(5, 9, 14, 0.68)),
    linear-gradient(180deg, rgba(134, 239, 75, 0.08), transparent);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(134, 239, 75, 0.04);
  backdrop-filter: blur(20px);
  overflow: hidden;
  will-change: transform;
}

.terminal-head,
.price-line,
.salary-strip,
.reward-card,
.modal-actions,
.contact-link {
  display: flex;
  align-items: center;
}

.terminal-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.mini-logo {
  font-size: 1.15rem;
  font-weight: 850;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(134, 239, 75, 0.34);
  border-radius: 999px;
  color: var(--green);
  background: rgba(134, 239, 75, 0.06);
  font-size: 0.82rem;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(134, 239, 75, 0.52);
  animation: livePulse 1.7s ease-out infinite;
}

.market-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.market-tabs span,
.time-row span {
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  color: #d8dfd8;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.recommendation small {
  display: block;
  color: var(--green);
  font-size: 0.82rem;
}

.recommendation strong {
  display: block;
  margin: 10px 0 4px;
  color: #f9fbf8;
  font-weight: 700;
}

.price-line {
  justify-content: space-between;
  gap: 18px;
}

.price-line span {
  color: #f9fbf8;
  font-size: 1.48rem;
}

.price-line em {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: normal;
}

.price-line b {
  color: var(--green);
  font-size: 0.94rem;
}

.chart-wrap {
  margin: 22px 0;
}

.chart-wrap svg {
  display: block;
  width: 100%;
  aspect-ratio: 2.16;
  overflow: visible;
}

.chart-area {
  fill: url("#chartFill");
}

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 14px rgba(134, 239, 75, 0.44));
  stroke-dasharray: 770;
  stroke-dashoffset: 770;
  animation: drawChart 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.time-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.time-row span:first-child {
  border-color: rgba(134, 239, 75, 0.32);
  color: var(--green);
}

.analysis-note {
  display: grid;
  gap: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.analysis-note strong {
  color: var(--text);
}

.phone-mockup {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 246px;
  min-height: 472px;
  padding: 18px;
  border: 1px solid rgba(220, 200, 144, 0.52);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(14, 22, 32, 0.98), rgba(4, 7, 11, 0.98)),
    radial-gradient(circle at 72% 10%, rgba(134, 239, 75, 0.18), transparent 9rem);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 44px rgba(134, 239, 75, 0.12);
  transform: rotate(8deg);
  transform-origin: center;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 72px;
  height: 16px;
  border-radius: 999px;
  background: #03060a;
  transform: translateX(-50%);
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #f8faf7;
  font-size: 0.7rem;
}

.phone-bar span:last-child {
  width: 38px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8faf7 55%, rgba(248, 250, 247, 0.28) 55%);
}

.phone-mockup h3 {
  margin: 24px 0 18px;
  font-size: 1.15rem;
}

.insight-card {
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.insight-card small,
.insight-card b {
  display: block;
}

.insight-card small {
  color: #e8eee5;
}

.insight-card b {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.bar-spark {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 42px;
  margin-top: 14px;
}

.bar-spark span {
  width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(134, 239, 75, 0.18));
  animation: barPulse 1.8s ease-in-out infinite;
}

.bar-spark span:nth-child(1) { height: 36%; }
.bar-spark span:nth-child(2) { height: 62%; animation-delay: 120ms; }
.bar-spark span:nth-child(3) { height: 88%; animation-delay: 240ms; }
.bar-spark span:nth-child(4) { height: 70%; animation-delay: 360ms; }

.watch-list {
  display: grid;
  gap: 11px;
  margin: 18px 0;
}

.watch-list div {
  display: flex;
  justify-content: space-between;
  color: #ccd6ce;
  font-size: 0.78rem;
}

.watch-list b {
  color: var(--green);
}

.watch-list .danger {
  color: var(--red);
}

.phone-button {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(134, 239, 75, 0.46);
  border-radius: 999px;
  color: var(--green);
  background: transparent;
}

.careers-section {
  background:
    linear-gradient(180deg, rgba(7, 16, 25, 0.92), rgba(3, 6, 10, 0.98)),
    radial-gradient(circle at 20% 24%, rgba(75, 141, 255, 0.12), transparent 22rem);
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2,
.referral-copy h2 {
  font-size: 2.45rem;
  line-height: 1.06;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.job-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(11, 21, 31, 0.78), rgba(7, 13, 20, 0.62));
  box-shadow: inset 0 0 0 1px rgba(134, 239, 75, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.job-card:hover {
  border-color: rgba(134, 239, 75, 0.32);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24), inset 0 0 24px rgba(134, 239, 75, 0.05);
}

.job-card svg,
.benefit-list svg,
.info-column > svg,
.salary-copy svg,
.salary-number svg,
.reward-card svg {
  width: 32px;
  height: 32px;
  color: var(--green);
  stroke-width: 1.55;
}

.job-card h3,
.languages-panel h3,
.info-column h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
}

.job-card p,
.benefit-list p,
.languages-panel p,
.info-column p,
.modal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.salary-strip {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 20, 29, 0.92), rgba(7, 13, 19, 0.78)),
    radial-gradient(circle at 84% 50%, rgba(134, 239, 75, 0.14), transparent 18rem);
}

.salary-copy {
  gap: 18px;
  min-width: 310px;
}

.salary-copy span,
.salary-number span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.salary-copy strong {
  display: block;
  color: var(--green);
  font-size: 1.9rem;
  line-height: 1.15;
}

.salary-copy b,
.salary-number b,
.reward-card b {
  font: inherit;
}

.salary-chart {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 18px;
  height: 88px;
  flex: 1;
  min-width: 220px;
}

.salary-chart::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(134, 239, 75, 0.68), transparent);
  transform: rotate(-10deg);
}

.salary-chart span {
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), rgba(134, 239, 75, 0.15));
  box-shadow: 0 0 18px rgba(134, 239, 75, 0.28);
  animation: barPulse 2s ease-in-out infinite;
}

.salary-chart span:nth-child(1) { height: 22px; }
.salary-chart span:nth-child(2) { height: 38px; animation-delay: 100ms; }
.salary-chart span:nth-child(3) { height: 30px; animation-delay: 200ms; }
.salary-chart span:nth-child(4) { height: 58px; animation-delay: 300ms; }
.salary-chart span:nth-child(5) { height: 48px; animation-delay: 400ms; }
.salary-chart span:nth-child(6) { height: 76px; animation-delay: 500ms; }

.salary-number {
  gap: 14px;
  min-width: 180px;
}

.salary-number strong {
  display: block;
  font-size: 1.7rem;
}

.referral-section {
  background:
    radial-gradient(circle at 84% 50%, rgba(134, 239, 75, 0.15), transparent 25rem),
    linear-gradient(180deg, rgba(4, 8, 13, 0.98), rgba(3, 6, 10, 0.98));
}

.referral-frame {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(360px, 0.9fr) minmax(270px, 0.75fr);
  align-items: center;
  gap: 40px;
}

.referral-copy {
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.benefit-list {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.benefit-list div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.benefit-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.languages-panel h3 {
  margin-top: 0;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 24px;
}

.language-grid span {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.language-grid b {
  font-size: 1.28rem;
}

.reward-card {
  position: relative;
  overflow: hidden;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(134, 239, 75, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(12, 25, 34, 0.9), rgba(8, 13, 20, 0.72));
}

.reward-card span {
  color: var(--muted);
  line-height: 1.4;
}

.reward-card strong {
  margin-left: auto;
  color: var(--green);
  font-size: 2rem;
  white-space: nowrap;
}

.reward-card small {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.network-visual {
  position: relative;
  min-height: 380px;
}

.globe-grid {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(134, 239, 75, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(134, 239, 75, 0.1), transparent 58%),
    repeating-radial-gradient(circle, rgba(134, 239, 75, 0.12) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(134, 239, 75, 0.08) 0 1px, transparent 1px 28px);
  opacity: 0.7;
  animation: slowSpin 22s linear infinite;
}

.people-cluster {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 190px;
  height: 132px;
  transform: translate(-50%, -50%);
}

.people-cluster span {
  position: absolute;
  bottom: 0;
  width: 48px;
  height: 88px;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(180deg, var(--green), rgba(57, 160, 29, 0.42));
  filter: drop-shadow(0 0 18px rgba(134, 239, 75, 0.34));
}

.people-cluster span::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  transform: translateX(-50%);
}

.people-cluster span:nth-child(1) { left: 0; transform: scale(0.74); opacity: 0.72; }
.people-cluster span:nth-child(2) { left: 36px; transform: scale(0.9); opacity: 0.84; }
.people-cluster span:nth-child(3) { left: 74px; transform: scale(1.16); }
.people-cluster span:nth-child(4) { left: 118px; transform: scale(0.92); opacity: 0.84; }
.people-cluster span:nth-child(5) { left: 152px; transform: scale(0.74); opacity: 0.72; }

.orbit {
  position: absolute;
  border: 1px solid rgba(220, 200, 144, 0.16);
  border-radius: 50%;
  animation: slowSpin 16s linear infinite reverse;
}

.orbit.one {
  inset: 48px 24px 52px 24px;
}

.orbit.two {
  inset: 92px 70px 96px 70px;
  animation-duration: 13s;
}

.contacts-section {
  background:
    linear-gradient(180deg, rgba(3, 6, 10, 0.98), rgba(8, 14, 20, 0.98)),
    radial-gradient(circle at 17% 48%, rgba(220, 200, 144, 0.1), transparent 22rem);
}

.contacts-frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr 0.9fr;
  gap: 26px;
}

.info-column {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.info-column ul {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  line-height: 1.5;
}

.info-column li strong {
  display: block;
  color: var(--text);
}

.contact-column {
  display: grid;
  align-content: start;
}

.contact-link {
  position: relative;
  overflow: hidden;
  gap: 14px;
  min-height: 78px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(134, 239, 75, 0.4);
  background: rgba(134, 239, 75, 0.07);
  transform: translateY(-2px);
}

.contact-link.telegram svg {
  color: var(--cyan);
}

.contact-link.phone svg {
  color: var(--green);
}

.contact-link span {
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.contact-link strong {
  color: var(--green);
  font-size: 1.14rem;
  white-space: nowrap;
}

.contact-column p {
  margin-top: 22px;
}

.snap-dots {
  position: fixed;
  z-index: 35;
  right: 24px;
  top: 50%;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.snap-dots a {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.snap-dots a.is-active {
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.35);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(134, 239, 75, 0.14), transparent 24rem),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
}

.modal-panel {
  position: relative;
  width: min(100%, 640px);
  padding: 36px;
  border: 1px solid rgba(134, 239, 75, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(12, 22, 31, 0.98), rgba(4, 8, 12, 0.96)),
    radial-gradient(circle at 82% 10%, rgba(89, 214, 255, 0.11), transparent 13rem);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.62), 0 0 70px rgba(134, 239, 75, 0.13);
  transform: translateY(18px) scale(0.96);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel h2 {
  margin-bottom: 14px;
  font-size: 2.45rem;
}

.modal-actions {
  gap: 14px;
  margin-top: 24px;
}

.modal-actions .contact-link {
  flex: 1;
  margin-top: 0;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.close-button:hover,
.close-button:focus-visible {
  border-color: rgba(134, 239, 75, 0.48);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease var(--reveal-delay, 0ms),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawChart {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.92);
    opacity: 0.78;
  }
  50% {
    transform: scaleY(1.08);
    opacity: 1;
  }
}

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

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 239, 75, 0.52);
  }
  72%,
  100% {
    box-shadow: 0 0 0 10px rgba(134, 239, 75, 0);
  }
}

@keyframes mobileGridDrift {
  to {
    background-position: 52px 52px, 52px 52px;
  }
}

@keyframes mobileTerminalFloat {
  0%,
  100% {
    transform: translate3d(var(--mobile-parallax-x, 0px), var(--mobile-parallax-y, 0px), 0) rotate(-0.35deg);
  }
  50% {
    transform: translate3d(calc(var(--mobile-parallax-x, 0px) + 4px), calc(var(--mobile-parallax-y, 0px) - 9px), 0) rotate(0.45deg);
  }
}

@keyframes mobilePhoneFloat {
  0%,
  100% {
    transform: translate3d(var(--mobile-phone-x, 0px), var(--mobile-phone-y, 0px), 0) rotate(4.5deg);
  }
  50% {
    transform: translate3d(calc(var(--mobile-phone-x, 0px) - 5px), calc(var(--mobile-phone-y, 0px) - 11px), 0) rotate(6.5deg);
  }
}

@keyframes mobileHalo {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96) rotate(0deg);
  }
  50% {
    opacity: 0.68;
    transform: scale(1.02) rotate(8deg);
  }
}

@keyframes mobileSweep {
  0%,
  35% {
    opacity: 0;
    transform: translateX(-125%);
  }
  48% {
    opacity: 0.38;
  }
  68%,
  100% {
    opacity: 0;
    transform: translateX(125%);
  }
}

@keyframes mobileIconPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(134, 239, 75, 0));
    transform: translateY(0) scale(1);
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(134, 239, 75, 0.36));
    transform: translateY(-2px) scale(1.08);
  }
}

@keyframes mobileChipLift {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(0);
  }
  50% {
    border-color: rgba(134, 239, 75, 0.28);
    transform: translateY(-3px);
  }
}

@keyframes mobileSectionLine {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .top-nav {
    display: none;
  }

  .hero-frame {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 110px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .terminal-panel {
    left: 0;
    right: auto;
    width: min(720px, 100%);
  }

  .phone-mockup {
    right: 26px;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral-frame {
    grid-template-columns: 1fr 1fr;
  }

  .network-visual {
    grid-column: 1 / -1;
    min-height: 250px;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

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

  .info-column {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  body {
    overflow: auto;
  }

  .site-header::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
    box-shadow: 0 0 18px rgba(134, 239, 75, 0.46);
    opacity: 0.88;
    transform: scaleX(var(--mobile-progress, 0));
    transform-origin: left center;
    transition: transform 120ms linear;
  }

  .site-header {
    width: min(calc(100% - 28px), 1380px);
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-top: 12px;
  }

  .site-header::before {
    inset-inline: -8px;
  }

  .brand {
    font-size: 1.28rem;
  }

  .ghost-button {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .ghost-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .snap-shell {
    scroll-snap-type: y proximity;
  }

  .panel {
    min-height: auto;
  }

  .panel::before {
    background-size: 52px 52px;
  }

  body.has-mobile-motion .panel::before {
    animation: mobileGridDrift 18s linear infinite;
  }

  .panel.is-current::after {
    height: 2px;
    animation: mobileSectionLine 1.8s ease-in-out infinite;
  }

  .section-frame {
    width: min(calc(100% - 28px), 1320px);
    min-height: 100svh;
    padding: 92px 0 40px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  body.has-mobile-motion .hero-stage::before {
    content: "";
    position: absolute;
    inset: 32px 4% auto;
    z-index: -1;
    height: 440px;
    border: 1px solid rgba(134, 239, 75, 0.16);
    border-radius: 50%;
    background:
      conic-gradient(from 90deg, transparent, rgba(134, 239, 75, 0.16), transparent 42%),
      radial-gradient(circle, rgba(89, 214, 255, 0.11), transparent 62%);
    filter: blur(0.2px);
    animation: mobileHalo 6.8s ease-in-out infinite;
  }

  .terminal-panel {
    top: 20px;
    padding: 18px;
    min-height: 430px;
  }

  body.has-mobile-motion .terminal-panel {
    animation: mobileTerminalFloat 5.6s ease-in-out infinite;
  }

  body.has-mobile-motion .terminal-panel::after,
  body.has-mobile-motion .phone-mockup::after,
  body.has-mobile-motion .job-card::after,
  body.has-mobile-motion .reward-card::after,
  body.has-mobile-motion .salary-strip::after,
  body.has-mobile-motion .language-grid span::after,
  body.has-mobile-motion .info-column::after,
  body.has-mobile-motion .contact-link::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.13) 46%, transparent 72%);
    opacity: 0;
    transform: translateX(-125%);
  }

  body.has-mobile-motion .panel.is-current .terminal-panel::after,
  body.has-mobile-motion .panel.is-current .phone-mockup::after,
  body.has-mobile-motion .panel.is-current .job-card::after,
  body.has-mobile-motion .panel.is-current .reward-card::after,
  body.has-mobile-motion .panel.is-current .salary-strip::after,
  body.has-mobile-motion .panel.is-current .language-grid span::after,
  body.has-mobile-motion .panel.is-current .info-column::after,
  body.has-mobile-motion .panel.is-current .contact-link::after {
    animation: mobileSweep 4.8s ease-in-out infinite;
  }

  body.has-mobile-motion .panel.is-current .job-card:nth-child(2n)::after,
  body.has-mobile-motion .panel.is-current .language-grid span:nth-child(2n)::after,
  body.has-mobile-motion .panel.is-current .contact-link:nth-of-type(2)::after {
    animation-delay: 450ms;
  }

  .phone-mockup {
    right: 2px;
    bottom: 8px;
    width: 214px;
    min-height: 396px;
    transform: rotate(5deg);
  }

  body.has-mobile-motion .phone-mockup {
    animation: mobilePhoneFloat 4.9s ease-in-out infinite;
  }

  body.has-mobile-motion .panel.is-current .job-card svg,
  body.has-mobile-motion .panel.is-current .benefit-list svg,
  body.has-mobile-motion .panel.is-current .info-column > svg,
  body.has-mobile-motion .panel.is-current .salary-copy svg,
  body.has-mobile-motion .panel.is-current .salary-number svg,
  body.has-mobile-motion .panel.is-current .reward-card svg {
    animation: mobileIconPulse 2.9s ease-in-out infinite;
  }

  body.has-mobile-motion .panel.is-current .language-grid span,
  body.has-mobile-motion .panel.is-current .watch-list div {
    animation: mobileChipLift 4.2s ease-in-out infinite;
  }

  body.has-mobile-motion .panel.is-current .language-grid span:nth-child(2),
  body.has-mobile-motion .panel.is-current .watch-list div:nth-child(2) {
    animation-delay: 160ms;
  }

  body.has-mobile-motion .panel.is-current .language-grid span:nth-child(3),
  body.has-mobile-motion .panel.is-current .watch-list div:nth-child(3) {
    animation-delay: 320ms;
  }

  .reveal {
    transform: translateY(34px) scale(0.98);
  }

  .jobs-grid,
  .referral-frame,
  .language-grid {
    grid-template-columns: 1fr;
  }

  .referral-copy {
    padding-right: 0;
    border-right: 0;
  }

  .salary-strip,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .salary-copy,
  .salary-number {
    min-width: 0;
  }

  .salary-chart {
    width: 100%;
  }

  .snap-dots {
    display: none;
  }

  .modal-panel {
    padding: 28px 18px 20px;
  }

  .modal-panel h2,
  .section-title h2,
  .referral-copy h2 {
    font-size: 2rem;
  }

  .job-card.is-pressed,
  .reward-card.is-pressed,
  .language-grid span.is-pressed,
  .contact-link.is-pressed,
  .ghost-button.is-pressed,
  .phone-button.is-pressed {
    transform: translateY(1px) scale(0.985);
  }
}

@media (max-width: 520px) {
  .section-frame {
    padding-top: 86px;
  }

  .hero-copy h1 {
    font-size: 2.48rem;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .hero-stage {
    min-height: 500px;
  }

  .terminal-panel {
    width: 100%;
    min-height: 390px;
  }

  .market-tabs span:nth-child(n + 3),
  .analysis-note {
    display: none;
  }

  .phone-mockup {
    width: 184px;
    min-height: 350px;
    padding: 15px;
  }

  .watch-list div:nth-child(n + 4) {
    display: none;
  }

  .job-card,
  .salary-strip,
  .info-column {
    padding: 20px;
  }

  .contact-link {
    min-height: 72px;
  }

  .contact-link strong {
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 2.22rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.94rem;
  }
}

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