.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 10%, rgba(240,68,46,.08), transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(255,154,61,.09), transparent 30%);
  z-index: -1;
}

.header {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--container), calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(13,17,23,.72);
  color: white;
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
}
.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.logo-caption {
  display: grid;
  gap: 2px;
  color: white;
  line-height: 1;
}

.logo-caption strong {
  font-size: 17px;
  letter-spacing: -.04em;
}

.logo-caption small {
  color: rgba(255,255,255,.48);
  font-size: 12px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.logo-orbit {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.logo-orbit img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 10px 34px rgba(0,0,0,.45);
  transition:
    transform .35s ease,
    filter .35s ease,
    box-shadow .35s ease;
}

.logo-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 70deg,
      rgba(255,154,61,.95) 95deg,
      rgba(240,68,46,.95) 125deg,
      transparent 155deg,
      transparent 360deg
    );
  filter: blur(.2px);
  animation: logoOrbit 6s linear infinite;
  opacity: .8;
}

.logo-orbit::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(13,17,23,.82);
  z-index: 1;
}

.logo-orbit:hover img {
  transform: scale(1.06) rotate(-2deg);
  filter: brightness(1.12) contrast(1.08);
  box-shadow:
    0 0 0 1px rgba(255,154,61,.4),
    0 0 28px rgba(240,68,46,.32),
    0 14px 44px rgba(0,0,0,.55);
}

.logo-orbit:hover .logo-orbit-ring {
  animation-duration: 1.8s;
  opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    padding-right: 18px;
}

.nav a {
  position: relative;
  isolation: isolate;
  padding: 12px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow: hidden;
  transition:
    color .25s ease,
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.nav a::before {
  content: ">";
  display: inline-block;
  margin-right: 7px;
  color: var(--accent-2);
  opacity: .75;
  transform: translateX(-2px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 14px 7px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: center;
  transition:
    opacity .25s ease,
    transform .25s ease;
  z-index: -1;
}

.nav a:hover {
  color: white;
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.1),
    0 10px 30px rgba(0,0,0,.18);
}

.nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  color: white !important;
  background:
    linear-gradient(135deg, rgba(240,68,46,.95), rgba(255,154,61,.88)) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 0 26px rgba(240,68,46,.34),
    0 14px 40px rgba(240,68,46,.18);
   margin-left: 18px;
}

.nav-cta::before {
  content: "run:";
  color: rgba(255,255,255,.88);
  opacity: 1;
  transform: none;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.2),
    0 0 36px rgba(255,154,61,.42),
    0 18px 48px rgba(240,68,46,.25);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  position: relative;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: white;
  border-radius: 2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.eyebrow.dark {
  color: var(--accent);
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  text-align: center;
  margin: 0 auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255,255,255,.68);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -.02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.program-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.program-cta p {
  margin: 0;
  position: relative;
  top: 2px;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 36px rgba(240,68,46,.28);
}

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

.btn-outline {
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
}

.btn.full {
  width: 100%;
}

.author-card {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(circle at 50% 15%, rgba(240,68,46,.3), transparent 45%);
  box-shadow: 0 40px 140px rgba(0,0,0,.35);
  overflow: hidden;
}

.photo-placeholder {
  position: absolute;
  inset: 44px 42px 32px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.05em;
}

.photo-placeholder.large {
  position: static;
  min-height: 460px;
}

.glass-card {
  position: absolute;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(13,17,23,.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.glass-top {
  top: 76px;
  right: 24px;
}

.glass-bottom {
  left: 24px;
  bottom: 56px;
  max-width: 310px;
}

.glass-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.glass-card code {
  color: #ffd0c1;
  white-space: normal;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #3cff97;
  border-radius: 50%;
  margin-right: 8px;
}

.skill-card,
.price-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 50px rgba(17,24,39,.06);
}

.skill-card {
  padding: 26px;
  min-height: 245px;
}

.skill-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent);
  font-weight: 700;
}

.skill-card p,
.price-card p,
.review-card p {
  color: var(--muted);
}

.accordion {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.accordion details {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.faq details {
  border-color: var(--line);
  background: white;
}

.accordion summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
}

.faq summary::after {
  color: var(--accent);
}

.accordion details[open] summary::after {
  content: "-";
}

.accordion details p {
  padding: 0 24px 22px;
  margin: 0;
  color: rgba(255,255,255,.68);
}

.faq details p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 30px;
}

.timeline-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 118, 45, .18);
  user-select: none;
  transition: all .3s ease;
}

.timeline-item:hover .timeline-number {
  color: var(--accent);
  transform: scale(1.08);
}

.timeline-item h3 {
  margin: 0 0 8px;
}

.timeline-item p {
  margin: 0;
}

.timeline-number {
  font-size: 56px;
  font-weight: 900;
  color: rgba(255, 118, 45, .12);
}


.price-card {
  position: relative;
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border: 2px solid rgba(240,68,46,.5);
  background:
    linear-gradient(180deg, rgba(240,68,46,.08), rgba(255,255,255,.8)),
    white;
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 13px;
}

.price {
  margin: 26px 0;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -.06em;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #38342f;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.reserve-link,
.text-button {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}

.price-card .reserve-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 18px;
}

.text-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.review-card {
  padding: 24px;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--dark), var(--accent));
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.stats div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.stats strong {
  display: block;
  font-size: 40px;
  letter-spacing: -.06em;
}

.stats span {
  color: rgba(255,255,255,.6);
}

.qa-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.qa-orbit span {
  position: absolute;
  color: rgba(255,255,255,.13);
  font-weight: 700;
  letter-spacing: -.04em;
  animation: qaFloat 11s ease-in-out infinite;
  user-select: none;
  white-space: nowrap;
}

.qa-orbit span:nth-child(1) { top: 10%; left: 6%; font-size: 70px; opacity: .12; }

.qa-orbit span:nth-child(2) { top: 18%; right: 10%; font-size: 34px; }

.qa-orbit span:nth-child(3) { top: 70%; left: 8%; font-size: 46px; opacity: .09; }

.qa-orbit span:nth-child(4) { top: 80%; right: 8%; font-size: 26px; }

.qa-orbit span:nth-child(5) { top: 38%; left: 18%; font-size: 20px; }

.qa-orbit span:nth-child(6) { top: 16%; left: 42%; font-size: 22px; }

.qa-orbit span:nth-child(7) { bottom: 18%; left: 38%; font-size: 28px; opacity: .08; }

.qa-orbit span:nth-child(8) { top: 55%; right: 18%; font-size: 20px; }

.qa-orbit span:nth-child(9) { top: 32%; left: 70%; font-size: 16px; }

.qa-orbit span:nth-child(10) { top: 88%; left: 18%; font-size: 16px; }

.qa-orbit span:nth-child(11) { top: 62%; right: 34%; font-size: 16px; }

.qa-orbit span:nth-child(12) { top: 22%; right: 28%; font-size: 16px; }

.qa-orbit span:nth-child(13) { top: 76%; left: 54%; font-size: 16px; }

.qa-orbit span:nth-child(14) { top: 46%; left: 4%; font-size: 16px; }

.qa-orbit span:nth-child(15) { top: 8%; right: 2%; font-size: 16px; }

.qa-orbit span:nth-child(16) { top: 90%; right: 24%; font-size: 16px; }

.qa-orbit span:nth-child(17) { top: 28%; left: 28%; font-size: 16px; }

.qa-orbit span:nth-child(18) { top: 56%; left: 84%; font-size: 16px; }

.qa-orbit span:nth-child(19) { top: 6%; left: 24%; font-size: 16px; }

.qa-orbit span:nth-child(20) { top: 92%; right: 4%; font-size: 16px; }

.qa-orbit span:nth-child(2n) {
  animation-duration: 13s;
}

.qa-orbit span:nth-child(3n) {
  animation-duration: 15s;
}

.qa-orbit span:nth-child(4n) {
  animation-delay: -4s;
}

.qa-orbit span:nth-child(5n) {
  animation-delay: -7s;
}

.code-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.code-particle {
  position: absolute;
  top: -40px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  color: #ff9a3d;
  text-shadow: 0 0 14px rgba(255,154,61,.65);
  animation: codeFall linear forwards;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  min-height: 420px;
  border-radius: 28px;
  background: white;
  box-shadow: 0 40px 140px rgba(0,0,0,.4);
  padding: 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1ece5;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-portrait {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  right: -190px;
  bottom: -30px;
  width: 800px;
  height: 150px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(13, 17, 23, .92) 72%
  );
}

.hero-author {
  position: absolute;
  right: -150px;
  bottom: -25px;
  width: min(840px, 62vw);
  max-width: none;
  z-index: 3;
  filter:
    drop-shadow(0 0 34px rgba(255, 95, 40, .14))
    drop-shadow(0 28px 80px rgba(0, 0, 0, .45));
  animation: authorFloat 6s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}

.hero-glow {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 118, 45, .28),
    rgba(240, 68, 46, .12) 38%,
    transparent 70%
  );
  filter: blur(70px);
  z-index: 1;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 154, 61, .22);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 24px rgba(240, 68, 46, .12);
}

.hero-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3cff97;
  box-shadow: 0 0 16px rgba(60, 255, 151, .65);
}

.fall-letter {
  display: inline-block;
  transform-origin: center;
}

.reveal.is-visible .fall-letter {
    animation: fallLetter 1.6s cubic-bezier(.22, 1, .36, 1) .6s;
}

@keyframes fallLetter {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  20% {
    transform: translateY(2px) rotate(3deg);
  }

  45% {
    transform: translateY(26px) rotate(24deg);
  }

  60% {
    transform: translateY(20px) rotate(18deg);
  }

  78% {
    transform: translateY(-4px) rotate(-4deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

#reviews .reviews-carousel {
  position: relative;
  max-width: 1080px;
  margin: 46px auto 0;
  overflow: hidden;
  padding: 14px 40px 30px;
}


#reviews .reviews-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 34px;
  scrollbar-width: none;
}

#reviews .reviews-track::-webkit-scrollbar {
  display: none;
}

#reviews .review-slide {
  flex: 0 0 500px;
  scroll-snap-align: center;
}

#reviews .proof-card {
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255,118,45,.06),
      transparent 45%
    ),
    rgba(255,255,255,.88);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    border-color .25s ease,
    background .25s ease;
}

#reviews .proof-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(240,68,46,.35);
  background: rgba(255,255,255,.96);

  box-shadow:
    0 0 0 1px rgba(255,120,60,.15),
    0 0 28px rgba(255,120,60,.12);
}

#reviews .proof-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  background: transparent;
}

#reviews .proof-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#reviews .proof-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

#reviews .proof-meta strong {
  font-size: 15px;
  color: var(--text);
}

#reviews .carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 50px rgba(17,24,39,.12);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  transform: translateY(-50%);
}

#reviews .carousel-prev {
  left: 12px;
}

#reviews .carousel-next {
  right: 12px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 100%;
  border-radius: 32px;
}

.about-photo {
  margin-top: 80px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 34px 0;
  display: grid;
  gap: 18px;
}

.about-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.about-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 1px;

  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;

  transition: transform .25s ease;
}

.about-list li:hover::before {
  transform: translateX(4px);
}

.telegram-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
