/* ===== 字体声明 ===== */
@font-face {
    font-family: 'Inter';
    src: url('https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://framerusercontent.com/assets/CfMzU8w2e7tHgF4T4rATMPuWosA.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'CircularXX';
    src: url('https://framerusercontent.com/assets/MewpGWq6KOg7nWLKOSTwGwfWURQ.woff2') format('woff2');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CircularXX';
    src: url('https://framerusercontent.com/assets/A4r6HhJpLVEjKPMmnPkuC8fppg.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'CircularXX';
    src: url('https://framerusercontent.com/assets/LTYS7xxGr504sups1WD0D2nJok.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== 重置与基础 ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050b19;
    color: #edf1f2;
    font-family: 'CircularXX', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 450;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== 布局容器 ===== */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
}

@media (max-width: 809px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== 头部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    background: rgba(5, 11, 25, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 32px 0 #010814;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    max-width: 1200px;
    padding: 0 60px;
}

@media (max-width: 809px) {
    .header-inner {
        padding: 0 20px;
        height: 70px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo svg {
    width: 102px;
    height: 25px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    font-size: 16px;
    color: #fff;
    transition: color 0.2s;
}

.nav a:hover {
    color: #2394e9;
}

.nav .dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #edf1f2;
}

.nav .dropdown svg {
    width: 14px;
    height: 14px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 450;
    font-family: 'CircularXX', 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
    background: transparent;
}

.btn-outline {
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: rgba(71, 151, 248, 0.1);
    color: #2091f6;
}

.btn-primary:hover {
    background: rgba(71, 151, 248, 0.2);
}

@media (max-width: 809px) {
    .nav,
    .auth-buttons {
        display: none;
    }
}

/* ===== 主视觉区域 ===== */
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 180px 0 80px;
    width: 100%;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 60px;
    font-weight: 450;
    line-height: 1.3;
    letter-spacing: -0.02em;
    max-width: 1020px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #5a5e73 -23%, #edf1f2 62%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    color: #2394e9;
    -webkit-text-fill-color: #2394e9;
}

@media (max-width: 1199px) {
    .hero h1 {
        font-size: 56px;
    }
}

@media (max-width: 809px) {
    .hero {
        padding: 140px 0 60px;
    }
    .hero h1 {
        font-size: 42px;
    }
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2091f6;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 450;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #1a7fd4;
}

.btn-download svg {
    width: 20px;
    height: 20px;
}

.hero-image {
    margin-top: 60px;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* ===== 平台下载卡片 ===== */
.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 60px 0 80px;
    width: 100%;
    max-width: 1040px;
}

.platform-card {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 20px;
    background: linear-gradient(0deg, #101525 -25%, #070d1a 100%);
    border: 1px solid #222;
    border-radius: 20px;
    box-shadow: 0 4px 52px rgba(10, 33, 53, 0.25),
    inset 1px 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: #fff;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 60px rgba(10, 33, 53, 0.4),
    inset 1px 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.platform-card .icon {
    width: 30px;
    height: 30px;
}

.platform-card .icon svg {
    width: 100%;
    height: 100%;
}

.platform-card .label {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
}

.platform-card .download-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 12px;
    border: 5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2);
    color: #1d2033;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.platform-card .download-badge img {
    width: 14px;
    height: 14px;
}

/* ===== 移动端推广 ===== */
.mobile-promo {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
    margin: 60px 0;
    background: linear-gradient(0deg, #101525 -25%, #070d1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 -2px 20px rgba(10, 56, 97, 0.15),
    inset 1px 1px 1px rgba(255, 255, 255, 0.1);
    max-width: 1040px;
    width: 100%;
}

.mobile-promo .promo-image {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.mobile-promo .promo-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-promo h2 {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #fff;
}

.mobile-promo p {
    font-size: 16px;
    color: #8d91a5;
    line-height: 1.6;
}

.mobile-promo .store-links {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.mobile-promo .store-links img {
    height: 52px;
    width: auto;
}

@media (max-width: 809px) {
    .mobile-promo {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }
    .mobile-promo .promo-content {
        align-items: center;
    }
    .mobile-promo h2 {
        font-size: 28px;
    }
    .mobile-promo .store-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .mobile-promo .store-links img {
        height: 40px;
    }
}

/* ===== 页脚 ===== */
.footer {
    width: 100%;
    max-width: 1200px;
    padding: 60px 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: #8d91a5;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .copyright {
    font-size: 14px;
    color: #8d91a5;
}

.footer-bottom .legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #8d91a5;
}

.footer-bottom .legal-links a {
    color: #8d91a5;
    transition: color 0.2s;
}

.footer-bottom .legal-links a:hover {
    color: #fff;
}

.footer-bottom .social {
    display: flex;
    gap: 16px;
}

.footer-bottom .social a {
    color: #8d91a5;
    transition: color 0.2s;
}

.footer-bottom .social a:hover {
    color: #fff;
}

.footer-bottom .social svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 809px) {
    .footer {
        padding: 40px 20px 30px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-bottom .legal-links {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Cookie 横幅 ===== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: #1e2033;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px #2f324f;
    padding: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-banner p {
    font-size: 14px;
    color: #8d91a5;
    line-height: 1.6;
}

.cookie-banner .cookie-title {
    font-size: 16px;
    font-weight: 450;
    color: #fff;
    margin-bottom: 6px;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-banner button {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 450;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: opacity 0.2s;
}

.cookie-banner button:hover {
    opacity: 0.85;
}

.cookie-banner .reject {
    background: #8d91a5;
    color: #fff;
}

.cookie-banner .accept {
    background: #2394e9;
    color: #fff;
}

/* ===== 工具类 ===== */
.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}