:root {
    --ink: #0b1020;
    --ink-soft: #28324d;
    --muted: #64708c;
    --line: #e7eaf4;
    --line-strong: #d8ddef;
    --bg: #f6f7fc;
    --card: #ffffff;
    --primary: #5b5bf6;
    --primary-deep: #4340e0;
    --violet: #8b5cf6;
    --cyan: #22d3ee;
    --green: #10b981;
    --red: #ef4444;
    --amber: #f59e0b;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 50px -24px rgba(25, 32, 64, .28);
    --shadow-lg: 0 40px 90px -40px rgba(25, 32, 64, .4);
    --grad: linear-gradient(135deg, #5b5bf6 0%, #8b5cf6 52%, #22d3ee 120%);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
    --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(91, 91, 246, .18); }

.container { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.icon { flex: none; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .2s ease, background .16s ease, border-color .16s ease, color .16s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 14px 30px -12px rgba(91, 91, 246, .75);
}
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(91, 91, 246, .85); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(11, 16, 32, .7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] {
    opacity: 1;
    cursor: not-allowed;
    transform: none;
    background: #eef1f8 !important;
    background-image: none !important;
    color: #98a1b7 !important;
    border-color: var(--line) !important;
    box-shadow: none !important;
}
.btn .icon { width: 17px; height: 17px; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header .header-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 74px;
}
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(91, 91, 246, .9);
}
.logo-mark svg { width: 21px; height: 21px; }
.brand-name { font-size: 19px; font-weight: 850; letter-spacing: -.03em; }
.brand-badge {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
}
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 14px; }
.site-nav a {
    font-size: 14px;
    font-weight: 650;
    color: rgba(255, 255, 255, .68);
    transition: color .16s ease;
    position: relative;
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -9px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 32px; min-width: 42px; padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .82);
    font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
    transition: background .15s, border-color .15s, color .15s;
}
.lang-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.nav-lang { display: none !important; }
.site-header.scrolled .lang-btn, .site-body.is-solid .site-header .lang-btn { color: var(--ink-soft); border-color: var(--line-strong); }
.site-header.scrolled .lang-btn:hover, .site-body.is-solid .site-header .lang-btn:hover { color: var(--primary); border-color: var(--primary); background: #fff; }
.site-header .btn-ghost { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .22); }
.site-header .btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.header-balance { font-size: 13px; color: rgba(255, 255, 255, .7); }
.header-balance strong { color: #fff; }
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    border-radius: 11px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span { width: 17px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }

.site-header.scrolled, .site-body.is-solid .site-header {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 30px -26px rgba(20, 28, 60, .5);
}
.site-header.scrolled .brand, .site-body.is-solid .site-header .brand { color: var(--ink); }
.site-header.scrolled .brand-badge, .site-body.is-solid .site-header .brand-badge {
    background: rgba(91, 91, 246, .1);
    color: var(--primary);
    border-color: rgba(91, 91, 246, .16);
}
.site-header.scrolled .site-nav a, .site-body.is-solid .site-header .site-nav a { color: var(--muted); }
.site-header.scrolled .site-nav a:hover, .site-header.scrolled .site-nav a.active,
.site-body.is-solid .site-header .site-nav a:hover, .site-body.is-solid .site-header .site-nav a.active { color: var(--ink); }
.site-header.scrolled .btn-ghost, .site-body.is-solid .site-header .btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.site-header.scrolled .btn-ghost:hover, .site-body.is-solid .site-header .btn-ghost:hover { color: var(--primary); border-color: var(--primary); }
.site-header.scrolled .header-balance, .site-body.is-solid .site-header .header-balance { color: var(--muted); }
.site-header.scrolled .header-balance strong, .site-body.is-solid .site-header .header-balance strong { color: var(--ink); }
.site-header.scrolled .nav-toggle, .site-body.is-solid .site-header .nav-toggle { border-color: var(--line-strong); background: #fff; }
.site-header.scrolled .nav-toggle span, .site-body.is-solid .site-header .nav-toggle span { background: var(--ink); }
.site-body.is-solid { padding-top: 74px; }

.hero {
    position: relative;
    overflow: hidden;
    background: #070b18;
    color: #fff;
    padding: 148px 0 92px;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 78%);
    z-index: -1;
}
.hero .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .55; pointer-events: none; z-index: -1; }
.hero .blob-a { width: 620px; height: 620px; background: #4f46e5; top: -280px; left: -140px; }
.hero .blob-b { width: 520px; height: 520px; background: #0ea5e9; top: -120px; right: -120px; opacity: .38; }
.hero .blob-c { width: 420px; height: 420px; background: #8b5cf6; bottom: -260px; left: 36%; opacity: .28; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 56px;
    align-items: center;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px 7px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    font-size: 12.5px;
    font-weight: 650;
    color: rgba(255, 255, 255, .82);
    backdrop-filter: blur(8px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
.pill b { color: #fff; }
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.15rem);
    line-height: 1.1;
    letter-spacing: -.045em;
    font-weight: 850;
    margin: 22px 0 20px;
}
.hero h1 .grad {
    background: linear-gradient(100deg, #a5b4fc 0%, #c4b5fd 45%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    font-size: 16.5px;
    line-height: 1.75;
    color: rgba(226, 232, 245, .72);
    max-width: 540px;
    margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .btn-ghost {
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .05);
}
.hero .btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.hero-note { font-size: 12.5px; color: rgba(226, 232, 245, .48); margin-top: 14px; }
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stat strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.hero-stat span { font-size: 12.5px; color: rgba(226, 232, 245, .55); }

.console-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(20, 27, 48, .92), rgba(10, 15, 30, .96));
    box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .85);
    overflow: hidden;
    animation: floatIn .8s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
.console-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .02);
}
.console-top .dots { display: flex; gap: 6px; }
.console-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console-top .dots i:nth-child(1) { background: #ff5f57; }
.console-top .dots i:nth-child(2) { background: #febc2e; }
.console-top .dots i:nth-child(3) { background: #28c840; }
.console-top .file { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: rgba(226, 232, 245, .4); }
.console-body { padding: 20px 20px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; }
.console-wrap { position: relative; }
.console-wrap, .hero-grid > *, .console-body .ln > span:last-child { min-width: 0; }
.console-body .ln { overflow-wrap: anywhere; }
.console-body .ln { display: flex; gap: 13px; white-space: pre-wrap; word-break: break-word; }
.console-body .ln .no { color: rgba(226, 232, 245, .22); width: 15px; flex: none; text-align: right; }
.c-dim { color: #7d8bb3; }
.c-key { color: #a5b4fc; }
.c-str { color: #67e8f9; }
.c-fn { color: #f0abfc; }
.c-com { color: #4c5a7d; }
.console-result {
    margin-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, .1);
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font);
    font-size: 12px;
    color: rgba(226, 232, 245, .62);
}
.console-result .ok {
    display: inline-flex; align-items: center; gap: 6px;
    color: #6ee7b7; font-weight: 700;
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .2);
    padding: 4px 9px;
    border-radius: 8px;
}
.console-result .ok .icon { width: 12px; height: 12px; }
.console-result b { color: #fff; }
.console-float {
    position: absolute;
    right: 16px;
    bottom: -20px;
    background: rgba(255, 255, 255, .97);
    color: var(--ink);
    border-radius: 14px;
    padding: 11px 15px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    animation: floatY 5s ease-in-out infinite;
}
.console-float .icon { color: var(--green); }
.console-float span { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.section { padding: 92px 0; }
.section-tight { padding: 68px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.55rem);
    line-height: 1.16;
    letter-spacing: -.035em;
    font-weight: 850;
    margin: 0 0 14px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: #070b18; color: #fff; }
.section.dark .section-head p { color: rgba(226, 232, 245, .62); }

.model-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: stretch; }
.model-card {
    position: relative;
    border-radius: 24px;
    padding: 34px;
    background:
        radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .22), transparent 45%),
        linear-gradient(160deg, #0c1226, #121a33);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.model-card::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%);
    bottom: -150px; left: -90px;
}
.model-tag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
    padding: 6px 11px; border-radius: 999px;
    color: #c7d2fe; background: rgba(99, 102, 241, .16);
    border: 1px solid rgba(129, 140, 248, .28);
}
.model-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.model-card h3 { font-size: 30px; letter-spacing: -.03em; margin: 20px 0 4px; font-weight: 850; }
.model-card .model-sub { font-family: var(--mono); font-size: 12.5px; color: rgba(199, 210, 254, .66); }
.model-card p { font-size: 14px; line-height: 1.75; color: rgba(226, 232, 245, .66); margin: 20px 0 26px; }
.model-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.model-price {
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .045);
    border-radius: 14px;
    padding: 14px 16px;
}
.model-price span { display: block; font-size: 11.5px; color: rgba(226, 232, 245, .5); margin-bottom: 4px; }
.model-price strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.model-price em { font-style: normal; font-size: 11.5px; color: rgba(226, 232, 245, .5); margin-left: 3px; }
.model-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.model-meta span {
    font-size: 11.5px; font-weight: 650;
    color: rgba(226, 232, 245, .62);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 5px 9px;
}
.model-side { display: flex; flex-direction: column; gap: 16px; }
.model-feature {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: 0 12px 34px -30px rgba(25, 32, 64, .4);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.model-feature:hover { transform: translateY(-2px); border-color: #d9dcf9; box-shadow: var(--shadow); }
.feature-ico {
    width: 42px; height: 42px; flex: none;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(91, 91, 246, .12), rgba(139, 92, 246, .12));
    border: 1px solid rgba(91, 91, 246, .14);
}
.model-feature h4 { margin: 1px 0 4px; font-size: 15px; letter-spacing: -.01em; }
.model-feature p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65; }
.model-feature .feature-ico.green { color: var(--green); background: rgba(16, 185, 129, .1); border-color: rgba(16, 185, 129, .18); }
.model-feature .feature-ico.cyan { color: #0891b2; background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .18); }

.compare-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.compare-item { background: #fff; padding: 24px 22px; }
.compare-item span { font-size: 12px; color: var(--muted); font-weight: 600; }
.compare-item strong { display: block; margin-top: 6px; font-size: 24px; letter-spacing: -.03em; font-weight: 850; }
.compare-item strong em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.compare-item.grad strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-grid-4 { grid-template-columns: repeat(4, 1fr); }
.price-grid-4 .price-card { padding: 26px 22px; }
.price-grid-4 .price-amount .num { font-size: 40px; }
.price-grid-4 .price-list { gap: 9px; }
.price-grid-4 .price-list li { font-size: 12px; }
.price-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 40px -34px rgba(25, 32, 64, .5);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured { border-color: rgba(91, 91, 246, .45); box-shadow: 0 30px 70px -36px rgba(91, 91, 246, .55); }
.price-card.featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .65;
}
.price-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.price-top h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.price-tag {
    font-size: 11px; font-weight: 800; letter-spacing: .03em;
    padding: 4px 9px; border-radius: 999px;
    background: rgba(91, 91, 246, .1);
    color: var(--primary);
}
.price-card.featured .price-tag { background: var(--grad); color: #fff; }
.price-amount { display: flex; align-items: baseline; gap: 5px; margin: 14px 0 2px; }
.price-amount .cur { font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.price-amount .num { font-size: 46px; font-weight: 850; letter-spacing: -.05em; line-height: 1; }
.price-amount .per { font-size: 12.5px; color: var(--muted); }
.price-credit { font-size: 12.5px; color: var(--green); font-weight: 700; margin-bottom: 14px; }
.price-desc { font-size: 13px; color: var(--muted); margin: 0 0 20px; line-height: 1.65; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-soft); }
.price-list li .icon { color: var(--green); margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.price-foot { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 22px; }
.price-foot a { color: var(--primary); font-weight: 700; }

.stats-shell {
    display: grid;
    grid-template-columns: 1.5fr .9fr;
    gap: 20px;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 14px 44px -38px rgba(25, 32, 64, .5);
}
.panel.dark-panel { background: linear-gradient(160deg, #0c1226, #121a33); color: #fff; border-color: rgba(255, 255, 255, .08); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.panel-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.panel.dark-panel .panel-head p { color: rgba(226, 232, 245, .5); }
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 3px; }

.chart-box { position: relative; width: 100%; height: 236px; }
.chart-box svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid-line { stroke: #eef0f8; stroke-width: 1; }
.chart-axis-text { font-size: 10px; fill: #9aa3b8; font-family: var(--font); }
.chart-line { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { opacity: .16; }
.chart-dot { stroke: #fff; stroke-width: 2; }
.chart-tip {
    position: absolute;
    pointer-events: none;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    line-height: 1.55;
    padding: 8px 11px;
    border-radius: 9px;
    transform: translate(-50%, -100%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .12s;
    z-index: 4;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5);
}
.chart-tip.show { opacity: 1; }
.chart-tip b { color: #a5b4fc; }

.mini-stat-list { display: grid; gap: 12px; }
.mini-stat {
    display: flex; align-items: center; gap: 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    border-radius: 13px;
    padding: 14px 16px;
}
.mini-stat .ico { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(91, 91, 246, .2); color: #c7d2fe; }
.mini-stat .txt span { display: block; font-size: 11px; color: rgba(226, 232, 245, .48); }
.mini-stat .txt strong { font-size: 17px; letter-spacing: -.01em; }
.mini-stat .delta { margin-left: auto; font-size: 11px; font-weight: 800; color: #6ee7b7; }
.quota-bar { margin-top: 18px; }
.quota-bar .qb-head { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(226, 232, 245, .55); margin-bottom: 8px; }
.quota-bar .qb-track { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.quota-bar .qb-fill { height: 100%; border-radius: 99px; background: var(--grad); width: 46%; }

.heatmap { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 4px; align-items: center; }
.heatmap .hm-day { font-size: 10px; color: var(--muted); white-space: nowrap; }
.heatmap .hm-cell { aspect-ratio: 1; border-radius: 3px; background: #eef1f9; min-width: 0; }
.heatmap .hm-hour { font-size: 9px; color: #a4adc2; text-align: center; grid-row: 1; }
.heatmap .hm-label-spacer { grid-column: 1; }
.hm-legend { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); margin-top: 12px; }
.hm-legend i { width: 10px; height: 10px; border-radius: 3px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.step-card::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(91, 91, 246, .08);
    border: 1px solid rgba(91, 91, 246, .14);
    padding: 4px 8px;
    border-radius: 7px;
    display: inline-block;
    margin-bottom: 16px;
}
.step-card h4 { margin: 0 0 6px; font-size: 15.5px; }
.step-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.step-card code { font-family: var(--mono); font-size: 12px; background: #f0f2fa; padding: 2px 6px; border-radius: 5px; color: var(--primary-deep); }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: rgba(91, 91, 246, .35); box-shadow: 0 14px 36px -30px rgba(91, 91, 246, .6); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 19px 22px;
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
    width: 24px; height: 24px; flex: none;
    border-radius: 8px;
    background: #f1f3fa;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    font-weight: 500;
    transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: rgba(91, 91, 246, .12); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 54px 48px;
    background: linear-gradient(120deg, #0b1020, #141b36 55%, #1b1740);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-band::before {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 91, 246, .55), transparent 70%);
    right: -80px; top: -180px;
}
.cta-band::after {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .28), transparent 70%);
    left: 26%; bottom: -240px;
}
.cta-band h2 { position: relative; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.035em; }
.cta-band p { position: relative; margin: 0; color: rgba(226, 232, 245, .66); font-size: 14px; }
.cta-band .btn { position: relative; flex: none; }

.site-footer { background: #070b18; color: #fff; padding: 62px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(226, 232, 245, .5); max-width: 300px; line-height: 1.75; margin: 0; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 11.5px; color: rgba(226, 232, 245, .55); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .14); }
.footer-col h4 { margin: 4px 0 14px; font-size: 12.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .9); }
.footer-col a { display: block; font-size: 12.5px; color: rgba(226, 232, 245, .5); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 11.5px;
    color: rgba(226, 232, 245, .4);
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: #fff; }

.auth-shell { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art {
    position: relative;
    overflow: hidden;
    background: #070b18;
    color: #fff;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.auth-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 40% 40%, #000 20%, transparent 80%);
}
.auth-art .blob-a { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(100px); background: #4f46e5; opacity: .4; top: -180px; left: -120px; }
.auth-art .blob-b { position: absolute; width: 380px; height: 380px; border-radius: 50%; filter: blur(100px); background: #06b6d4; opacity: .22; bottom: -180px; right: -120px; }
.auth-art-inner { position: relative; max-width: 440px; }
.auth-art h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.16; letter-spacing: -.04em; margin: 26px 0 16px; font-weight: 850; }
.auth-art h2 .grad { background: linear-gradient(100deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-art p { font-size: 14.5px; line-height: 1.8; color: rgba(226, 232, 245, .62); margin: 0; }
.auth-quote {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 34px;
    backdrop-filter: blur(8px);
}
.auth-quote p { font-size: 13px; color: rgba(226, 232, 245, .75); }
.auth-quote .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11.5px; color: rgba(226, 232, 245, .45); }
.auth-quote .who .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.auth-art-foot { position: relative; font-size: 11.5px; color: rgba(226, 232, 245, .35); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 56px 28px; background: var(--bg); }
.auth-card { width: min(420px, 100%); }
.auth-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.auth-card h1 { font-size: 30px; letter-spacing: -.035em; margin: 0 0 8px; font-weight: 850; }
.auth-card .auth-sub { font-size: 13.5px; color: var(--muted); margin: 0 0 28px; }
.auth-card .auth-sub a { color: var(--primary); font-weight: 700; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #a6afc4; pointer-events: none; }
.input-wrap input, .input {
    width: 100%;
    padding: 12.5px 14px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    background: #fff;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.input-wrap input { padding-left: 42px; }
.input-wrap input:focus, .input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 91, 246, .1); }
.input-wrap input::placeholder, .input::placeholder { color: #aab2c5; }
.field-hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; font-size: 12.5px; }
.auth-row label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.auth-row a { color: var(--primary); font-weight: 700; }
.auth-submit { margin-top: 6px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 11.5px; color: #a3acc0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-box {
    border: 1px dashed rgba(91, 91, 246, .35);
    background: rgba(91, 91, 246, .045);
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}
.demo-box b { color: var(--ink); }
.demo-box code { font-family: var(--mono); font-size: 11.5px; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--primary-deep); }
.alert { border-radius: 11px; padding: 12px 14px; font-size: 13px; margin-bottom: 18px; line-height: 1.6; }
.alert-error { background: #fff1f1; border: 1px solid #ffd9d9; color: #b42318; }
.alert-success { background: #effaf4; border: 1px solid #c9f0dc; color: #067647; }
.alert-info { background: #eef4ff; border: 1px solid #d7e4ff; color: #1d4ed8; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.auth-check input { width: 15px; height: 15px; accent-color: var(--primary); }
.auth-foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 24px; }
.auth-foot a { color: var(--primary); font-weight: 700; }

.app-shell { display: flex; gap: 26px; width: min(1320px, calc(100% - 44px)); margin: 0 auto; padding: 30px 0 64px; align-items: flex-start; }
.app-side {
    width: 234px;
    flex: none;
    position: sticky;
    top: 98px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.side-profile {
    display: flex; align-items: center; gap: 11px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    margin-bottom: 8px;
}
.side-avatar {
    width: 38px; height: 38px; flex: none;
    border-radius: 11px;
    background: var(--grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 850;
    text-transform: uppercase;
}
.side-profile .sp-txt { min-width: 0; }
.side-profile .sp-txt strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-profile .sp-txt span { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-nav-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9aa3b8; padding: 12px 14px 6px; }
.side-link {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 650;
    color: var(--muted);
    transition: background .15s, color .15s;
    border: 1px solid transparent;
}
.side-link .icon { width: 17px; height: 17px; color: #98a1b7; }
.side-link:hover { background: #fff; color: var(--ink); border-color: var(--line); }
.side-link.active { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 8px 24px -22px rgba(25, 32, 64, .6); }
.side-link.active .icon { color: var(--primary); }
.side-link .badge { margin-left: auto; font-size: 10px; font-weight: 800; background: rgba(91, 91, 246, .1); color: var(--primary); padding: 2px 7px; border-radius: 99px; }
.side-divider { height: 1px; background: var(--line); margin: 10px 6px; }
.side-promo {
    margin-top: 12px;
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(155deg, #10162c, #1a1f42);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.side-promo::before { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 70%); right: -50px; top: -60px; }
.side-promo strong { position: relative; display: block; font-size: 13px; margin-bottom: 4px; }
.side-promo p { position: relative; font-size: 11.5px; color: rgba(226, 232, 245, .56); margin: 0 0 12px; line-height: 1.6; }
.side-promo .btn { position: relative; width: 100%; padding: 8px; font-size: 12px; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.view { display: none; flex-direction: column; gap: 20px; }
.view.active { display: flex; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-head h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.035em; font-weight: 850; }
.page-head p { margin: 0; font-size: 13px; color: var(--muted); }
.page-head .ph-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.balance-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 26px 28px;
    background: linear-gradient(120deg, #0b1020, #171d3a 58%, #221b4b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.balance-card::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 91, 246, .5), transparent 70%); right: -60px; top: -170px; }
.balance-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .24), transparent 70%); left: 34%; bottom: -170px; }
.balance-main { position: relative; }
.balance-main .bm-label { font-size: 12px; color: rgba(226, 232, 245, .55); display: flex; align-items: center; gap: 7px; }
.balance-main .bm-value { font-size: 42px; font-weight: 850; letter-spacing: -.045em; line-height: 1.1; margin: 6px 0 4px; }
.balance-main .bm-sub { font-size: 11.5px; color: rgba(226, 232, 245, .5); }
.balance-main .bm-sub b { color: #6ee7b7; }
.balance-side { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.balance-side .btn { position: relative; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 18px 19px;
    box-shadow: 0 10px 30px -34px rgba(25, 32, 64, .5);
}
.kpi .kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kpi .kpi-label { font-size: 12px; color: var(--muted); font-weight: 650; }
.kpi .kpi-ico { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(91, 91, 246, .09); color: var(--primary); }
.kpi .kpi-ico .icon { width: 15px; height: 15px; }
.kpi .kpi-value { font-size: 25px; font-weight: 850; letter-spacing: -.035em; line-height: 1.1; }
.kpi .kpi-value small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.kpi .kpi-foot { font-size: 11px; color: var(--muted); margin-top: 6px; }
.kpi .kpi-foot .up { color: var(--green); font-weight: 800; }
.kpi .kpi-foot .down { color: var(--red); font-weight: 800; }

.grid-2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.grid-2-even { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 640px; }
.data-table th {
    text-align: left;
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #939cb1;
    font-weight: 800;
    padding: 0 12px 10px;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
}
.data-table td { padding: 12px; border-bottom: 1px solid #f1f3fa; color: var(--ink-soft); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: #fafbff; }
.data-table .mono { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 99px; }
.badge-ok { background: #eafaf2; color: #067647; }
.badge-warn { background: #fff6e6; color: #b54708; }
.badge-err { background: #fff0f0; color: #b42318; }
.badge-muted { background: #f0f2f8; color: var(--muted); }

.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state .ico { width: 52px; height: 52px; border-radius: 15px; background: #f1f3fa; color: #a6afc4; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.empty-state h4 { margin: 0 0 4px; color: var(--ink); font-size: 14px; }
.empty-state p { margin: 0; font-size: 12.5px; }

.key-card { background: linear-gradient(160deg, #0c1226, #131a33); color: #fff; border-radius: 18px; padding: 24px; border: 1px solid rgba(255, 255, 255, .08); }
.key-card h3 { margin: 0 0 4px; font-size: 15.5px; }
.key-card > p { margin: 0 0 18px; font-size: 12.5px; color: rgba(226, 232, 245, .5); }
.key-line {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    padding: 11px 13px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .01em;
    color: #c7d2fe;
    word-break: break-all;
}
.key-line .key-text { flex: 1; min-width: 0; }
.icon-btn {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
    color: #dbe3ff;
    width: 30px; height: 30px;
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex: none;
    transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .26); }
.icon-btn .icon { width: 14px; height: 14px; }
.key-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.key-note { font-size: 11px; color: rgba(226, 232, 245, .42); display: flex; align-items: center; gap: 6px; }
.key-note .icon { width: 13px; height: 13px; }
.key-actions .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; }
.key-actions .btn:hover { background: rgba(255, 255, 255, .18); }

.code-block {
    position: relative;
    background: #0c1226;
    color: #dbe3ff;
    border-radius: 14px;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.85;
    border: 1px solid rgba(255, 255, 255, .07);
}
.code-block .copy-code { position: absolute; top: 12px; right: 12px; }
.code-block pre { margin: 0; }
.code-block .tok-k { color: #a5b4fc; }
.code-block .tok-s { color: #67e8f9; }
.code-block .tok-c { color: #63719a; }
.code-block .tok-n { color: #f0abfc; }
.code-tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.code-tab {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}
.code-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.doc-block h4 { margin: 0 0 10px; font-size: 14.5px; }
.doc-block p { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.7; }
.doc-block .inline-code { font-family: var(--mono); font-size: 11.5px; background: #f0f2fa; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--primary-deep); }
.param-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.param-table th { text-align: left; color: #939cb1; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 0 10px 8px; border-bottom: 1px solid var(--line); }
.param-table td { padding: 9px 10px; border-bottom: 1px solid #f1f3fa; color: var(--ink-soft); vertical-align: top; }
.param-table td:first-child { font-family: var(--mono); font-size: 11.5px; color: var(--primary-deep); white-space: nowrap; }

.billing-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.billing-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.04em; margin: 0 0 10px; font-weight: 850; }
.billing-head p { color: var(--muted); font-size: 15px; margin: 0; }
.billing-balance {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 20px 24px; margin-bottom: 26px; flex-wrap: wrap;
    box-shadow: 0 12px 34px -34px rgba(25, 32, 64, .5);
}
.billing-balance .bb-label { font-size: 12px; color: var(--muted); }
.billing-balance .bb-value { font-size: 27px; font-weight: 850; letter-spacing: -.03em; }
.billing-balance .bb-right { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.orders-head { display: flex; align-items: center; justify-content: space-between; margin: 40px 0 16px; }
.orders-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.orders-head span { font-size: 12.5px; color: var(--muted); }

.about-hero { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.about-hero h1 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.14; letter-spacing: -.045em; font-weight: 850; }
.about-hero p { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.about-pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.about-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 12px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-size: 12px; font-weight: 700; color: var(--ink-soft);
    box-shadow: 0 8px 22px -24px rgba(25, 32, 64, .6);
}
.about-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; align-items: start; }
.company-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 0%, rgba(139, 92, 246, .28), transparent 46%),
        linear-gradient(160deg, #0c1226, #121a33);
    box-shadow: var(--shadow-lg);
}
.company-card::after {
    content: "";
    position: absolute;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 70%);
    left: -120px; bottom: -170px;
}
.company-card h2 { position: relative; margin: 20px 0 4px; font-size: 24px; letter-spacing: -.03em; }
.company-sub { position: relative; font-size: 12px; color: rgba(199, 210, 254, .66); margin-bottom: 24px; }
.info-list { position: relative; display: grid; }
.info-row {
    display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px;
    padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 12.5px; color: rgba(226, 232, 245, .86); line-height: 1.6;
}
.info-row:last-child { border-bottom: none; }
.info-row .info-k { color: rgba(226, 232, 245, .45); font-size: 11.5px; }
.info-row a { color: #c7d2fe; }
.info-row a:hover { color: #fff; text-decoration: underline; }
.about-copy { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.about-copy h2 { margin: 0 0 16px; font-size: 25px; letter-spacing: -.035em; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 14px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--ink); }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.value-card { border: 1px solid var(--line); border-radius: 14px; padding: 17px 16px; background: #fafbff; }
.value-card .v-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); background: rgba(91, 91, 246, .09); margin-bottom: 12px; }
.value-card h4 { margin: 0 0 5px; font-size: 13.5px; }
.value-card p { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.about-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.about-contact h3 { margin: 0 0 4px; font-size: 17px; }
.about-contact p { margin: 0; color: var(--muted); font-size: 13px; }
.about-contact a.mail { color: var(--primary); font-weight: 700; }
.about-note { margin-top: 18px; font-size: 11.5px; color: var(--muted); text-align: center; }
.footer-company { font-size: 11.5px; color: rgba(226, 232, 245, .4); margin-top: 10px; }
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .info-row { grid-template-columns: 1fr; gap: 3px; }
}

.checkout-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: start; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.checkout-card h1 { font-size: 23px; letter-spacing: -.03em; margin: 0 0 6px; }
.checkout-card .co-sub { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.pay-method {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    background: #fff;
    transition: border-color .15s, background .15s, color .15s;
    text-align: center;
}
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method .pm-ico { width: 34px; height: 34px; border-radius: 10px; background: #f2f4fb; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.pay-method:has(input:checked) { border-color: var(--primary); background: rgba(91, 91, 246, .045); color: var(--ink); box-shadow: 0 0 0 3px rgba(91, 91, 246, .08); }
.pay-method:has(input:checked) .pm-ico { background: rgba(91, 91, 246, .12); color: var(--primary); }
.pay-method.is-disabled {
    cursor: not-allowed;
    color: #98a1b7;
    background: #fafbfe;
    border-color: var(--line);
    opacity: .78;
}
.pay-method.is-disabled .pm-ico { background: #f1f3fa; color: #98a1b7; }
.pm-badge {
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fff1e6;
    color: #b54708;
    border: 1px solid #ffe0c7;
}
.pay-note {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 11.5px; line-height: 1.65;
    color: var(--muted);
    background: #f8f9fd;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 20px;
}
.pay-note .icon { color: var(--primary); margin-top: 1px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: sticky; top: 98px; box-shadow: var(--shadow); }
.summary-card h3 { margin: 0 0 18px; font-size: 15px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 9px 0; }
.summary-row.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 15px; color: var(--ink); font-weight: 800; font-size: 15px; }
.summary-row.total .amount { font-size: 24px; letter-spacing: -.03em; }
.summary-row .green { color: var(--green); font-weight: 700; }
.summary-pkg { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #f8f9fd; border: 1px solid var(--line); margin-bottom: 16px; }
.summary-pkg .sp-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.summary-pkg strong { display: block; font-size: 14px; }
.summary-pkg span { display: block; font-size: 11.5px; color: var(--muted); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 14px; }
.secure-note .icon { width: 13px; height: 13px; color: var(--green); }

.result-shell { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 60px 0; }
.result-card { width: min(560px, 100%); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 48px 40px; box-shadow: var(--shadow-lg); }
.result-icon { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; background: #eafaf2; color: var(--green); }
.result-icon .icon { width: 34px; height: 34px; }
.result-card h1 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.035em; }
.result-card p { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.result-amount { font-size: 40px; font-weight: 850; letter-spacing: -.045em; margin: 0 0 6px; }
.result-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); background: #f7f8fd; border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; margin-bottom: 28px; }
.result-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 13px 18px;
    border-radius: 12px;
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    gap: 9px;
    animation: toastIn .25s ease both;
}
.toast .icon { color: #6ee7b7; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mono { font-family: var(--mono); }
.text-muted { color: var(--muted); }
.flash-wrap { padding-top: 18px; }

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: 132px; }
    .console-float { right: 12px; }
    .model-wrap { grid-template-columns: 1fr; }
    .compare-strip { grid-template-columns: repeat(2, 1fr); }
    .price-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-shell { grid-template-columns: 1fr; }
    .app-shell { gap: 18px; }
    .app-side { width: 206px; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-2-even { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .docs-grid { grid-template-columns: 1fr; }
    .auth-art { padding: 48px 38px; }
}
@media (max-width: 900px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
    .header-actions { display: none; }
    .site-body.nav-open .site-nav {
        display: flex;
        position: fixed;
        inset: 74px 16px auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 12px;
        box-shadow: var(--shadow-lg);
        z-index: 70;
    }
    .site-body.nav-open .site-nav a { color: var(--ink); padding: 11px 12px; border-radius: 9px; }
    .site-body.nav-open .site-nav a:hover { background: #f5f6fc; }
    .site-body.nav-open .site-nav a.active::after { display: none; }
    .site-body.nav-open .site-nav .nav-lang { display: flex !important; align-items: center; justify-content: space-between; color: var(--primary) !important; }
    .site-body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .app-shell { flex-direction: column; width: min(100% - 28px, 920px); }
    .app-side { position: static; width: 100%; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
    .side-profile, .side-nav-label, .side-divider, .side-promo { display: none; }
    .side-link { flex: none; border: 1px solid var(--line); background: #fff; }
    .app-main { width: 100%; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 38px 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
    .container { width: calc(100% - 32px); }
    .hero { padding: 118px 0 68px; }
    .hero h1 { font-size: 2.35rem; }
    .hero-stats { gap: 22px; }
    .section { padding: 64px 0; }
    .price-grid, .price-grid-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: 1fr 1fr; }
    .compare-strip { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-head { align-items: flex-start; }
    .balance-card { padding: 22px; }
    .balance-main .bm-value { font-size: 34px; }
    .pay-methods { grid-template-columns: 1fr 1fr; }
    .checkout-card { padding: 22px; }
    .result-card { padding: 36px 24px; }
    .console-float { display: none; }
    .heatmap { grid-template-columns: 28px repeat(24, 1fr); gap: 3px; }
    .heatmap .hm-hour { display: none; }
    .heatmap .hm-cell { border-radius: 2px; }
    .side-link span.lbl { display: inline; }
}
@media (max-width: 460px) {
    .hero h1 { font-size: 2rem; }
    .hero-cta .btn { flex: 1; }
    .kpi-grid, .compare-strip, .footer-grid { grid-template-columns: 1fr; }
    .pay-methods { grid-template-columns: 1fr; }
    .brand-badge { display: none; }
}
