/* ==================== 全局 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --border: #e5e5e5;
    --text: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #2563eb;
    --accent-light: #eff6ff;
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
}

/* ==================== 头部 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--text);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

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

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav .btn-primary {
    background: var(--text);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav .btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

.nav .user-info {
    font-size: 14px;
    color: var(--text-secondary);
}

.nav .btn-logout {
    color: var(--text-muted);
    font-size: 13px;
}

/* ==================== 主内容 ==================== */
.main {
    padding-top: 68px;
}

/* ==================== Hero ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 680px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text);
}

.hero h1 span {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--text);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s;
}

.btn-hero:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-hero-outline:hover {
    border-color: var(--text);
    background: var(--surface);
}

/* ==================== 套餐区域 ==================== */
.pricing {
    padding: 100px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.pricing-card.highlight {
    border: 2px solid var(--text);
    background: var(--text);
    color: #fff;
}

.pricing-card.highlight .pkg-name,
.pricing-card.highlight .pkg-price .price,
.pricing-card.highlight .pkg-points,
.pricing-card.highlight .pkg-features li {
    color: #fff;
}

.pricing-card.highlight .pkg-price .unit,
.pricing-card.highlight .pkg-points .points-price {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card.highlight .pkg-features li {
    opacity: 0.85;
}

.popular-tag {
    position: absolute;
    top: -1px;
    right: 24px;
    background: #fff;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.5px;
}

.pkg-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.pkg-price {
    margin-bottom: 16px;
}

.pkg-price .price {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--text);
}

.pkg-price .unit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 2px;
}

.pkg-points {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pkg-points .points-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.pricing-card.highlight .pkg-points .points-value {
    color: #fff;
}

.pkg-points .points-unit {
    font-size: 13px;
    color: var(--text-secondary);
}

.pkg-points .points-text {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.pkg-points .points-desc {
    display: block;
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
}

.pricing-card.highlight .pkg-points .points-desc {
    color: #86efac;
}

.pkg-points .points-price {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.pricing-card.highlight .pkg-points .points-price {
    color: rgba(255, 255, 255, 0.5);
}

.pkg-features {
    list-style: none;
    margin-bottom: 28px;
}

.pkg-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
}

.pricing-card.highlight .pkg-features li {
    color: rgba(255, 255, 255, 0.8);
}

.btn-purchase {
    width: 100%;
    padding: 13px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-purchase:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
}

.pricing-card.highlight .btn-purchase {
    background: #fff;
    color: var(--text);
    border-color: #fff;
}

.pricing-card.highlight .btn-purchase:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ==================== 流程 ==================== */
.steps {
    padding: 100px 32px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -20px;
    width: 40px;
    height: 1px;
    background: var(--border);
}

.step:last-child::after {
    display: none;
}

.step-num {
    width: 56px;
    height: 56px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 auto 20px;
    background: var(--bg);
}

.step h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== 页脚 ==================== */
.footer {
    padding: 40px 32px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== 模态框 ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg);
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-body {
    padding: 28px 24px;
    text-align: center;
}

.modal-pkg {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

.contact-section {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.contact-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 10px;
}

.contact-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.contact-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav {
        gap: 16px;
    }

    .nav a:not(.btn-primary) {
        display: none;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .pricing {
        padding: 60px 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.highlight {
        order: -1;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .steps {
        padding: 60px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
