:root {
    --void: #0a0c12;
    --abyss: #06070b;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-up: rgba(255, 255, 255, 0.07);
    --edge: rgba(255, 255, 255, 0.09);
    --edge-lit: rgba(139, 124, 255, 0.5);
    --snow: #eef0f6;
    --dim: #9aa3b5;
    --hush: #626b7d;
    --violet: #8b7cff;
    --violet-deep: #6d5ae6;
    --teal: #4dd8c8;
    --rose: #de5b6d;
    --flare: linear-gradient(115deg, #8b7cff 10%, #4dd8c8 90%);
    --display: 'Space Grotesk', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--void);
    color: var(--snow);
    font-family: var(--body);
    font-size: 15.5px;
    line-height: 1.75;
    overflow-x: hidden;
    padding-top: 68px;
}
a { color: inherit; text-decoration: none; }
.rail { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: rgba(10, 12, 18, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--edge);
}
.navbar-row {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.wordmark {
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.wordmark i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--flare);
    display: inline-block;
    position: relative;
}
.wordmark i::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 3px;
    background: var(--void);
}
.navlinks { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.navlinks a {
    padding: 12px 15px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--dim);
    transition: color 0.18s ease, background-color 0.18s ease;
}
.navlinks a:hover { color: var(--snow); background: var(--glass-up); }
.navlinks a.is-current { color: var(--snow); background: var(--glass-up); }
.nav-side { display: flex; align-items: center; gap: 10px; }
.lang-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--edge);
    background: transparent;
    color: var(--dim);
    font-family: var(--body);
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.lang-btn:hover { color: var(--snow); border-color: var(--edge-lit); }
.lang-btn svg { flex: 0 0 auto; }
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #0d1019;
    border: 1px solid var(--edge);
    border-radius: 14px;
    padding: 6px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13.5px;
    color: var(--dim);
    transition: color 0.15s ease, background-color 0.15s ease;
}
.lang-menu a:hover { color: var(--snow); background: var(--glass-up); }
.lang-menu a.is-current { color: var(--snow); }
.lang-menu a.is-current::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex: 0 0 auto;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--body);
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.btn-violet { background: var(--violet-deep); color: #fff; }
.btn-violet:hover { background: var(--violet); }
.btn-line { background: transparent; color: var(--snow); border: 1px solid var(--edge); }
.btn-line:hover { border-color: var(--edge-lit); color: #fff; }
.btn-white { background: var(--snow); color: #10131c; }
.btn-white:hover { background: #fff; }
.btn-nav { height: 42px; padding: 0 20px; font-size: 13.5px; }
.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--edge);
    background: transparent;
    cursor: pointer;
    position: relative;
}
.burger::before, .burger::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--snow);
    transition: transform 0.2s ease, top 0.2s ease;
}
.burger::before { top: 18px; }
.burger::after { top: 26px; }
.drawer-veil {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(5, 6, 10, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.drawer-veil.is-open { opacity: 1; visibility: visible; }
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    width: min(320px, 86vw);
    background: #0d1019;
    border-left: 1px solid var(--edge);
    padding: 22px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--edge);
    background: transparent;
    color: var(--snow);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}
.drawer nav { display: grid; gap: 4px; }
.drawer nav a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 15.5px;
    color: var(--snow);
}
.drawer nav a:hover { background: var(--glass-up); }
.drawer nav a.is-current { background: var(--glass-up); }
.drawer-cta { margin-top: auto; display: grid; gap: 10px; }
.crest {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--edge);
    background: var(--glass);
    font-size: 12.5px;
    color: var(--dim);
}
.crest b {
    background: var(--flare);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}
.belt { padding: 96px 0; position: relative; }
.belt-alt { background: var(--abyss); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.belt-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.belt-head .crest { margin-bottom: 18px; }
.belt-head h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
}
.belt-head p { color: var(--dim); margin-top: 14px; font-size: 15px; }
.seg {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--edge);
    border-radius: 13px;
    padding: 5px;
    margin-top: 18px;
}
.seg button {
    height: 42px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-family: var(--body);
    font-size: 13.5px;
    color: var(--dim);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.seg button.is-on { background: var(--violet-deep); color: #fff; }
.faq { max-width: 740px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: 16px;
    padding: 0 22px;
}
.faq details[open] { border-color: var(--edge-lit); }
.faq summary {
    list-style: none;
    cursor: pointer;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-family: var(--display);
    font-size: 21px;
    color: var(--hush);
    transition: color 0.18s ease;
}
.faq details[open] summary::after { content: '\2212'; color: var(--violet); }
.faq details p { color: var(--dim); font-size: 14px; padding-bottom: 20px; }
.faq details p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.finale { padding: 20px 0 110px; }
.finale-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--edge);
    border-radius: 28px;
    padding: 80px 40px;
    text-align: center;
    background:
        radial-gradient(500px 280px at 30% 0%, rgba(139, 124, 255, 0.22), transparent 70%),
        radial-gradient(460px 260px at 72% 100%, rgba(77, 216, 200, 0.14), transparent 70%),
        var(--abyss);
}
.finale-card h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    line-height: 1.26;
}
.finale-card p { color: var(--dim); margin-top: 14px; font-size: 15px; }
.finale-cta { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.foot { background: var(--abyss); border-top: 1px solid var(--edge); }
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 64px 0 48px;
}
.foot-brand p { font-size: 13px; margin-top: 16px; max-width: 260px; color: var(--hush); }
.foot-col h4 { font-size: 13.5px; font-weight: 600; margin-bottom: 16px; color: var(--snow); }
.foot-col a {
    display: block;
    font-size: 13.5px;
    color: var(--dim);
    padding: 5px 0;
    transition: color 0.18s ease;
}
.foot-col a:hover { color: var(--snow); }
.foot-base {
    border-top: 1px solid var(--edge);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--hush);
}
@media (max-width: 768px) {
    .navlinks, .nav-side { display: none; }
    .nav-lang { margin-left: auto; }
    .burger { display: block; }
    .lang-label { display: none; }
}
@media (max-width: 768px) {
    .belt { padding: 72px 0; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .finale-card { padding: 60px 26px; }
}
@media (max-width: 480px) {
    .finale-cta .btn { width: 100%; }
    .foot-grid { grid-template-columns: 1fr; }
    .seg button { font-size: 12px; }
}
