:root {
  color-scheme: dark;
  --bg: #090611;
  --panel: rgba(24, 17, 42, 0.82);
  --panel-strong: #19112d;
  --line: rgba(177, 132, 255, 0.18);
  --text: #f8f5ff;
  --muted: #aaa2bb;
  --violet: #a87aff;
  --pink: #ee52bd;
  --gold: #f8c44f;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 82% 7%, rgba(120, 47, 159, 0.20), transparent 32rem),
    radial-gradient(ellipse at 7% 28%, rgba(69, 45, 142, 0.13), transparent 36rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.page-width { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(192, 157, 255, 0.12);
  background: rgba(9, 6, 17, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(140deg, #9260ff, #e64fba);
  box-shadow: 0 0 24px rgba(180, 93, 255, 0.35);
}
.brand-mark span { display: block; width: 4px; border-radius: 5px; background: white; transform: skew(-16deg); }
.brand-mark span:first-child { height: 12px; opacity: .8; }
.brand-mark span:last-child { height: 18px; }
.brand-name { font-size: 15px; font-weight: 850; letter-spacing: .13em; }
.main-nav { display: flex; gap: 34px; margin-left: auto; color: #c5bdd2; font-size: 13px; }
.main-nav a { transition: color .18s ease; }
.main-nav a[aria-current="page"] { color: white; }
.main-nav a:hover, .back-to-top:hover { color: white; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-header, .button-primary {
  color: white;
  background: linear-gradient(110deg, #8755f7, #dd42aa);
  box-shadow: 0 8px 28px rgba(162, 69, 220, .27);
}
.button-header { min-height: 42px; padding-inline: 20px; }
.button-header span { font-size: 17px; }
.button-primary:hover, .button-header:hover { box-shadow: 0 12px 34px rgba(199, 67, 210, .42); }
.button-quiet { border-color: rgba(185, 148, 255, .27); background: rgba(255,255,255,.035); color: #eee8fb; }
.button-quiet:hover { border-color: rgba(185, 148, 255, .62); }

.hero {
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100% - 48px));
  min-height: 440px;
  margin: 0 auto;
  padding: 92px 20px 84px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(190, 150, 255, .10);
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #c5a8ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.eyebrow-line { width: 24px; height: 1px; background: linear-gradient(90deg, var(--violet), var(--pink)); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 790;
}
.hero h1 span, .section-heading h2 span {
  color: transparent;
  background: linear-gradient(100deg, #ae83ff 10%, #ee6acb 94%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-description { margin: 24px 0 17px; max-width: 470px; color: #b7afc6; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #e4d5ff; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--pink); font-size: 18px; }
.hero-orbit { position: absolute; width: 360px; height: 360px; right: 45px; top: 48px; opacity: .8; pointer-events: none; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(180, 128, 255, .19); border-radius: 50%; transform: rotate(-28deg) scaleY(.38); }
.orbit-two { inset: 28px -26px; transform: rotate(36deg) scaleY(.38); border-color: rgba(231, 83, 190, .2); }
.orbit-core { position: absolute; top: 50%; left: 50%; width: 102px; height: 102px; display: grid; place-items: center; border: 1px solid rgba(219, 177, 255, .35); border-radius: 30px; color: white; font-size: 48px; font-weight: 800; background: linear-gradient(145deg, rgba(135, 85, 247, .72), rgba(223, 65, 170, .48)); box-shadow: 0 0 90px rgba(165, 82, 235, .30); transform: translate(-50%, -50%) rotate(-9deg); }

.pricing-section { padding-top: 78px; padding-bottom: 78px; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading h2 span { color: #c4a3ff; background-image: linear-gradient(100deg, #c09bff, #f16cc8); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(26, 19, 46, .96), rgba(16, 12, 30, .94));
  box-shadow: 0 20px 60px rgba(0,0,0,.19);
}
.price-card-featured { border-color: rgba(201, 127, 255, .55); background: linear-gradient(145deg, rgba(43, 24, 70, .98), rgba(23, 13, 39, .98)); }
.price-card-featured::before { position: absolute; content: ""; top: -1px; left: 34px; right: 34px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--pink)); border-radius: 5px; }
.plan-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.plan-topline h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.plan-tag { padding: 6px 10px; border: 1px solid rgba(181, 139, 255, .28); border-radius: 99px; color: #cbb6ff; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.plan-tag-bright { border-color: rgba(231, 119, 218, .4); color: #f2a7dc; }
.plan-caption { min-height: 24px; margin: 10px 0 25px; color: var(--muted); font-size: 13px; }
.price-block { padding: 19px 0 24px; border-top: 1px solid rgba(203, 178, 255, .12); }
.was-price { display: flex; align-items: center; gap: 10px; margin: 0 0 3px; color: #a69db3; font-size: 12px; }
.was-price del { color: #a69db3; text-decoration-thickness: 1px; }
.now-price { margin: 0; color: #fff; font-size: clamp(50px, 7vw, 68px); font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.now-price > span { color: #cfb3ff; font-size: .57em; vertical-align: .25em; letter-spacing: -.03em; }
.now-price small { margin-left: 8px; color: #b2a7c2; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.price-card .button { width: 100%; }
.pricing-note { margin: 16px 0 0; color: #8f879d; font-size: 11px; }

.feature-image-section { padding-top: 30px; padding-bottom: 48px; }
.feature-image-frame {
  width: 65%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(170, 127, 248, .20);
  border-radius: 17px;
  background: rgba(18, 13, 31, .84);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}
.feature-image-frame img { display: block; width: 100%; height: auto; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px max(24px, calc((100% - var(--content)) / 2)); border-top: 1px solid rgba(190, 150, 255, .12); background: rgba(5, 4, 10, .55); }
.footer-brand .brand-mark { width: 25px; height: 25px; border-radius: 8px; }
.footer-brand .brand-name { font-size: 12px; }
.back-to-top { color: #afa5be; font-size: 12px; transition: color .18s ease; }
.back-to-top span { margin-left: 5px; color: #c598ff; }

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .page-width, .header-inner, .hero { width: min(100% - 32px, var(--content)); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 12px; }
  .brand-mark { width: 27px; height: 27px; }
  .main-nav { gap: 14px; font-size: 11px; }
  .button-header { min-height: 39px; padding-inline: 15px; font-size: 12px; }
  .hero { min-height: 390px; padding: 72px 4px 62px; }
  .hero-orbit { width: 235px; height: 235px; right: -74px; top: 74px; opacity: .45; }
  .orbit-core { width: 72px; height: 72px; border-radius: 22px; font-size: 35px; }
  .hero h1 { font-size: clamp(45px, 12vw, 66px); }
  .hero-description { max-width: 320px; font-size: 14px; }
  .pricing-section { padding-top: 56px; padding-bottom: 55px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 13px; }
  .price-card { padding: 24px; }
  .plan-caption { min-height: 0; }
  .now-price { font-size: 58px; }
  .feature-image-section { padding-top: 22px; padding-bottom: 36px; }
  .feature-image-frame { width: 100%; border-radius: 13px; }
}
@media (max-width: 390px) {
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 10px; }
  .header-inner { width: calc(100% - 24px); }
  .button-header { padding-inline: 12px; }
}
.docs-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.docs-hero { padding: 74px 0 52px; border-bottom: 1px solid rgba(190, 150, 255, .12); }
.docs-hero .eyebrow { margin-bottom: 16px; }
.docs-hero h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 7vw, 76px); line-height: 1; letter-spacing: -.065em; }
.docs-hero h1 span { color: transparent; background: linear-gradient(100deg, #ae83ff 10%, #ee6acb 94%); background-clip: text; -webkit-background-clip: text; }
.docs-lead { max-width: 760px; margin: 22px 0 12px; color: #c1b8d0; font-size: clamp(16px, 2vw, 20px); }
.docs-source { color: #9990a9; font-size: 12px; }
.docs-source a { color: #d3b7ff; text-decoration: underline; text-underline-offset: 3px; }
.docs-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 6vw, 76px); padding: 42px 0 90px; align-items: start; }
.docs-toc { position: sticky; top: 100px; display: grid; gap: 6px; padding: 19px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 14, 35, .78); }
.docs-toc-title { margin: 0 8px 8px; color: #c7b1f4; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.docs-toc a { padding: 7px 9px; border-radius: 8px; color: #b9b0c7; font-size: 12px; transition: color .18s ease, background .18s ease; }
.docs-toc a:hover { color: white; background: rgba(164, 115, 255, .12); }
.docs-article { min-width: 0; color: #c3bccf; font-size: 15px; line-height: 1.78; }
.docs-article section { margin: 0 0 48px; scroll-margin-top: 98px; }
.docs-article h2 { margin: 0 0 17px; color: #f7f3ff; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.045em; }
.docs-article h3 { margin: 28px 0 8px; color: #f0eaff; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.docs-article p { margin: 0 0 15px; }
.docs-article a { color: #d1b4ff; text-decoration: underline; text-underline-offset: 3px; }
.docs-callout { margin: 22px 0; padding: 18px 20px; border: 1px solid rgba(173, 129, 255, .22); border-left: 3px solid var(--violet); border-radius: 12px; background: rgba(29, 20, 49, .78); }
.docs-callout p:last-child { margin-bottom: 0; }
.docs-callout strong { color: #f5eaff; }
.docs-list { display: grid; gap: 12px; margin: 18px 0 22px; padding-left: 22px; }
.docs-list li::marker { color: #b788ff; }
.docs-list strong { color: #eee6fb; }
.docs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.docs-card { padding: 19px; border: 1px solid rgba(177, 132, 255, .18); border-radius: 14px; background: linear-gradient(145deg, rgba(27, 20, 47, .94), rgba(15, 11, 27, .94)); }
.docs-card h3 { margin: 0 0 7px; color: #e9ddff; font-size: 16px; }
.docs-card p { margin: 0; font-size: 13px; }
.docs-card code, .docs-article code { padding: .1em .36em; border: 1px solid rgba(177, 132, 255, .16); border-radius: 5px; background: rgba(6, 5, 12, .62); color: #e4d2ff; font-size: .88em; overflow-wrap: anywhere; }
.docs-article pre { overflow-x: auto; margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #0b0812; color: #e5d7ff; font-size: 13px; line-height: 1.65; }
.docs-article pre code { padding: 0; border: 0; background: none; }
.docs-footer-link { display: inline-flex; margin-top: 12px; }
@media (max-width: 850px) {
  .docs-layout { grid-template-columns: 1fr; gap: 30px; }
  .docs-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-toc-title { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .docs-shell { width: min(100% - 32px, 1240px); }
  .docs-hero { padding: 55px 0 36px; }
  .docs-layout { padding: 26px 0 60px; }
  .docs-article { font-size: 14px; }
  .docs-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Purchase and Telegram contact dialogs */
.button { font-family: inherit; cursor: pointer; }
.site-dialog {
  width: min(480px, calc(100% - 28px));
  max-width: none;
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  border: 1px solid rgba(184, 139, 255, .38);
  border-radius: 22px;
  background: linear-gradient(145deg, #1a1230, #0d0918 78%);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .64);
}
.site-dialog::backdrop { background: rgba(5, 3, 11, .76); backdrop-filter: blur(7px); }
.dialog-inner { position: relative; padding: clamp(24px, 5vw, 34px); }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(192, 157, 255, .22);
  border-radius: 50%;
  color: #eee7fa;
  background: rgba(255, 255, 255, .05);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.site-dialog .eyebrow { margin: 0 45px 13px 0; }
.site-dialog h2 { margin: 0 42px 16px 0; color: #fff; font-size: clamp(25px, 6vw, 34px); line-height: 1.1; letter-spacing: -.045em; }
.payment-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 19px 0 12px; padding: 14px 16px; border: 1px solid rgba(178, 132, 255, .26); border-radius: 12px; background: rgba(130, 84, 205, .12); }
.payment-summary span { color: #c9bed8; font-size: 14px; }
.payment-summary strong { color: #f1d7ff; font-size: 19px; white-space: nowrap; }
.payment-instructions { margin: 0 0 15px; color: #c0b6ce; font-size: 13px; line-height: 1.6; }
.payment-qr { display: block; width: min(100%, 400px); height: auto; margin: 17px auto; border: 1px solid rgba(255, 255, 255, .6); border-radius: 12px; background: #fff; }
.network-note { margin: 12px 0 5px; color: #d6c9e4; font-size: 13px; }
.network-note strong { color: #fff; }
.payment-warning, .payment-footnote { margin: 8px 0 15px; color: #a69caf; font-size: 11px; line-height: 1.55; }
.payment-footnote { margin-top: 13px; margin-bottom: 0; }
.contact-from-payment, .telegram-link { width: 100%; margin-top: 7px; }
.contact-handle { margin: 10px 0 14px; color: #f1d7ff; font-size: 25px; font-weight: 800; letter-spacing: -.025em; }
.telegram-link { color: #fff; }
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(231, 153, 255, .55);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #7650e8, #cf3da6);
  box-shadow: 0 10px 35px rgba(142, 62, 216, .38);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.floating-contact:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(190, 68, 207, .48); }
.floating-contact span { font-size: 15px; }
@media (max-width: 500px) {
  .floating-contact { right: 14px; bottom: 14px; min-height: 42px; padding-inline: 15px; }
  .dialog-inner { padding: 25px 20px; }
  .payment-qr { width: min(100%, 360px); }
}


/* Side-by-side plan actions and scrollable package details */
.price-actions { display: flex; align-items: stretch; gap: 10px; }
.price-actions .button { width: auto; min-width: 0; }
.price-actions .buy-button { flex: 1 1 auto; }
.price-actions .button-detail { flex: 0 0 112px; border-color: rgba(185, 148, 255, .42); background: rgba(169, 122, 255, .10); color: #e5d4ff; }
.price-actions .button-detail:hover { border-color: rgba(219, 177, 255, .78); background: rgba(169, 122, 255, .18); }
.details-dialog { width: min(780px, calc(100% - 28px)); }
.details-dialog .dialog-inner { max-height: min(88vh, 900px); overflow-y: auto; }
.details-dialog h2 { margin-bottom: 20px; }
.package-detail-content { color: #c8bfd4; font-size: 13px; line-height: 1.65; }
.package-detail-intro { margin: 0 0 12px; color: #ede5f8; }
.package-detail-content h3 { margin: 22px 0 9px; color: #eee4ff; font-size: 16px; line-height: 1.35; }
.package-detail-list { display: grid; gap: 8px; margin: 10px 0 18px; padding-left: 20px; }
.package-detail-list li { padding-left: 3px; }
.package-detail-list li::marker { color: #c08dff; }
.package-detail-list strong { color: #f1eaff; }
.detail-source-note { margin: 18px 0 0; padding: 13px 15px; border: 1px solid rgba(248, 196, 79, .28); border-left: 3px solid var(--gold); border-radius: 10px; background: rgba(248, 196, 79, .06); color: #e6d9bd; font-size: 12px; line-height: 1.6; }
@media (max-width: 500px) {
  .price-actions { gap: 8px; }
  .price-actions .button-detail { flex-basis: 96px; padding-inline: 12px; }
  .details-dialog .dialog-inner { max-height: 88vh; }
}
