:root {
  --ink: #081536;
  --muted: #596782;
  --line: #e3e8f3;
  --blue: #1748ff;
  --blue-2: #087cff;
  --cyan: #0dc7c1;
  --violet: #7b47f4;
  --surface: #ffffff;
  --soft: #f6f8fe;
  --shadow: 0 12px 34px rgba(29, 57, 126, .10);
  --shadow-strong: 0 15px 36px rgba(27, 70, 217, .24);
  --radius: 18px;
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 77% 2%, rgba(69, 105, 255, .07), transparent 28rem), radial-gradient(circle at 10% 24%, rgba(39, 204, 199, .04), transparent 26rem); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 18px; font-size: 29px; line-height: 1.15; letter-spacing: -.025em; }
.container { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; height: 78px; border-bottom: 1px solid rgba(219, 225, 239, .9); background: rgba(255, 255, 255, .93); backdrop-filter: blur(18px); }
.header-row { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-icon { position: relative; width: 50px; height: 50px; flex: 0 0 auto; isolation: isolate; }
.brand-icon img { position: relative; z-index: 2; width: 100%; height: 100%; animation: brand-rocket-float 2.8s ease-in-out infinite; }
.brand-icon::after { content: ""; position: absolute; z-index: 1; left: 50%; bottom: -3px; width: 13px; height: 19px; border-radius: 48% 48% 70% 70%; background: linear-gradient(180deg, #ecffff 0%, #56dcff 30%, rgba(75, 129, 255, .9) 58%, rgba(127, 76, 241, .6) 78%, transparent 100%); filter: blur(.35px) drop-shadow(0 3px 4px rgba(79, 100, 241, .28)); transform: translateX(-50%) scaleY(.82); transform-origin: 50% 0; animation: brand-thrust .78s ease-in-out infinite; }
.brand-copy { display: grid; gap: 2px; }
.brand strong { font-size: 22px; line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.brand small { display: block; color: #8b97ad; font-size: 9.5px; font-weight: 800; letter-spacing: .7em; line-height: 1; white-space: nowrap; text-align: center; }

@keyframes brand-rocket-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(1px, -1px, 0); }
}
@keyframes brand-thrust {
  0%, 100% { opacity: .68; transform: translateX(-50%) scale(.86, .8); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04, 1.18); }
}
.main-nav { display: flex; align-items: center; gap: 39px; margin-left: 18px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.chevron { margin-left: 4px; font-size: 17px; }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; margin-left: auto; }
.header-actions .button { flex: 0 0 auto; white-space: nowrap; }
.search-field { width: 256px; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #dfe5f1; border-radius: 12px; background: #f7f9fd; color: #73809a; }
.search-field span { font-size: 26px; line-height: 0; transform: translateY(-2px); }
.search-field input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field input::placeholder { color: #8490a7; }
.theme-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 12px; color: #31517c; background: transparent; font-size: 27px; line-height: 1; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-button:hover { color: #1748ff; border-color: #d9e2f4; background: #f4f7fd; transform: rotate(8deg); }
.theme-button:focus-visible { outline: 3px solid rgba(23, 72, 255, .24); outline-offset: 2px; }
.menu-toggle { display: none; width: 44px; height: 40px; padding: 8px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 3px; background: var(--ink); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, #0e53ff, #3145ec); box-shadow: 0 8px 22px rgba(35, 79, 231, .28); }
.button-compact { min-height: 46px; padding-inline: 21px; font-size: 14px; }
.button-gradient { overflow: hidden; color: #fff; border: 0; background: linear-gradient(112deg, #08b8c2 0%, #0baecb 22%, #1689ec 48%, #245fff 73%, #3448ee 100%); background-clip: padding-box; box-shadow: var(--shadow-strong); }
.button-outline { color: #1f43df; border-color: #7895ff; background: #fff; }
.button-outline:hover { box-shadow: 0 10px 24px rgba(40, 83, 215, .12); }
.user-icon { width: 17px; height: 17px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; font-size: 11px; border: 2px solid white; }
.telegram-plane { transform: rotate(-28deg); font-size: 19px; }

.hero { position: relative; overflow: hidden; padding: 28px 0 14px; background: radial-gradient(ellipse at 75% 48%, rgba(104, 140, 255, .15) 0, rgba(138, 225, 255, .09) 34%, transparent 67%), linear-gradient(100deg, #ffffff 0%, #fbfdff 42%, #f8faff 70%, #ffffff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 11% 41%, rgba(30, 200, 196, .045), transparent 25rem); }
.hero::after { content: ""; position: absolute; top: 48px; right: 3%; width: 48%; height: 320px; pointer-events: none; opacity: .75; background: radial-gradient(circle at 8% 18%, rgba(89, 115, 255, .58) 0 3px, transparent 4px), radial-gradient(circle at 23% 76%, rgba(70, 205, 216, .48) 0 2px, transparent 3px), radial-gradient(circle at 49% 5%, rgba(94, 132, 255, .38) 0 2px, transparent 3px), radial-gradient(circle at 73% 88%, rgba(133, 88, 247, .42) 0 3px, transparent 4px), radial-gradient(circle at 94% 33%, rgba(52, 191, 223, .55) 0 2px, transparent 3px); animation: hero-stars 6.5s ease-in-out infinite; }
.hero-grid { position: relative; min-height: 385px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 2; padding-left: 0; }
.eyebrow { width: fit-content; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 12px; color: #1745ec; border: 1px solid #cad7ff; border-radius: 99px; background: #edf2ff; font-size: 12px; font-weight: 750; box-shadow: 0 4px 12px rgba(57, 92, 214, .07); }
.hero h1 { margin-bottom: 14px; font-size: clamp(46px, 4.35vw, 69px); line-height: .99; letter-spacing: -.048em; }
.hero h1 span, .referral-title h2 span { color: transparent; background: linear-gradient(90deg, #0e65fa, #12aaa9); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 650px; margin-bottom: 25px; color: #51617e; font-size: 17px; line-height: 1.58; }
.hero-buttons { display: flex; gap: 17px; }
.hero-art { position: relative; min-width: 0; min-height: 370px; display: flex; align-items: center; justify-content: center; }
.hero-art::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1.45; border-radius: 50%; background: radial-gradient(ellipse, rgba(65, 107, 255, .13), rgba(81, 214, 230, .05) 45%, transparent 72%); filter: blur(18px); animation: hero-glow 7s ease-in-out infinite; }
.hero-art::after { content: ""; position: absolute; top: 18%; left: 12%; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(145deg, rgba(111, 72, 247, .82), rgba(69, 92, 245, .62)); transform: rotate(17deg); box-shadow: 470px 15px 0 -5px rgba(42, 199, 226, .75), 405px 238px 0 -8px rgba(113, 80, 242, .48), -38px 205px 0 -9px rgba(64, 169, 236, .52); filter: blur(.1px); animation: hero-cubes 8.5s ease-in-out infinite; }
.hero-art img { position: absolute; top: 50%; left: 50%; width: min(124%, 900px); max-width: none; height: auto; transform: translate(-50%, -50%); -webkit-mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, #000 54%, rgba(0, 0, 0, .98) 72%, transparent 100%); mask-image: radial-gradient(ellipse 78% 76% at 50% 50%, #000 54%, rgba(0, 0, 0, .98) 72%, transparent 100%); animation: hero-float 7.5s ease-in-out infinite; }
.hero-art-light { display: block; mix-blend-mode: multiply; filter: saturate(1.04) contrast(1.015); }
.hero-art-dark { display: none; mix-blend-mode: normal; filter: saturate(1.08) contrast(1.025); }

@keyframes hero-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}
@keyframes hero-cubes {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(17deg); }
  50% { transform: translate3d(5px, -8px, 0) rotate(23deg); }
}
@keyframes hero-glow {
  0%, 100% { opacity: .72; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.035); }
}
@keyframes hero-stars {
  0%, 100% { opacity: .48; filter: brightness(.95); }
  45% { opacity: .78; filter: brightness(1.08); }
  70% { opacity: .58; filter: brightness(1); }
}

.benefits { padding: 7px 0 3px; }
.benefits-row { min-height: 66px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border: 1px solid #dfe5f0; border-radius: 15px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(32, 58, 113, .06); }
.benefits-row > div { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border-right: 1px solid #e5eaf2; font-size: 14px; }
.benefits-row > div:last-child { border-right: 0; }
.benefit-icon { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: #1a56ed; font-size: 25px; font-weight: 800; line-height: 1; }
.benefit-icon svg { width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.benefit-icon.ruble { font-family: Arial, sans-serif; font-size: 27px; font-weight: 700; }
.benefit-icon.telegram { color: #21a8e6; }
.benefit-icon.telegram svg { width: 30px; height: 30px; fill: #21a8e6; stroke: none; }
.benefit-icon.telegram svg path { fill: #fff; }
.benefit-icon.code svg { width: 29px; height: 29px; }

.section { padding: 24px 0 6px; }
.section-tight { padding-top: 23px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.text-link { color: #284cf0; font-size: 14px; font-weight: 700; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model-card { position: relative; min-height: 158px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 26px 19px; color: #fff; border-radius: 16px; box-shadow: 0 15px 30px rgba(24, 55, 151, .13); }
.model-card::before { content: ""; position: absolute; z-index: 0; width: 260px; height: 260px; right: -86px; top: -132px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.19), rgba(255,255,255,.045) 48%, transparent 70%); pointer-events: none; }
.model-card::after { content: ""; position: absolute; z-index: 0; left: var(--wave-focus-x); bottom: -64px; width: 290px; height: 158px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,255,.29), rgba(165,222,255,.15) 29%, rgba(144,187,255,.06) 49%, transparent 72%); filter: blur(9px); transform: translateX(-50%); pointer-events: none; }
.model-blue { --wave-focus-x: 58%; background: linear-gradient(135deg, #08185f, #06249e 61%, #2448ec); }
.model-teal { --wave-focus-x: 58%; background: linear-gradient(135deg, #086b70, #09989a 58%, #18c6ba); }
.model-violet { --wave-focus-x: 61%; background: linear-gradient(135deg, #2636ce, #5637e8 58%, #744af0); }
.model-wave { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.model-wave > path:not(.wave-veil):not(.wave-ribbon) { fill: none; stroke: rgba(255,255,255,.17); stroke-width: 1.08; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.model-wave .wave-veil { fill: none; stroke-width: 38; stroke-linecap: round; opacity: .58; filter: blur(8px); vector-effect: non-scaling-stroke; }
.model-wave .wave-ribbon { fill: none; stroke-width: 9; stroke-linecap: round; opacity: .5; filter: blur(2.2px); vector-effect: non-scaling-stroke; }
.model-wave .wave-ribbon-b { stroke-width: 5; opacity: .44; filter: blur(1.35px); }
.wave-gpt { opacity: .92; }
.wave-claude { opacity: .89; }
.wave-gemini { opacity: .87; }
.model-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.model-logo { width: 55px; height: 55px; flex: 0 0 auto; display: grid; place-items: center; color: #0e1e64; border-radius: 50%; background: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 6px 18px rgba(7, 20, 70, .16); }
.model-logo svg { width: 32px; height: 32px; overflow: visible; }
.model-logo img { width: 32px; height: 32px; display: block; object-fit: contain; }
.openai-logo svg { fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.openai-logo img { width: 31px; height: 31px; }
.gemini-logo svg { width: 29px; height: 29px; fill: currentColor; }
.model-top h3 { margin: 0 0 4px; font-size: 24px; }
.model-top p { margin: 0; color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.4; }
.model-tag { position: relative; z-index: 1; width: fit-content; padding: 6px 12px; border-radius: 7px; background: rgba(4, 12, 67, .28); font-size: 12px; }
.catalog-status { margin: 10px 0 0; color: #77849a; font-size: 13px; text-align: right; }
.catalog-status.is-online::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #22bb88; box-shadow: 0 0 0 4px rgba(34,187,136,.12); }

.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-card { min-height: 100px; display: flex; align-items: center; gap: 17px; padding: 18px 20px; border: 1px solid #dfe5ee; border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(24, 51, 104, .035); }
.round-icon { width: 51px; height: 51px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; border-radius: 50%; font-size: 19px; font-weight: 900; box-shadow: 0 8px 18px rgba(52, 65, 214, .18); }
.round-icon svg { width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.purple { background: linear-gradient(135deg, #8b5af6, #a94ef1); }
.periwinkle { color: #2642df; background: #dbe2ff; }
.darkblue { background: linear-gradient(135deg, #082677, #0a50c5); }
.lilac { background: linear-gradient(135deg, #b67bff, #8f47ef); }
.audience-card h3 { margin: 0 0 5px; font-size: 16px; }
.audience-card p { margin: 0; color: #6a768c; font-size: 13px; line-height: 1.42; }

.pricing-shell { display: grid; grid-template-columns: 1fr 330px; border: 1px solid #dfe5ef; border-radius: 18px; background: #fff; box-shadow: 0 11px 26px rgba(35, 59, 109, .04); }
.pricing-main { padding: 21px 24px 20px; border-right: 1px solid #e5e9f1; }
.pricing-main h2 { margin-bottom: 8px; }
.small-label { margin-bottom: 4px; color: #8791a6; font-size: 12px; }
.chart-and-points { display: grid; grid-template-columns: 1.35fr .75fr; gap: 28px; align-items: center; }
.bar-chart { height: 196px; display: grid; grid-template-columns: 46px 1fr; gap: 12px; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0 29px; color: #8994aa; font-size: 11px; text-align: right; }
.bar-set { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; padding-top: 23px; }
.bar-set::before { content: ""; position: absolute; inset: 23px 0 28px; border-bottom: 1px solid #e5eaf2; background: repeating-linear-gradient(to bottom, #e5eaf2 0 1px, transparent 1px 36px); pointer-events: none; }
.bar-item { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) 28px; align-items: end; border-radius: 7px; outline: 0; text-align: center; cursor: pointer; }
.bar-value { position: relative; width: 100%; height: 100%; min-height: 0; }
.bar-item strong { position: absolute; z-index: 2; right: 0; bottom: calc(var(--bar) + 6px); left: 0; color: #46536d; font-size: 12px; line-height: 1; white-space: nowrap; transition: color .2s ease, bottom .35s ease; }
.bar-item i { position: absolute; right: 18%; bottom: 0; left: 18%; height: var(--bar); min-height: 5px; border-radius: 8px 8px 1px 1px; background-image: linear-gradient(to bottom, rgba(255,255,255,.28), rgba(255,255,255,0) 72%); box-shadow: 0 8px 15px rgba(44, 71, 158, .18); transition: height .35s ease, filter .2s ease; }
.bar-item:nth-child(1) i { background-color: #3855ff; }
.bar-item:nth-child(2) i { background-color: #10bca5; }
.bar-item:nth-child(3) i { background-color: #9b4ff1; }
.bar-item:nth-child(4) i { background-color: #52a5ff; }
.bar-item:nth-child(5) i { background-color: #31aa79; }
.bar-item span { align-self: end; color: #4e5a70; font-size: 11px; line-height: 1.15; }
.bar-item.is-selected strong { color: #174be8; }
.bar-item.is-selected i { filter: saturate(1.08) brightness(1.03); box-shadow: 0 9px 17px rgba(41, 74, 199, .25); }
.bar-item:focus-visible { box-shadow: 0 0 0 3px rgba(39, 87, 236, .18); }
.price-points { display: grid; gap: 20px; }
.price-points > div { display: flex; align-items: center; gap: 12px; }
.price-points > div > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: #4168ec; border-radius: 13px; background: linear-gradient(145deg, #f8faff, #e9efff); box-shadow: 0 6px 15px rgba(45, 74, 177, .1); }
.price-icon svg { width: 23px; height: 23px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.price-icon-control { color: #385eea !important; background: linear-gradient(145deg, #f7f9ff, #e7edff) !important; }
.price-icon-discount { color: #08a892 !important; background: linear-gradient(145deg, #f1fffc, #daf8f2) !important; }
.price-points p { display: grid; gap: 3px; margin: 0; }
.price-points strong { font-size: 13px; }
.price-points small { color: #7c879b; font-size: 11px; line-height: 1.35; }
.calculator { display: grid; gap: 13px; padding: 23px 24px; }
.calculator h3 { margin-bottom: 1px; font-size: 16px; }
.calculator label { display: grid; grid-template-columns: 93px 1fr; align-items: center; gap: 10px; color: #68738a; font-size: 12px; }
.calculator select, .calculator input { width: 100%; min-width: 0; height: 39px; padding: 0 11px; border: 1px solid #dee5f3; border-radius: 8px; outline: 0; color: #233257; background: #f2f5fc; font-size: 13px; font-weight: 650; }
.calculator-total { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px solid #e5e9f0; font-size: 12px; font-weight: 700; }
.calculator-total strong { color: #104aff; font-size: 25px; }
.calculator > p { margin: -4px 0 0; color: #8994a8; font-size: 11px; line-height: 1.45; }

.account-preview { padding-top: 22px; }
.dashboard-grid { display: grid; grid-template-columns: 245px 1.55fr 1.3fr; gap: 16px; }
.dashboard-grid > article { min-height: 207px; padding: 20px; border: 1px solid #dfe5ef; border-radius: 16px; background: #fff; box-shadow: 0 9px 21px rgba(25, 55, 110, .035); }
.balance-card { display: grid; align-content: start; }
.balance-card > span, .balance-card small { color: #718098; font-size: 12px; }
.balance-card > strong { margin: 6px 0 10px; font-size: 26px; }
.balance-card button { width: 150px; height: 34px; margin-bottom: 22px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(90deg, #19c5b0, #08a598); font-size: 12px; font-weight: 750; box-shadow: 0 8px 14px rgba(17, 183, 161, .24); }
.balance-card b { margin-top: 4px; font-size: 15px; }
.requests-card h3, .spend-card h3 { margin: 0 0 12px; font-size: 13px; }
.requests-card > div { display: grid; grid-template-columns: 28px 1fr auto 40px; align-items: center; gap: 8px; min-height: 47px; padding: 5px 8px; border-radius: 7px; }
.requests-card > div:nth-child(even) { background: #f4f7fc; }
.requests-card i { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #9bb4f6; border-radius: 50%; color: #2161db; font-size: 8px; font-style: normal; }
.requests-card p { display: grid; gap: 2px; margin: 0; }
.requests-card p strong { font-size: 12px; }
.requests-card p small, .requests-card > div > span { color: #7e899f; font-size: 11px; }
.requests-card b { font-size: 11px; text-align: right; }
.spend-card h3 small { color: #8691a5; font-weight: 500; }
.line-chart { padding-top: 13px; background: repeating-linear-gradient(to bottom, #edf0f5 0 1px, transparent 1px 35px); }
.line-chart svg { width: 100%; height: 125px; overflow: visible; }
.line-chart .area { fill: url(#area); }
.line-chart .line { fill: none; stroke: #234dff; stroke-width: 2.3; }
.line-chart circle { fill: #fff; stroke: #234dff; stroke-width: 2; }
.chart-labels { display: flex; justify-content: space-between; color: #818da2; font-size: 11px; }

.telegram-panel { position: relative; min-height: 218px; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr .78fr; align-items: center; padding: 0 28px; border: 1px solid #dde4ef; border-radius: 17px; background: linear-gradient(105deg, #fff 0%, #fbfdff 44%, #f3f5ff 100%); box-shadow: 0 11px 26px rgba(31, 57, 111, .04); }
.telegram-panel::before { content: ""; position: absolute; left: 29%; bottom: -60%; width: 400px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 101, 255, .16), transparent 67%); }
.telegram-copy { position: relative; z-index: 2; }
.telegram-copy h2 { margin-bottom: 10px; font-size: 25px; }
.telegram-copy p { max-width: 310px; margin-bottom: 16px; color: #66748e; font-size: 14px; line-height: 1.5; }
.telegram-copy .button { min-height: 40px; padding-inline: 21px; border-radius: 9px; font-size: 13px; }
.phone { position: absolute; width: 380px; height: 260px; left: 50%; bottom: -53px; transform: translateX(-50%); overflow: hidden; border: 11px solid #17243d; border-radius: 40px 40px 0 0; background: #eaf1fb; box-shadow: 0 19px 35px rgba(12, 25, 50, .24); }
.phone::before { content: "9:41"; display: block; height: 24px; padding: 5px 19px 0; color: #fff; background: #1d2c48; font-size: 10px; font-weight: 700; }
.phone-top { height: 43px; display: grid; grid-template-columns: 30px 1fr 35px; align-items: center; padding: 0 12px; color: #fff; background: #273954; font-size: 13px; }
.phone-top strong { display: grid; font-size: 12px; }
.phone-top small { color: #aebbd0; font-size: 9px; }
.phone-chat { padding: 14px 16px; font-size: 11px; }
.phone-chat p { width: fit-content; max-width: 73%; margin: 0 0 8px; padding: 9px 11px; border-radius: 8px; box-shadow: 0 3px 8px rgba(31, 55, 98, .08); }
.bot-message { background: #fff; }
.user-message { margin-left: auto !important; background: #c8f1c4; }
.phone-chat .model-pill { margin-inline: auto !important; padding: 4px 12px; color: #577086; border-radius: 99px; background: #dce7f1; }
.telegram-features { position: relative; z-index: 2; display: grid; gap: 18px; }
.telegram-features { grid-column: 3; }
.telegram-features > div { display: flex; align-items: center; gap: 12px; }
.telegram-features > div > span { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; color: #3158e8; border-radius: 11px; background: #fff; box-shadow: 0 6px 15px rgba(30, 60, 143, .1); }
.telegram-features p { display: grid; gap: 3px; margin: 0; }
.telegram-features strong { font-size: 13px; }
.telegram-features small { color: #748096; font-size: 11px; }

.referral-section { padding-top: 20px; }
.referral-grid { display: grid; grid-template-columns: .9fr 1fr 1fr 1.05fr; gap: 9px; }
.referral-grid > * { min-height: 155px; border: 1px solid #dfe5ee; border-radius: 16px; }
.referral-title { display: grid; align-items: center; padding: 24px; }
.referral-title h2 { margin: 0; font-size: 23px; line-height: 1.13; }
.gift-card { position: relative; overflow: hidden; display: flex; justify-content: space-between; padding: 23px 20px; border-color: transparent; }
.gift-teal { background: linear-gradient(135deg, #eefdfa, #d8f7f4); }
.gift-purple { background: linear-gradient(135deg, #f5efff, #e6d8ff); }
.gift-card div { position: relative; z-index: 2; display: grid; align-content: start; }
.gift-card strong { color: #099d90; font-size: 25px; }
.gift-purple strong { color: #7f3ee8; }
.gift-card small { margin: 4px 0 13px; font-size: 12px; font-weight: 700; }
.gift-card p { margin: 0; color: #577277; font-size: 11px; line-height: 1.55; }
.gift { position: absolute; z-index: 1; right: -5px; bottom: -18px; width: 148px; height: 148px; object-fit: contain; filter: drop-shadow(0 11px 13px rgba(17, 120, 111, .16)); animation: gift-float 4.8s ease-in-out infinite; }
.gift-purple .gift { filter: drop-shadow(0 11px 13px rgba(92, 47, 168, .16)); animation-delay: -2.4s; }
@keyframes gift-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -5px, 0) rotate(1deg); }
}
.referral-link { display: grid; align-content: start; padding: 20px; }
.referral-link > small { margin-bottom: 8px; color: #7f8aa0; font-size: 11px; }
.referral-link code { padding: 10px; border: 1px solid #dfe5ef; border-radius: 8px; background: #f4f7fc; font: 700 11px Inter, sans-serif; }
.referral-link > span { margin-top: 7px; color: #8994a7; font-size: 11px; line-height: 1.4; }
.socials { display: flex; gap: 10px; margin-top: 13px; }
.social-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #dce4f1; border-radius: 50%; background: #fff; box-shadow: 0 5px 14px rgba(35, 62, 126, .08); }
.social-icon svg { width: 21px; height: 21px; overflow: visible; fill: currentColor; }
.social-telegram { color: #229ed9; }
.social-max { color: #2765ef; font-size: 8px; font-weight: 900; letter-spacing: -.04em; }
.social-vk { color: #2787f5; font-size: 11px; font-weight: 900; letter-spacing: -.05em; }
.social-instagram { color: #c733a6; }
.social-instagram rect, .social-instagram circle:not(.social-dot) { fill: none; stroke: currentColor; stroke-width: 1.9; }
.social-instagram .social-dot { fill: currentColor; stroke: none; }
.social-tiktok { color: #11172a; }

.faq { padding-top: 22px; padding-bottom: 18px; }
.faq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.faq details { border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; }
.faq summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 650; }
.faq summary::after { content: "⌄"; color: #375592; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 17px; color: #66748c; font-size: 12px; line-height: 1.55; }

.site-footer { padding: 30px 0 13px; border-top: 1px solid #e2e7ef; background: linear-gradient(180deg, #fbfcff, #f5f7fc); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .72fr) 1fr; gap: 48px; }
.footer-brand > p { max-width: 275px; margin: 13px 0; color: #66738b; font-size: 12px; line-height: 1.55; }
.footer-wordmark { gap: 4px; }
.footer-brand .brand strong { font-size: 16px; text-align: center; }
.footer-brand .brand small { color: #8b97ad; font-size: 8px; letter-spacing: .56em; text-indent: .56em; text-align: center; }
.footer-socials { display: flex; gap: 10px; }
.footer-grid nav, .support { display: grid; align-content: start; gap: 10px; font-size: 12px; }
.footer-grid nav strong, .support > strong { margin-bottom: 4px; color: #17223f; font-size: 13px; }
.footer-grid nav a, .support a, .support > span { color: #64728c; }
.support b { width: fit-content; display: flex; align-items: center; gap: 6px; margin-top: 4px; padding: 5px 10px; color: #098a62; border-radius: 99px; background: #dff8ed; font-size: 11px; }
.support b i, .status-line i { width: 7px; height: 7px; border-radius: 50%; background: #21bd83; box-shadow: 0 0 0 4px rgba(33,189,131,.12); }
.copyright { margin-top: 22px; color: #7e899d; font-size: 11px; text-align: center; }

.status-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 80% 10%, rgba(76, 106, 255, .17), transparent 30rem), radial-gradient(circle at 10% 90%, rgba(16, 196, 184, .14), transparent 28rem), #f7f9ff; }
.status-card { width: min(600px, 100%); padding: 50px; border: 1px solid rgba(64, 91, 168, .14); border-radius: 28px; background: rgba(255,255,255,.9); box-shadow: 0 28px 90px rgba(30, 61, 133, .13); }
.status-orbit { width: 72px; height: 72px; display: grid; place-items: center; margin: 39px 0 20px; color: #fff; border-radius: 22px; background: linear-gradient(135deg, #1858ff, #16c2bc); box-shadow: 0 15px 30px rgba(27, 91, 235, .26); font-size: 27px; font-weight: 850; }
.status-card h1 { margin-bottom: 14px; font-size: clamp(36px, 7vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.status-card > p { color: #5f6e89; line-height: 1.65; }
.status-line { display: flex; align-items: center; gap: 11px; margin: 25px 0; color: #13775c; font-weight: 750; }

:root[data-theme="dark"] {
  --ink: #edf4ff;
  --muted: #a7b5cc;
  --line: #2a3855;
  --surface: #111a2d;
  --soft: #151f35;
  --shadow: 0 14px 38px rgba(0, 0, 0, .28);
  --shadow-strong: 0 16px 40px rgba(20, 62, 207, .34);
}

:root[data-theme="dark"] body {
  color: var(--ink);
  background: #080d1a;
}

:root[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 77% 2%, rgba(57, 95, 238, .19), transparent 30rem),
    radial-gradient(circle at 10% 24%, rgba(21, 184, 179, .10), transparent 28rem);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(74, 94, 133, .55);
  background: rgba(8, 13, 26, .91);
}

:root[data-theme="dark"] .brand small,
:root[data-theme="dark"] .footer-brand .brand small {
  color: #92a2bd;
}

:root[data-theme="dark"] .search-field {
  color: #93a3be;
  border-color: #2b3a59;
  background: #111a2c;
}

:root[data-theme="dark"] .search-field input::placeholder { color: #7f90ad; }
:root[data-theme="dark"] .theme-button { color: #b9c7de; }
:root[data-theme="dark"] .theme-button:hover {
  color: #fff;
  border-color: #3e527c;
  background: #17233a;
}

:root[data-theme="dark"] .button-outline {
  color: #c9d5ff;
  border-color: #5574e8;
  background: #111a2e;
}

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse at 75% 48%, rgba(57, 95, 232, .27) 0, rgba(24, 154, 182, .11) 34%, transparent 67%),
    linear-gradient(102deg, #080d1a 0%, #0b1222 44%, #0e172b 72%, #080d1a 100%);
}

:root[data-theme="dark"] .hero::before {
  background: radial-gradient(circle at 11% 41%, rgba(18, 197, 190, .10), transparent 25rem);
}

:root[data-theme="dark"] .hero-copy > p,
:root[data-theme="dark"] .audience-card p,
:root[data-theme="dark"] .telegram-copy p,
:root[data-theme="dark"] .footer-brand > p,
:root[data-theme="dark"] .status-card > p {
  color: #aab7cd;
}

:root[data-theme="dark"] .eyebrow {
  color: #a9c0ff;
  border-color: #344c85;
  background: rgba(30, 56, 113, .54);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

:root[data-theme="dark"] .hero-art::before {
  background: radial-gradient(ellipse, rgba(53, 96, 255, .31), rgba(29, 191, 208, .11) 45%, transparent 72%);
}

:root[data-theme="dark"] .hero-art-light { display: none; }
:root[data-theme="dark"] .hero-art-dark { display: block; }

:root[data-theme="dark"] .benefits-row,
:root[data-theme="dark"] .audience-card,
:root[data-theme="dark"] .pricing-shell,
:root[data-theme="dark"] .dashboard-grid > article,
:root[data-theme="dark"] .referral-title,
:root[data-theme="dark"] .referral-link,
:root[data-theme="dark"] .faq details,
:root[data-theme="dark"] .status-card {
  border-color: #293956;
  background: rgba(17, 26, 45, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

:root[data-theme="dark"] .benefits-row > div { border-color: #293956; }
:root[data-theme="dark"] .catalog-status,
:root[data-theme="dark"] .small-label,
:root[data-theme="dark"] .balance-card > span,
:root[data-theme="dark"] .balance-card small,
:root[data-theme="dark"] .requests-card p small,
:root[data-theme="dark"] .requests-card > div > span,
:root[data-theme="dark"] .spend-card h3 small,
:root[data-theme="dark"] .calculator > p,
:root[data-theme="dark"] .chart-labels,
:root[data-theme="dark"] .referral-link > small,
:root[data-theme="dark"] .referral-link > span,
:root[data-theme="dark"] .copyright {
  color: #8999b4;
}

:root[data-theme="dark"] .pricing-main { border-color: #293956; }
:root[data-theme="dark"] .bar-set::before {
  border-bottom-color: #2a3854;
  background: repeating-linear-gradient(to bottom, #2a3854 0 1px, transparent 1px 36px);
}
:root[data-theme="dark"] .y-axis,
:root[data-theme="dark"] .bar-item strong,
:root[data-theme="dark"] .bar-item span { color: #aab7cc; }
:root[data-theme="dark"] .bar-item.is-selected strong { color: #85a7ff; }

:root[data-theme="dark"] .price-points > div > span {
  color: #8ca8ff;
  background: linear-gradient(145deg, #1a2741, #131e35);
  box-shadow: 0 7px 17px rgba(0, 0, 0, .22);
}
:root[data-theme="dark"] .price-icon-control {
  color: #8ca8ff !important;
  background: linear-gradient(145deg, #1b2844, #121d34) !important;
}
:root[data-theme="dark"] .price-icon-discount {
  color: #48d5c2 !important;
  background: linear-gradient(145deg, #153234, #112829) !important;
}
:root[data-theme="dark"] .price-points small { color: #8d9cb6; }

:root[data-theme="dark"] .calculator label { color: #9ba9c0; }
:root[data-theme="dark"] .calculator select,
:root[data-theme="dark"] .calculator input {
  color: #e7efff;
  border-color: #30415f;
  background: #151f34;
}
:root[data-theme="dark"] .calculator-total { border-color: #2a3854; }
:root[data-theme="dark"] .calculator-total strong { color: #7597ff; }

:root[data-theme="dark"] .requests-card > div:nth-child(even) { background: #151f34; }
:root[data-theme="dark"] .line-chart {
  background: repeating-linear-gradient(to bottom, #26344e 0 1px, transparent 1px 35px);
}
:root[data-theme="dark"] .line-chart circle { fill: #111a2d; }

:root[data-theme="dark"] .telegram-panel {
  border-color: #293956;
  background: linear-gradient(105deg, #111a2d 0%, #101a2d 44%, #141d38 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}
:root[data-theme="dark"] .telegram-features > div > span {
  color: #86a4ff;
  background: #17233a;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .24);
}
:root[data-theme="dark"] .telegram-features small { color: #8e9db6; }

:root[data-theme="dark"] .gift-teal {
  border-color: #23515a;
  background: linear-gradient(135deg, #102e31, #153b3c);
}
:root[data-theme="dark"] .gift-purple {
  border-color: #44356d;
  background: linear-gradient(135deg, #261f3d, #342657);
}
:root[data-theme="dark"] .gift-card p { color: #a9b9c4; }
:root[data-theme="dark"] .referral-link code {
  color: #dbe7ff;
  border-color: #30415f;
  background: #151f34;
}
:root[data-theme="dark"] .social-icon {
  border-color: #30415f;
  background: #151f34;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
:root[data-theme="dark"] .social-tiktok { color: #e7edfb; }

:root[data-theme="dark"] .faq summary::after { color: #8aa4f1; }
:root[data-theme="dark"] .faq details p { color: #9ba9c0; }

:root[data-theme="dark"] .site-footer {
  border-top-color: #273651;
  background: linear-gradient(180deg, #0d1424, #090f1d);
}
:root[data-theme="dark"] .footer-grid nav strong,
:root[data-theme="dark"] .support > strong { color: #e8effd; }
:root[data-theme="dark"] .footer-grid nav a,
:root[data-theme="dark"] .support a,
:root[data-theme="dark"] .support > span { color: #98a7bf; }
:root[data-theme="dark"] .support b {
  color: #62dfb8;
  background: #123229;
}

:root[data-theme="dark"] .status-page {
  background:
    radial-gradient(circle at 80% 10%, rgba(66, 96, 232, .24), transparent 30rem),
    radial-gradient(circle at 10% 90%, rgba(16, 183, 176, .17), transparent 28rem),
    #080d1a;
}

@media (max-width: 1500px) {
  .header-row { gap: 22px; }
  .main-nav { gap: 22px; margin-left: 0; }
  .search-field { width: 210px; }
}

@media (max-width: 1320px) {
  .container { width: min(1160px, calc(100% - 36px)); }
  .hero-art img { width: min(116%, 760px); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 25px; }
}

@media (max-width: 1050px) {
  .site-header { height: 70px; }
  .brand strong { font-size: 19px; }
  .brand-icon { width: 42px; height: 42px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; top: 70px; left: 18px; right: 18px; display: none; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  :root[data-theme="dark"] .main-nav { border-color: #2a3956; background: #111a2d; }
  .main-nav.is-open { display: grid; }
  .header-actions .search-field { display: none; }
  .header-actions .theme-button { width: 40px; height: 40px; display: grid; font-size: 25px; }
  .header-actions { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 340px; }
  .hero-art img { width: min(125%, 650px); }
  .hero-art::after { box-shadow: 360px 15px 0 -5px rgba(42, 199, 226, .75), 305px 208px 0 -8px rgba(113, 80, 242, .48), -20px 175px 0 -9px rgba(64, 169, 236, .52); }
  .benefits-row { grid-template-columns: repeat(3, 1fr); }
  .benefits-row > div:nth-child(3) { border-right: 0; }
  .benefits-row > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .model-grid { gap: 12px; }
  .model-card { padding-inline: 18px; }
  .pricing-shell { grid-template-columns: 1fr; }
  .pricing-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .calculator { grid-template-columns: repeat(3, 1fr); }
  .calculator h3, .calculator-total, .calculator > p { grid-column: 1 / -1; }
  .calculator label { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: .75fr 1.6fr; }
  .spend-card { grid-column: 1 / -1; }
  .telegram-panel { grid-template-columns: 1fr 1fr; }
  .phone { display: none; }
  .telegram-features { grid-column: 2; }
  .referral-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .support { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 24px, 620px); }
  .header-row { gap: 12px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 7.5px; letter-spacing: .7em; }
  .header-actions .button { width: 43px; min-height: 43px; padding: 0; font-size: 0; }
  .header-actions .user-icon { font-size: 10px; }
  .hero { padding: 27px 0 18px; background: radial-gradient(ellipse at 92% 10%, rgba(87, 130, 255, .15), rgba(120, 226, 235, .07) 33%, transparent 58%), linear-gradient(180deg, #ffffff 0%, #fafcff 72%, #ffffff 100%); }
  .hero::after { top: 8px; right: -12%; width: 70%; height: 230px; opacity: .34; }
  .hero-grid { min-height: 0; display: block; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; }
  .hero h1 { font-size: clamp(43px, 12.4vw, 52px); line-height: 1.01; }
  .hero-copy > p { margin-bottom: 21px; font-size: 16px; line-height: 1.55; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .button { min-height: 52px; font-size: 16px; }
  .hero-art { position: absolute; top: -43px; right: -58px; z-index: 0; width: 235px; min-height: 185px; margin: 0; overflow: visible; opacity: .22; pointer-events: none; }
  .hero-art::before { width: 120%; }
  .hero-art::after { display: none; }
  .hero-art img { width: 310px; }
  :root[data-theme="dark"] .hero-art { opacity: .32; }
  .benefits-row { grid-template-columns: 1fr 1fr; }
  .benefits-row > div { justify-content: flex-start; min-height: 55px; }
  .benefits-row > div:nth-child(3) { border-right: 1px solid var(--line); }
  .benefits-row > div:nth-child(2n) { border-right: 0; }
  .benefits-row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .benefits-row > div:last-child { grid-column: 1 / -1; justify-content: center; border-right: 0; }
  .model-grid, .audience-grid { grid-template-columns: 1fr; }
  .model-card { min-height: 150px; }
  .chart-and-points { grid-template-columns: 1fr; }
  .pricing-main { padding-inline: 16px; }
  .bar-chart { height: 194px; grid-template-columns: 39px 1fr; gap: 8px; }
  .y-axis { padding-top: 24px; font-size: 10px; }
  .bar-set { gap: 6px; }
  .bar-item strong { font-size: clamp(10px, 3vw, 11px); white-space: nowrap; }
  .bar-item i { right: 15%; left: 15%; }
  .bar-item span { font-size: 10px; }
  .calculator { grid-template-columns: 1fr; }
  .calculator h3, .calculator-total, .calculator > p { grid-column: auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .spend-card { grid-column: auto; }
  .telegram-panel { grid-template-columns: 1fr; gap: 25px; padding-block: 27px; }
  .telegram-features { grid-column: auto; grid-template-columns: 1fr; }
  .referral-grid { grid-template-columns: 1fr; }
  .gift { right: 5px; width: 154px; height: 154px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav, .footer-grid .support { justify-items: center; text-align: center; }
  .footer-brand { grid-column: 1 / -1; order: 10; margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand .brand strong { font-size: 18px; }
  .footer-brand .brand small { font-size: 8.5px; }
  .footer-brand > p { max-width: 350px; margin: 16px auto; }
  .footer-socials { justify-content: center; }
  .social-icon { width: 42px; height: 42px; }
  .social-icon svg { width: 23px; height: 23px; }
  .support { grid-column: auto; }
}

.popularity-section { padding-top: 40px; }
.popularity-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 21px; }
.popularity-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.popularity-heading p { max-width: 760px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.popularity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.popularity-item { display: grid; grid-template-columns: 44px minmax(0,1fr) 105px; gap: 13px; align-items: center; min-height: 118px; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; color: var(--ink); background: linear-gradient(145deg,rgba(255,255,255,.98),rgba(245,249,255,.95)); box-shadow: 0 13px 34px rgba(31,65,135,.07); text-decoration: none; transition: .2s ease; }
.popularity-item:hover { border-color: #8ba3f7; transform: translateY(-2px); box-shadow: 0 17px 40px rgba(31,65,135,.12); }
.popularity-rank { color: #b7c2d8; font-size: 21px; font-weight: 900; }
.popularity-copy { display: grid; gap: 7px; min-width: 0; }
.popularity-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.popularity-name strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.popularity-name small { color: #8490a7; font-size: 9px; }
.popularity-description { display: -webkit-box; overflow: hidden; color: #5d6d88; font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.popularity-tags { display: flex; gap: 5px; overflow: hidden; }
.popularity-tags i { padding: 4px 7px; border-radius: 99px; color: #2857d8; background: #edf3ff; font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }
.popularity-score { display: grid; gap: 8px; text-align: right; }
.popularity-score b { color: #174ee5; font-size: 13px; }
.popularity-bar { display: block; width: 100%; height: 7px; overflow: hidden; border-radius: 99px; background: #e7edf8; }
.popularity-bar i { display: block; width: var(--share); height: 100%; border-radius: inherit; background: linear-gradient(90deg,#08bac6,#2857f5,#7958ef); }
.popularity-loading { grid-column: 1/-1; padding: 35px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
:root[data-theme="dark"] .popularity-item { background: linear-gradient(145deg,#101c37,#111a31); }
:root[data-theme="dark"] .popularity-rank { color: #51617f; }
:root[data-theme="dark"] .popularity-bar { background: #1b2945; }
@media(max-width:760px){.popularity-heading{align-items:flex-start;flex-direction:column}.popularity-grid{grid-template-columns:1fr}.popularity-item{grid-template-columns:35px minmax(0,1fr);min-height:0}.popularity-score{grid-column:2;grid-template-columns:auto 1fr;align-items:center;text-align:left}.popularity-name{align-items:flex-start;flex-direction:column;gap:2px}}
.platform-features { padding-top: 34px; }
.platform-feature-grid { display: grid; gap: 18px; }
.platform-feature { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); align-items: center; min-height: 360px; padding: 42px 48px; overflow: hidden; border: 1px solid var(--line); border-radius: 29px; background: radial-gradient(circle at 88% 20%,rgba(37,87,244,.15),transparent 25rem),linear-gradient(135deg,#f7fcff,#f5f3ff); box-shadow: 0 22px 60px rgba(31,65,135,.09); }
.platform-feature.agents-feature { background: radial-gradient(circle at 87% 18%,rgba(5,186,198,.19),transparent 24rem),linear-gradient(135deg,#f6fcff,#f6f4ff); }
.platform-feature-copy { position: relative; z-index: 2; max-width: 680px; }
.feature-kicker { color: #2857ef; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.platform-feature h2 { margin: 9px 0 13px; font-size: clamp(31px,3vw,47px); letter-spacing: -.045em; }
.platform-feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.feature-points { display: grid; gap: 8px; margin: 21px 0; }
.feature-points span { color: #334867; font-size: 12px; font-weight: 750; }
.platform-feature .button { width: fit-content; }
.memory-visual,.agents-visual { position: relative; width: 310px; height: 260px; justify-self: center; }
.memory-core,.agent-core { position: absolute; z-index: 2; inset: 50% auto auto 50%; display: grid; width: 128px; height: 128px; place-items: center; border: 10px solid rgba(255,255,255,.55); border-radius: 39px; color: #fff; background: linear-gradient(145deg,#07bdc8,#2857f5 58%,#7a56ee); box-shadow: 0 27px 55px rgba(32,87,244,.32); transform: translate(-50%,-50%) rotate(-7deg); font-size: 55px; font-weight: 900; }
.agent-core { border-radius: 50%; font-size: 33px; transform: translate(-50%,-50%); }
.memory-visual::before,.agents-visual::before { content:""; position:absolute; inset:18px; border:1px solid rgba(46,91,235,.25); border-radius:50%; transform:rotate(-12deg); }
.memory-visual i,.agents-visual i { position:absolute; display:grid; width:52px; height:52px; place-items:center; border:1px solid rgba(104,135,235,.25); border-radius:17px; color:#2857e9; background:rgba(255,255,255,.9); box-shadow:0 12px 25px rgba(32,66,137,.14); font-size:13px; font-style:normal; font-weight:900; }
.memory-visual i:nth-of-type(1),.agents-visual i:nth-of-type(1){left:10px;top:80px}.memory-visual i:nth-of-type(2),.agents-visual i:nth-of-type(2){right:16px;top:25px}.memory-visual i:nth-of-type(3),.agents-visual i:nth-of-type(3){right:4px;bottom:30px}.memory-visual i:nth-of-type(4),.agents-visual i:nth-of-type(4){left:55px;bottom:0}
:root[data-theme="dark"] .platform-feature { background: radial-gradient(circle at 88% 20%,rgba(65,104,255,.2),transparent 25rem),linear-gradient(135deg,#0e1b36,#121a32); }
:root[data-theme="dark"] .feature-points span { color:#c9d3e8; }
:root[data-theme="dark"] :is(.memory-visual,.agents-visual) i { color:#9fb2ff;background:#152541; }
@media(max-width:850px){.platform-feature{grid-template-columns:1fr;min-height:0;padding:30px}.memory-visual,.agents-visual{position:absolute;right:-80px;top:-25px;width:260px;height:220px;opacity:.18}.platform-feature-copy{max-width:100%}}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
