/* 全局基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

section {
    padding: 5rem 0;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 按钮通用样式 */
.btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* 主视觉区 (Hero) */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* 网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card, .review-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* 价格套餐表 */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.price-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.price-card.popular {
    border: 2px solid #007bff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,123,255,0.15);
    z-index: 1;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-card .price {
    font-size: 3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.price-card .price span {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.price-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    padding-left: 1rem;
}

.price-card ul li {
    margin-bottom: 1rem;
    color: #555;
    position: relative;
}

.price-card ul li::before {
    content: "✓";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

.price-card .btn-primary {
    width: 100%;
}

/* 用户评价 */
.review-card .stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    min-height: 80px;
}

.review-card .author {
    font-weight: bold;
    text-align: right;
    color: #333;
}

/* FAQ 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

/* 内容页面通用样式 (关于我们, 隐私, 协议等) */
.page-content {
    padding: 5rem 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.page-content p {
    margin-bottom: 1rem;
    color: #444;
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content ul li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* 响应式媒体查询 (移动端适配) */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    /* 取消流行套餐的放大效果，防止在手机端溢出或不协调 */
    .price-card.popular {
        transform: scale(1);
        z-index: auto;
    }
    
    /* 使按钮更适合手指点击 */
    .btn-primary {
        padding: 16px 20px;
        width: 100%; 
        max-width: 100%;
        display: block;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-container {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 0;
    }
    .nav-links {
        margin-top: 15px;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- 星际跃迁 WARP JUMP 视觉风格覆写 --- */
body {
    background-color: #04061A !important;
    color: #E0E7FF;
}
.bg-light {
    background-color: transparent !important;
}
.section-title {
    color: #E0E7FF;
}
.navbar {
    background-color: rgba(4, 6, 26, 0.85) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
}
.navbar .logo {
    color: #E0E7FF !important;
}
.nav-links a {
    color: #A5B4FC !important;
}
.nav-links a:hover {
    color: #E0E7FF !important;
}
.hero {
    background: transparent !important;
}
.card, .review-card, .price-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(165, 180, 252, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(8px);
}
.card h3, .faq-item h3 {
    color: #A5B4FC !important;
}
.price-card.popular {
    border-color: #A5B4FC !important;
    background: rgba(165, 180, 252, 0.08) !important;
    box-shadow: 0 10px 30px rgba(165,180,252,0.15) !important;
}
.badge {
    background: #A5B4FC !important;
    color: #04061A !important;
}
.price-card .price {
    color: #E0E7FF !important;
}
.price-card .price span {
    color: rgba(224, 231, 255, 0.5) !important;
}
.price-card ul li {
    color: rgba(224, 231, 255, 0.75) !important;
}
.price-card ul li::before {
    color: #A5B4FC !important;
}
.review-card p {
    color: rgba(224, 231, 255, 0.8) !important;
}
.review-card .author {
    color: #E0E7FF !important;
}
.faq-item {
    border-bottom-color: rgba(165, 180, 252, 0.15) !important;
}
.faq-item p {
    color: rgba(224, 231, 255, 0.75) !important;
}
.footer {
    background: rgba(0, 0, 0, 0.5) !important;
    border-top: 1px solid rgba(165, 180, 252, 0.1) !important;
}
.footer-links a {
    color: rgba(224, 231, 255, 0.6) !important;
}
.footer-links a:hover {
    color: #A5B4FC !important;
}
.copyright {
    color: rgba(224, 231, 255, 0.4) !important;
}
.btn-primary {
    background-color: #A5B4FC !important;
    color: #04061A !important;
}
.btn-primary:hover {
    background-color: #E0E7FF !important;
}
.page-content h2 {
    color: #A5B4FC !important;
}
.page-content p, .page-content ul li {
    color: rgba(224, 231, 255, 0.8) !important;
}
.page-content h1 {
    border-bottom-color: rgba(165, 180, 252, 0.2) !important;
}

/* 导航栏按钮特调 */
.nav-btn {
    padding: 8px 24px !important;
    font-size: 1rem !important;
    margin-left: 1rem;
}
@media (max-width: 768px) {
    .nav-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* Accessibility & Focus */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #A5B4FC;
    color: #04061A;
    padding: 8px;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 2px dashed #A5B4FC;
    outline-offset: 4px;
}
/* Scroll Margin for Anchors */
section, .page-content, h1, h2, h3 {
    scroll-margin-top: 80px;
}
/* Details/Summary styling */
details.faq-item {
    background: rgba(224, 231, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(165, 180, 252, 0.1);
}
details.faq-item > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #E0E7FF;
}
details.faq-item > summary::-webkit-details-marker {
    display: none;
}
details.faq-item > summary h3 {
    display: inline-block;
    margin: 0;
}
details.faq-item[open] p {
    margin-top: 1rem;
    color: rgba(224, 231, 255, 0.8);
}
