/* 全局重置与变量 */
:root {
    --primary-color: #38BDF8;
    --primary-hover: #A5F3FC;
    --text-main: #E6F7FF;
    --text-muted: rgba(230, 247, 255, 0.7);
    --bg-main: #04070F;
    --bg-light: rgba(255, 255, 255, 0.02);
    --border-color: rgba(56, 189, 248, 0.3);
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border-radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* 布局工具 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-main);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 按钮组件 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #04070F;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #04070F;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #04070F;
}

/* 导航栏 */
.navbar {
    padding: 20px 0;
    background: rgba(4, 7, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* 导航栏目录 */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero区块 */
.hero {
    padding: 100px 0;
    text-align: center;
    background: transparent;
    position: relative;
}

.headline {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.sub-headline {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* 卡片通用 */
.card {
    background: rgba(255, 255, 255, 0.06);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

/* 核心优势 */
.feature-card {
    text-align: center;
}
.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 媒体与AI */
.media-card {
    text-align: left;
}
.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.media-card p {
    color: var(--text-muted);
}

/* 价格对比 */
.pricing-card {
    text-align: center;
    position: relative;
}
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #04070F;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}
.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}
.pricing-features li:before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}
.pricing-card .btn {
    width: 100%;
}

/* 用户评价 */
.review-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.review-card .user {
    font-weight: 600;
    color: var(--text-main);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.faq-item p {
    color: var(--text-muted);
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-main);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 内页通用 */
.page-header {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}
.page-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.page-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}
.page-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.page-content li {
    margin-bottom: 10px;
}

/* 量子未来风 - 背景装饰层 */
.quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4 圈同心量子环 */
.quantum-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.25);
    animation: ringExpand 5.5s infinite linear;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 1.375s; }
.ring-3 { animation-delay: 2.75s; }
.ring-4 { animation-delay: 4.125s; }

@keyframes ringExpand {
    0% {
        transform: scale(0.25);
        opacity: 0.8;
    }
    100% {
        transform: scale(8.5);
        opacity: 0;
    }
}

/* 冰蓝光核 */
.quantum-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(56,189,248,0.5) 0%, rgba(56,189,248,0) 70%);
    border-radius: 50%;
    animation: coreBreathe 6s infinite ease-in-out;
}

@keyframes coreBreathe {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* 3 颗微尘 */
.quantum-dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #A5F3FC;
    border-radius: 50%;
    box-shadow: 0 0 6px #A5F3FC;
    opacity: 0;
}

.dust-1 { left: 30%; bottom: -10%; animation: floatDust 22s infinite linear; }
.dust-2 { left: 70%; bottom: -10%; animation: floatDust 26s infinite linear 8s; }
.dust-3 { left: 50%; bottom: -10%; animation: floatDust 24s infinite linear 15s; }

@keyframes floatDust {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh) scale(1.5);
        opacity: 0;
    }
}

/* 动效降级处理 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
    .quantum-ring, .quantum-core, .quantum-dust {
        animation: none !important;
    }
    .quantum-ring {
        opacity: 0.1 !important;
        transform: scale(2) !important;
    }
    .quantum-core {
        opacity: 0.3 !important;
    }
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        font-size: 0.95rem;
    }
    .headline {
        font-size: 2.2rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    .btn {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }
    .navbar .btn-sm {
        width: auto;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
