:root {
  color-scheme: dark;
  --bg: #090d13;
  --surface: #111822;
  --text: #f5f7fb;
  --muted: #9da8b8;
  --accent: #6fe7b5;
  --accent-strong: #35ce92;
  --telegram: #36aee2;
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.pixel {
  display: none;
}

.page {
  min-height: 100vh;
  padding: 18px;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 50%),
    #0c1119;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  grid-template-rows: auto 1fr auto;
  padding: 28px 5.5vw 24px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 57%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent);
  content: "";
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.ambient--one {
  top: -340px;
  left: -230px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(53, 206, 146, 0.11), transparent 68%);
}

.ambient--two {
  right: -120px;
  bottom: -300px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(54, 174, 226, 0.12), transparent 68%);
}

.topbar {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--text);
  color: #0d131b;
  place-items: center;
}

.brand__mark svg {
  width: 19px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c3ccda;
  font-size: 12px;
  font-weight: 600;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(111, 231, 181, 0.1);
}

.hero__content {
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: min(100%, 610px);
  padding: 60px 5vw 48px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 38px;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 94px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 251, 0.55);
}

.lead {
  max-width: 550px;
  margin: 29px 0 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.7;
}

.salary {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 28px;
}

.salary > div {
  display: flex;
  flex-direction: column;
}

.salary__label {
  margin-bottom: -2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.salary strong {
  color: var(--accent);
  font-size: clamp(44px, 4.8vw, 66px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

.salary__period {
  margin-bottom: 7px;
  color: #e7ebf2;
  font-size: 15px;
  font-weight: 600;
}

.benefits {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aeb8c7;
  font-size: 14px;
  line-height: 1.45;
}

.benefits strong {
  color: #f3f5f8;
  font-weight: 700;
}

.benefits__icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(111, 231, 181, 0.25);
  border-radius: 50%;
  background: rgba(111, 231, 181, 0.08);
  color: var(--accent);
  place-items: center;
}

.benefits__icon svg {
  width: 13px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 360px);
  padding: 9px 10px 9px 24px;
  border-radius: 15px;
  background: linear-gradient(135deg, #42b7e7, #229cd0);
  box-shadow: 0 14px 42px rgba(34, 156, 208, 0.2);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(34, 156, 208, 0.3);
}

.cta:focus-visible {
  outline: 3px solid rgba(54, 174, 226, 0.35);
  outline-offset: 4px;
}

.cta__icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.18);
  place-items: center;
}

.cta__icon svg {
  width: 19px;
}

.note {
  margin: 14px 0 0;
  color: #707c8e;
  font-size: 11px;
  line-height: 1.5;
}

.visual {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 600px;
}

.visual__orb {
  position: absolute;
  width: min(36vw, 510px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.08), transparent 26%),
    radial-gradient(circle at 60% 60%, rgba(54, 174, 226, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.015);
  box-shadow:
    inset 0 0 90px rgba(255, 255, 255, 0.02),
    0 0 100px rgba(54, 174, 226, 0.06);
}

.visual__orb::before,
.visual__orb::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
  inset: 9%;
}

.visual__orb::after {
  inset: 22%;
}

.phone {
  z-index: 1;
  width: min(19vw, 258px);
  min-width: 222px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  background: linear-gradient(145deg, #303945, #10151c 35%);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(0, 0, 0, 0.7);
  transform: rotate(5deg);
}

.phone__screen {
  position: relative;
  display: flex;
  min-height: 500px;
  overflow: hidden;
  border-radius: 31px;
  background:
    linear-gradient(rgba(9, 15, 23, 0.92), rgba(9, 15, 23, 0.96)),
    radial-gradient(circle at 30% 20%, #285775, transparent 40%);
  flex-direction: column;
}

.phone__speaker {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 50%;
  width: 72px;
  height: 20px;
  border-radius: 20px;
  background: #080b0f;
  transform: translateX(-50%);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 42px 17px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.avatar {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--telegram), #257da4);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.chat-head div {
  display: flex;
  flex-direction: column;
}

.chat-head strong {
  font-size: 10px;
}

.chat-head small {
  margin-top: 2px;
  color: var(--accent);
  font-size: 8px;
}

.messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  justify-content: flex-end;
  padding: 20px 13px;
}

.message {
  max-width: 83%;
  padding: 10px 11px;
  border-radius: 12px 12px 12px 3px;
  background: #1c2530;
  color: #d8dfe8;
  font-size: 8px;
  line-height: 1.45;
}

.message--out {
  align-self: flex-end;
  border-radius: 12px 12px 3px 12px;
  background: #146e96;
  color: white;
}

.message--short {
  max-width: 50%;
}

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 10px 12px;
  padding: 7px 7px 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: #151d27;
  color: #647183;
  font-size: 8px;
}

.composer i {
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  background: var(--telegram);
  color: #fff;
  place-items: center;
}

.composer svg {
  width: 13px;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(18, 25, 35, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.float-card--salary {
  top: 24%;
  right: 0;
  display: flex;
  width: 144px;
  padding: 16px;
  border-radius: 16px;
  flex-direction: column;
  transform: rotate(-3deg);
}

.float-card--salary span,
.float-card--salary small {
  color: #8995a6;
  font-size: 8px;
}

.float-card--salary strong {
  margin: 5px 0 2px;
  color: var(--accent);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.float-card--support {
  bottom: 23%;
  left: -3%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 10px;
  border-radius: 15px;
  transform: rotate(2deg);
}

.support-icon {
  display: grid;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: rgba(111, 231, 181, 0.12);
  color: var(--accent);
  place-items: center;
}

.support-icon svg {
  width: 18px;
}

.float-card--support > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-card--support strong {
  font-size: 9px;
}

.float-card--support small {
  color: #8995a6;
  font-size: 7px;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #636f80;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .hero::before {
    display: none;
  }

  .hero__content {
    width: 100%;
    padding-right: 0;
    padding-bottom: 30px;
  }

  .visual {
    min-height: 540px;
    border-top: 1px solid var(--line);
  }

  .visual__orb {
    width: min(76vw, 480px);
  }

  .phone {
    width: 238px;
  }

  .float-card--salary {
    right: 12%;
  }

  .float-card--support {
    left: 12%;
  }
}

@media (max-width: 620px) {
  .page {
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    padding: 20px 16px 18px;
  }

  .brand {
    font-size: 12px;
  }

  .status {
    font-size: 9px;
  }

  .hero__content {
    padding-top: 52px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(37px, 11.5vw, 56px);
    letter-spacing: -0.07em;
  }

  .lead {
    margin-top: 24px;
    font-size: 14px;
  }

  .cta {
    width: 100%;
  }

  .visual {
    width: 100%;
    min-height: 490px;
    margin-top: 22px;
  }

  .phone {
    min-width: 190px;
    width: 190px;
  }

  .phone__screen {
    min-height: 420px;
  }

  .visual__orb {
    width: min(100%, 390px);
  }

  .float-card--salary {
    top: 17%;
    right: 0;
    width: 116px;
    padding: 13px;
  }

  .float-card--support {
    bottom: 18%;
    left: 0;
    padding-right: 10px;
  }

  .trust {
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
  }

  .trust span:last-child {
    max-width: 155px;
    text-align: right;
  }
}

@media (max-width: 360px) {
  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .status {
    gap: 6px;
  }

  .hero__content {
    padding-top: 44px;
  }

  h1 {
    font-size: 36px;
  }

  .salary strong {
    font-size: 46px;
  }

  .salary__period {
    font-size: 13px;
  }

  .benefits li {
    align-items: flex-start;
    font-size: 13px;
  }

  .visual {
    min-height: 460px;
  }

  .phone {
    min-width: 178px;
    width: 178px;
  }

  .phone__screen {
    min-height: 392px;
  }

  .float-card--salary {
    width: 104px;
  }

  .float-card--salary strong {
    font-size: 18px;
  }

  .float-card--support {
    transform: scale(0.92) rotate(2deg);
    transform-origin: left center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone {
    animation: float 6s ease-in-out infinite;
  }

  .float-card--salary {
    animation: drift 5s ease-in-out infinite;
  }

  .float-card--support {
    animation: drift 5s ease-in-out -2.5s infinite reverse;
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(5deg) translateY(0);
  }
  50% {
    transform: rotate(3.5deg) translateY(-9px);
  }
}

@keyframes drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}
