/* Beijing Medical Concierge - Professional Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 紫色主题配色 - 专业、信任、优雅 */
    --primary-color: #7B61C1; /* 优雅紫 */
    --primary-dark: #6B52B1; /* 深紫色 - hover 状态 */
    --primary-light: #9D8AD6; /* 浅紫色 - 背景装饰 */
    --secondary-color: #4ECDC4; /* 青绿 - 辅助功能 */
    --accent-color: #F59E0B; /* 橙色 - 紧急 CTA */
    --text-color: #1F2937; /* 主文字 - 深灰黑 */
    --text-light: #6B7280; /* 次要文字 - 中灰 */
    --text-lighter: #9CA3AF; /* 浅色文字 - 浅灰 */
    --bg-light: #F9FAFB; /* 柔和白 - 页面大背景 */
    --white: #EDE9FE; /* 浅紫色 - 内容卡片 */
    --bg-gray: #F3F4F6; /* 浅灰 - 分隔区域 */
    --success: #10B981; /* 成功绿 */
    --warning: #F59E0B; /* 警告橙 */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-purple-glow: 0 4px 14px rgba(123, 97, 193, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #F9F6FF 0%, #F3F0FF 100%);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-contact {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

.btn-contact:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - 紫色渐变背景 (设计稿匹配) */
.hero {
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '🏥';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 8rem;
    opacity: 0.08;
    pointer-events: none;
    animation: pulse 3s ease-in-out infinite;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
    color: #1F2937 !important;
}

.hero-subtitle {
    font-size: 36px;
    color: #10B981;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.98;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Trust Badges - Enhanced Grid Layout */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.trust-badge {
    font-size: 14px;
    font-weight: 600;
    background: #EDE9FE;
    color: #7B61C1;
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced CTA Buttons - 设计稿标准 */
.btn-primary.btn-large {
    background: #7B61C1;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-purple-glow);
}

.btn-primary.btn-large:hover {
    background: #6B52B1;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 97, 193, 0.5);
}

.btn-secondary.btn-large {
    background: transparent;
    color: #7B61C1;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #7B61C1;
    cursor: pointer;
}

.btn-secondary.btn-large:hover {
    background: #F9FAFB;
    transform: translateY(-3px);
}

/* Pulse Animation for Hero Note */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Buttons - 紫色主题 */
.btn {
    display: inline-block;
    padding: 12px 32px; /* 设计文档标准 */
    border-radius: 8px; /* 中圆角 */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-height: 44px; /* 触摸友好 */
}

.btn-primary {
    background: linear-gradient(135deg, #7B61C1 0%, #6B52B1 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 97, 193, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #FFFFFF;
    color: #7B61C1;
    border: 2px solid #7B61C1;
}

.btn-secondary:hover {
    background: #F9FAFB;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #7B61C1;
    border: 2px solid #7B61C1;
}

.btn-outline:hover {
    background: #7B61C1;
    color: #FFFFFF;
}

.btn-accent {
    background: #F59E0B;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Problem/Solution Section - 紫色主题 */
.problem-solution {
    padding: 4rem 0; /* 标准间距 */
    background: var(--bg-light);
}

.problem-solution h2 {
    text-align: center;
    font-size: 2.25rem; /* H2 标准 */
    margin-bottom: 1rem;
    color: #1F2937;
    font-weight: 600;
}

.problem-solution .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: #EDE9FE;
    padding: 2rem;
    border-radius: 12px; /* 大圆角 */
    text-align: left;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
    display: block;
    text-decoration: none;
    color: inherit;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #7B61C1;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 16px;
    background: #EDE9FE; /* 浅紫色背景 */
    border-radius: 12px;
    color: #7B61C1;
}

.problem-card h3 {
    font-size: 1.5rem; /* H3 标准 */
    margin-bottom: 0.8rem;
    color: #1F2937;
    font-weight: 600;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.solution-box {
    background: linear-gradient(135deg, #7B61C1 0%, #6B52B1 100%);
    color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-purple-glow);
}

.solution-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.solution-box p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* Services Section - 紫色主题 */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
    font-weight: 600;
}

.services .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95) !important;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #EDE9FE;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: #7B61C1;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 2px solid #7B61C1;
    background: #EDE9FE;
    box-shadow: 0 10px 25px -5px rgba(123, 97, 193, 0.3);
}

.featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7B61C1 0%, #6B52B1 100%);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(123, 97, 193, 0.5);
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 16px;
    background: #EDE9FE;
    border-radius: 12px;
    color: #7B61C1;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    color: #4ECDC4; /* 青绿辅色 */
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Hospitals Section - 紫色主题 */
.hospitals {
    padding: 5rem 0;
    background: var(--white);
}

.hospitals h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #1F2937;
    font-weight: 600;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hospital-card {
    background: #EDE9FE;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #7B61C1;
}

.hospital-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1F2937;
    font-weight: 600;
}

.hospital-name {
    font-weight: 600;
    color: #7B61C1;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.hospital-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hospital-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #F3F4F6;
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
}

.hospitals-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-style: italic;
}

/* Process Section */
.process {
    padding: 5rem 0;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Pricing Section - 紫色主题 */
.pricing {
    padding: 5rem 0;
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--white);
}

.pricing h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: #EDE9FE;
    padding: 4rem 2rem 2.5rem; /* 增加顶部 padding 给 badge 留空间 */
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #E5E7EB;
    margin-top: 1rem; /* 防止 badge 与上方内容重叠 */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid #7B61C1;
    box-shadow: 0 10px 25px -5px rgba(123, 97, 193, 0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 16px;
    background: #EDE9FE;
    border-radius: 12px;
    color: #7B61C1;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.pricing-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price {
    font-size: 2.5rem; /* 设计文档标准 */
    font-weight: 700;
    color: #7B61C1; /* 紫色价格 */
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #F3F4F6;
    color: var(--text-light);
    line-height: 1.6;
}

.pricing-features li::before {
    content: '✓';
    color: #4ECDC4;
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-note {
    background: #EDE9FE;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.pricing-note p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Testimonials Section - 紫色主题 */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #1F2937;
    font-weight: 600;
}

.testimonials .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #F59E0B; /* 橙色星星 */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #1F2937;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
}

.testimonial-card h3 {
    font-size: 18px;
    color: #1F2937;
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-card .from {
    color: #7B61C1;
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-card .treatment {
    color: #10B981;
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 14px;
    color: #4B5563;
    font-style: italic;
}

.author-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border: 3px solid #7B61C1;
    box-shadow: 0 4px 12px rgba(123, 97, 193, 0.2);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.author-info strong {
    display: block;
    color: #1F2937;
    font-weight: 600;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.faq-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: var(--primary-color);
}

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

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Contact Buttons - 设计稿标准 */
.contact-btn {
    padding: 16px 32px;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn.wechat {
    background: #07C160;
}

.contact-btn.email {
    background: #7B61C1;
}

.contact-btn.whatsapp {
    background: #25D366;
}

/* WhatsApp Float - Hidden per optimization request */
.whatsapp-float {
    display: none !important;
}

/* .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}
*/

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Tier Selector Styles */
.tier-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Time Slot Selector Styles */
.time-slot-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.time-slot-option {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot-option:hover {
    border-color: var(--primary-color);
    background: #f0f4ff;
}

.time-slot-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f4ff 0%, #e8efff 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.time-slot-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.time-slot-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.time-slot-hours {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Pricing Table Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
}

.pricing-table tr:hover {
    background: #f8f9fa;
}

.pricing-table .service-name {
    text-align: left;
    font-weight: 600;
}

.price-highlight {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Session Prices Box */
.session-prices {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.session-prices ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.session-prices li {
    padding: 0.3rem 0;
    color: var(--text-light);
}

/* Quick Consultation Card */
.quick-consult-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
    max-width: 600px;
    margin: 0 auto;
}

.quick-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2f855a;
    margin: 1rem 0;
}

.quick-price .original-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.quick-note {
    color: #2f855a;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Standard Care Card - 蓝色主题 */
.pricing-card.standard-care {
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
    border-color: #7DD3FC;
}

/* Professional Care Card - 粉色主题 */
.pricing-card.professional-care {
    background: linear-gradient(135deg, #FCE7F3 0%, #FDF2F8 100%);
    border-color: #F9A8D4;
}

/* Premium Care Card - 紫色主题 */
.pricing-card.premium-tier {
    border: 2px solid #f093fb;
    background: linear-gradient(135deg, #F3E8FF 0%, #FAE8FF 100%);
}

/* Checkbox Label Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(102, 126, 234, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* Referral Rewards Section */
.referral-rewards {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #48bb78;
    margin-bottom: 1.5rem;
}

.referral-rewards h4 {
    margin: 0 0 0.75rem 0;
    color: #2f855a;
    font-size: 1.1rem;
}

.referral-rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.referral-tier {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: left;
}

.referral-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #48bb78;
}

.referral-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Price Calculator Display */
.price-calculator {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 2px solid #e2e8f0;
}

.price-calculator .estimated-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive - Mobile First Optimization */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Enhanced Mobile Hero */
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero::after {
        font-size: 5rem;
        top: 10px;
        left: 15px;
    }
    
    .hero h1 {
        font-size: 2rem; /* 手机版 H1 */
        padding: 0 15px;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem; /* 手机版 Body */
        padding: 0 20px;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Trust Badges - 2 columns */
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 15px;
        margin-bottom: 1.5rem;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        border-radius: 10px;
    }
    
    /* Mobile CTA - Full width buttons */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0 20px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1.05rem;
        min-height: 52px; /* Easy tap target */
    }
    
    .hero-note {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-top: 0.5rem;
    }
    
    /* Problem/Solution 板块手机端适配 */
    .problem-solution {
        padding: 3rem 0;
    }
    
    .problem-solution h2 {
        font-size: 1.75rem; /* 手机版 H2 */
    }
    
    .problems-grid {
        grid-template-columns: 1fr; /* 单列布局 */
        gap: 1.5rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    /* Services 板块手机端适配 */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing 板块手机端适配 */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    /* Testimonials 板块手机端适配 */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Process 板块手机端适配 */
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    /* Contact 板块手机端适配 */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .referral-rewards-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Devices (≤375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .trust-badge {
        font-size: 0.85rem;
    }
    
    .problem-solution h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* ========================================
   Trust Bar Styles
   ======================================== */
.trust-bar {
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%);
    padding: 3rem 0;
    text-align: center;
}

.trust-social-proof {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: #FFFFFF;
    color: #7B61C1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(123, 97, 193, 0.1);
}

/* ========================================
   Medical Tourist Section Styles
   ======================================== */
.medical-tourist-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.medical-tourist-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #7B61C1;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.medical-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.medical-service-card {
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

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

.medical-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.medical-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.medical-service-card h3 {
    font-size: 1.25rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.medical-service-card p {
    font-size: 0.95rem;
    color: #6B7280;
}

.medical-stats {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #F3F4F6;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.medical-stats p {
    font-size: 1.1rem;
    color: #1F2937;
    margin: 0;
}

/* ========================================
   Cost Comparison Section Styles
   ======================================== */
.cost-comparison-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    padding: 5rem 0;
}

.cost-comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.cost-comparison-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 3rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    max-width: 1000px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
}

.comparison-table th {
    background: linear-gradient(135deg, #7B61C1, #9D8AD6);
    color: #FFFFFF;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
    font-size: 14px;
}

.comparison-table tbody tr:nth-child(even) {
    background: #F9FAFB;
}

.comparison-table tbody tr:hover {
    background: #F3F4F6;
}

.beijing-price {
    font-weight: 700;
    color: #7B61C1;
    font-size: 1.1rem;
}

.savings-highlight {
    color: #10B981;
    font-weight: 700;
    font-size: 1.1rem;
}

.procedure-col, .procedure-name {
    text-align: left !important;
    font-weight: 600;
}

.beijing-price {
    font-weight: 700;
    color: #7B61C1;
    font-size: 1.1rem;
}

.savings-col {
    font-weight: 600;
}

.savings-highlight {
    color: #10B981;
    font-weight: 700;
    font-size: 1.1rem;
}

.table-note {
    text-align: center;
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.cta-box {
    background: linear-gradient(135deg, #EDE9FE 0%, #F3F0FF 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 1.75rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 2rem;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .trust-bar {
        padding: 2rem 0;
    }
    
    .trust-social-proof {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .medical-tourist-section h2 {
        font-size: 1.75rem;
    }
    
    .medical-services-grid {
        grid-template-columns: 1fr;
    }
    
    .medical-stats {
        margin: 2rem 15px 0;
    }
    
    .cost-comparison-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
}
