/*
Theme: Cosmic Messenger / Starlight Protocol
Colors:
- Deep Space: #0c0a1f
- Starlight Text: #e0e6f1
- Cyan Accent: #00e5ff
- Magenta Accent: #ff00e1
- Glass Panels: rgba(20, 25, 50, 0.5)
*/

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    background-color: #0c0a1f;
    color: #e0e6f1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.navbar {
    background: rgba(12, 10, 31, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.nav-brand svg {
    width: 36px;
    height: 36px;
    margin-right: 12px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #e0e6f1;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 229, 255, 0.1);
    color: #fff;
}

.nav-link.active {
    background-color: #00e5ff;
    color: #0c0a1f;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #00e5ff;
    color: #0c0a1f;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- General Sections --- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.section-subtitle {
    font-size: 18px;
    color: #a0a6c1;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle, rgba(20, 25, 50, 0.3) 0%, #0c0a1f 70%);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: #c0c6e1;
}

.hero-actions .btn {
    margin: 0 10px;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(20, 25, 50, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.5);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: #00e5ff;
}

.feature-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 16px;
    color: #c0c6e1;
}

/* --- Platform Section --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.platform-card {
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.platform-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.platform-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.platform-desc {
    font-size: 14px;
    color: #c0c6e1;
    margin-bottom: 20px;
}

/* --- Deep Dive Section --- */
.deep-dive-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.deep-dive-row:nth-child(even) {
    flex-direction: row-reverse;
}

.deep-dive-text, .deep-dive-visual {
    flex: 1;
}

.deep-dive-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.deep-dive-visual svg {
    max-width: 100%;
    border-radius: 12px;
    background: rgba(20, 25, 50, 0.3);
    padding: 20px;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 25px;
    border-radius: 12px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: bold;
    color: #fff;
}

.review-stars {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 16px;
    height: 16px;
    color: #ffc107;
}

/* --- Stats & Comparison --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: rgba(20, 25, 50, 0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.stat-value {
    font-size: 40px;
    font-weight: bold;
    color: #00e5ff;
}

.stat-label {
    font-size: 16px;
    color: #c0c6e1;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: rgba(20, 25, 50, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.comparison-table th, .comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.comparison-table th {
    background: rgba(0, 229, 255, 0.1);
    color: #fff;
    font-weight: bold;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table .check-icon {
    color: #00e5ff;
}

.comparison-table .cross-icon {
    color: #ff4d6d;
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
}

.faq-q:hover {
    background: rgba(0, 229, 255, 0.05);
}

.faq-chevron {
    transition: transform 0.3s ease;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-a-inner {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-item.open .faq-chevron {
    transform: rotate(90deg);
}

/* --- Download Page --- */
.dl-main-card {
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.1), rgba(12, 10, 31, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.dl-main-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.dl-main-meta {
    color: #c0c6e1;
    margin-bottom: 30px;
}

.install-guide {
    max-width: 800px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.guide-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00e5ff;
    color: #0c0a1f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.guide-step-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.guide-step img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.version-log {
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
}

.version-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}
.version-item:last-child {
    border-bottom: none; margin-bottom: 0; padding-bottom: 0;
}

.version-header {
    font-weight: bold; font-size: 18px; color: #fff;
}
.version-date {
    font-size: 14px; color: #a0a6c1; margin-left: 10px;
}
.version-notes {
    list-style-type: disc; padding-left: 20px; margin-top: 10px;
}

/* --- zh-cn Page --- */
.article-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.article-content {
    flex: 3;
}

.article-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.article-content h2 {
    font-size: 28px; color: #fff; border-bottom: 2px solid #00e5ff; padding-bottom: 10px; margin-top: 40px;
}

.sidebar-box {
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 25px;
    border-radius: 12px;
}

.cta-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(145deg, rgba(0, 229, 255, 0.15), rgba(12, 10, 31, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    margin-top: 40px;
}

/* --- Footer --- */
.footer {
    background: #080614;
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
    font-size: 14px;
    color: #a0a6c1;
}

.footer-security {
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #0c0a1f;
        padding: 20px 0;
    }
    .nav-menu.show { display: flex; }
    .nav-toggle { display: block; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 28px; }
    .deep-dive-row, .deep-dive-row:nth-child(even) {
        flex-direction: column;
    }
    .article-layout { flex-direction: column; }
    .article-sidebar { position: static; width: 100%; }
}
