/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0e1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== 顶部导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 187, 255, 0.1);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    color: #b0b8c8;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-btn {
    padding: 6px 18px;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-btn.primary {
    background: #00a0ff;
    color: #ffffff;
}

.nav-btn.primary:hover {
    background: #0090e0;
}

.nav-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.nav-btn.secondary:hover {
    border-color: #00a0ff;
    color: #00a0ff;
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 64px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #0a0e1a;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 10, 25, 0.7) 0%, rgba(5, 10, 25, 0.3) 50%, rgba(5, 10, 25, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #c0c8d8;
    margin-bottom: 36px;
}

.download-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0080ff, #00aaff);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 128, 255, 0.4);
}

.download-version {
    display: inline-block;
    margin-left: 14px;
    font-size: 13px;
    color: #667788;
    vertical-align: middle;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 128, 255, 0.6);
    background: linear-gradient(135deg, #0070e0, #0099ee);
}

/* ========== 功能展示区 ========== */
.features {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #ffffff;
}

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

.feature-card {
    background: linear-gradient(180deg, rgba(15, 25, 45, 0.9) 0%, rgba(10, 18, 35, 0.95) 100%);
    border: 1px solid rgba(0, 187, 255, 0.15);
    border-radius: 16px;
    padding: 40px 28px 36px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(0, 187, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 100, 255, 0.15);
}

.feature-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.icon-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 187, 255, 0.15) 0%, transparent 70%);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.feature-icon svg {
    position: relative;
    z-index: 1;
}

.feature-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.feature-list {
    text-align: left;
    padding: 0 8px;
}

.feature-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #8899aa;
    line-height: 1.7;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00bbff;
    font-weight: bold;
}

/* ========== 兼容性展示区 ========== */
.compatibility {
    padding: 60px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 10, 25, 0.5) 100%);
}

.compat-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.compat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 80px;
}

.compat-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transition: transform 0.3s;
}

.compat-icon:hover {
    transform: scale(1.1);
}

.compat-icon.blue {
    background: linear-gradient(135deg, #1a3a6a, #0d2244);
    color: #4499ff;
    border: 1px solid rgba(68, 153, 255, 0.3);
}

.compat-icon.red {
    background: linear-gradient(135deg, #5a1a2a, #3d0d1a);
    color: #ff4466;
    border: 1px solid rgba(255, 68, 102, 0.3);
}

.compat-icon.dark {
    background: linear-gradient(135deg, #2a2a3a, #1a1a2a);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.compat-icon.orange {
    background: linear-gradient(135deg, #5a3a1a, #3d250d);
    color: #ffaa33;
    border: 1px solid rgba(255, 170, 51, 0.3);
}

.compat-icon.red-dark {
    background: linear-gradient(135deg, #5a1a1a, #3d0d0d);
    color: #ff5533;
    border: 1px solid rgba(255, 85, 51, 0.3);
}

.compat-icon.green {
    background: linear-gradient(135deg, #1a4a2a, #0d2a1a);
    color: #33cc66;
    border: 1px solid rgba(51, 204, 102, 0.3);
}

.compat-icon.purple {
    background: linear-gradient(135deg, #3a1a5a, #250d3d);
    color: #aa66ff;
    border: 1px solid rgba(170, 102, 255, 0.3);
}

.compat-text-icon {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.compat-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(20, 30, 50, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.compat-icon-img:hover {
    transform: scale(1.1);
}

.compat-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.compat-label {
    font-size: 12px;
    color: #8899aa;
    white-space: nowrap;
}

/* ========== 关于我们 ========== */
.about {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    justify-content: space-between;
}

.about-info {
    flex: 1;
    max-width: 480px;
}

.about-team {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #00bbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-company {
    font-size: 15px;
    color: #8899aa;
    margin-bottom: 20px;
}

.about-desc {
    font-size: 14px;
    color: #667788;
    line-height: 1.8;
}

.qr-grid {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-img-wrap {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.qr-label {
    font-size: 13px;
    color: #8899aa;
}

/* ========== 页脚 ========== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 40px;
    background: rgba(5, 8, 18, 0.8);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 15px;
    color: #8899aa;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer p {
    font-size: 13px;
    color: #556677;
}


/* ========== 滚动动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.fade-in:nth-child(1) { transition-delay: 0s; }
.feature-card.fade-in:nth-child(2) { transition-delay: 0.15s; }
.feature-card.fade-in:nth-child(3) { transition-delay: 0.3s; }

.compat-item.fade-in:nth-child(1) { transition-delay: 0s; }
.compat-item.fade-in:nth-child(2) { transition-delay: 0.08s; }
.compat-item.fade-in:nth-child(3) { transition-delay: 0.16s; }
.compat-item.fade-in:nth-child(4) { transition-delay: 0.24s; }
.compat-item.fade-in:nth-child(5) { transition-delay: 0.32s; }
.compat-item.fade-in:nth-child(6) { transition-delay: 0.40s; }
.compat-item.fade-in:nth-child(7) { transition-delay: 0.48s; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .compat-grid {
        gap: 24px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-info {
        max-width: 100%;
    }

    .qr-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 450px;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }
}
