/* 全局重置与基础变量 (光圈科技 / 纯净明亮极简风) */
:root {
    --primary-color: #0084ff; /* 传送门蓝 */
    --accent-color: #ff8c00; /* 传送门橙 */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-main: #f3f4f6;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-main);
    position: relative;
    z-index: 0;
}

/* 动态背景 1：无限平移的科技蓝图网格 */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 200vw; height: 200vh;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: panGrid 15s linear infinite;
    pointer-events: none;
}

/* 动态背景 2：全屏循环雷达扫描线 */
body::after {
    content: "";
    position: fixed;
    left: 0; width: 100vw; height: 15vh;
    background: linear-gradient(to bottom, transparent, rgba(0, 132, 255, 0.03), rgba(0, 132, 255, 0.15), transparent);
    z-index: -1;
    pointer-events: none;
    animation: scanLine 8s linear infinite;
}

@keyframes panGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50px, -50px); }
}

@keyframes scanLine {
    0% { top: -20vh; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 120vh; opacity: 0; }
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 1px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff !important;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 132, 255, 0.3);
}

.btn-primary:hover {
    background-color: #006bce;
    box-shadow: 0 6px 15px rgba(0, 132, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff;
    color: var(--text-main) !important;
    border: 1px solid #d1d5db;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    background: #f0f7ff;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* 头部 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 顶部给个橙色高亮细线，强化 Aperture Science 风格 */
.header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background-color: var(--accent-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 主视觉区 Hero */
.hero {
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    background-color: transparent;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111827;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* 网格布局 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 卡片 */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

/* 核心优势 */
.feature-card {
    text-align: center;
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #111827;
}

/* 流媒体与AI */
.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 套餐卡片 */
.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    border-width: 2px;
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -2px;
    right: 20px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 15px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: #374151;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-top: 10px;
}

.pricing-header .price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    text-align: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li strong {
    color: #111827;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-muted);
}

/* 用户评价 */
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.reviewer {
    font-weight: 700;
    color: var(--accent-color);
}

/* 页脚 */
.footer {
    background-color: #1f2937;
    color: #9ca3af;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #9ca3af;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.9rem;
}

/* 响应式媒体查询 */
@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        margin-bottom: 10px;
    }

    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-links a {
        margin: 0;
    }
}


/* Accessibility & Mobile Fixes */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
section[id] {
    scroll-margin-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* details FAQ style */
details {
    background: #fff;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
}
summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    outline: none;
}
details p {
    margin-top: 10px;
    color: var(--text-muted);
}
