:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #657083;
  --blue: #023a87;
  --green: #51ae15;
  --orange: #ff881f;
  --cloud: #f4f7fb;
  --line: rgba(16, 24, 39, 0.12);
  --dark: #061121;
  --dark-2: #0c2344;
  --white: #ffffff;
  --mx: 50vw;
  --my: 30vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cloud);
}

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

button,
input,
textarea {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--mx) var(--my), rgba(81, 174, 21, 0.16), transparent 70%);
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 17, 33, 0.68);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand img {
  width: 172px;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

nav a,
.header-phone {
  transition: color 180ms ease;
}

nav a:hover,
.header-phone:hover {
  color: var(--white);
}

.header-phone {
  font-weight: 700;
  white-space: nowrap;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 136, 31, 0.24), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(81, 174, 21, 0.22), transparent 28%),
    linear-gradient(135deg, var(--dark), var(--dark-2) 56%, #07162a);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: 136px max(28px, calc((100vw - 1120px) / 2)) 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  width: 52vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  filter: blur(1px);
  animation: sweep 7s linear infinite;
}

.beam-one {
  top: 28%;
  left: -18%;
}

.beam-two {
  right: -22%;
  bottom: 24%;
  animation-delay: -3s;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  animation: drift 12s ease-in-out infinite alternate;
}

.orbit-one {
  width: 560px;
  height: 560px;
  right: -160px;
  top: 110px;
}

.orbit-two {
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: -120px;
  animation-delay: -4s;
}

.hero-copy,
.hero-visual,
.section-copy,
.section-head,
.lead-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #bff0a0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.blue {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions > *,
.contact-links > * {
  max-width: 100%;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.portfolio-link::after {
  content: "↗";
  margin-left: 8px;
  color: #bff0a0;
}

.portfolio-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.gift-callout {
  position: relative;
  width: min(100%, 620px);
  margin-top: 28px;
  padding: 18px 20px 18px 22px;
  border: 1px solid rgba(255, 136, 31, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 136, 31, 0.2), rgba(81, 174, 21, 0.14)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(255, 136, 31, 0.16);
  overflow: hidden;
}

.gift-callout::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -30%;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: rotate(18deg);
  animation: giftShine 4.5s ease-in-out infinite;
}

.gift-callout__label {
  display: block;
  margin-bottom: 6px;
  color: #ffd2a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gift-callout strong {
  display: block;
  color: var(--white);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #061121;
  background: linear-gradient(135deg, #8bea49, var(--green));
  box-shadow: 0 18px 42px rgba(81, 174, 21, 0.28);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.trust-row span {
  min-width: 152px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-row strong {
  display: block;
  color: var(--white);
  font-size: 24px;
}

.hero-visual {
  width: 100%;
  min-height: 560px;
  min-width: 0;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.price-card {
  position: absolute;
  top: 52px;
  right: 0;
  width: min(100%, 440px);
  max-width: 100%;
  padding: 28px;
  transition: transform 120ms ease;
  will-change: transform;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.price {
  margin: 28px 0 18px;
  color: #ffffff;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.95;
}

.bitrix-logo-lockup {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.bitrix-logo-lockup img {
  width: min(100%, 214px);
  height: auto;
}

.bitrix-logo-lockup span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.price-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.mini-dashboard {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metric span {
  color: rgba(255, 255, 255, 0.58);
}

.metric.active {
  background: rgba(2, 58, 135, 0.34);
}

.metric.gift {
  background: rgba(255, 136, 31, 0.16);
}

.floating-note {
  position: absolute;
  max-width: 240px;
  padding: 15px 16px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  animation: float 5s ease-in-out infinite;
}

.note-a {
  left: 0;
  top: 18px;
}

.note-b {
  right: 38px;
  bottom: 88px;
  animation-delay: -2.3s;
}

.offer-strip {
  width: min(1120px, calc(100% - 56px));
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.offer-item {
  min-height: 260px;
  padding: 46px 44px 42px;
  border-right: 1px solid var(--line);
}

.offer-item:nth-child(2) {
  background: #f8fbff;
}

.offer-item h2 {
  color: var(--blue);
}

.offer-item p,
.section-copy p,
.feature p,
.day p,
.bitrix-card p,
.lead-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.number {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 900;
}

.section {
  padding: 104px max(28px, calc((100vw - 1120px) / 2));
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(2, 58, 135, 0.07);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  color: var(--white);
  border-radius: 8px;
  background: var(--blue);
  font-weight: 900;
}

.timeline {
  padding: 104px max(28px, calc((100vw - 1120px) / 2));
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

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

.day {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.day span {
  display: inline-block;
  margin-bottom: 72px;
  color: #bff0a0;
  font-weight: 900;
}

.day p,
.lead-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.bitrix {
  background:
    linear-gradient(90deg, rgba(2, 58, 135, 0.08), rgba(81, 174, 21, 0.08)),
    var(--cloud);
}

.bitrix-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(2, 58, 135, 0.1);
}

.bitrix-section-logo {
  width: min(100%, 240px);
  height: auto;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(28, 112, 183, 0.14);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  border-radius: 8px;
  background: var(--cloud);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--green) 0 42%, transparent 44%), rgba(81, 174, 21, 0.16);
}

.proof {
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.proof-item {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  color: var(--blue);
  font-size: 54px;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.45;
}

.lead {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 104px max(28px, calc((100vw - 1120px) / 2));
}

.contact-links a {
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  overflow-wrap: anywhere;
}

.lead-form,
.form-fields {
  display: grid;
  gap: 16px;
}

.lead-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--white);
  background: rgba(6, 17, 33, 0.54);
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(139, 234, 73, 0.72);
  box-shadow: 0 0 0 4px rgba(81, 174, 21, 0.14);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.form-success {
  display: none;
  min-height: 360px;
  place-items: center;
  text-align: center;
}

.lead-form.is-success .form-fields {
  display: none;
}

.lead-form.is-success .form-success {
  display: grid;
}

.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: #061121;
  border-radius: 50%;
  background: linear-gradient(135deg, #8bea49, var(--green));
  box-shadow: 0 22px 54px rgba(81, 174, 21, 0.28);
  font-size: 34px;
  font-weight: 900;
}

.form-success h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.form-success p {
  max-width: 420px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(28px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  background: var(--white);
}

.footer img {
  width: 172px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes sweep {
  from {
    transform: translateX(-30%) rotate(-18deg);
  }
  to {
    transform: translateX(140%) rotate(-18deg);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-24px, 28px, 0) rotate(12deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes giftShine {
  0%,
  38% {
    transform: translateX(0) rotate(18deg);
  }
  70%,
  100% {
    transform: translateX(760px) rotate(18deg);
  }
}

@media (max-width: 940px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  nav {
    display: none;
  }

  .hero,
  .split,
  .bitrix-card,
  .lead {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 116px;
  }

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

  .price-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
  }

  .offer-strip,
  .days,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .offer-strip {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .offer-item,
  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 58px;
  }

  .brand img {
    width: 142px;
  }

  .header-phone {
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 18px;
  }

  .trust-row span {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-note {
    position: relative;
    inset: auto;
    margin-top: 14px;
  }

  .section,
  .timeline,
  .lead {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .bitrix-card,
  .lead-form {
    padding: 22px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
