* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar .logo img{
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.navbar .nav-links a:hover {
    opacity: 0.8;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(rgba(118, 75, 162, 0.7), rgba(118, 75, 162, 0.7)),url('../images/bn_2.jpg') no-repeat center center/cover;
    color: white;
    padding: 150px 20px 100px;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s;
}

.hero .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.2s;
}

.hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

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

/* 章节通用样式 */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* LRC 医院重点推荐区域 */
.lrc-highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 20px;
    padding: 60px;
    margin: 80px auto;
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(245, 87, 108, 0.3);
    position: relative;
    overflow: hidden;
}

.lrc-highlight::before {
    content: '⭐ 重点推荐';
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.lrc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.lrc-content img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lrc-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.lrc-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.lrc-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item::before {
    content: '✓';
    font-size: 24px;
    font-weight: bold;
}

.lrc-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: white;
    color: #f5576c;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.lrc-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* 排行榜样式 */
.ranking-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.ranking-list {
    max-width: 1000px;
    margin: 0 auto;
}

.ranking-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ranking-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ranking-item.top-three {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border: 2px solid #fdcb6e;
}

.ranking-item.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 3px solid #FFD700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
}

.ranking-item.rank-1::before {
    content: '👑';
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 40px;
    opacity: 0.3;
}

.rank-number {
    font-size: 48px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rank-1 .rank-number {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-info {
    flex: 1;
}

.ranking-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.ranking-item.rank-1 .ranking-info h3 {
    font-size: 28px;
    color: #8B4513;
}

.ranking-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tag {
    padding: 5px 15px;
    background-color: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 13px;
}

.tag.success-rate {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.tag.experience {
    background-color: #fff3e0;
    color: #e65100;
}

.ranking-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.stat-badge strong {
    color: #667eea;
    font-size: 16px;
}

.ranking-consult {
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.3s;
    white-space: nowrap;
}

.ranking-consult:hover {
    transform: scale(1.05);
}

/* 医院卡片网格 */
.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.hospital-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hospital-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hospital-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hospital-card-content {
    padding: 30px;
}

.hospital-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.hospital-card p {
    color: #666;
    margin-bottom: 10px;
}

.hospital-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.consult-btn {
    display: block;
    text-align: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    transition: transform 0.3s;
}

.consult-btn:hover {
    transform: scale(1.05);
}

/* 优势区域 */
.advantages {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 流程区域 */
.process {
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step h4 {
    margin: 20px 0 10px;
    font-size: 18px;
    color: #333;
}

.step p {
    color: #666;
    font-size: 14px;
}

/* 浮动咨询按钮 */
.floating-consult {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 10px 0;
}
footer p a{
    color: #fff;
    text-decoration: none;
}

/* 咨询弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-bottom: 20px;
    color: #333;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal input,
.modal textarea,
.modal select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.modal button {
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal button:hover {
    transform: scale(1.05);
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .lrc-content {
        grid-template-columns: 1fr;
    }

    .lrc-highlight {
        padding: 30px 20px;
    }

    .lrc-info h2 {
        font-size: 28px;
    }

    .navbar .nav-links {
        display: none;
    }

    .hospitals-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .lrc-features {
        grid-template-columns: 1fr;
    }

    .ranking-item {
        flex-direction: column;
        text-align: center;
    }

    .rank-number {
        font-size: 36px;
    }

    .ranking-stats {
        justify-content: center;
    }
}