* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 头部导航 ========== */
header {
    background: #0f0f1a;
    color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a3e;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo svg {
    width: 32px;
    height: 32px;
    color: #6c5ce7;
    flex-shrink: 0;
}
.logo span {
    color: #6c5ce7;
}
.logo small {
    font-size: 14px;
    font-weight: 400;
    color: #a0a0b8;
    margin-left: 8px;
    letter-spacing: 0.5px;
}
nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
nav a {
    font-size: 15px;
    color: #c8c8e0;
    transition: color 0.2s;
    position: relative;
}
nav a:hover {
    color: #fff;
}
nav a.active {
    color: #6c5ce7;
    font-weight: 600;
}
.nav-download {
    background: #6c5ce7;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.nav-download:hover {
    background: #5a4bd1;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #c8c8e0;
    border-radius: 2px;
    transition: 0.2s;
}

/* ========== 英雄区 ========== */
.hero {
    padding: 70px 0 60px;
    background: linear-gradient(145deg, #0f0f1a 0%, #1a1a30 100%);
    color: #fff;
    border-bottom: 1px solid #2a2a3e;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content h1 .highlight {
    color: #6c5ce7;
}
.hero-content p {
    font-size: 18px;
    color: #b0b0ca;
    max-width: 520px;
    margin-bottom: 28px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn-primary {
    background: #6c5ce7;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: #5a4bd1;
}
.btn-secondary {
    background: transparent;
    color: #b0b0ca;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid #3a3a5a;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    border-color: #6c5ce7;
    color: #fff;
}

.hero-image {
    background: #1a1a30;
    border-radius: 20px;
    border: 1px solid #2e2e4e;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #1a1a30;
}

/* ========== 核心能力 ========== */
.features {
    padding: 70px 0 50px;
    background: #fff;
}
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.section-sub {
    text-align: center;
    color: #666688;
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 17px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #eaeaef;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.08);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 18px;
    color: #fff;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.feature-card p {
    color: #666688;
    font-size: 15px;
    line-height: 1.7;
}

/* ========== 全平台支持 ========== */
.platforms {
    padding: 60px 0 70px;
    background: #f5f7fa;
}
.platforms .section-title {
    margin-bottom: 8px;
}
.platform-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    margin-top: 36px;
}
.platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    background: #fff;
    padding: 12px 32px;
    border-radius: 40px;
    border: 1px solid #eaeaef;
    transition: border-color 0.2s, transform 0.2s;
}
.platform-item:hover {
    border-color: #6c5ce7;
    transform: translateY(-2px);
}
.platform-item .icon {
    font-size: 24px;
    line-height: 1;
}

/* ========== CTA 行动号召 ========== */
.cta {
    padding: 60px 0 70px;
    background: #0f0f1a;
    color: #fff;
    text-align: center;
}
.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta p {
    color: #b0b0ca;
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto 28px;
}
.cta .btn-primary {
    background: #6c5ce7;
    font-size: 17px;
    padding: 16px 44px;
}
.cta .btn-primary:hover {
    background: #5a4bd1;
}

/* ========== 全局高亮 ========== */
.highlight {
    color: #6c5ce7;
}

/* ========== 产品对比 ========== */
.comparison {
    padding: 70px 0 60px;
    background: #fff;
}
.comparison .section-sub strong {
    color: #1a1a2e;
    font-weight: 600;
}
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 36px 0 20px;
    border-radius: 16px;
    border: 1px solid #eaeaef;
    background: #f8f9fc;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 15px;
}
.comparison-table th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
    padding: 16px 20px;
    text-align: left;
    white-space: nowrap;
}
.comparison-table th:first-child {
    border-radius: 16px 0 0 0;
}
.comparison-table th:last-child {
    border-radius: 0 16px 0 0;
}
.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eaeaef;
    color: #2a2a3e;
    vertical-align: middle;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table .dimension {
    font-weight: 600;
    color: #1a1a2e;
    background: #f0f0f5;
    white-space: nowrap;
}
.comparison-table .col-safew {
    background-color: rgba(108, 92, 231, 0.04);
    font-weight: 600;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.5;
}
.badge-best {
    background: #6c5ce7;
    color: #fff;
}
.badge-good {
    background: #e8f5e9;
    color: #2e7d32;
}
.badge-partial {
    background: #fff3e0;
    color: #e65100;
}
.badge-neutral {
    background: #f0f0f5;
    color: #5a5a7a;
}
.badge-none {
    background: #f0f0f5;
    color: #9e9eb0;
}

.comparison-note {
    text-align: center;
    font-size: 14px;
    color: #8888aa;
    margin-top: 12px;
}

/* 表格悬停 */
.comparison-table tbody tr:hover td {
    background-color: #f5f4ff;
}
.comparison-table tbody tr:hover .col-safew {
    background-color: rgba(108, 92, 231, 0.08);
}

/* ========== 页脚 ========== */
footer {
    background: #0a0a14;
    color: #8888aa;
    padding: 40px 0 30px;
    border-top: 1px solid #1a1a2e;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo {
    font-size: 22px;
    margin-bottom: 10px;
}
.footer-brand p {
    font-size: 14px;
    max-width: 260px;
    line-height: 1.7;
}
.footer-col h4 {
    color: #e0e0f0;
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: #8888aa;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #1a1a2e;
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

/* ========== 响应式布局 ========== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 28px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .comparison-table-wrapper {
        margin: 24px -16px;
        border-radius: 12px;
    }
}
@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0 8px;
        border-top: 1px solid #2a2a3e;
        margin-top: 12px;
    }
    nav.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .platform-grid {
        gap: 12px;
    }
    .platform-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    .cta h2 {
        font-size: 26px;
    }
    .section-title {
        font-size: 26px;
    }
}
@media (max-width: 480px) {
    .hero {
        padding: 40px 0 40px;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    .container {
        padding: 0 16px;
    }
}