:root {
    --primary: #2f6bff;
    --primary-dark: #1d4ed8;
    --primary-light: #6ea8ff;
    --accent: #00d4a6;
    --violet: #7b5cff;
    --dark: #0a0e27;
    --dark-2: #11163a;
    --dark-3: #1a2050;
    --text: #1f2a44;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --border: #e6eaf2;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(15, 35, 90, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 35, 90, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    box-shadow: 0 10px 24px rgba(47, 107, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(47, 107, 255, 0.45);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #00b894);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 212, 166, 0.32);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 212, 166, 0.42);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.logo .brand-gradient {
    background: linear-gradient(135deg, var(--primary), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(47, 107, 255, 0.08);
}

.nav a.active {
    color: var(--primary);
    background: rgba(47, 107, 255, 0.10);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text);
    cursor: pointer;
}

.hero {
    position: relative;
    background: linear-gradient(160deg, #0a0e27 0%, #141b4d 55%, #1b2560 100%);
    color: #fff;
    overflow: hidden;
    padding: 80px 0 100px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(47, 107, 255, 0.35), transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(123, 92, 255, 0.30), transparent 45%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: #cfe0ff;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 166, 0.25);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #6ea8ff, #9f7bff, #00d4a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 18px;
    color: #b9c6e8;
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat .num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.hero-stat .label {
    font-size: 13px;
    color: #9aa7cf;
}

.simulator {
    background: linear-gradient(160deg, #ffffff 0%, #eef2ff 100%);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
    position: relative;
}

.simulator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.simulator-header .app-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.simulator-header .app-title .logo-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.simulator-header .status-pill {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--primary);
    font-weight: 600;
}

.simulator-body {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(15, 35, 90, 0.08);
}

.conn-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 20px;
}

.conn-button {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: conic-gradient(#2f6bff, #7b5cff, #00d4a6, #2f6bff);
    position: relative;
    box-shadow: 0 0 0 12px rgba(47, 107, 255, 0.12), 0 18px 40px rgba(47, 107, 255, 0.35);
    transition: transform 0.2s ease;
}

.conn-button:active {
    transform: scale(0.96);
}

.conn-button .inner {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.conn-button .power-icon {
    font-size: 34px;
}

.conn-button .conn-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.conn-status {
    margin-top: 18px;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
}

.conn-status.off {
    color: var(--text-muted);
}

.conn-loc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.server-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f6f8fd;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 18px;
    cursor: pointer;
}

.server-select .flag {
    font-size: 22px;
}

.server-select .server-name {
    flex: 1;
    margin-left: 12px;
    text-align: left;
}

.server-select .server-name .srv-title {
    font-weight: 700;
    font-size: 15px;
}

.server-select .server-name .srv-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.server-select .chevron {
    color: var(--text-muted);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.metric {
    background: #f6f8fd;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
}

.metric .metric-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.metric .metric-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.metric.live .metric-value {
    color: var(--accent);
}

.ip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0e27;
    color: #cfe0ff;
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 18px;
    font-size: 13px;
    font-family: "SF Mono", Consolas, monospace;
}

.ip-row .ip-label {
    color: #8b97c4;
}

.ip-row .ip-value {
    color: #7ee2c8;
    font-weight: 600;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.12), rgba(123, 92, 255, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.platform-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.platform-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.platform-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.platform-card .version {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

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

.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.news-cover {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #fff;
}

.news-body {
    padding: 22px;
}

.news-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.news-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.help-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.help-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.help-item:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.help-item .q-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(47, 107, 255, 0.10);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.help-item h4 {
    font-size: 15px;
    font-weight: 700;
}

.help-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-visual {
    background: linear-gradient(160deg, #0a0e27, #1b2560);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.about-visual .big-logo {
    font-size: 80px;
    margin-bottom: 20px;
}

.about-visual h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-visual p {
    color: #b9c6e8;
    font-size: 15px;
}

.about-text h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-points {
    list-style: none;
    margin-top: 22px;
}

.about-points li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
}

.about-points li .tick {
    color: var(--accent);
    font-weight: 800;
}

.page-hero {
    background: linear-gradient(160deg, #0a0e27, #1b2560);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-hero p {
    color: #b9c6e8;
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.qa-section {
    padding: 72px 0;
}

.qa-category {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 28px;
    overflow: hidden;
}

.qa-category-head {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.06), rgba(123, 92, 255, 0.06));
    border-bottom: 1px solid var(--border);
}

.qa-category-head h2 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qa-category-head .cat-num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.qa-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.qa-item:last-child {
    border-bottom: none;
}

.qa-question {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

.qa-answer {
    color: var(--text-muted);
    font-size: 14px;
}

.qa-answer .step-list {
    list-style: none;
    counter-reset: step;
    margin-top: 12px;
}

.qa-answer .step-list li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 12px;
}

.qa-answer .step-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(47, 107, 255, 0.10);
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-detail {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}

.footer {
    background: #0a0e27;
    color: #b9c6e8;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: #8b97c4;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #6b769f;
}

.footer-bottom .map-links {
    margin-bottom: 12px;
}

.footer-bottom .map-links a {
    color: #8b97c4;
    margin: 0 8px;
}

.footer-bottom .map-links a:hover {
    color: #fff;
}

.friend-links {
    margin: 20px 0;
    font-size: 14px;
}

.friend-links a {
    color: #8b97c4;
    margin: 0 8px;
}

.friend-links a:hover {
    color: #fff;
}

.breadcrumb {
    padding: 20px 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.table-wrap {
    overflow-x: auto;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid,
    .news-grid,
    .help-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-block {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav {
        display: none;
    }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 12px 24px;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 640px) {
    .feature-grid,
    .news-grid,
    .help-preview,
    .download-grid {
        grid-template-columns: 1fr;
    }
    .metrics {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero-stats {
        gap: 22px;
    }
}
