/* ============================================
   老宝贝陪诊 — 城市首页精装样式
   共享位置: /t/default/premium-city.css
   依赖: common.css（先加载，提供基础体系）
   作用范围: e/{province}/{city}/index.html
   ============================================ */

/* ===== 导航增强 ===== */
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow); }
.nav-link.active { color: var(--primary-color); }
.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 0.75rem 1.5rem; border-radius: 50px;
    text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }

/* ===== Hero 区域 ===== */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 30%, #1a56db 70%, #7c3aed 100%);
    color: white; padding: 5rem 2rem; position: relative; overflow: hidden;
    min-height: 70vh; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 15% 85%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
}
.hero-grid {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px; animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { transform: translate(0, 0); } 100% { transform: translate(60px, 60px); } }
.hero-content {
    width: var(--container-lg); margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px;
    padding: 0.5rem 1.25rem; font-size: 0.9rem; margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}
.hero-badge .ai-dot {
    width: 8px; height: 8px; background: var(--success-color); border-radius: 50%;
    animation: aiPulse 1.5s ease-in-out infinite;
}
@keyframes aiPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.25; margin-bottom: 1.25rem; animation: fadeInUp 0.8s ease; }
.hero-text h1 .highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text .hero-desc { font-size: 1.15rem; line-height: 1.8; opacity: 0.85; margin-bottom: 2rem; animation: fadeInUp 0.8s ease 0.1s both; }
.hero-stats { display: flex; gap: 2rem; margin-bottom: 2rem; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-stat { text-align: center; }
.hero-stat .stat-num {
    font-size: 2rem; font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat .stat-label { font-size: 0.85rem; opacity: 0.7; margin-top: 0.25rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.3s both; }
.hero-btn-primary {
    background: white; color: #1a56db; padding: 1rem 2rem; border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.hero-btn-phone {
    background: transparent; color: white; padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease;
}
.hero-btn-phone:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }
.hero-visual { display: flex; align-items: center; justify-content: center; animation: fadeInUp 1s ease 0.2s both; }
.ai-phone-mock {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px;
    padding: 2rem; text-align: center; max-width: 380px;
}
.ai-phone-mock .ai-icon-big { font-size: 4rem; margin-bottom: 1rem; }
.ai-phone-mock .ai-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.ai-phone-mock .ai-msg { font-size: 0.95rem; opacity: 0.8; line-height: 1.6; margin-bottom: 1.5rem; }
.ai-phone-mock .ai-recommend {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 0.75rem;
}
.ai-phone-mock .ai-recommend .rec-icon { font-size: 1.5rem; }
.ai-phone-mock .ai-recommend .rec-text { font-size: 0.9rem; text-align: left; }
.ai-phone-mock .ai-recommend .rec-text strong { display: block; margin-bottom: 0.15rem; }

/* ===== AI优势区 ===== */
.ai-features { background: var(--bg-light); padding: 5rem 2rem; position: relative; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-label {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe, #ede9fe); color: #4f46e5;
    padding: 0.4rem 1.25rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--text-dark); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }
.container { width: var(--container-lg); margin: 0 auto; }
.ai-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.ai-feature-card {
    background: white; border-radius: 20px; padding: 2.5rem 2rem;
    box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ai-feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ai-feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0); transition: transform 0.3s ease;
}
.ai-feature-card:hover::after { transform: scaleX(1); }
.ai-feature-icon {
    width: 60px; height: 60px; border-radius: 16px; display: flex;
    align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.25rem;
}
.ai-feature-icon.blue { background: #dbeafe; }
.ai-feature-icon.green { background: #d1fae5; }
.ai-feature-icon.purple { background: #ede9fe; }
.ai-feature-icon.amber { background: #fef3c7; }
.ai-feature-card h3 { font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.ai-feature-card p { color: var(--text-light); line-height: 1.7; font-size: 0.95rem; }

/* ===== 医院/区域覆盖卡片（兼容 .hospital-* 和 .region-*） ===== */
.hospital-section, .region-cards-section { background: white; padding: 5rem 2rem; }
.hospital-grid, .region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.hospital-card, .region-card {
    background: var(--bg-light); border-radius: 16px; padding: 1.5rem;
    border: 1px solid #e5e7eb; transition: all 0.3s ease;
}
.hospital-card:hover, .region-card:hover { border-color: var(--primary-color); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1); transform: translateY(-3px); }
.hospital-card .h-name, .region-card .h-name { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.hospital-card .h-level, .region-card .h-level { display: inline-block; background: #dbeafe; color: #1d4ed8; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.5rem; }
.hospital-card .h-addr, .region-card .h-addr { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }
.hospital-more, .region-more { text-align: center; margin-top: 2rem; color: var(--primary-color); font-weight: 500; }

/* ===== 区域快捷 ===== */
.district-section { background: var(--bg-light); padding: 3rem 2rem; }
.district-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.district-tag {
    background: white; border: 1px solid #e5e7eb; padding: 0.6rem 1.25rem;
    border-radius: 50px; font-size: 0.9rem; color: var(--text-dark);
    text-decoration: none; transition: all 0.25s ease;
}
.district-tag:hover { border-color: var(--primary-color); color: var(--primary-color); background: #eff6ff; transform: translateY(-2px); }

/* ===== 服务卡片区 ===== */
.services-section { padding: 5rem 2rem; background: white; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.service-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s ease; border: 1px solid #f0f0f0;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem; text-align: center; position: relative; overflow: hidden;
}
.service-card-header::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.service-icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem; background: rgba(255,255,255,0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; position: relative; z-index: 1; transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-title { font-size: 1.5rem; color: white; margin-bottom: 1rem; position: relative; z-index: 1; }
.service-subtitle { font-size: 1rem; color: rgba(255,255,255,0.9); position: relative; z-index: 1; }
.service-card-body { padding: 2rem; }
.service-description { color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-bottom: 2rem; }
.service-features li {
    padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark); display: flex; align-items: center; gap: 0.75rem; line-height: 1.6;
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '✓'; color: var(--secondary-color); font-weight: bold; flex-shrink: 0; }
.service-pricing {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.5rem; border-top: 1px solid #e5e7eb; flex-wrap: wrap; gap: 0.75rem;
}
.service-price { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }
.service-unit { font-size: 0.9rem; color: var(--text-light); font-weight: normal; }
.service-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 0.75rem 1.5rem; border-radius: 25px;
    text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.service-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); }

/* ===== 对比区 ===== */
.compare-section { background: linear-gradient(135deg, #0f172a, #1e3a5f); padding: 5rem 2rem; color: white; }
.compare-table { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.compare-col {
    background: rgba(255,255,255,0.08); border-radius: 20px; padding: 2rem;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1);
}
.compare-col.best { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.4); position: relative; }
.compare-col.best::before {
    content: '🏆 AI推荐'; position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.compare-col h3 { font-size: 1.2rem; margin-bottom: 1.5rem; text-align: center; }
.compare-col ul { list-style: none; }
.compare-col ul li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.compare-col ul li:last-child { border-bottom: none; }
.compare-col .check { color: var(--success-color); }
.compare-col .cross { color: #f87171; }

/* ===== 流程区 ===== */
.process-section {
    background: white; border-radius: 20px; padding: 3rem; box-shadow: var(--shadow);
}
.process-header { text-align: center; margin-bottom: 3rem; }
.process-header h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 1rem; }
.process-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.process-timeline {
    display: flex; justify-content: space-between; position: relative; margin-bottom: 2rem;
}
.process-timeline::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transform: translateY(-50%);
}
.process-step {
    background: white; border: 3px solid var(--primary-color); border-radius: 50%;
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    color: var(--primary-color); font-weight: bold; font-size: 1.1rem; position: relative; z-index: 1; box-shadow: var(--shadow);
}
.process-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.process-item { text-align: center; }
.process-icon {
    width: 60px; height: 60px; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem;
}
.process-title { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.process-description { color: var(--text-light); line-height: 1.6; }

/* ===== 信任区 ===== */
.trust-section { background: var(--bg-light); padding: 5rem 2rem; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.trust-item {
    background: white; border-radius: 15px; padding: 2.5rem 2rem; text-align: center;
    box-shadow: var(--shadow); transition: all 0.3s ease;
}
.trust-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.trust-icon {
    width: 60px; height: 60px; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem;
}
.trust-title { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.trust-description { color: var(--text-light); line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 4rem 2rem; border-radius: 20px; text-align: center;
}
.cta-title { font-size: 2.2rem; margin-bottom: 1rem; }
.cta-subtitle { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.9; }
.cta-phone { font-size: 2.5rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 1.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: white; color: var(--primary-color); padding: 1rem 2rem;
    border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ===== FAQ ===== */
.faq-section { padding: 5rem 2rem; background: white; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 1.5rem 0; }
.faq-item h4 {
    font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0.5rem;
    cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
}
.faq-item h4::before { content: 'Q'; color: var(--primary-color); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.faq-item p { color: var(--text-light); line-height: 1.7; padding-left: 2rem; }

/* 动画 */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* 响应式 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .hero { padding: 3rem 1.5rem; min-height: auto; }
    .compare-table { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-timeline { flex-direction: column; gap: 2rem; align-items: center; }
    .process-timeline::before { width: 2px; height: 100%; top: 0; left: 50%; transform: translateX(-50%); }
    .process-details { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .ai-features-grid { grid-template-columns: 1fr; }
    .region-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .region-grid { grid-template-columns: 1fr; }
}
