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

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background-color: #0A0F1E;
    color: #EFF3FC;
    line-height: 1.5;
    scroll-behavior: smooth;
}

:root {
    --primary: #2A6DFF;
    --primary-dark: #1E52CC;
    --primary-glow: rgba(42, 109, 255, 0.25);
    --bg-card: #111827;
    --bg-elevated: #1E293B;
    --border-dim: #2D3A5E;
    --text-muted: #A0B3D9;
    --trust-bg: #F3F6FC;
    --trust-text: #0A1428;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(45, 58, 94, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo i {
    font-size: 2rem;
    color: var(--primary);
    transform: rotate(-20deg);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(42, 109, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline:hover {
    background: rgba(42, 109, 255, 0.1);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* 页面 Hero */
.page-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, #0f172f, #030614);
    z-index: -1;
}

.page-hero-bg::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(42,109,255,0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: drift 40s linear infinite;
    pointer-events: none;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20%, 20%); }
}

.page-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #7AA9FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.page-hero .sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.save-banner {
    display: inline-block;
    background: rgba(110, 231, 183, 0.12);
    color: #6EE7B7;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(110, 231, 183, 0.3);
}

/* 章节标题 */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* 价格切换 */
.pricing-switch-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}

.pricing-tab {
    background: var(--bg-elevated);
    padding: 10px 32px;
    border-radius: 60px;
    font-weight: 600;
    border: 1px solid var(--border-dim);
    cursor: pointer;
    font-size: 1rem;
}

.pricing-tab.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* 价格卡片 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0 80px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 40px 32px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 109, 255, 0.5);
}

.pricing-card.recommended {
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: 0 12px 40px rgba(42,109,255,0.25);
    background: linear-gradient(180deg, rgba(42,109,255,0.08), var(--bg-card));
    transform: scale(1.02);
}

.recommended-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 6px 24px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(42,109,255,0.2), rgba(42,109,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    min-height: 44px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0 8px;
}

.price span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-original {
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.annual-save {
    color: #6EE7B7;
    font-size: 0.9rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
    flex: 1;
}

.feature-list li {
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: #6EE7B7;
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.pricing-card .btn-primary {
    display: block;
    text-align: center;
    padding: 14px;
    width: 100%;
    font-size: 1.05rem;
}

.pricing-card .btn-outline {
    display: block;
    text-align: center;
    padding: 14px;
    width: 100%;
    font-size: 1.05rem;
    margin-top: 10px;
}

/* 套餐对比表 */
.compare-section {
    background: var(--bg-elevated);
    border-radius: 48px;
    padding: 56px 48px;
    margin: 60px 0;
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 32px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-dim);
}

.compare-table th {
    font-weight: 700;
    font-size: 1.05rem;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table .feature-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check {
    color: #6EE7B7;
    font-weight: 700;
}

.check::before {
    content: "✓";
    font-size: 1.2rem;
}

/* 保障承诺 */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.guarantee-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 32px 28px;
    border: 1px solid var(--border-dim);
    text-align: center;
}

.guarantee-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.guarantee-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guarantee-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.faq-list {
    margin: 48px 0 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

details {
    background: var(--bg-elevated);
    border-radius: 24px;
    padding: 20px 28px;
    border: 1px solid var(--border-dim);
}

summary {
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "➕";
    font-size: 1rem;
}

details[open] summary:after {
    content: "➖";
}

details p {
    margin-top: 16px;
    padding-left: 8px;
    border-left: 3px solid var(--primary);
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
footer {
    background: #050A15;
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 8px 0;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col .logo {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icons a {
    font-size: 1.4rem;
    margin: 0;
    display: inline-block;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-dim);
    padding-top: 24px;
}

/* 移动端 */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 24px 0;
        gap: 20px;
    }
    .menu-icon {
        display: block;
    }
    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .pricing-card.recommended {
        transform: none;
    }
    .compare-section {
        padding: 32px 20px;
    }
    .compare-table {
        font-size: 0.85rem;
    }
    .compare-table th,
    .compare-table td {
        padding: 12px 8px;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}

a, .btn-primary, .btn-outline, .pricing-tab {
    cursor: pointer;
}
