:root {
    --primary-color: #0a2b6d;
    --primary-dark: #041b4a;
    --accent-color: #00c2ff;
    --secondary-color: #15233b;
    --bg-light: #f6f8fb;
    --text-color: #0b1220;
    --text-muted: #52627a;
    --white: #ffffff;
    --spacing-unit: 1.15rem;
    --shadow: 0 12px 34px rgba(10,20,40,0.08);
}

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

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
    padding-bottom: 70px; /* Space for sticky footer on mobile */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 24px; font-weight: 800; color: var(--primary-color); letter-spacing: -1px; }

.nav-links { display: flex; list-style: none; }

.nav-links li { margin-left: 30px; }

.nav-links li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Breadcrumb */
.breadcrumb { padding: 20px 0; font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,127,255,0.8), rgba(0,127,255,0.9)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 { font-size: 56px; margin-bottom: 20px; font-weight: 800; }

.subtitle { font-size: 22px; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }

.cta-buttons .btn { margin: 0 10px; padding: 15px 40px; font-size: 18px; }

.btn {
    display: inline-block;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary { background: var(--white); color: var(--primary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.btn-secondary { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.version-tag { margin-top: 30px; font-size: 14px; opacity: 0.7; }

/* Section Common */
.section-title { text-align: center; font-size: 36px; margin-bottom: 50px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--primary-color); }

.section-desc { text-align: center; color: var(--text-muted); margin-top: -40px; margin-bottom: 50px; font-size: 18px; }

/* News Section */
.news-section { padding: 100px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-item { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.news-date { font-size: 14px; color: var(--primary-color); font-weight: bold; }
.news-item h3 { margin: 10px 0; font-size: 20px; }
.news-item p { color: var(--text-muted); }

/* Download Grid */
.download-section { padding: 100px 0; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

.card {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-10px); }

.card-icon { font-size: 50px; margin-bottom: 20px; }

.card h3 { font-size: 24px; margin-bottom: 15px; }

.card-features { list-style: none; margin: 25px 0; text-align: left; padding-left: 20px; }
.card-features li { margin-bottom: 10px; position: relative; color: var(--text-muted); }
.card-features li::before { content: '✓'; position: absolute; left: -25px; color: var(--primary-color); font-weight: bold; }

.btn-dl { background: var(--primary-color); color: var(--white); width: 100%; margin-top: 10px; }
.btn-dl:hover { background: var(--primary-dark); }

/* Specs Section */
.specs-section { padding: 100px 0; }
.specs-table-wrapper { overflow-x: auto; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.specs-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.specs-table th, .specs-table td { padding: 20px; text-align: left; border-bottom: 1px solid #eee; }
.specs-table th { background: #f0f7ff; color: var(--primary-color); }

/* Security Section */
.bg-light { background: var(--bg-light); }
.security-section { padding: 100px 0; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.security-item { background: #fff; padding: 40px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.security-icon { font-size: 40px; margin-bottom: 15px; }
.security-item h3 { color: var(--primary-color); margin-bottom: 15px; }

/* Partners */
.partners { padding: 100px 0; }
.partner-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }

.logo-item {
    background: #f0f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: bold;
    font-size: 14px;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

.side-item {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    line-height: 1.2;
}

.side-item:hover { background: var(--primary-color); color: var(--white); }
.back-to-top { font-size: 24px; }

/* Sticky Footer */
.sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 20px;
    z-index: 1002;
}

.sticky-wrap { display: flex; justify-content: space-between; align-items: center; }
.sticky-wrap span { font-weight: bold; color: var(--secondary-color); }
.btn-sticky { background: var(--primary-color); color: var(--white); padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: bold; }

/* Footer */
footer { background: #1a202c; color: #a0aec0; padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.footer-info h3 { color: #fff; margin-bottom: 20px; }
.footer-links h4, .footer-hub h4 { color: #fff; margin-bottom: 15px; font-size: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.hub-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub-links a, .footer-links a { color: #a0aec0; text-decoration: none; transition: color 0.3s; font-size: 14px; }
.hub-links a:hover, .footer-links a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; text-align: center; padding-top: 50px; margin-top: 50px; border-top: 1px solid #2d3748; font-size: 12px; }
.copyright time { color: var(--primary-color); font-weight: bold; }

/* 404 & Download Specific Styles */
.status-page { padding: 150px 0; text-align: center; }
.status-page h1 { font-size: 120px; color: var(--primary-color); margin-bottom: 20px; }
.status-page p { font-size: 24px; margin-bottom: 40px; color: var(--text-muted); }

.download-page { padding: 100px 0; }
.dl-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.dl-card { background: #fff; padding: 40px; border-radius: 12px; box-shadow: var(--shadow); text-align: center; }
.dl-card h3 { margin-bottom: 20px; }
.dl-card .btn { width: 100%; margin-top: 20px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .nav-links { display: none; }
    .footer-content { grid-template-columns: 1fr; }
    .floating-sidebar { display: none; }
    .sticky-footer { display: block; }
}

body { background: #f6f8fb; color: #0b1220; padding-bottom: 0; }
header { background: rgba(246,248,251,0.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(10,20,40,0.08); box-shadow: none; }
.logo { color: #0a2b6d; letter-spacing: 0.2px; }
.nav-links li a { color: #15233b; border-radius: 10px; padding: 8px 10px; }
.nav-links li a:hover { background: rgba(10,43,109,0.08); }
.btn { border-radius: 12px; }
.btn-primary { background: #0a2b6d; color: #fff; box-shadow: 0 14px 28px rgba(10,43,109,0.22); }
.btn-secondary { background: rgba(10,43,109,0.08); border: 1px solid rgba(10,43,109,0.18);  }
.btn-secondary:hover { background: rgba(10,43,109,0.12); }

.s8-shell { display: grid; grid-template-columns: 340px 1fr; gap: 22px; padding: 26px 0 80px; align-items: start; }
.s8-aside { position: sticky; top: 86px; display: grid; gap: 14px; }
.s8-box { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(10,20,40,0.06); }
.s8-box-title { font-weight: 900; margin-bottom: 10px; color: #0a2b6d; }
.s8-download { display: inline-flex; justify-content: center; width: 100%; padding: 12px 14px; border-radius: 12px; background: #0a2b6d; color: #fff; text-decoration: none; font-weight: 900; }
.s8-download:hover { transform: translateY(-1px); }
.s8-mini { display: grid; gap: 8px; margin-top: 12px; }
.s8-mini a { color: #0a2b6d; text-decoration: none; padding: 8px 10px; border-radius: 12px; background: rgba(10,43,109,0.06); border: 1px solid rgba(10,43,109,0.10); }
.s8-mini a:hover { background: rgba(10,43,109,0.10); }
.s8-check { display: grid; gap: 10px; }
.s8-check label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; color: #22344f; }
.s8-check input { margin-top: 3px; }
.s8-score { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(10,20,40,0.14); font-weight: 900; color: #0a2b6d; }

.s8-hero { background: radial-gradient(80% 80% at 20% 10%, rgba(0,196,255,0.18), transparent 60%), linear-gradient(135deg, #041b4a 0%, #0a2b6d 45%, #0b1220 100%); color: #eef4ff; border-radius: 18px; padding: 26px; border: 1px solid rgba(255,255,255,0.10); }
.s8-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.s8-badges span { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.s8-hero h1 { margin: 0; font-size: 42px; line-height: 1.15; }
.s8-hero p { margin: 12px 0 0; color: rgba(238,244,255,0.86); line-height: 1.9; }
.s8-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.s8-meta { margin-top: 12px; font-size: 13px; opacity: 0.9; }

.s8-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.s8-panel { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(10,20,40,0.06); }
.s8-panel h2 { font-size: 16px; margin: 0 0 8px; color: #0a2b6d; }
.s8-panel p { margin: 0; color: #52627a; line-height: 1.9; }

.s8-table { margin-top: 18px; background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(10,20,40,0.06); }
.s8-table h2 { margin: 0 0 12px; font-size: 18px; color: #0a2b6d; }
.s8-table table { width: 100%; border-collapse: collapse; }
.s8-table th, .s8-table td { padding: 12px 10px; border-bottom: 1px solid rgba(10,20,40,0.08); text-align: left; vertical-align: top; }
.s8-table th { background: #f0f5ff; color: #0a2b6d; }
.s8-table tr:last-child td { border-bottom: 0; }

.s8-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.s8-col { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 16px; padding: 18px; box-shadow: 0 10px 30px rgba(10,20,40,0.06); }
.s8-col h2 { margin: 0 0 10px; font-size: 18px; color: #0a2b6d; }
.s8-col ul { margin: 0; padding-left: 18px; line-height: 1.9; color: #52627a; }
.s8-note { margin-top: 10px; color: #6b7d98; font-size: 13px; line-height: 1.8; }

.s8-faq { margin-top: 18px; }
.s8-faq h2 { margin: 0 0 10px; font-size: 18px; color: #0a2b6d; }
.s8-faq-list { display: grid; gap: 10px; }
.s8-faq-list details { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 16px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(10,20,40,0.06); }
.s8-faq-list summary { cursor: pointer; font-weight: 900; color: #15233b; }
.s8-faq-list p { margin: 10px 0 0; color: #52627a; line-height: 1.9; }

@media (max-width: 980px) {
  .s8-shell { grid-template-columns: 1fr; }
  .s8-aside { position: static; }
  .s8-panels { grid-template-columns: 1fr; }
  .s8-columns { grid-template-columns: 1fr; }
}

.s8-topbar { background: rgba(246,248,251,0.92); border-bottom: 1px solid rgba(10,20,40,0.08); }
.s8-topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 13px; color: var(--text-muted); }
.s8-topbar a { color: var(--text-muted); text-decoration: none; }
.s8-topbar a:hover { text-decoration: underline; }
.s8-dot { display: inline-block; width: 4px; height: 4px; border-radius: 999px; background: rgba(10,20,40,0.24); margin: 0 10px; vertical-align: middle; }
.s8-topbar-right { display: flex; gap: 10px; }
.s8-topbar-right a { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(10,20,40,0.14); background: rgba(10,43,109,0.06); font-weight: 900; text-decoration: none; }

.s8-header { position: sticky; top: 0; z-index: 60; background: rgba(246,248,251,0.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(10,20,40,0.08); }
.s8-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.s8-brand { font-weight: 950; color: var(--primary-color); text-decoration: none; letter-spacing: 0.2px; }
.s8-nav nav { display: flex; align-items: center; gap: 14px; }
.s8-nav nav a { text-decoration: none; color: var(--secondary-color); font-weight: 750; padding: 8px 10px; border-radius: 12px; }
.s8-nav nav a:hover { background: rgba(10,43,109,0.08); }
.s8-nav-cta { background: var(--primary-color); color: #fff !important; box-shadow: 0 14px 28px rgba(10,43,109,0.22); }
.s8-nav-cta:hover { background: var(--primary-dark); }

.s8-hero { padding: 66px 0 46px; color: #eef4ff; background: radial-gradient(900px 380px at 18% 18%, rgba(0,194,255,0.20), transparent 55%), radial-gradient(760px 320px at 85% 22%, rgba(138, 99, 255, 0.18), transparent 55%), linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 46%, #0b1220 100%); background-size: 200% 200%; animation: s8Gradient 14s ease-in-out infinite; }
@keyframes s8Gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.s8-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.s8-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.s8-badges span { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 12px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); }
.s8-hero h1 { margin: 0; font-size: 44px; line-height: 1.12; }
.s8-hero p { margin: 14px 0 0; color: rgba(238,244,255,0.86); line-height: 1.9; max-width: 52rem; }
.s8-hero-cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.s8-hero-meta { margin-top: 12px; font-size: 13px; opacity: 0.92; }
.s8-authority { margin-top: 12px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; color: rgba(238,244,255,0.84); }
.s8-authority a { color: rgba(238,244,255,0.92); text-decoration: underline; text-underline-offset: 3px; }

.s8-hero-glass { border-radius: 20px; padding: 18px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(14px); box-shadow: 0 16px 46px rgba(0,0,0,0.25); }
.s8-glass-title { font-weight: 950; margin-bottom: 10px; }
.s8-check { display: grid; gap: 10px; }
.s8-check label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 14px; color: rgba(238,244,255,0.92); }
.s8-check input { margin-top: 3px; }
.s8-score { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,0.28); font-weight: 950; }
.s8-glass-note { margin-top: 10px; font-size: 13px; color: rgba(238,244,255,0.80); line-height: 1.7; }

.s8-section { padding: 56px 0; background: var(--bg-light); }
.s8-section:nth-of-type(even) { background: #ffffff; }
.s8-h2 { margin: 0 0 14px; font-size: 28px; letter-spacing: -0.2px; color: var(--primary-color); }
.s8-logos { padding-top: 40px; }
.s8-logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: center; }
.s8-logo-wall img { width: 100%; height: 44px; object-fit: contain; opacity: 0.88; filter: saturate(0.92); }

.s8-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.s8-card { background: rgba(255,255,255,0.88); border: 1px solid rgba(10,20,40,0.10); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); transform: perspective(900px) rotateX(0deg) rotateY(0deg); }
.s8-card h3 { margin: 0 0 8px; font-size: 16px; }
.s8-card p { margin: 0; color: var(--text-muted); line-height: 1.9; }
.s8-link { display: inline-block; margin-top: 12px; color: var(--primary-color); font-weight: 900; text-decoration: none; }
.s8-link:hover { text-decoration: underline; }

.s8-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.s8-about a { color: var(--primary-color); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.s8-about-box { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.s8-about-box h3 { margin: 0 0 8px; }
.s8-muted { margin: 0 0 12px; color: var(--text-muted); line-height: 1.8; font-size: 14px; }

.s8-table-wrap { overflow: auto; border-radius: 14px; border: 1px solid rgba(10,20,40,0.10); }
.s8-table { width: 100%; border-collapse: collapse; background: #fff; }
.s8-table th, .s8-table td { padding: 12px 10px; border-bottom: 1px solid rgba(10,20,40,0.08); text-align: left; vertical-align: top; }
.s8-table th { background: #f0f5ff; color: var(--primary-color); }
.s8-table tr:last-child td { border-bottom: 0; }

.s8-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.s8-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.s8-news-item { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.s8-news-item h3 { margin: 0 0 8px; font-size: 16px; }
.s8-news-item p { margin: 0; color: var(--text-muted); line-height: 1.9; }

.s8-faq { display: grid; gap: 10px; max-width: 980px; }
.s8-faq details { background: #fff; border: 1px solid rgba(10,20,40,0.10); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow); }
.s8-faq summary { cursor: pointer; font-weight: 950; color: var(--secondary-color); }
.s8-faq p { margin: 10px 0 0; color: var(--text-muted); line-height: 1.9; }

.s8-footer { background: #0b1220; color: rgba(238,244,255,0.80); padding: 54px 0; }
.s8-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: start; }
.s8-footer a { color: rgba(238,244,255,0.86); text-decoration: none; }
.s8-footer a:hover { text-decoration: underline; }
.s8-footer-brand { font-weight: 950; font-size: 18px; }
.s8-footer-meta { margin-top: 10px; font-size: 13px; opacity: 0.95; }
.s8-footer-note { margin-top: 12px; color: rgba(238,244,255,0.72); line-height: 1.8; font-size: 13px; }
.s8-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s8-footer-legal { color: rgba(238,244,255,0.62); line-height: 1.8; font-size: 13px; }

@media (max-width: 980px) {
  .s8-nav nav { display: none; }
  .s8-hero-grid { grid-template-columns: 1fr; }
  .s8-logo-wall { grid-template-columns: repeat(2, 1fr); }
  .s8-cards { grid-template-columns: 1fr; }
  .s8-about-grid { grid-template-columns: 1fr; }
  .s8-two { grid-template-columns: 1fr; }
  .s8-news-grid { grid-template-columns: 1fr; }
  .s8-footer-grid { grid-template-columns: 1fr; }
}
