:root {
  --bg: #052033;
  --bg-deep: #041521;
  --bg-soft: #0c2d47;
  --surface: rgba(7, 30, 48, 0.84);
  --surface-strong: rgba(11, 44, 69, 0.92);
  --line: rgba(100, 177, 237, 0.22);
  --line-strong: rgba(61, 165, 255, 0.45);
  --text: #eef8ff;
  --muted: #a7c6db;
  --primary: #14a0ff;
  --primary-bright: #3da5ff;
  --primary-deep: #1d4268;
  --accent: #93c738;
  --accent-bright: #b1de53;
  --white: #ffffff;
  --shadow: 0 30px 80px rgba(1, 10, 18, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

section[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 160, 255, 0.18), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(147, 199, 56, 0.1), transparent 20%),
    linear-gradient(180deg, #031722 0%, #052033 42%, #041723 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  pointer-events: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.55;
}

.orb-a {
  width: 320px;
  height: 320px;
  top: 110px;
  right: -40px;
  background: radial-gradient(circle, rgba(20, 160, 255, 0.32), rgba(20, 160, 255, 0));
  animation: drift 14s ease-in-out infinite;
}

.orb-b {
  width: 240px;
  height: 240px;
  left: -30px;
  top: 440px;
  background: radial-gradient(circle, rgba(147, 199, 56, 0.22), rgba(147, 199, 56, 0));
  animation: drift 18s ease-in-out infinite reverse;
}

.orb-c {
  width: 280px;
  height: 280px;
  right: 18%;
  bottom: 90px;
  background: radial-gradient(circle, rgba(61, 165, 255, 0.2), rgba(61, 165, 255, 0));
  animation: pulse 10s ease-in-out infinite;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 130px;
}

.topbar,
.hero,
.section,
.cta-band,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 20, 32, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-logo,
.footer-logo {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.nav a,
.hero-text,
.quick-card p,
.keyword-card p,
.feature-card p,
.product-card p,
.step-card p,
.telegram-card p,
.trust-card p,
.faq-list p,
.footer p {
  color: var(--muted);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 180ms ease;
}

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

.header-actions,
.hero-card-actions,
.telegram-actions,
.cta-band-actions,
.mobile-actions {
  display: flex;
  gap: 12px;
}

.mobile-jumpbar {
  display: none;
}

.button {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  color: #031521;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright) 68%, #dcff97 100%);
  box-shadow: 0 18px 38px rgba(147, 199, 56, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(147, 199, 56, 0.3);
  filter: saturate(1.05);
}

.button-small {
  min-height: 46px;
  padding: 0 20px;
}

.button-full {
  width: 100%;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.eyebrow,
.panel-label,
.card-kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow,
.panel-label {
  color: var(--primary-bright);
}

.card-kicker {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 22px 0 12px;
}

.hero-copy h1,
.section-heading h2,
.cta-band h2,
.quick-card h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5.1vw, 5.5rem);
  max-width: 12ch;
  letter-spacing: -0.03em;
}

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

.hero-text {
  max-width: 63ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-highlights span,
.quick-card,
.keyword-card,
.feature-card,
.product-card,
.step-card,
.telegram-card,
.trust-card,
.faq-list details,
.promo-band,
.cta-band,
.footer,
.hero-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(61, 165, 255, 0.22), transparent 36%),
    radial-gradient(circle at 86% 16%, rgba(147, 199, 56, 0.16), transparent 24%);
  pointer-events: none;
}

.hero-card-top,
.hero-card-grid,
.promo-band,
.footer {
  position: relative;
  z-index: 1;
}

.hero-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.hero-logo {
  width: clamp(112px, 18vw, 190px);
  height: clamp(112px, 18vw, 190px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.promo-lockup strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--white);
  line-height: 1;
}

.promo-lockup span {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.hero-card-grid div {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(100, 177, 237, 0.18);
}

.hero-card-grid strong,
.keyword-card h3,
.feature-card h3,
.product-card h3,
.step-card h3,
.telegram-card h3,
.trust-card h3,
.faq-list summary {
  display: block;
}

.hero-card-grid span {
  display: inline-block;
  margin-top: 6px;
  color: var(--muted);
}

.hero-card-actions {
  flex-wrap: wrap;
}

.section {
  padding-top: 76px;
}

.section-compact {
  padding-top: 34px;
}

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

.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.03em;
}

.section-heading p:last-child {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.quick-grid,
.keyword-grid,
.content-grid,
.product-grid,
.steps,
.telegram-grid,
.trust-grid,
.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.keyword-grid,
.product-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.steps,
.telegram-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-card,
.keyword-card,
.feature-card,
.product-card,
.step-card,
.telegram-card,
.trust-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  opacity: 0;
  animation: rise 800ms ease forwards;
}

.quick-grid .quick-card:nth-child(2),
.keyword-grid .keyword-card:nth-child(2),
.content-grid .feature-card:nth-child(2),
.product-grid .product-card:nth-child(2),
.steps .step-card:nth-child(2),
.telegram-grid .telegram-card:nth-child(2),
.trust-grid .trust-card:nth-child(2) {
  animation-delay: 100ms;
}

.quick-grid .quick-card:nth-child(3),
.keyword-grid .keyword-card:nth-child(3),
.content-grid .feature-card:nth-child(3),
.product-grid .product-card:nth-child(3),
.steps .step-card:nth-child(3),
.telegram-grid .telegram-card:nth-child(3),
.trust-grid .trust-card:nth-child(3) {
  animation-delay: 180ms;
}

.quick-card h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  line-height: 1.1;
}

.keyword-card h3,
.feature-card h3,
.product-card h3,
.step-card h3,
.telegram-card h3,
.trust-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.quick-card p,
.keyword-card p,
.feature-card p,
.product-card p,
.step-card p,
.telegram-card p,
.trust-card p,
.faq-list p {
  margin: 0;
  line-height: 1.78;
}

.feature-card p + p,
.telegram-card p + p {
  margin-top: 14px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 18px;
  font-family: "Syne", sans-serif;
  font-size: 1.65rem;
  color: var(--accent);
}

.promo-band,
.cta-band {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}

.promo-band h3 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.promo-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.telegram-card-main {
  background:
    linear-gradient(145deg, rgba(61, 165, 255, 0.18), rgba(7, 30, 48, 0.84)),
    var(--surface);
}

.telegram-actions,
.cta-band-actions {
  flex-wrap: wrap;
  margin-top: 18px;
}

.faq-list details {
  padding: 20px 22px;
  border-radius: var(--radius-md);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 14px;
}

.cta-band {
  margin-top: 76px;
}

.footer {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 8px;
}

.footer-copy {
  max-width: 420px;
}

.footer-main {
  display: grid;
  gap: 18px;
  width: 100%;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.footer-links-group,
.footer-social {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(100, 177, 237, 0.16);
}

.footer-links-group h3,
.footer-social h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-links-group a,
.social-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-links-group a:hover,
.footer-links-group a:focus-visible,
.social-link:hover,
.social-link:focus-visible {
  color: var(--white);
}

.footer-links-group {
  display: grid;
  gap: 10px;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 20, 32, 0.5);
}

.social-link strong {
  color: var(--text);
  font-size: 0.95rem;
}

.social-link span {
  font-size: 0.92rem;
}

.social-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  color: #031521;
  font-size: 0.78rem;
  font-weight: 800;
}

.page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 20, 32, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.page-topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-main {
  display: grid;
  gap: 22px;
}

.page-hero,
.page-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 30px;
}

.page-hero h1 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.82;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.page-card {
  padding: 24px;
}

.page-card h2 {
  margin: 0 0 14px;
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
}

.page-card h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.8;
}

.page-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.page-card ul li + li {
  margin-top: 8px;
}

.page-note {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(61, 165, 255, 0.08);
  border: 1px solid rgba(61, 165, 255, 0.18);
}

.page-note strong {
  display: block;
  margin-bottom: 8px;
}

.mobile-actions {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  flex-direction: column;
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  text-decoration: none;
  color: #031521;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright) 68%, #dcff97 100%);
  box-shadow: 0 20px 40px rgba(147, 199, 56, 0.28);
}

.mobile-cta-secondary {
  margin-top: 10px;
  color: var(--text);
  background: rgba(4, 20, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(1, 10, 18, 0.38);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -20px, 0) scale(1.06);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb-a,
  .orb-b,
  .orb-c,
  .quick-card,
  .keyword-card,
  .feature-card,
  .product-card,
  .step-card,
  .telegram-card,
  .trust-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .topbar {
    border-radius: 28px;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

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

  .quick-grid,
  .keyword-grid,
  .content-grid,
  .product-grid,
  .steps,
  .telegram-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-band,
  .cta-band,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links,
  .page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  section[id] {
    scroll-margin-top: 24px;
  }

  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
    padding-bottom: 146px;
  }

  .topbar {
    position: static;
    padding: 12px;
    margin-bottom: 22px;
    border-radius: 24px;
    gap: 12px;
  }

  .brand-logo,
  .footer-logo {
    width: 48px;
    height: 48px;
  }

  .header-actions,
  .hero-card-actions,
  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .header-actions {
    display: none;
  }

  .mobile-jumpbar {
    position: sticky;
    top: 10px;
    z-index: 25;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 0 18px;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .mobile-jumpbar::-webkit-scrollbar {
    display: none;
  }

  .mobile-jumpbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    white-space: nowrap;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(100, 177, 237, 0.18);
    background: rgba(4, 20, 32, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .header-actions .button,
  .hero-actions .button,
  .hero-card-actions .button,
  .cta-band-actions .button {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 2.8rem;
  }

  .hero {
    gap: 20px;
    padding-top: 8px;
  }

  .eyebrow,
  .panel-label,
  .card-kicker {
    letter-spacing: 0.13em;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-card,
  .quick-card,
  .keyword-card,
  .feature-card,
  .product-card,
  .step-card,
  .telegram-card,
  .trust-card,
  .faq-list details,
  .promo-band,
  .cta-band,
  .footer {
    padding: 20px;
  }

  .hero-card-top,
  .hero-card-grid,
  .quick-grid,
  .keyword-grid,
  .content-grid,
  .product-grid,
  .steps,
  .telegram-grid,
  .trust-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .page-topbar,
  .page-topbar-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-card-top {
    gap: 14px;
    align-items: flex-start;
  }

  .hero-logo {
    width: 96px;
    height: 96px;
  }

  .hero-card-grid div {
    padding: 14px;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-grid {
    margin: 20px 0;
  }

  .mobile-actions {
    display: flex;
  }

  .footer-social-row {
    flex-direction: column;
  }

  .social-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--max-width));
  }

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

  .hero-card,
  .quick-card,
  .keyword-card,
  .feature-card,
  .product-card,
  .step-card,
  .telegram-card,
  .trust-card,
  .faq-list details,
  .promo-band,
  .cta-band,
  .footer {
    padding: 18px;
  }

  .mobile-actions {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .mobile-cta {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.96rem;
  }
}
