/* =========================================
   Project Aegis - Design System v1.0
   ========================================= */

:root {
    /* 核心色板：深海蓝 + 电光紫 + 极光绿 */
    --brand-dark: #0f172a;       /* 网页背景：深邃蓝 */
    --brand-primary: #4f46e5;    /* 主品牌色：靛蓝 */
    --brand-glow: #818cf8;       /* 发光色：浅蓝紫 */
    --accent-success: #10b981;   /* 成功信号：翠绿 */
    --accent-warning: #f59e0b;   /* 警告信号：琥珀 */
    
    /* 文字颜色 */
    --text-main: #f8fafc;        /* 主要文字：近白 */
    --text-muted: #94a3b8;       /* 次要文字：灰蓝 */
    
    /* 玻璃拟态材质 (Glassmorphism) */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    
    /* 布局参数 */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--brand-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* 防止横向滚动条 */
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* 容器工具类 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   1. 导航栏 (Navbar)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.8); /* 半透明背景 */
    backdrop-filter: blur(12px);       /* 毛玻璃特效 */
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo 设计 */
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.badge-pro {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-glow));
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

/* 桌面菜单 */
.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

/* 下拉菜单 (Dropdown) */
.dropdown-trigger { position: relative; padding-bottom: 20px; margin-bottom: -20px; } /* 增加感应区 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px;
    min-width: 200px;
    box-shadow: var(--glass-shadow);
}

.dropdown-trigger:hover .dropdown-menu { display: block; }

.dropdown-link {
    display: flex; 
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    align-items: center; /* 垂直居中 */
    gap: 10px;           /* 图标和文字的间距 */
}

.nav-icon {
    width: 16px;         /* 导航里的小图标稍微小一点 */
    height: 16px;
    fill: currentColor;  /* 跟随文字颜色 */
    flex-shrink: 0;      /* 防止被压缩 */
    object-fit: contain; /* 保持比例 */
}
.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* 按钮组 */
.nav-actions { display: flex; align-items: center; gap: 20px; }
.btn-text { font-weight: 600; color: var(--text-main); }

.btn-primary-small {
    background: var(--brand-primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-small:hover { background: var(--brand-glow); }

/* =========================================
   2. 英雄区域 (Hero Section)
   ========================================= */
.hero-section {
    padding: 180px 0 100px; /* 顶部留白给导航栏 */
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.15), transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--brand-glow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--brand-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* 英雄按钮组 */
.hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #4338ca);
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4); /* 核心发光效果 */
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid transparent;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
    align-items: center;
}

.divider { opacity: 0.3; }
/* =========================================
   新增：英雄区全平台入口样式
   ========================================= */
.hero-platforms {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-platforms .label {
    opacity: 0.6;
    font-size: 0.85rem;
}

.platform-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* 防止小屏幕换行太难看 */
}

.plat-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.plat-link:hover {
    color: var(--text-main);
    border-bottom-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* 修正后的 SVG 图标样式 */
.plat-link .p-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    margin-bottom: -3px; /* 微调对齐 */
    
    /* 【新增】关键属性：保持比例，防止变形 */
    object-fit: contain; 
    flex-shrink: 0; 
}
/* 悬停时图标也会跟着变亮 */
.plat-link:hover .p-icon {
    fill: var(--text-main);
}


/* 移动端适配调整 */
@media (max-width: 768px) {
    .hero-platforms {
        flex-direction: column;
        gap: 10px;
    }
    
    .platform-icons {
        justify-content: center;
        gap: 20px;
    }
}
/* 英雄区右侧视觉 (模拟 Mockup) */
.mockup-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    /* 倾斜效果增加动感 */
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s;
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.app-ui-preview { text-align: center; }
.connect-btn-circle {
    width: 120px;
    height: 120px;
    background: var(--brand-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px var(--brand-primary);
    position: relative;
}
.connect-btn-circle::after {
    content: '🚀';
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* =========================================
   3. 价格区域 (Pricing)
   ========================================= */
.pricing-section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover { transform: translateY(-10px); }

/* 热门套餐高亮 */
.pricing-card.popular {
    border-color: var(--brand-primary);
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-name { font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; color: var(--text-muted); }

.plan-price { font-size: 3.5rem; font-weight: 800; color: var(--text-main); line-height: 1; margin-bottom: 10px; }
.plan-price .currency { font-size: 1.5rem; vertical-align: top; }
.plan-price .period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.plan-save {
    color: var(--accent-success);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.plan-features { margin-bottom: 30px; text-align: left; }
.plan-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-outline {
    display: block;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-outline:hover { border-color: var(--text-main); }

.full-width { display: block; width: 100%; text-align: center; }

.delivery-note { margin-top: 15px; color: var(--text-muted); font-size: 0.8rem; }
.delivery-note strong { color: var(--accent-warning); }

/* =========================================
   4. 页脚 (Footer)
   ========================================= */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    margin-top: 80px;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 20px 0;
}

.trust-badges-mini {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--accent-success);
    font-weight: 600;
}

.footer h4 { color: var(--text-main); margin-bottom: 20px; font-size: 1rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--brand-primary); }

.status-dot { color: var(--accent-success); animation: pulse 2s infinite; }

.footer-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.payment-methods { display: flex; gap: 15px; }
.pay-icon { opacity: 0.6; cursor: help; }

/* 动画定义 */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 移动端适配 */
.mobile-menu-btn { display: none; }

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-text, .nav-actions .btn-primary-small { display: none; }
    .mobile-menu-btn { display: block; background: none; border: none; }
    .mobile-menu-btn .bar {
        display: block; width: 25px; height: 3px;
        background: var(--text-main); margin: 5px auto;
    }
    
    .hero-container, .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    h1 { font-size: 2.5rem; }
    
    .mockup-container { display: none; /* 移动端暂时隐藏复杂样机，保持清爽 */ }
}
/* =========================================
   5. 附加：移动端菜单覆盖层样式 (由 JS 生成)
   ========================================= */
.mobile-menu-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--brand-dark);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    border-top: 1px solid var(--glass-border);
}

.mobile-menu-overlay.open {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-content a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 0;
}

.btn-mobile-cta {
    background: var(--brand-primary);
    color: white !important;
    text-align: center;
    border-radius: var(--radius-full);
    padding: 15px !important;
}

/* =========================================
   6. 新增：功能区域样式 (Features)
   ========================================= */
.features-section {
    padding: 80px 0;
    /* 增加一个微妙的背景光，区分板块 */
    background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.05), transparent 40%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 自适应网格 */
    gap: 24px;
    margin-top: 40px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03); /* 极淡的背景 */
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: var(--glass-bg);
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   7. 新增：FAQ 样式
   ========================================= */
.faq-section { padding: 80px 0; }

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    overflow: hidden;
}

details summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none; /* 隐藏默认三角 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

details summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

details summary::-webkit-details-marker { display: none; }

.arrow {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

details[open] .arrow {
    transform: rotate(180deg); /* 展开时箭头旋转 */
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px; /* 增加一点间距 */
    padding-top: 15px;
}
/* =========================================
   8. 修正：语言选择器样式
   ========================================= */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    background: transparent;
    border: none;
    cursor: pointer; /* 确保鼠标变成手型 */
}

.lang-btn:hover, .lang-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.lang-icon {
    width: 20px;
    height: 20px;
    /* 描边风格不需要 fill */
}

/* 语言菜单：默认隐藏 */
.lang-menu {
    display: none; /* 关键：默认不显示 */
    min-width: 140px;
    position: absolute;
    top: 100%;
    right: 0; /* 右对齐 */
    left: auto;
    transform: none;
    margin-top: 10px;
}

/* 语言菜单：激活显示状态 (由 JS 控制) */
.lang-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* 定义一个简单的淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   9. 新增：页面通用头部 (Page Header)
   ========================================= */
.page-header {
    padding: 140px 0 60px; /* 避开导航栏 */
    text-align: center;
    /* 增加一个极其微弱的背景光晕，聚焦视线 */
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.08), transparent 60%);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    /* 让标题更亮一点 */
    color: #fff;
    text-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.page-header .hero-subtitle {
    /* 关键修复：限制宽度，防止文字断行难看 */
    max-width: 600px;
    margin: 0 auto; 
    line-height: 1.8;
    color: var(--text-muted);
}
/* =========================================
   10. 新增：金丝雀声明样式 (Trust Page)
   ========================================= */
.canary-card {
    background: rgba(16, 185, 129, 0.05); /* 极淡的绿色背景，代表安全 */
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* 左侧装饰条 */
.canary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-success);
}

.canary-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    padding-bottom: 20px;
}

.canary-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    flex-grow: 1;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--accent-success);
    font-family: monospace; /* 等宽字体，像代码 */
}

.canary-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.canary-content li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.legal-note {
    font-size: 0.95rem;
    color: #cbd5e1; /* 更亮的灰色 */
    background: rgba(255, 255, 255, 0.08); /* 稍微亮一点的背景 */
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--text-muted); /* 左侧增加警示条 */
    margin-top: 20px;
    line-height: 1.6;
}
.canary-signature {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255,255,255,0.1); /* 增加签字横线 */
}

.sig-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.sig-text {
    font-family: 'Brush Script MT', 'Bradley Hand', cursive; /* 模拟手写签名 */
    font-size: 1.8rem;
    color: var(--text-main);
    transform: rotate(-2deg); /* 稍微倾斜，更像手写 */
    opacity: 0.9;
}
/* 透明度数据网格 */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.t-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

/* 修正后的数字样式 */
.big-number {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 15px 0;
    line-height: 1;
    font-family: 'Inter', sans-serif; /* 确保是无衬线数字 */
    letter-spacing: -2px;
}

/* 给“0”单独定义绿色渐变：代表安全 */
.t-card:nth-child(1) .big-number,
.t-card:nth-child(2) .big-number {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

/* 给“12”定义蓝色渐变：代表信息 */
.t-card:nth-child(3) .big-number {
    background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tech-explain h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .transparency-grid { grid-template-columns: 1fr; }
    .canary-header { flex-direction: column; align-items: flex-start; }
}
/* =========================================
   11. 新增：服务状态页样式 (Status Page)
   ========================================= */
.status-overview {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.status-big-icon { font-size: 2.5rem; }

.status-info h2 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; }
.status-info p { color: var(--text-muted); font-size: 0.9rem; }

.uptime-badge {
    margin-left: auto; /* 靠右对齐 */
    background: #10b981;
    color: #000;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.status-group { margin-bottom: 40px; }
.status-group h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.status-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -1px; /* 合并边框 */
}

.status-item:first-of-type { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.status-item:last-of-type { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; margin-bottom: 20px; }

.s-name { font-weight: 500; color: var(--text-main); }
.s-status.op { color: var(--accent-success); font-weight: 600; font-size: 0.9rem; }

/* 具体的服务器行样式 */
.server-row {
    padding: 18px 20px;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.server-info .flag { font-size: 1.4rem; }

.server-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ping-value {
    font-family: monospace;
    font-size: 0.95rem;
    width: 60px;
    text-align: right;
    transition: color 0.3s;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .status-overview { flex-direction: column; text-align: center; }
    .uptime-badge { margin: 0 auto; }
}

/* =========================================
   12. 新增：下载落地页样式 (Download Matrix)
   ========================================= */
.download-header {
    padding: 120px 0 60px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 50%);
}

.os-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--brand-primary);
    filter: drop-shadow(0 0 20px rgba(79, 70, 229, 0.4));
}

.download-meta-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.meta-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.meta-item .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: monospace;
}

.install-guide {
    max-width: 800px;
    margin: 0 auto 100px;
}

.guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-num {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--brand-primary);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
/* =========================================
   13. 新增：法律文档样式 (Legal Pages)
   ========================================= */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.legal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.legal-content .last-updated {
    display: block;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--brand-primary);
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content strong {
    color: var(--text-main);
}

/* =========================================
   14. 新增：帮助中心与联系我们样式
   ========================================= */

/* 帮助中心头部 */
.help-hero {
    padding: 140px 0 80px;
    background: radial-gradient(circle at 50% 100%, rgba(129, 140, 248, 0.1), transparent 60%);
}

.search-box-wrapper {
    position: relative;
    max-width: 600px;
    margin: 30px auto 0;
}

.help-search-input {
    width: 100%;
    padding: 18px 50px 18px 25px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-size: 1.1rem;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.help-search-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 30px rgba(79, 70, 229, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brand-primary);
    cursor: pointer;
}

/* 帮助分类网格 */
.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.cat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s;
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cat-card h3 { color: var(--text-main); margin-bottom: 10px; }
.cat-card p { color: var(--text-muted); font-size: 0.9rem; }

/* 底部引导 */
.contact-cta {
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-top: 60px;
}

/* --- 联系我们页面样式 --- */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 100px;
}

.contact-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-textarea { height: 150px; resize: vertical; }

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.info-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.contact-link {
    display: block;
    font-size: 1.1rem;
    color: var(--brand-primary);
    font-weight: 600;
    margin: 10px 0;
}

.tiny-text { font-size: 0.85rem; color: var(--text-muted); }

.contact-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: none;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; }
}

/* =========================================
   15. 新增：Cookie 合规条样式
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%); /* 默认向下隐藏 */
    width: 90%;
    max-width: 1000px;
    background: rgba(15, 23, 42, 0.95); /* 深色背景 */
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0); /* 滑入屏幕 */
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-text-sm {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}
.btn-text-sm:hover { color: var(--text-main); }

.btn-primary-sm {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: var(--brand-glow);
    transform: translateY(-2px);
}

/* 移动端适配：垂直排列 */
@media (max-width: 768px) {
    .cookie-banner { bottom: 0; width: 100%; border-radius: 16px 16px 0 0; padding: 25px; }
    .cookie-content { flex-direction: column; align-items: flex-start; gap: 20px; }
    .cookie-actions { width: 100%; justify-content: flex-end; }
}
/* =========================================
   16. 新增：技术博客样式 (Blog System)
   ========================================= */

/* 列表页网格 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary);
}

.blog-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-icon { font-size: 4rem; filter: drop-shadow(0 0 20px rgba(0,0,0,0.3)); }

.blog-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }

.blog-meta {
    font-size: 0.85rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.blog-content h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); line-height: 1.4; }
.blog-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.read-more { color: var(--brand-glow); font-weight: 600; font-size: 0.9rem; }

/* 文章详情页布局 */
.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 左2右1 */
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 100px;
}

.article-header { margin-bottom: 40px; border-bottom: 1px solid var(--glass-border); padding-bottom: 30px; }
.article-tags { margin-bottom: 20px; }
.tag { 
    background: rgba(129, 140, 248, 0.1); 
    color: var(--brand-glow); 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.85rem; 
    margin-right: 10px; 
}
.article-header h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
.article-info { color: var(--text-muted); font-size: 0.9rem; display: flex; gap: 20px; }

/* 正文排版 (Typography) */
.content-typography { font-size: 1.1rem; line-height: 1.8; color: #cbd5e1; }
.content-typography h2 { color: #fff; margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.content-typography p { margin-bottom: 20px; }
.content-typography ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; }
.content-typography li { margin-bottom: 10px; }
.lead { font-size: 1.3rem; color: var(--text-main); font-weight: 300; margin-bottom: 40px; }

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--brand-primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

/* 侧边栏 */
.sidebar-widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.cta-widget { text-align: center; border-color: var(--brand-primary); position: sticky; top: 100px; }
.cta-widget .icon { font-size: 3rem; margin-bottom: 15px; }
.cta-widget h3 { margin-bottom: 10px; }
.cta-widget p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.tiny-note { font-size: 0.8rem; color: var(--accent-success); margin-top: 10px; }

.related-links li { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px; }
.related-links a:hover { color: var(--brand-primary); }

/* 移动端适配 */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { order: -1; margin-bottom: 40px; } /* 移动端把广告放上面？或者放下面，看需求。这里先默认放下面吧，-1是放上面 */
    .article-sidebar { order: 1; } /* 修正：还是放下面比较好，不打扰阅读 */
}

/* --- 英雄区视觉强化样式 (强制覆盖) --- */

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;     /* 垂直居中 */
    perspective: 2000px;     /* 【关键】开启 3D 透视深度 */
    padding: 40px;           /* 给 3D 旋转留出摆动空间 */
    position: relative;
    z-index: 10;             /* 确保在最上层 */
}

.screenshot-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 850px;        /* 【关键】尺寸放大：从 550 改为 850，大屏更震撼 */
    
    /* 【核心 3D 效果】 */
    transform-style: preserve-3d;
    transform: rotateY(-12deg) rotateX(4deg); /* 向左后方倾斜，形成立体感 */
    
    border-radius: 16px;     /* 圆角 */
    
    /* 多层阴影打造悬浮感 */
    box-shadow: 
        -30px 40px 80px rgba(0, 0, 0, 0.4),  /* 深色投影 */
        0 0 0 1px rgba(255, 255, 255, 0.1) inset; /* 边框高光 */
        
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 丝滑动画 */
}

/* 鼠标悬停时的交互：回正并放大 */
.screenshot-3d-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02); /* 变回平面并轻微放大 */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    z-index: 20;
}

.screenshot-3d-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    /* 优化图片渲染清晰度 */
    image-rendering: -webkit-optimize-contrast; 
}

/* 添加一道玻璃流光效果，增加高级感 */
.glass-sheen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 40%, 
        transparent 100%
    );
    border-radius: 16px;
    pointer-events: none; /* 让鼠标穿透光效层 */
}

/* --- 移动端适配 --- */
@media (max-width: 900px) {
    .hero-visual {
        padding: 0;
        margin-top: 60px;
        perspective: none; /* 移动端关闭透视，防止看起来太怪 */
    }
    
    .screenshot-3d-wrapper {
        max-width: 100%;
        transform: none; /* 移动端取消旋转，平铺显示 */
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
}

/* 社交媒体图标容器 */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 单个社交图标链接 */
.social-link {
    color: var(--text-muted); /* 默认灰色 */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%; /* 圆形点击区 */
    background: rgba(255, 255, 255, 0.03); /* 极淡的背景 */
}

/* 悬停效果 */
.social-link:hover {
    color: var(--text-main); /* 变亮 */
    background: var(--brand-primary); /* 品牌色背景 */
    transform: translateY(-3px); /* 轻微上浮 */
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); /* 发光阴影 */
}

/* 图标尺寸 */
.social-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2; /* 确保线条清晰 */
}