/* CSS Reset & Variables */
:root {
    --primary-color: #2ECC71;
    --primary-dark: #27AE60;
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border-color: #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.logo a {
    text-decoration: none;
    color: inherit;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Common Section Styles */
section {
    padding: 80px 5%;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 120px 5%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #006064;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #00838f;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

/* Cards (Features & Media & Reviews) */
.card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
}

.support-card {
    max-width: 500px;
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.price-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.price-card.popular {
    border-color: var(--primary-color);
    background-color: var(--white);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}

.price-card.popular::before {
    content: '最受欢迎';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

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

.price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

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

.price-card ul {
    list-style: none;
    margin-bottom: 35px;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    color: var(--text-main);
}

.price-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.price-card .cta-btn {
    width: 100%;
    text-align: center;
}

/* Reviews Section */
.review-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.review-card span {
    font-weight: bold;
    display: block;
    text-align: right;
    color: var(--text-main);
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.faq-item p {
    color: var(--text-light);
}

/* Sub-pages Container */
.page-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 50px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    text-align: left;
}

.page-container h1 { 
    margin-bottom: 40px; 
    text-align: center; 
    color: var(--text-main);
    font-size: 2.2rem;
}

.page-container h2 { 
    font-size: 1.5rem; 
    margin: 35px 0 15px; 
    color: var(--primary-dark);
}

.page-container p { 
    margin-bottom: 15px; 
    color: var(--text-light);
    line-height: 1.8;
}

.page-container ul { 
    margin-left: 20px; 
    margin-bottom: 20px; 
    color: var(--text-light);
}
.page-container ul li {
    margin-bottom: 8px;
}
.page-container li a {
    color: var(--primary-dark);
    text-decoration: none;
}
.page-container li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding: 50px 5% 30px;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    font-size: 0.9rem;
    color: #666666;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

/* Media Queries (Responsive & Mobile-Friendly) */
@media screen and (max-width: 768px) {
    header {
        padding: 0;
    }

    .header-inner {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .logo {
        margin-bottom: 15px;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    nav a {
        margin-left: 0;
    }

    .header-action {
        width: 100%;
    }

    .hero {
        padding: 80px 5% 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .price-card.popular {
        transform: none; /* 取消放大效果避免移动端错位 */
    }
    
    .card-container, .pricing-table {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .card, .review-card, .price-card, .support-card {
        width: 100%;
        max-width: 100%; /* 单栏铺满 */
    }
    
    /* 调整按钮适合手指点击 */
    .cta-btn {
        padding: 18px 20px; 
        display: block; 
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
    }
    
    .hero .cta-btn {
        width: 100%;
    }
    
    section {
        padding: 50px 5%;
    }
    
    .page-container {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* =========================================================
   【龟甲矩阵 · SHELL HEX】视觉风格重写
   遵循约束：不改动任何布局、栅格、尺寸、间距、位置
========================================================= */

:root {
    --primary-color: #34D399 !important;
    --primary-dark: #059669 !important;
    --text-main: #ffffff !important;
    --text-light: #A7F3D0 !important;
    --white: transparent !important;
    --bg-light: transparent !important;
}

body {
    background: transparent !important;
    color: var(--text-main) !important;
}

/* 全局背景图层 */
#hex-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    pointer-events: none;
    background: radial-gradient(circle at 50% 30%, #0A1F1A, #04100C);
}

/* 覆盖页眉 */
header {
    background-color: rgba(4, 16, 12, 0.7) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(52, 211, 153, 0.1) !important;
}

.logo, .logo a, section h2, .page-container h1, .page-container h2 {
    color: var(--primary-color) !important;
}

nav a {
    color: #e0e0e0 !important;
}
nav a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

/* Hero区域移除渐变，由底层接管 */
.hero {
    background: transparent !important;
}

.hero h1 {
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(4, 16, 12, 0.8), 0 0 10px rgba(52, 211, 153, 0.2) !important;
}

.hero p {
    color: var(--text-light) !important;
    text-shadow: 0 2px 4px rgba(4, 16, 12, 0.8) !important;
}

/* 按钮通用重写 */
.cta-btn {
    background-color: var(--primary-color) !important;
    color: #04100C !important;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3) !important;
}

.cta-btn:hover {
    background-color: #6EE7B7 !important; /* hover提亮 */
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.5) !important;
}

/* Hero 副按钮 (通常是第二个 CTA) */
.hero .cta-btn:nth-child(2) {
    background-color: rgba(4, 16, 12, 0.5) !important;
    color: var(--primary-color) !important;
    box-shadow: inset 0 0 0 1px var(--primary-color), 0 4px 15px rgba(0,0,0,0.5) !important;
}
.hero .cta-btn:nth-child(2):hover {
    background-color: rgba(52, 211, 153, 0.1) !important;
}

/* 卡片风格 */
.card, .price-card, .review-card, .faq-item, .page-container {
    background-color: rgba(10, 31, 26, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.15), 0 10px 30px rgba(0,0,0,0.5) !important;
}

.card h3, .price-card h3, .faq-item h4 {
    color: var(--text-main) !important;
}

.price {
    color: var(--primary-color) !important;
}

.price span {
    color: var(--text-light) !important;
}

.price-card ul li {
    color: #e0e0e0 !important;
}
.price-card ul li::before {
    color: var(--primary-color) !important;
}

/* 热门套餐特殊化 */
.price-card.popular {
    background-color: rgba(10, 31, 26, 0.8) !important;
    border-color: var(--primary-color) !important;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3), 0 10px 40px rgba(52, 211, 153, 0.2) !important;
}
.price-card.popular::before {
    background: var(--primary-color) !important;
    color: #04100C !important;
    box-shadow: none !important;
}

/* 评论文字提亮 */
.review-card p {
    color: #e0e0e0 !important;
}

/* FAQ文字提亮 */
.faq-item p {
    color: #e0e0e0 !important;
}

/* 子页面列表链接色 */
.page-container ul li {
    color: #e0e0e0 !important;
}
.page-container li a {
    color: var(--primary-color) !important;
}

/* Footer重写 */
footer {
    background-color: #020806 !important;
    border-top: 1px solid rgba(52, 211, 153, 0.15) !important;
    color: #888 !important;
}

.footer-links a {
    color: #888 !important;
}
.footer-links a:hover {
    color: var(--primary-color) !important;
}

/* A11y & SEO Updates */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-color);
    color: #000;
    padding: 10px 15px;
    z-index: 10000;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 20px;
}
section[id] {
    scroll-margin-top: 100px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
details.faq-item {
    background: rgba(10,31,26,0.6);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(52,211,153,0.15);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
}
details.faq-item summary {
    outline: none;
    list-style: none;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary h4 {
    margin: 0;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
details.faq-item summary h4::after {
    content: '+';
    font-size: 1.2em;
}
details.faq-item[open] summary h4::after {
    content: '-';
}
details.faq-item p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}
.pricing-table-semantic {
    width: auto;
    border-collapse: separate;
    border-spacing: 20px;
    margin: 0 auto;
}
.pricing-table-semantic td {
    vertical-align: top;
    max-width: 350px;
}
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    .pricing-table-semantic {
        border-spacing: 10px;
    }
    .pricing-table-semantic td {
        min-width: 250px;
    }
}