:root {
    --bg: #07080d;
    --bg-soft: #0b0d14;
    --panel: rgba(18, 20, 29, .78);
    --panel-solid: #12141d;
    --line: rgba(255, 255, 255, .085);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #f3f5ff;
    --muted: #9ca5b7;
    --dim: #6f788a;
    --brand: #7d8cff;
    --brand-2: #b16dff;
    --brand-3: #4fd1c5;
    --green: #7ee0a1;
    --danger: #ff8a8a;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 30px 80px rgba(0, 0, 0, .55);
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(900px 600px at 15% -10%, rgba(125, 140, 255, .20), transparent 65%),
        radial-gradient(800px 600px at 88% 8%, rgba(177, 109, 255, .14), transparent 60%),
        radial-gradient(700px 500px at 50% 100%, rgba(79, 209, 197, .06), transparent 65%),
        var(--bg);
    font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
    z-index: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7, 8, 13, .72);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: 17px;
    flex: 0 0 auto;
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(125, 140, 255, .35);
}

.nav-links {
    display: flex;
    gap: 22px;
    margin-left: auto;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-size: 13.5px;
    transition: color .18s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
}

.lang-btn {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    transition: .18s ease;
}

.lang-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
    font-family: inherit;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: 0 10px 30px rgba(125, 140, 255, .28);
}

.btn-primary:hover { box-shadow: 0 14px 38px rgba(125, 140, 255, .4); }

.btn-ghost {
    background: rgba(255, 255, 255, .045);
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

.btn-small { padding: 8px 14px; font-size: 12.5px; border-radius: 9px; }

.hero {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 54px;
    align-items: center;
    padding: 74px 0 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #b9c1ff;
    background: rgba(125, 140, 255, .10);
    border: 1px solid rgba(125, 140, 255, .25);
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 20px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}

.hero h1 {
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.03;
    letter-spacing: -.045em;
    margin: 0 0 20px;
    font-weight: 700;
}

.gradient {
    background: linear-gradient(110deg, #fff 12%, #b9c1ff 42%, #d3a6ff 70%, #7ee0d2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--muted);
    font-size: 16px;
    max-width: 540px;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-meta {
    color: var(--dim);
    font-size: 12.5px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

.hero-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dim);
    font-style: normal;
}

.hero-art {
    position: relative;
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: -8% -6%;
    background: radial-gradient(circle at 55% 40%, rgba(125, 140, 255, .30), transparent 62%);
    filter: blur(30px);
    z-index: 0;
}

.shot {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(12, 14, 21, .86);
    padding: 10px;
    box-shadow: var(--shadow);
    transform: perspective(1200px) rotateX(1.5deg) rotateY(-2.5deg);
}

.shot img {
    border-radius: 15px;
    width: 100%;
}

.section {
    padding: 78px 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: 36px;
}

.kicker {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-3);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 3.3vw, 40px);
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0 0 12px;
}

.section-sub {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 140, 255, .32);
    background: linear-gradient(180deg, rgba(125, 140, 255, .09), rgba(255, 255, 255, .012));
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 19px;
    margin-bottom: 16px;
    background: rgba(125, 140, 255, .12);
    border: 1px solid rgba(125, 140, 255, .25);
}

.feature h3 {
    font-size: 15.5px;
    margin: 0 0 8px;
    letter-spacing: -.01em;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.downloads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.download-card {
    position: relative;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 24px;
    padding: 28px;
    overflow: hidden;
}

.download-card.setup {
    border-color: rgba(125, 140, 255, .35);
    background:
        radial-gradient(500px 220px at 100% 0%, rgba(125, 140, 255, .16), transparent 65%),
        var(--panel);
}

.download-card h3 {
    font-size: 21px;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}

.download-card .tag {
    display: inline-flex;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid rgba(126, 224, 161, .3);
    background: rgba(126, 224, 161, .08);
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.download-card p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0 0 18px;
}

.download-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 9px;
}

.download-list li {
    color: var(--muted);
    font-size: 13px;
    padding-left: 22px;
    position: relative;
}

.download-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.file-meta {
    font-size: 11.5px;
    color: var(--dim);
}

.req {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--dim);
    font-size: 12px;
}

.req a { color: #aeb8ff; text-decoration: underline; text-underline-offset: 3px; }

.donate {
    position: relative;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(125, 140, 255, .55), rgba(177, 109, 255, .22), rgba(79, 209, 197, .35));
}

.donate-inner {
    border-radius: 27px;
    background: #0c0e15;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 40px;
    align-items: center;
}

.donate h2 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -.03em;
    margin: 0 0 12px;
}

.donate p {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 14px;
}

.donate-note {
    color: var(--dim);
    font-size: 12px;
    margin-top: 14px;
}

.donate-box {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: 18px;
    padding: 22px;
}

.amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.amount {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    border-radius: 10px;
    padding: 10px 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: .18s ease;
}

.amount:hover { border-color: rgba(125, 140, 255, .5); }

.amount.active {
    background: linear-gradient(135deg, rgba(125, 140, 255, .25), rgba(177, 109, 255, .25));
    border-color: rgba(125, 140, 255, .65);
}

.donate-btn { width: 100%; margin-top: 2px; }

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

.donor {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    border-radius: 16px;
    padding: 18px;
}

.donor-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.donor-head strong { font-size: 14px; }

.donor-head span {
    color: var(--green);
    font-size: 12px;
    white-space: nowrap;
}

.donor p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
    word-break: break-word;
}

.donor time { color: var(--dim); font-size: 11px; }

.empty {
    grid-column: 1 / -1;
    border: 1px dashed var(--line-strong);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: var(--dim);
    font-size: 13px;
}

.faq {
    display: grid;
    gap: 10px;
    max-width: 860px;
}

details {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    border-radius: 13px;
    padding: 16px 18px;
}

details[open] { border-color: rgba(125, 140, 255, .28); }

summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

summary::after {
    content: "+";
    color: var(--dim);
    font-weight: 400;
}

details[open] summary::after { content: "−"; }

details p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 58px 0 80px;
}

.legal .kicker { margin-bottom: 10px; }

.legal h1 {
    font-size: clamp(30px, 3.6vw, 42px);
    letter-spacing: -.035em;
    line-height: 1.12;
    margin: 0 0 10px;
}

.legal .updated {
    color: var(--dim);
    font-size: 12px;
    margin-bottom: 30px;
}

.legal h2 {
    font-size: 18px;
    letter-spacing: -.01em;
    margin: 30px 0 10px;
}

.legal p,
.legal li {
    color: var(--muted);
    font-size: 13.8px;
    line-height: 1.8;
}

.legal ul {
    padding-left: 20px;
    margin: 10px 0 18px;
}

.legal li { margin: 5px 0; }

.legal a {
    color: #b9c1ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal .summary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .025);
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 30px;
}

.legal .summary h2 { margin-top: 0; }

.footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding: 30px 0 44px;
    color: var(--dim);
    font-size: 12.5px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: center;
    justify-content: space-between;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.reveal { opacity: 1; transform: none; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 20px);
    background: #171a24;
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
    z-index: 100;
    max-width: calc(100% - 40px);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 50px; }
    .shot { transform: none; }
    .features { grid-template-columns: 1fr 1fr; }
    .downloads { grid-template-columns: 1fr; }
    .donate-inner { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
    .thanks-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 32px); }
    .features { grid-template-columns: 1fr; }
    .thanks-grid { grid-template-columns: 1fr; }
    .amounts { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 40px; }
    .hero-actions .btn { width: 100%; }
    .download-card { padding: 22px; }
}
