/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #1d1d1f;
    background: #fff;
    line-height: 1.5;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ===== 布局容器 ===== */
.container { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 22px; }

/* ===== 顶部导航 ===== */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(29,29,31,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.site-nav .nav-inner {
    max-width: 1024px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 44px; padding: 0 22px;
}
.site-nav .logo { color: #f5f5f7; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.site-nav nav ul { display: flex; gap: 28px; }
.site-nav nav a {
    color: #f5f5f7; font-size: 12px; opacity: 0.8;
    transition: opacity 0.2s;
}
.site-nav nav a:hover { opacity: 1; text-decoration: none; }

/* ===== Hero 区域 ===== */
.hero {
    background: #000;
    color: #f5f5f7;
    text-align: center;
    padding: 60px 22px 0;
    overflow: hidden;
}
.hero h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.07;
    margin-bottom: 12px;
}
.hero .tagline {
    font-size: 28px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 16px;
}
.hero .subtitle-text {
    font-size: 19px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.5;
}
.hero .cta-group {
    display: flex; gap: 16px; justify-content: center; margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.2s;
}
.btn-primary { background: #0071e3; color: #fff; }
.btn-primary:hover { background: #0077ed; text-decoration: none; }
.btn-secondary { color: #2997ff; }
.btn-secondary:hover { text-decoration: underline; }

/* ===== 通用区块 ===== */
.section { padding: 100px 0; }
.section-gray { background: #f5f5f7; }
.section-dark { background: #000; color: #f5f5f7; }
.section h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 20px;
}
.section .subtitle {
    font-size: 21px;
    text-align: center;
    color: #6e6e73;
    max-width: 680px;
    margin: 0 auto 50px;
    line-height: 1.52;
}
.section-dark .subtitle { color: #86868b; }

/* ===== 机型卡片 ===== */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.phone-row {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.phone-row .info { flex: 1; }
.phone-row .badge {
    display: inline-block;
    background: #ff375f;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 980px;
    margin-bottom: 8px;
}
.phone-row h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
}
.phone-row .desc {
    font-size: 15px;
    color: #6e6e73;
    margin-bottom: 12px;
}
.phone-row .price {
    font-size: 17px;
    color: #1d1d1f;
}
.phone-row .price .monthly {
    font-size: 14px;
    color: #86868b;
}
.phone-row .actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* ===== 省钱方案卡片 ===== */
.saving-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.saving-card {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 32px;
}
.saving-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
}
.saving-card p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
}

/* ===== FAQ 页面 ===== */
.faq-page {
    padding: 80px 0;
    min-height: 60vh;
}
.faq-page h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 50px;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #e8e8ed;
}
.faq-item summary {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: #86868b;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

/* ===== 404 页面 ===== */
.error-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 22px;
}
.error-page .code {
    font-size: 120px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    margin-bottom: 16px;
}
.error-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.error-page p {
    font-size: 17px;
    color: #6e6e73;
    max-width: 400px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #f5f5f7;
    padding: 40px 0;
    font-size: 12px;
    color: #86868b;
    line-height: 1.5;
}
.site-footer .footer-links {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer a { color: #515154; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .hero .tagline { font-size: 21px; }
    .section h2 { font-size: 32px; }
    .faq-page h1 { font-size: 32px; }
    .phone-row { flex-direction: column; align-items: flex-start; }
    .phone-row .actions { align-items: flex-start; flex-direction: row; }
    .saving-grid { grid-template-columns: 1fr; }
    .site-nav nav ul { gap: 16px; }
    .site-nav nav a { font-size: 11px; }
}
