/* ==========================================
   医疗健康网站样式表
   ========================================== */

/* ===== 全局变量与重置 ===== */
:root {
    /* 主色调 - 医疗绿 */
    --primary-color: #00b386;
    --primary-dark: #008f6b;
    --primary-light: #00d9a3; 
    --primary-lightest: #e6f9f4;
    
    /* 辅助色 */
    --secondary-color: #2c6fbb;
    --accent-color: #ff7a45;
    
    /* 文字颜色 */
    --text-primary: #1a3c2a;
    --text-secondary: #4a6356;
    --text-light: #7a8c85;
    --text-white: #ffffff;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f8fcfb;
    --bg-lighter: #f0f9f6;
    --bg-gray: #f5f7f6;
    --bg-dark: #1a3c2a;
    
    /* 边框与阴影 */
    --border-color: #e1ebe8;
    --shadow-light: 0 2px 12px rgba(0, 179, 134, 0.08);
    --shadow-medium: 0 4px 24px rgba(0, 179, 134, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 179, 134, 0.16);
    
    /* 动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 科技感色 */
    --tech-glow: rgba(0, 179, 134, 0.6);
    --tech-glow-subtle: rgba(0, 179, 134, 0.15);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.75;
    background-color: #f6fdf8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Banner轮播图 ===== */
.banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #f0f9f6;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PC端显示PC图片，隐藏手机图片 */
.slider-item .pc-banner {
    display: block;
}

.slider-item .mobile-banner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.slider-indicator:hover,
.slider-indicator.active {
    background-color: #ffffff;
    transform: scale(1.2);
    border-color: var(--primary-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: rgba(0, 179, 134, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* 平板端样式优化 */
@media (max-width: 992px) {
    .banner {
        height: 450px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slider-btn.prev {
        left: 15px;
    }
    
    .slider-btn.next {
        right: 15px;
    }
}

/* 手机端样式优化 */
@media (max-width: 768px) {
    .banner {
        min-height: 300px;
        margin: 0;
        padding: 0;
    }
    
    .banner-slider {
        height: 100%;
    }
    
    .slider-wrapper {
        height: 100%;
    }
    
    .slider-item {
        height: 100%;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .slider-indicator {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
    
    /* 手机端隐藏叠加层效果，让图片更清晰 */
    .banner-overlay {
        display: none;
    }
    
    /* 手机端显示手机图片，隐藏PC图片 */
    .slider-item .pc-banner {
        display: none;
    }
    
    .slider-item .mobile-banner {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .banner {
        min-height: 300px;
        margin: 0;
        padding: 0;
    }
    
    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-indicator {
        width: 6px;
        height: 6px;
    }
    
    /* 手机端隐藏叠加层效果，让图片更清晰 */
    .banner-overlay {
        display: none;
    }
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 粒子背景 Canvas ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ===== 鼠标光晕追踪 ===== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 179, 134, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* ===== 布局组件 ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ===== 标题科技感装饰 ===== */
.title-tech-decoration {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    vertical-align: middle;
    position: relative;
    top: -4px;
    margin: 0 15px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-tech-decoration.left::after,
.title-tech-decoration.right::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--tech-glow);
}

.title-tech-decoration.left::after {
    right: 0;
}

.title-tech-decoration.right::after {
    left: 0;
}

.section-title:hover .title-tech-decoration,
.section-title.revealed .title-tech-decoration {
    opacity: 1;
    transform: scaleX(1);
}

/* ===== 标题样式 ===== */
.section-title {
    text-align: center;
    font-size: 46px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #006e50;
    position: relative;
}

.section-subtitle {
    display: block;
    font-size: 18px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 500;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #5fa3e7, #96cfed);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== 按钮样式 ===== */
.holographic-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.holographic-btn:hover .btn-shine {
    left: 150%;
}

.holographic-border-btn {
    position: relative;
    overflow: hidden;
}

.holographic-border-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 179, 134, 0.15),
        transparent
    );
    transition: left 0.6s ease;
}

.holographic-border-btn:hover::before {
    left: 100%;
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 18px;
    font-weight: 500;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(0, 179, 134, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 179, 134, 0.4);
    color: var(--text-white);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background: white;
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.center-btn-wrap {
    text-align: center;
    margin-top: 50px;
}

/* ===== 顶部信息条 ===== */
.top-bar {
    background: #00926b;
    color: #ffffff;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-label {
    opacity: 0.9;
}

.top-value {
    font-weight: 500;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-link:hover {
    opacity: 0.8;
}

/* ===== 顶部导航 ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 179, 134, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 179, 134, 0.06);
    border-bottom-color: rgba(0, 179, 134, 0.12);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

/* Logo 固定最左侧 */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 40px;
    position: relative;
}

.logo img {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 179, 134, 0.15));
}

.logo:hover img {
    transform: scale(1.03);
}

/* 导航菜单推右 */
.nav-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding: 0;
    height: 100%;
    gap: 2px;
}

/* 导航项 */
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    font-weight: 600;
    font-size: 16.5px;
    color: var(--text-primary);
    padding: 0 18px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* 悬停下划线指示器 */
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px 2px 0 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0, 179, 134, 0.3);
}

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

.nav-item > a:hover::after {
    width: 60%;
}

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

/* 当前激活项 */
.nav-item > a.active {
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-item > a.active::after {
    width: 60%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 2px 10px rgba(0, 143, 107, 0.35);
}

/* ===== 导航按钮样式 ===== */
.nav-btn {
    padding: 8px 24px !important;
    margin: 0 3px;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
}

/* 预约挂号 - 渐变按钮 */
.nav-btn-primary {
    background: linear-gradient(135deg, #00b386, #00d9a3) !important;
    color: white !important;
    border: none !important;
    box-shadow:
        0 2px 8px rgba(0, 179, 134, 0.25),
        0 4px 16px rgba(0, 179, 134, 0.15);
}

.nav-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.nav-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow:
        0 4px 12px rgba(0, 179, 134, 0.3),
        0 8px 24px rgba(0, 179, 134, 0.2) !important;
    color: white !important;
}

.nav-btn-primary:hover::before {
    left: 150%;
}

/* 养生商城 - 描边按钮 */
.nav-btn-secondary {
    background: rgba(255, 255, 255, 0.85) !important;
    color: var(--primary-color) !important;
    border: 1.5px solid rgba(0, 179, 134, 0.3) !important;
    box-shadow: 0 1px 4px rgba(0, 179, 134, 0.08);
    backdrop-filter: blur(4px);
}

.nav-btn-secondary::before {
    display: none !important;
}

.nav-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 179, 134, 0.06), rgba(0, 217, 163, 0.1)) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 179, 134, 0.15) !important;
    color: var(--primary-dark) !important;
}

/* ===== 下拉菜单 - 高级毛玻璃效果 ===== */
.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    min-width: 200px;
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    border: 1px solid rgba(0, 179, 134, 0.1);
    padding: 8px;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 16px 48px rgba(0, 179, 134, 0.06);
}

/* 下拉菜单顶部小三角 */
.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid rgba(0, 179, 134, 0.1);
    border-top: 1px solid rgba(0, 179, 134, 0.1);
}

.dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14.5px;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    white-space: nowrap;
    border-radius: 8px;
    position: relative;
}

.dropdown a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.25s ease;
    margin-right: 10px;
    flex-shrink: 0;
}

.dropdown a:hover::before {
    transform: scale(1);
}

.dropdown a:hover {
    color: var(--primary-color);
    background: rgba(0, 179, 134, 0.06);
    padding-left: 20px;
}

/* 显示下拉菜单 */
.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 小程序码弹窗 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
}

.qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.qr-modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    max-width: 400px;
    transform: scale(0.9);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.qr-modal.active .qr-modal-content {
    transform: scale(1);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--primary-lightest);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 48px;
    color: var(--primary-color);
}

.qr-modal-content h3 {
    margin-bottom: 10px;
    font-size: 21px;
    color: var(--text-primary);
}

.qr-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.close-qr-modal {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-fast);
}

.close-qr-modal:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }
    
    .header-inner {
        height: 100%;
    }
    
    .logo {
        margin-right: 0;
    }

    .logo img {
        height: 42px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 8px 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        height: auto;
        margin-left: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 179, 134, 0.3);
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        height: auto;
    }
    
    .nav-item > a {
        padding: 14px 20px;
        font-size: 17px;
        height: auto;
        line-height: 1.5;
    }
    
    .nav-item > a.active::after {
        display: none;
    }
    
    /* 移动端下拉菜单 */
    .nav-item .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 179, 134, 0.03);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        min-width: auto;
    }

    .nav-item .dropdown::before {
        display: none;
    }
    
    .nav-item.active .dropdown {
        max-height: 300px;
        padding: 8px 0;
    }
    
    .dropdown a {
        padding: 10px 36px;
        font-size: 14.5px;
        color: var(--text-secondary);
    }
    
    .dropdown a:hover {
        background: rgba(0, 179, 134, 0.06);
        transform: none;
        padding-left: 36px;
    }
    
    .dropdown a::before {
        display: none;
    }
    
    /* 移动端按钮样式 */
    .nav-btn {
        margin: 8px 16px !important;
        text-align: center;
        justify-content: center;
    }
    
    /* 添加下拉箭头 */
    .nav-item > a {
        position: relative;
        padding-right: 40px;
    }
    
    .nav-item.has-dropdown > a::after {
        content: '▼';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s ease;
        color: var(--primary-color);
    }
    
    .nav-item.has-dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}

/* ===== Hero Banner ===== */
.banner {
    background: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 600px;
    z-index: 2;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* ===== Banner 科技感叠加层 ===== */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.banner-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 179, 134, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 179, 134, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.banner-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    animation: scanDown 3s ease-in-out infinite;
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

.banner-tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.banner-tech-lines span {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(0, 179, 134, 0.15), transparent);
    width: 1px;
    height: 100%;
    animation: techLineFloat 6s ease-in-out infinite;
}

.banner-tech-lines span:nth-child(1) { left: 15%; animation-delay: 0s; }
.banner-tech-lines span:nth-child(2) { left: 30%; animation-delay: 1.2s; }
.banner-tech-lines span:nth-child(3) { left: 50%; animation-delay: 2.4s; }
.banner-tech-lines span:nth-child(4) { left: 70%; animation-delay: 3.6s; }
.banner-tech-lines span:nth-child(5) { left: 85%; animation-delay: 4.8s; }

@keyframes techLineFloat {
    0%, 100% { opacity: 0; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

.banner h1 {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.banner p {
    font-size: 21px;
    margin-bottom: 48px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .banner {
        padding: 100px 0;
    }
    
    .banner h1 {
        font-size: 38px;
    }

    .banner p {
        font-size: 19px;
    }
    
    .banner-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .title-tech-decoration {
        display: none;
    }
}

/* ===== 医院简介 ===== */
.about-section {
    background: var(--bg-white);
}

.section-bg-gray {
    background: #f5f7f6;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
}

/* 左侧图片区域 */
.image-section {
    flex: 1;
    position: relative;
}

.image-box {
    background: linear-gradient(135deg, #0d8a6d 0%, #0a6b54 100%);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* 图片扫描线效果 */
.image-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 163, 0.8), transparent);
    z-index: 5;
    animation: imgScan 4s ease-in-out infinite;
}

@keyframes imgScan {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: calc(100% + 2px); opacity: 0; }
}

/* 四角科技装饰 */
.tech-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    z-index: 5;
    border-color: rgba(0, 212, 163, 0.7);
    border-style: solid;
    border-width: 0;
    transition: all 0.3s ease;
}

.tech-corner.top-left {
    top: 10px;
    left: 10px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.tech-corner.top-right {
    top: 10px;
    right: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
}

.tech-corner.bottom-left {
    bottom: 10px;
    left: 10px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.tech-corner.bottom-right {
    bottom: 10px;
    right: 10px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.image-box:hover .tech-corner {
    width: 30px;
    height: 30px;
    border-color: rgba(0, 212, 163, 1);
}

/* 悬浮标签 - 全息效果 */
.float-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #00b4a0;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 180, 160, 0.3);
    transition: var(--transition-normal);
}

.float-badge.holographic {
    backdrop-filter: blur(10px);
    background: rgba(0, 180, 160, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 180, 160, 0.4);
}

.float-badge .number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    color: white;
}

.float-badge .unit {
    font-size: 17px;
}

.float-badge .text {
    font-size: 15px;
    margin-top: 4px;
    opacity: 0.9;
}

/* 右侧内容区域 */
.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.content-title {
    display: none;
}

.content-text {
    font-size: 15.5px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
    letter-spacing: 0.3px;
    text-indent: 2em;
}

/* 统计数据卡片 - 立体增强版 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0 10px;
}

.stat-card {
    background: linear-gradient(160deg, #ffffff 0%, #f6fdf9 100%);
    padding: 18px 12px 14px;
    border-radius: 16px;
    text-align: center;
    /* 多层阴影叠加营造强立体感 */
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 6px 20px rgba(0, 179, 134, 0.13),
        0 2px 6px rgba(0, 0, 0, 0.07),
        0 12px 32px rgba(0, 179, 134, 0.08);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 179, 134, 0.18);
    position: relative;
    overflow: hidden;
}

/* 顶部绿色装饰线 */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 16px 16px 0 0;
}

/* 统计卡片悬浮发光效果 */
.stat-card.glow-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 2px 2px;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 12px 36px rgba(0, 179, 134, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.09),
        0 20px 50px rgba(0, 179, 134, 0.12);
    border-color: rgba(0, 179, 134, 0.32);
}

.stat-card:hover::after {
    opacity: 1;
}

/* 隐藏小圆圈 */
.stat-icon-ring {
    display: none;
}

.stat-ring-svg,
.stat-ring-bg,
.stat-ring-fill {
    display: none;
}

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: #0d8a6d;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(13, 138, 109, 0.15);
}

.stat-label {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* 按钮 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d8a6d 0%, #00b4a0 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(13, 138, 109, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 138, 109, 0.4);
    color: white;
}

.btn-primary .arrow {
    transition: var(--transition-normal);
}

.text-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    margin-top: 20px;
    margin-left: auto;
}

/* 响应式 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .image-box {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .question-icon {
        width: 45px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-badge {
        padding: 10px 15px;
    }
    
    .float-badge .number {
        font-size: 22px;
    }
}

/* ===== 名医团队 - Grid 静态布局 ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 179, 134, 0.14), 0 4px 12px rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 179, 134, 0.22);
}

/* 图片区域 */
.team-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, #daf0e9 0%, #f0f8f5 100%);
    flex-shrink: 0;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-card:hover .team-img-wrap img {
    transform: scale(1.05);
}

/* 信息区域 */
.team-info {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 姓名 */
.doctor-name {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* 职称标签 */
.doctor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.badge-chief {
    background: rgba(0, 179, 134, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 179, 134, 0.25);
}

.badge-deputy {
    background: rgba(44, 111, 187, 0.08);
    color: var(--secondary-color);
    border: 1px solid rgba(44, 111, 187, 0.2);
}

.badge-prof {
    background: rgba(255, 122, 69, 0.08);
    color: #d4581a;
    border: 1px solid rgba(255, 122, 69, 0.2);
}

.badge-attending {
    background: rgba(153, 102, 255, 0.08);
    color: #6633cc;
    border: 1px solid rgba(153, 102, 255, 0.2);
}

.badge-resident {
    background: rgba(255, 206, 86, 0.08);
    color: #ff9800;
    border: 1px solid rgba(255, 206, 86, 0.2);
}

/* 科室 */
.doctor-dept {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 擅长 */
.doctor-skill {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
    flex: 1;
}

.skill-label {
    font-weight: 600;
    color: var(--text-primary);
}

/* 出诊时间 */
.doctor-schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    background: var(--bg-lighter);
    padding: 7px 10px;
    border-radius: 8px;
}

.schedule-icon {
    width: 15px;
    height: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* 预约按钮 */
.team-btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 11px 0;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
}

/* ===== 特色诊疗 ===== */
.treatments {
    background: var(--bg-lighter);
    position: relative;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-lighter));
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.treat-card {
    background: var(--bg-white);
    padding: 28px 24px 22px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0,179,134,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,179,134,0.08);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.treat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.treat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,179,134,0.13);
    border-color: rgba(0,179,134,0.2);
}

.treat-card:hover::after {
    transform: scaleX(1);
}

.treat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.treat-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.treat-card:hover .treat-icon-wrap svg {
    color: #fff;
    transform: scale(1.1);
}

.treat-body {
    flex: 1;
}

.treat-card h4 {
    margin-bottom: 8px;
    font-size: 19px;
    color: var(--text-primary);
    font-weight: 700;
}

.treat-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.treat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: gap 0.2s ease;
}

.treat-card:hover .treat-link {
    gap: 10px;
}

.treatment-more {
    text-align: center;
    margin-top: 40px;
}

.btn-outline-green {
    display: inline-block;
    padding: 12px 36px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-green:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,179,134,0.25);
}

@media (max-width: 992px) {
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .treatment-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 就医指南 - 时间轴布局 ===== */
.guide-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 20px 0;
}

/* 中间轴线 */
.guide-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color) 10%, var(--primary-color) 90%, transparent);
    opacity: 0.2;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* 奇数项：图标在左，内容在右 */
.timeline-item.reveal-left {
    flex-direction: row;
}

/* 偶数项：内容在左，图标在右 */
.timeline-item.reveal-right {
    flex-direction: row-reverse;
}

/* 时间轴上的图标节点 */
.timeline-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 179, 134, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.timeline-num {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--bg-white);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 内容卡片 */
.timeline-content {
    flex: 1;
    background: var(--bg-white);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* 内容卡片上的连接三角箭头 */
.timeline-item.reveal-left .timeline-content {
    margin-left: 30px;
}

.timeline-item.reveal-left .timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 28px;
    width: 14px;
    height: 14px;
    background: var(--bg-white);
    border-left: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.timeline-item.reveal-right .timeline-content {
    margin-right: 30px;
    text-align: right;
}

.timeline-item.reveal-right .timeline-content::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 28px;
    width: 14px;
    height: 14px;
    background: var(--bg-white);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.timeline-content h4 {
    font-size: 21px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* 悬浮效果 */
.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0, 179, 134, 0.45);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 179, 134, 0.2);
}

/* 移动端时间轴：单列 */
@media (max-width: 768px) {
    .guide-timeline::before {
        left: 32px;
    }

    .timeline-item,
    .timeline-item.reveal-left,
    .timeline-item.reveal-right {
        flex-direction: row;
        padding-left: 0;
    }

    .timeline-icon {
        width: 48px;
        height: 48px;
        margin-right: 20px;
    }

    .timeline-icon svg {
        width: 20px;
        height: 20px;
    }

    .timeline-num {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .timeline-item .timeline-content,
    .timeline-item.reveal-left .timeline-content,
    .timeline-item.reveal-right .timeline-content {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        padding: 20px;
    }

    .timeline-item .timeline-content::before,
    .timeline-item.reveal-left .timeline-content::before,
    .timeline-item.reveal-right .timeline-content::before {
        display: none;
    }
}

/* ===== 新闻科普 ===== */
.news-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.news-left {
    flex: 7;
}

.news-right {
    flex: 3;
    display: flex;
    flex-direction: column;
    /* 顶部偏移：对齐左侧 tabs + 第一条新闻的顶部
       tabs高度约 50px, margin-bottom 24px, 共 74px
       第一条新闻卡片 padding-top 16px, 所以热门专题需要下移约 90px */
    margin-top: 90px;
}

/* Tab 栏 */
.news-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
    position: relative;
}

/* Tab 滑块指示器 */
.tab-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px var(--tech-glow);
}

.tab-btn {
    padding: 14px 0;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    background: none;
    border: none;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* 旧版新闻列表 - 隐藏 */
.news-list {
    display: none;
}

/* 新闻列表 v2 - 缩略图 + 标题 + 简介 + 时间 */
.news-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.news-card-v2 {
    display: flex;
    gap: 20px;
    background: var(--bg-white);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.news-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 179, 134, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 179, 134, 0.25);
    color: inherit;
}

.news-card-v2:hover h4 {
    color: var(--primary-color);
}

.news-card-v2:hover .news-thumb img {
    transform: scale(1.06);
}

/* 缩略图 */
.news-thumb {
    width: 160px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-lighter);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

/* 右侧内容区 */
.news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-time {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-time::before {
    content: '';
    width: 14px;
    height: 14px;
    background: none;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Crect x='2' y='3' width='12' height='11' rx='2' stroke='%237a8c85' stroke-width='1.3'/%3E%3Cpath d='M5 1.5V4M11 1.5V4' stroke='%237a8c85' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M2 7h12' stroke='%237a8c85' stroke-width='1.3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 右侧 - 热门专题 */
.hot-topics {
    background: var(--bg-white);
    padding: 22px 20px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hot-topics:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.hot-topics h4 {
    margin-bottom: 14px;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    font-size: 19px;
    color: var(--text-primary);
    font-weight: 600;
}

.hot-topics ul {
    list-style: none;
}

.hot-topics ul li {
    margin-bottom: 2px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
    line-height: 1.5;
}

.hot-topics ul li:hover {
    background: rgba(0, 179, 134, 0.06);
    color: var(--primary-dark);
    padding-left: 12px;
}

.topic-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

/* 前三名高亮 */
.hot-topics ul li:nth-child(1) .topic-num { background: var(--primary-color); color: #fff; }
.hot-topics ul li:nth-child(2) .topic-num { background: var(--primary-light); color: #fff; }
.hot-topics ul li:nth-child(3) .topic-num { background: rgba(0, 179, 134, 0.3); color: var(--primary-dark); }
/* 4-10 普通 */
.hot-topics ul li:nth-child(n+4) .topic-num {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-light);
}


/* 右侧 - 联系我们 - 弹性填充对齐 */
.contact-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.contact-box h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 600;
}

.contact-box p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .news-section {
        flex-direction: column;
    }

    .news-card-v2 {
        gap: 14px;
    }

    .news-thumb {
        width: 120px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .news-card-v2 {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .news-thumb {
        width: 100%;
        height: 160px;
    }

    .news-body h4 {
        -webkit-line-clamp: 2;
    }
}

/* ===== 数据看板 ===== */
.data-dashboard {
    background: linear-gradient(160deg, #f0faf6 0%, #e6f5ef 50%, #edfaf4 100%);
    position: relative;
    overflow: hidden;
}

.data-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 179, 134, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 179, 134, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.data-dashboard .section-title {
    color: var(--text-primary);
}

.data-dashboard .section-title::after {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.data-dashboard .section-subtitle {
    color: var(--primary-color);
    opacity: 0.7;
}

.data-dashboard .title-tech-decoration {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.data-dashboard .title-tech-decoration::after {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 179, 134, 0.4);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dash-card {
    background: #ffffff;
    border: 1px solid rgba(0, 179, 134, 0.18);
    border-radius: 16px;
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0, 179, 134, 0.07);
}

.dash-card:hover {
    border-color: rgba(0, 179, 134, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 179, 134, 0.13);
}

/* 卡片顶部绿色装饰线 */
.dash-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 16px 16px 0 0;
}

/* 卡片内部发光 */
.dash-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 179, 134, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dash-card:hover .dash-glow {
    opacity: 1;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dash-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dash-status {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 20px;
}

.dash-status.live {
    color: var(--primary-dark);
    background: rgba(0, 179, 134, 0.1);
    animation: livePulse 2s ease-in-out infinite;
}

.dash-status.good {
    color: var(--primary-dark);
    background: rgba(0, 179, 134, 0.1);
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dash-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    line-height: 1.1;
}

.dash-trend {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.dash-trend.up {
    color: var(--primary-color);
}

.dash-sparkline {
    height: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0.85;
}

.dash-sparkline canvas {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 页脚 ===== */
footer {
    background: linear-gradient(135deg, #0d8a6d 0%, #00b4a0 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-size: 19px;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffffff;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li::before {
    content: '→';
    color: #ffffff;
    font-size: 13px;
    opacity: 0;
    transition: var(--transition-fast);
}

.footer-col ul li:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-col ul li:hover::before {
    opacity: 1;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--bg-white);
    color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: var(--shadow-light);
    transition: var(--transition-normal);
}

.qr-code:hover {
    transform: scale(1.05);
}

/* ===== 底部版权条 ===== */
.footer-bottom-bar {
    background: #007a5e;
    color: #ffffff;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom-bar p {
    text-align: center;
    font-size: 16px;
    margin: 0;
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-wrap {
        justify-content: center;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===== 滚动渐现动画基础类 ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* 延迟动画 */
.reveal-up[style*="--delay"],
.reveal-left[style*="--delay"],
.reveal-right[style*="--delay"] {
    transition-delay: var(--delay, 0s);
}

/* ===== 加载动画 ===== */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

/* ===== 科技感浮动粒子（纯CSS装饰） ===== */
.tech-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.2;
    animation: floatDot 6s ease-in-out infinite;
}

@keyframes floatDot {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.5; }
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .team-img-wrap {
        height: 220px;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .banner h1 {
        font-size: 30px;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 16px;
    }
    
    .quick-links ul {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .doctor-name {
        font-size: 18px;
    }

    .team-img-wrap {
        height: 200px;
    }
}

/* ===== prefers-reduced-motion 无障碍适配 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #particleCanvas {
        display: none;
    }
    
    .cursor-glow {
        display: none;
    }
}
