* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #0d0d1a;
    color: #eef0ff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto
}

:root {
    --p: #6d4aff;
    --p2: #8b5cf6;
    --g: #00b787;
    --bg: #0d0d1a;
    --card: #15152a;
    --card2: #1c1c36;
    --txt: #eef0ff;
    --muted: #9aa0c3;
    --line: #26264a;
    --grad: linear-gradient(135deg, #8b5cf6 0%, #6d4aff 100%)
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, .6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .3s, box-shadow .3s;
    border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.nav.scrolled {
    background: rgba(10, 10, 22, .92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .45)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #fff
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px
}

.nav-logo strong {
    font-weight: bolder;
    background: linear-gradient(90deg, #a78bfa, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px
}

/* 导航列表：与 .nav-menu 保持同一套 flex 参数，保证布局零变化 */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none
}

.nav-item {
    position: relative
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 15px;
    color: #d6d9ef;
    transition: .25s
}

.nav-item>a:hover {
    color: #fff;
    background: rgba(109, 74, 255, .14)
}

.nav-item>a .arrow {
    display: inline-block;
    transition: transform .3s;
    font-size: 12px
}

.nav-item:hover>a .arrow {
    transform: rotate(180deg)
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .3s;
    z-index: 100
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #2c2c44;
    font-size: 14px;
    transition: .2s
}

.dropdown a small {
    color: #8a8aa3;
    font-size: 12px;
    font-weight: 400
}

.dropdown a:hover {
    background: #f3f0ff;
    color: #5b34e8
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: .25s
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 24px rgba(109, 74, 255, .4)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(109, 74, 255, .55)
}

.btn-green {
    background: linear-gradient(135deg, #00d39b, #00b787);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 183, 135, .35)
}

.btn-green:hover {
    transform: translateY(-2px)
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18)
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .15)
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .3s
}

.hero {
    position: relative;
    padding: 118px 0 70px;
    background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(109, 74, 255, .22), transparent 60%), radial-gradient(ellipse 50% 40% at 85% 20%, rgba(0, 183, 135, .12), transparent 60%), var(--bg);
    overflow: hidden
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(109, 74, 255, .14);
    border: 1px solid rgba(139, 92, 246, .35);
    color: #c4b5fd;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 22px
}

.hero h1 {
    font-size: 42px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #a78bfa, #7c5cff, #00d39b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 24px
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.hero-stats {
    display: flex;
    gap: 26px;
    flex-wrap: wrap
}

.hero-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff
}

.hero-stat strong i {
    font-style: normal;
    background: linear-gradient(90deg, #a78bfa, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-stat span {
    font-size: 13px;
    color: var(--muted)
}

.demo {
    background: linear-gradient(180deg, #1c1c36, #15152a);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5)
}

.demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.demo-dots {
    display: flex;
    gap: 6px
}

.demo-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #33335c
}

.demo-dots i:first-child {
    background: #ff5f57
}

.demo-dots i:nth-child(2) {
    background: #febc2e
}

.demo-dots i:nth-child(3) {
    background: #28c840
}

.demo-brand {
    font-size: 12px;
    color: var(--muted)
}

.demo-body {
    display: flex;
    flex-direction: column;
    align-items: center
}

.gauge-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 4px auto 14px
}

.gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg)
}

.gauge-bg {
    fill: none;
    stroke: #2a2a52;
    stroke-width: 12
}

.gauge-fg {
    fill: none;
    stroke: url(#gaugeGrad);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1)
}

.gauge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.gauge-center .ping {
    font-size: 26px;
    font-weight: 800;
    color: #fff
}

.gauge-center .ping small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400
}

.gauge-center .stat {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.demo.connected .gauge-fg {
    stroke-dashoffset: 112
}

.demo.connected .gauge {
    animation: spin 5s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(270deg)
    }
}

.connect-btn {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(109, 74, 255, .15), 0 12px 32px rgba(109, 74, 255, .5);
    transition: .3s
}

.connect-btn:hover {
    box-shadow: 0 0 0 16px rgba(109, 74, 255, .22), 0 18px 50px rgba(109, 74, 255, .6)
}

.demo.connected .connect-btn {
    background: linear-gradient(135deg, #00d39b, #00b787);
    box-shadow: 0 0 0 12px rgba(0, 183, 135, .15), 0 14px 40px rgba(0, 183, 135, .45)
}

.demo-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px
}

.demo-status i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #55557e
}

.demo.connected .demo-status {
    color: #00d39b
}

.demo.connected .demo-status i {
    background: #00d39b;
    box-shadow: 0 0 10px #00d39b;
    animation: pulse 1.6s infinite
}

@keyframes pulse {
    50% {
        opacity: .4
    }
}

.demo-speed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin: 1rem 0;
}

.demo-speed .box {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center
}

.demo-speed .box strong {
    display: block;
    font-size: 17px;
    color: #fff
}

.demo-speed .box span {
    font-size: 12px;
    color: var(--muted)
}

.demo-select {
    width: 100%;
    padding: 9px 12px;
    border-radius: 12px;
    background: #1a1a34;
    border: 1px solid var(--line);
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    outline: none
}

.demo-switches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%
}

.switch-item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    user-select: none
}

.switch-item span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px
}

.switch-item .track {
    position: relative;
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: #33335c;
    margin: 0 auto;
    transition: .25s
}

.switch-item .track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9aa0c3;
    transition: .25s
}

.switch-item.on {
    background: rgba(109, 74, 255, .12);
    border-color: rgba(139, 92, 246, .5)
}

.switch-item.on .track {
    background: var(--p)
}

.switch-item.on .track::after {
    left: 18px;
    background: #fff
}

.section {
    padding: 88px 0
}

.section.alt {
    background: #101024
}

.sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px
}

.sec-tag {
    display: inline-block;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px
}

.sec-head h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px
}

.sec-head h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #a78bfa, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.sec-head p {
    color: var(--muted);
    font-size: 16px
}

.nodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.node-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.node-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: .3s
}

.node-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .5);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4)
}

.node-card:hover::before {
    opacity: 1
}

.node-card .flag {
    font-size: 26px;
    margin-bottom: 12px
}

.node-card h3 {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: bolder;
    margin-bottom: 6px
}

.node-card .ping-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted)
}

.node-card .ping-bar {
    flex: 1;
    height: 6px;
    background: #26264a;
    border-radius: 3px;
    overflow: hidden
}

.node-card .ping-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #00d39b, #00b787);
    border-radius: 3px
}

.node-more {
    text-align: center;
    margin-top: 36px
}

.node-more .btn {
    padding: 14px 36px
}

.speed-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.speed-left h3 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 12px
}

.speed-left p {
    color: var(--muted);
    margin-bottom: 24px
}

.speed-rows {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.speed-row .meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: #c8cbe8
}

.speed-row .meta strong {
    color: #fff
}

.speed-row .bar {
    height: 10px;
    background: #26264a;
    border-radius: 5px;
    overflow: hidden
}

.speed-row .bar i {
    display: block;
    height: 100%;
    background: var(--grad);
    border-radius: 5px;
    width: 0;
    transition: width 1.4s cubic-bezier(.4, 0, .2, 1)
}

.protos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.proto-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    transition: .3s
}

.proto-card:hover {
    border-color: rgba(139, 92, 246, .5);
    transform: translateY(-5px)
}

.proto-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(109, 74, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px
}

.proto-card h3 {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: bolder;
    margin-bottom: 8px
}

.proto-card p {
    color: var(--muted);
    font-size: 14px
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.feature:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .5)
}

.feature .f-ico {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(109, 74, 255, .12));
    border: 1px solid rgba(139, 92, 246, .3)
}

.feature h3 {
    display: block;
    color: #fff;
    font-size: 17px;
    font-weight: bolder;
    margin-bottom: 8px
}

.feature p {
    color: var(--muted);
    font-size: 14px
}

.scenarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.scenario {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    transition: .3s;
    scroll-margin-top: 100px
}

.scenario:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 183, 135, .5);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .4)
}

.scenario .s-ico {
    font-size: 30px;
    margin-bottom: 14px
}

.scenario h3 {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 10px
}

.scenario p {
    color: var(--muted);
    font-size: 14px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: step
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px;
    position: relative;
    transition: .3s
}

.step:hover {
    transform: translateY(-6px)
}

.step .num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(109, 74, 255, .4)
}

.step h3 {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 10px
}

.step p {
    color: var(--muted);
    font-size: 14px
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch
}

.plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 34px 30px;
    position: relative;
    transition: .3s;
    display: flex;
    flex-direction: column
}

.plan:hover {
    transform: translateY(-8px)
}

.plan.hot {
    border: 2px solid var(--p);
    background: linear-gradient(180deg, rgba(109, 74, 255, .14), var(--card) 40%);
    box-shadow: 0 24px 60px rgba(109, 74, 255, .25)
}

.plan .hot-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(109, 74, 255, .4)
}

.plan h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px
}

.plan .plan-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px
}

.plan .price {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px
}

.plan .price small {
    font-size: 15px;
    color: var(--muted);
    font-weight: 400
}

.plan .price-note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px
}

.plan ul {
    flex: 1;
    margin-bottom: 26px
}

.plan li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    color: #c8cbe8;
    font-size: 14px
}

.plan li::before {
    content: "✓";
    color: #00b787;
    font-weight: 700;
    flex-shrink: 0
}

.plan .btn {
    width: 100%
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.faq {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: .3s
}

.faq.open {
    border-color: rgba(139, 92, 246, .5)
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left
}

.faq-q .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(109, 74, 255, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    transition: .3s;
    flex-shrink: 0
}

.faq.open .faq-icon {
    transform: rotate(45deg);
    background: var(--grad);
    color: #fff
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease
}

.faq-a-inner {
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 15px
}

.faq-a-inner ol {
    margin-left: 20px;
    margin-top: 10px
}

.faq-a-inner li {
    margin-bottom: 6px
}

.tests {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.test {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    transition: .3s
}

.test:hover {
    border-color: rgba(139, 92, 246, .5);
    transform: translateY(-5px)
}

.test .stars {
    color: #ffc53d;
    letter-spacing: 3px;
    margin-bottom: 12px
}

.test p {
    color: #c8cbe8;
    font-size: 15px;
    margin-bottom: 18px
}

.test .who {
    display: flex;
    align-items: center;
    gap: 12px
}

.test .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px
}

.test .who strong {
    display: block;
    color: #fff;
    font-size: 14px
}

.test .who span {
    font-size: 12px;
    color: var(--muted)
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.news-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    display: flex;
    flex-direction: column
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45)
}

.news-card .thumb {
    aspect-ratio: 16/9;
    overflow: hidden
}

.news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.news-card:hover .thumb img {
    transform: scale(1.08)
}

.news-card .body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.news-card .meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px
}

.news-card .meta .cat {
    color: #00b787
}

.news-card h3 {
    color: #fff;
    font-size: 16px;
    font-weight: bolder;
    line-height: 1.5;
    margin-bottom: 10px;
    display: block
}

.news-card p {
    color: var(--muted);
    font-size: 13px;
    flex: 1;
    margin-bottom: 14px
}

.news-card .more {
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600
}

.cta {
    background: linear-gradient(135deg, #1a1038, #0d0d1a);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    padding: 90px 0
}

.cta h2 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 800
}

.cta h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #a78bfa, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.cta p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 16px
}

.cta .hero-actions {
    justify-content: center;
    margin-bottom: 0
}

.footer {
    background: #0a0a16;
    border-top: 1px solid var(--line);
    padding: 60px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px
}

.footer .f-brand p {
    color: var(--muted);
    font-size: 14px;
    margin: 16px 0 20px;
    max-width: 300px
}

.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px
}

.footer ul li {
    margin-bottom: 10px
}

.footer ul a {
    color: var(--muted);
    font-size: 14px;
    transition: .2s
}

.footer ul a:hover {
    color: #a78bfa
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--muted)
}

.dl-hero {
    position: relative;
    padding: 150px 0 80px;
    background: radial-gradient(ellipse 55% 45% at 25% 0%, rgba(0, 183, 135, .14), transparent 60%), radial-gradient(ellipse 50% 40% at 80% 15%, rgba(109, 74, 255, .2), transparent 60%), var(--bg)
}

.dl-hero .hero-grid {
    grid-template-columns: 1fr 1fr
}

.dl-meta {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 36px
}

.dl-meta .item strong {
    display: block;
    font-size: 22px;
    color: #fff
}

.dl-meta .item span {
    font-size: 13px;
    color: var(--muted)
}

.versions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.version {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: .3s
}

.version:hover {
    border-color: rgba(139, 92, 246, .5);
    transform: translateY(-5px)
}

.version .v-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.version .v-ico {
    font-size: 26px
}

.version .v-ver {
    font-size: 12px;
    color: #a78bfa;
    background: rgba(109, 74, 255, .14);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600
}

.version h3 {
    color: #fff;
    font-size: 17px;
    font-weight: bolder;
    margin-bottom: 4px;
    display: block
}

.version .v-size {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px
}

.version ul {
    flex: 1;
    margin-bottom: 18px
}

.version li {
    font-size: 13px;
    color: #c8cbe8;
    padding: 4px 0;
    display: flex;
    gap: 8px
}

.version li::before {
    content: "✓";
    color: #00b787;
    font-weight: 700
}

.version .btn {
    width: 100%;
    padding: 11px
}

.sysreq {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.sysreq .req h3 {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: bolder;
    margin-bottom: 6px
}

.sysreq .req p {
    color: var(--muted);
    font-size: 14px
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.install-step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    position: relative;
    transition: .3s
}

.install-step:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, .5)
}

.install-step .num {
    font-size: 13px;
    color: #a78bfa;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block
}

.install-step h3 {
    color: #fff;
    font-size: 16px;
    font-weight: bolder;
    display: block;
    margin-bottom: 8px
}

.install-step p {
    color: var(--muted);
    font-size: 14px
}

.news-hero {
    padding: 140px 0 60px;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(109, 74, 255, .18), transparent 65%), var(--bg)
}

.news-hero h1 {
    font-size: 42px;
    color: #fff;
    text-align: center;
    font-weight: 800
}

.news-hero p {
    text-align: center;
    color: var(--muted);
    margin-top: 12px
}

.news-cats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0 10px
}

.news-cats a {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    transition: .25s
}

.news-cats a:hover,
.news-cats a.on {
    background: var(--grad);
    color: #fff;
    border-color: transparent
}

.article-hero {
    padding: 140px 0 40px;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(109, 74, 255, .16), transparent 65%), var(--bg)
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.breadcrumb a {
    color: #a78bfa
}

.breadcrumb a:hover {
    text-decoration: underline
}

.article-hero h1 {
    font-size: 38px;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
    max-width: 860px;
    margin-bottom: 18px
}

.article-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px
}

.article-meta .cat {
    color: #00b787
}

.article-cover {
    margin: 26px 0 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line)
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 44px;
    align-items: start;
    padding: 36px 0 88px
}

.article-body {
    color: #c8cbe8;
    font-size: 16px
}

.article-body p {
    margin-bottom: 22px;
    line-height: 1.9
}

.article-body h2 {
    color: #fff;
    font-size: 26px;
    margin: 40px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--p);
    scroll-margin-top: 100px
}

.article-body h2:first-of-type {
    margin-top: 0
}

.article-body .lead {
    font-size: 17px;
    color: #dde0f5
}

.article-body .data-box {
    background: linear-gradient(135deg, rgba(109, 74, 255, .12), rgba(0, 183, 135, .08));
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 16px;
    padding: 22px 26px;
    margin: 26px 0
}

.article-body .data-box strong {
    color: #fff;
    display: block;
    margin-bottom: 10px;
    font-size: 16px
}

.article-body .data-box p {
    color: #c8cbe8;
    margin-bottom: 0;
    font-size: 15px
}

.article-body figure {
    margin: 26px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line)
}

.article-body figure figcaption {
    font-size: 12px;
    color: var(--muted);
    padding: 10px 14px;
    background: var(--card)
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap
}

.article-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: .25s;
    max-width: 46%
}

.article-nav a:hover {
    border-color: rgba(139, 92, 246, .5)
}

.article-nav a span {
    font-size: 12px;
    color: var(--muted)
}

.article-nav a strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600
}

.article-nav a.next {
    margin-left: auto;
    text-align: right
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a78bfa;
    font-size: 14px;
    margin-top: 20px
}

.sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.side-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px
}

.side-card h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--p)
}

.toc {
    display: flex;
    flex-direction: column
}

.toc-item {
    position: relative;
    padding: 8px 0 8px 20px;
    color: var(--muted);
    font-size: 14px;
    transition: .25s;
    cursor: pointer
}

.toc-item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line)
}

.toc-item::after {
    content: "";
    position: absolute;
    left: 1.5px;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3a3a68;
    transition: .25s
}

.toc-item:hover {
    color: #c4b5fd
}

.toc-item.active {
    color: var(--p);
    font-weight: 700
}

.toc-item.active::after {
    background: var(--p);
    box-shadow: 0 0 8px var(--p)
}

.hot-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.hot-item:last-child {
    border-bottom: none
}

.hot-item .rank {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: #3a3a68;
    flex-shrink: 0;
    transition: .25s
}

.hot-item:nth-child(1) .rank {
    background: linear-gradient(135deg, #8b5cf6, #6d4aff)
}

.hot-item:nth-child(2) .rank {
    background: linear-gradient(135deg, #ff9f43, #f77f00)
}

.hot-item:nth-child(3) .rank {
    background: linear-gradient(135deg, #ffd166, #f4a900)
}

.hot-item a {
    color: #c8cbe8;
    font-size: 13px;
    line-height: 1.45;
    transition: .2s
}

.hot-item:hover .rank {
    transform: scale(1.15)
}

.hot-item:hover a {
    color: var(--p)
}

.cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.cat-tags a {
    font-size: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    padding: 5px 12px;
    border-radius: 999px;
    transition: .25s
}

.cat-tags a:hover {
    color: #fff;
    background: var(--grad);
    border-color: transparent
}

.comments {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line)
}

.comments h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 22px
}

.comment {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.comment .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 15px
}

.comment .c-head {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 6px
}

.comment .c-head strong {
    color: #fff;
    font-size: 14px
}

.comment .c-head span {
    font-size: 12px;
    color: var(--muted)
}

.comment p {
    color: #c8cbe8;
    font-size: 14px
}

.related {
    margin-top: 44px
}

.related > h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 22px
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.sitemap-section {
    padding: 140px 0 90px
}

.sitemap-section h1 {
    font-size: 38px;
    color: #fff;
    margin-bottom: 8px
}

.sitemap-section .sub {
    color: var(--muted);
    margin-bottom: 44px
}

.sitemap-group {
    margin-bottom: 36px
}

.sitemap-group h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--p)
}

.sitemap-group ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.sitemap-group a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: #c8cbe8;
    transition: .25s
}

.sitemap-group a:hover {
    border-color: rgba(139, 92, 246, .5);
    color: #a78bfa;
    transform: translateX(4px)
}

.sitemap-group a .url {
    font-size: 12px;
    color: var(--muted)
}

.e404 {
    padding: 170px 0 120px;
    text-align: center
}

.e404 .code {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #8b5cf6, #00d39b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px
}

.e404 h1 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 14px
}

.e404 p {
    color: var(--muted);
    margin-bottom: 30px
}

.e404 .count {
    color: #a78bfa;
    font-weight: 700
}

@media (max-width:992px) {
    .nav-toggle {
        display: flex
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #0d0d1f;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 6%;
        gap: 6px;
        max-height: 0;
        overflow-y: auto;
        transition: max-height .4s;
        border-bottom: 1px solid var(--line);
        visibility: hidden
    }

    .nav-menu.open {
        max-height: calc(100vh - 72px);
        visibility: visible
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px
    }

    .nav-item>a {
        justify-content: space-between;
        width: 100%;
        padding: 14px 12px
    }

    .dropdown {
        position: static;
        min-width: 0;
        background: #15152a;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .35s;
        border: 0
    }

    .nav-item .dropdown.open {
        max-height: 300px;
        padding: 6px 0
    }

    .dropdown a {
        color: #d6d9ef;
        padding: 11px 16px
    }

    .dropdown a small {
        color: #6f74a0
    }

    .nav-cta .btn {
        display: none
    }

    .hero {
        padding: 108px 0 60px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero h1 {
        font-size: 32px
    }

    .hero-stats {
        gap: 22px
    }

    .dl-hero .hero-grid {
        grid-template-columns: 1fr
    }

    .hero .demo {
        max-width: 460px;
        margin: 0 auto
    }

    .nodes-grid,
    .features,
    .protos {
        grid-template-columns: repeat(2, 1fr)
    }

    .speed-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px
    }

    .scenarios {
        grid-template-columns: repeat(2, 1fr)
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto
    }

    .tests {
        grid-template-columns: 1fr
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .versions {
        grid-template-columns: repeat(2, 1fr)
    }

    .sysreq {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px
    }

    .install-steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .article-layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .sitemap-group ul {
        grid-template-columns: 1fr
    }

    .article-nav a {
        max-width: 100%
    }

    .article-nav a.next {
        margin-left: 0
    }
}

@media (max-width:768px) {
    .hero h1 {
        font-size: 28px
    }

    .sec-head h2 {
        font-size: 28px
    }

    .nodes-grid,
    .features,
    .protos,
    .scenarios,
    .steps,
    .versions,
    .install-steps,
    .news-grid,
    .related-grid,
    .sysreq {
        grid-template-columns: 1fr
    }

    .demo {
        padding: 16px
    }

    .gauge-wrap {
        width: 140px;
        height: 140px
    }

    .connect-btn {
        width: 100px;
        height: 100px;
        font-size: 14px
    }

    .demo-switches {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px
    }

    .article-hero h1 {
        font-size: 28px
    }

    .article-body h2 {
        font-size: 22px
    }

    .e404 .code {
        font-size: 88px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 64px 0
    }
}

@media (max-width:480px) {
    .container {
        width: 94%
    }

    .hero {
        padding: 100px 0 46px
    }

    .hero h1 {
        font-size: 25px
    }

    .hero-sub {
        font-size: 15px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }

    .hero-stats {
        justify-content: space-between;
        gap: 16px
    }

    .hero-stat strong {
        font-size: 24px
    }

    .sec-head h2 {
        font-size: 24px
    }

    .cta h2 {
        font-size: 26px
    }

    .demo-speed .box strong {
        font-size: 15px
    }

    .demo-switches {
        grid-template-columns: 1fr 1fr 1fr
    }

    .plans .price {
        font-size: 36px
    }

    .test p {
        font-size: 14px
    }

    .article-meta {
        gap: 10px
    }

    .article-body {
        font-size: 15px
    }

    .article-nav a strong {
        font-size: 13px
    }

    .dl-meta {
        gap: 20px
    }

    .comment .c-head {
        flex-wrap: wrap;
        gap: 4px
    }
}