/* css/style.css - Complete Clean Version */
:root {
    --primary: #0056b3;
    --primary-dark: #003d82;
    --primary-light: #e8f1ff;
    --secondary: #00a8a8;
    --secondary-light: #e6f7f7;
    --accent: #ff6b35;
    --accent-light: #ffe8e0;
    --neutral-dark: #2d3748;
    --neutral: #4a5568;
    --neutral-light: #f8f9fa;
    --success: #38a169;
    --warning: #d69e2e;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: var(--neutral-dark);
    background: white;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 1. ALERT BAR ===== */
.alert-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
}
.alert-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.alert-bar a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}
.alert-bar a:hover {
    opacity: 0.9;
}

/* ===== 2. HEADER & LOGO AREA ===== */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}
.logo-img {
    height: 50px;
    width: auto;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.logo-slogan {
    font-size: 0.85rem;
    color: var(--neutral);
    font-style: italic;
    margin-top: 3px;
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}
.primary-navigation a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
}
.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--primary);
}
.primary-navigation a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}
.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--neutral-dark);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
}
.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--neutral-dark);
    left: 0;
    transition: all 0.3s;
}
.mobile-nav-toggle span::before {
    top: -8px;
}
.mobile-nav-toggle span::after {
    bottom: -8px;
}
.mobile-nav-toggle[aria-expanded="true"] span {
    background: transparent;
}
.mobile-nav-toggle[aria-expanded="true"] span::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-nav-toggle[aria-expanded="true"] span::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== 3. HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero > .container > p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* ===== 4. BUTTONS ===== */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #ff8c5a 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    text-align: center;
    font-size: 1rem;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5a1f 0%, #ff8c5a 100%);
    color: white;
}
.cta-large { 
    padding: 14px 32px; 
    font-size: 1.05rem; 
    font-weight: 600;
}
.cta-small { 
    padding: 8px 20px; 
    font-size: 0.9rem; 
}
.cta-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #00c9c9 100%);
    box-shadow: 0 4px 12px rgba(0, 168, 168, 0.3);
}
.cta-secondary:hover {
    background: linear-gradient(135deg, #008787 0%, #00c9c9 100%);
    box-shadow: 0 6px 18px rgba(0, 168, 168, 0.4);
}

/* ===== 5. CONTENT SECTIONS ===== */
.content-section {
    padding: 40px 20px;
}
.content-section.bg-light {
    background: var(--neutral-light);
}
.content-section.bg-gradient {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ===== 6. SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.service-card {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
    transition: all 0.3s;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}
.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.service-card p {
    color: var(--neutral);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== 7. STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f7ff 100%);
    padding: 60px 20px;
    text-align: center;
}
.stats-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
}
.stats-section > .container > p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--neutral);
    font-size: 1.1rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.stat-card {
    background: white;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-card h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}
.data-source {
    font-size: 0.85rem;
    color: var(--neutral);
    margin-top: 20px;
    font-style: italic;
    opacity: 0.8;
}

/* ===== 8. COMPARISON TABLES ===== */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}
.comparison-table, .hospital-comparison-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}
.comparison-table th, .hospital-comparison-table th {
    background-color: var(--primary);
    color: white;
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
}
.comparison-table td, .hospital-comparison-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.comparison-table tr:nth-child(even), .hospital-comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}
.comparison-table tr:hover, .hospital-comparison-table tr:hover {
    background-color: var(--primary-light);
}
.data-highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1em;
}
.table-notes {
    text-align: center;
    margin-top: 1rem;
    color: var(--neutral);
    font-size: 0.9rem;
}
.insight-box {
    background: linear-gradient(135deg, #e6f7f7 0%, #e8f1ff 100%);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}
.insight-box h4 {
    margin-top: 0;
    color: var(--neutral-dark);
}

/* ===== 9. JOURNEY STEPS ===== */
.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.step {
    text-align: center;
    padding: 20px;
    position: relative;
}
.step::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral);
    font-size: 1.5rem;
}
.step:last-child::after {
    display: none;
}
.step .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

/* ===== 10. IMAGE GRID ===== */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.grid-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
}
.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.grid-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.2rem;
    color: var(--primary);
}
.grid-item p {
    padding: 0 20px 20px;
    color: var(--neutral);
    line-height: 1.5;
}

/* ===== 11. HOSPITAL PROFILE ===== */
.hospital-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hospital-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== 12. SPECIALIST GRID ===== */
.specialist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.specialist-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}
.specialist-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== 13. FAQ STYLES ===== */
.faq-category {
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}
.faq-category h2 {
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 1.8rem;
}
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-item h3 {
    background: var(--neutral-light);
    padding: 20px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--neutral-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}
.faq-item h3:hover {
    background: var(--primary-light);
}
.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
}
.faq-item.active h3::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}
.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--neutral);
}
.faq-answer p:last-child {
    margin-bottom: 0;
}
.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.faq-answer a:hover {
    text-decoration: underline;
}

/* ===== 14. CONTACT FORM ===== */
.contact-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neutral-dark);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}
.contact-methods {
    margin-bottom: 40px;
}
.contact-method {
    margin-bottom: 25px;
}
.contact-method h4 {
    margin-bottom: 5px;
    color: var(--primary);
}
.info-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f7ff 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
}
.info-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}
.highlight-box {
    background: var(--secondary-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    margin: 15px 0;
}

/* ===== 15. FOOTER ===== */
footer {
    background: var(--neutral-dark);
    color: #cbd5e0;
    padding: 30px 20px 10px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}
footer h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 8px;
}
.disclaimer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    font-size: 0.8rem;
    color: #a0aec0;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== 16. RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .primary-navigation.active {
        display: block;
    }
    
    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .primary-navigation li {
        width: 100%;
    }
    
    .primary-navigation a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 30px 15px;
        min-height: 50vh;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid, .specialist-grid, .image-grid, .hospital-profile {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
    }
    
    .alert-bar .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-container {
        padding: 10px 20px;
    }
    
    .logo-slogan {
        display: none;
    }
    
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .content-section, .stats-section {
        padding: 30px 15px;
    }
}

/* 强制所有FAQ答案展开 */
.faq-item .faq-answer {
    display: block !important;
    max-height: none !important;
    padding: 20px !important;
    opacity: 1 !important;
}

.faq-item h3::after {
    content: '−' !important; /* 显示减号表示已展开 */
}

/* 支付部分样式 */
.payment-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--success);
    text-align: center;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.payment-note {
    font-size: 0.85rem;
    color: var(--neutral);
    margin-top: 15px;
    font-style: italic;
}

.payment-section .cta-button {
    background: linear-gradient(135deg, #003087 0%, #009cde 100%);
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
    margin: 20px 0;
}

.payment-section .cta-button:hover {
    background: linear-gradient(135deg, #001b5e 0%, #0077b6 100%);
}

/* 数据高亮样式 */
.data-highlights {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.data-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}
.data-point {
    text-align: center;
    flex: 1;
    min-width: 150px;
}
.data-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.data-label {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral);
    margin-top: 5px;
}
blockquote {
    border-left: 3px solid var(--secondary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--neutral-dark);
}
.source {
    text-align: right;
    font-size: 0.85rem;
    color: var(--neutral);
    font-style: italic;
}

/* 权威卡片样式 */
.authority-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--border);
}
.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px;
}
.source-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.card-header h4 {
    margin: 0;
    color: white;
}
.card-content {
    padding: 20px;
}
.report-points {
    list-style: none;
    padding: 0;
}
.report-points li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.report-points li:last-child {
    border-bottom: none;
}
.card-footer {
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}
.read-report {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.read-report:hover {
    text-decoration: underline;
}

/* 媒体报道网格 */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.media-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
}
.media-item .media-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.media-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}
.media-excerpt {
    color: var(--neutral);
    font-style: italic;
    margin: 15px 0;
    line-height: 1.5;
}
.media-item a {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.media-item a:hover {
    text-decoration: underline;
}