/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding-top: 80px;
    overflow: hidden;
    background: none !important;
}

/* 背景图作为元素，便于浏览器识别为 LCP 并优先加载 */
.hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 渐变覆盖层 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
}

.hero-container {
    max-width: 1200px; /* 恢复为 1200px */
    margin: 0 0 0 10%; /* 左边距 10% */
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-audience {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.audience-item:hover {
    transform: translateY(-5px);
}

.audience-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

/* 异性夫妻图标 - 粉色渐变 */
.audience-item:nth-child(1) .audience-icon {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
}

/* LGBTQ+图标 - 彩虹渐变 */
.audience-item:nth-child(2) .audience-icon {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
}

/* 单身人士图标 - 蓝色渐变 */
.audience-item:nth-child(3) .audience-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* 个性定制图标 - 紫色渐变 */
.audience-item:nth-child(4) .audience-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.audience-item:hover .audience-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 异性夫妻图标hover效果 */
.audience-item:nth-child(1):hover .audience-icon {
    background: linear-gradient(135deg, #ff8bb3, #d85a8a);
}

/* LGBTQ+图标hover效果 */
.audience-item:nth-child(2):hover .audience-icon {
    background: linear-gradient(135deg, #ff8b8b, #5eddd4, #55c7e1, #a6deb4, #fedb67, #ffaff3);
}

/* 单身人士图标hover效果 */
.audience-item:nth-child(3):hover .audience-icon {
    background: linear-gradient(135deg, #7a8ef0, #8a5bb2);
}

/* 个性定制图标hover效果 */
.audience-item:nth-child(4):hover .audience-icon {
    background: linear-gradient(135deg, #b8f5f2, #fedee9);
}

.audience-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* 服务区域 */
.services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    position: relative;
    top: -10px;
}

/* 准父母图标 - 绿色 */
.intended-parents-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

/* 孕母图标 - 紫色 */
.surrogate-mother-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

/* 捐卵人图标 - 橙色 */
.egg-donor-icon {
    background: linear-gradient(135deg, #e67e22, #f39c12);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 0;
    position: relative;
    top: -5px;
}

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

/* 关于我们 */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

.about-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.about-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

/* 顶级专家团队 */
.experts {
    padding: 5rem 0;
    background: #f8f9fa;
}

.experts-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.experts-grid {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    flex: 1;
    position: relative;
    min-height: 400px;
}

.expert-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
    position: absolute;
    left: 0;
    top: 0;
    width: calc(33.333% - 1.33rem);
    height: 450px;
    visibility: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.expert-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    visibility: visible;
}

.expert-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    transition: all 0.3s ease;
    opacity: 0;
}

.expert-card:hover .expert-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
}



.expert-nav-btn {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.expert-nav-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.expert-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.expert-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #007bff;
}

@media (max-width: 768px) {
    .expert-card {
        flex: 0 0 calc(100% - 1rem);
        width: calc(100% - 1rem);
        height: 350px;
    }
    
    .expert-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    }
    
    .expert-info {
        padding: 1rem;
        transform: translateY(0);
    }
    
    .expert-info h3 {
        font-size: 1.1rem;
    }
    
    .expert-title {
        font-size: 0.9rem;
    }
    
    .expert-description {
        font-size: 0.85rem;
    }
    
    .expert-info .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        align-self: flex-start;
    }
    
    .experts-container {
        gap: 0.5rem;
    }
    
    .expert-nav-btn {
        width: 40px;
        height: 40px;
    }
}

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



.expert-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.expert-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: white;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.expert-card:hover .expert-info {
    transform: translateY(0);
}

.expert-info h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.expert-title {
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.expert-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    flex-grow: 1;
}

.expert-info .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 0.85rem;
    background: #ff6b35;
    border: 2px solid #ff6b35;
    transition: all 0.3s ease;
}

.expert-info .btn:hover {
    background: transparent;
    color: #ff6b35;
    border-color: #ff6b35;
}

/* 特色优势 */
.advantages {
    padding: 5rem 0;
    background: white;
}

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

.advantage-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 为有背景图的卡片移除默认背景色 */
.advantage-card.advantage-ivf-tech,
.advantage-card.advantage-gene-test,
.advantage-card.advantage-surrogate,
.advantage-card.advantage-legal,
.advantage-card.advantage-ivf,
.advantage-card.advantage-monitoring,
.advantage-card.advantage-insurance {
    background: none;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-card .advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3.6rem;
    color: #667eea;
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    position: relative;
    top: -10px;
}

.advantage-card h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

/* 为有背景图的卡片设置白色文字 */
.advantage-card.advantage-ivf-tech h3,
.advantage-card.advantage-ivf-tech p,
.advantage-card.advantage-gene-test h3,
.advantage-card.advantage-gene-test p,
.advantage-card.advantage-surrogate h3,
.advantage-card.advantage-surrogate p,
.advantage-card.advantage-legal h3,
.advantage-card.advantage-legal p,
.advantage-card.advantage-ivf h3,
.advantage-card.advantage-ivf p,
.advantage-card.advantage-monitoring h3,
.advantage-card.advantage-monitoring p,
.advantage-card.advantage-insurance h3,
.advantage-card.advantage-insurance p {
    color: white !important;
}

/* 不同图标的不同颜色 */
.advantage-card.advantage-ivf-tech .advantage-icon {
    color: #4CAF50;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

.advantage-card.advantage-gene-test .advantage-icon {
    color: #2196F3;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

.advantage-card.advantage-legal .advantage-icon {
    color: #FF9800;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

.advantage-card.advantage-ivf .advantage-icon {
    color: #9C27B0;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

.advantage-card.advantage-monitoring .advantage-icon {
    color: #E91E63;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

.advantage-card.advantage-insurance .advantage-icon {
    color: #607D8B;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    position: static;
    top: auto;
}

/* 特色优势模块背景图（每个模块不同） */
.advantage-card.advantage-ivf-tech {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj1.jpg') !important; /* 实验室/科技 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-gene-test {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj2.jpg') !important; /* DNA/基因检测 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-surrogate {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('https://images.unsplash.com/photo-1519864600265-abb23847ef2c?auto=format&fit=crop&w=800&q=80') !important; /* 孕妇/代孕 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-legal {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj3.jpg') !important; /* 法律/天平 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-ivf {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj4.jpg') !important; /* 宝宝/新生儿 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-monitoring {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj5.jpg') !important; /* 医护/监控 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.advantage-card.advantage-insurance {
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.5)),
        url('images/ivf-bj6.jpg') !important; /* 保险/守护/家庭 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 流程区域 */
.process {
    padding: 5rem 0;
    background: #f8f9fa;
}

.process-flow {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.flow-icon {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    font-size: 3.6rem;
    color: #3498db;
}

/* 服务流程图标不同颜色 */
.flow-icon-consult {
    color: #e74c3c; /* 红色 - 咨询 */
}

.flow-icon-ivf {
    color: #3498db; /* 蓝色 - 试管婴儿 */
}

.flow-icon-match {
    color: #f39c12; /* 橙色 - 匹配 */
}

.flow-icon-legal {
    color: #9b59b6; /* 紫色 - 法律 */
}

.flow-icon-pregnancy {
    color: #e91e63; /* 粉色 - 孕期 */
}

.flow-icon-baby {
    color: #27ae60; /* 绿色 - 宝宝 */
}

.flow-content {
    flex: 1;
    width: 100%;
}

.flow-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.flow-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.flow-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-content li {
    color: #666;
    padding: 0.2rem 0;
    font-size: 0.9rem;
    position: relative;
    text-align: left;
    list-style: none;
}

.flow-content li::before {
    content: '✓';
    position: relative;
    display: inline-block;
    margin-right: 0.5rem;
    color: #3498db;
    font-weight: bold;
    font-size: 0.8rem;
}

.flow-arrow {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-flow {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .flow-step {
        padding: 1.5rem;
    }
    
    .flow-icon {
        margin-bottom: 1rem;
    }
    
    .flow-content h3 {
        font-size: 1.2rem;
    }
    
    .flow-content li {
        font-size: 0.85rem;
    }
}

/* 联系我们 */
.contact {
    padding: 5rem 0;
    background: white;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: #3498db;
    width: 50px;
    text-align: center;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: 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 h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

/* 页脚Logo样式 */
.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

/* 页脚快速链接两列布局 */
.footer-links {
    columns: 2;
    column-gap: 2rem;
}

/* 小屏同样保持两列展示 */
@media (max-width: 480px) {
    .footer-links {
        columns: 2;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 1.5rem !important;
        max-width: 90vw;
        word-break: break-all;
        white-space: normal;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-audience {
        gap: 2rem;
        margin-top: 2rem;
    }

    .audience-item {
        gap: 0.3rem;
    }

    .audience-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .audience-item span {
        font-size: 0.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        top: -5px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        top: -3px;
    }
    
    .fertility-service-card .service-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        top: -5px;
    }
    
    .fertility-service-card h3 {
        font-size: 1.2rem;
        top: -3px;
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card .advantage-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        top: -5px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动效果 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 一站式生育治疗服务 */
.fertility-services {
    padding: 5rem 0;
    background: white;
}



.fertility-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.fertility-service-card {
    background: transparent;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
    min-width: 350px;
}

.fertility-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}

.fertility-service-card .service-icon {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 3.6rem;
    color: #3498db;
    position: relative;
    top: -10px;
}

.fertility-service-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    position: relative;
    top: -5px;
}

.fertility-service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #666;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}



/* 服务报价 */
.pricing {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #f39c12;
}

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

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: 600;
}

.pricing-card.featured .currency {
    color: #e74c3c;
}

.amount {
    font-size: 3rem;
    color: #2c3e50;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    color: #7f8c8d;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: #27ae60;
    font-size: 1rem;
}

.pricing-card.featured .pricing-features i {
    color: #e74c3c;
}

.pricing-card.featured .pricing-footer .btn {
    background: #e74c3c;
}

.pricing-card.featured .pricing-footer .btn:hover {
    background: #c0392b;
}

.pricing-footer {
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
}

.pricing-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-note i {
    color: #3498db;
    font-size: 1rem;
}

/* 中等屏幕响应式样式 */
@media (max-width: 1024px) and (min-width: 769px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .fertility-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .fertility-service-card {
        min-width: auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .comparison-table {
        margin: 0 10px 3rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 20% 50% 30%;
    }
    
    .comparison-header .comparison-item:first-child {
        display: block;
    }
    
    .comparison-row .comparison-item:first-child {
        background: #f8f9fa;
        color: #2c3e50;
        justify-content: flex-start;
        text-align: left;
        font-weight: 600;
        border-radius: 0;
    }
    
    .comparison-row .comparison-item:nth-child(2) {
        background: transparent;
        color: #27ae60;
        border-radius: 0;
    }
    
    .comparison-row .comparison-item:nth-child(3) {
        background: transparent;
        color: #e74c3c;
        border-radius: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .fertility-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fertility-service-card {
        padding: 1.5rem;
    }
    
    .fertility-service-card .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .fertility-service-card h3 {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
    }
}

/* 我们与中介的区别 */
.comparison {
    padding: 5rem 0;
    background: white;
}

.comparison-table {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.comparison-row:hover {
    background: #f8f9fa;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-item {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comparison-header .comparison-item {
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-row .comparison-item:first-child {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    justify-content: flex-start;
    text-align: left;
}

.comparison-row .comparison-item:nth-child(2) {
    color: #27ae60;
    font-weight: 500;
}

.comparison-row .comparison-item:nth-child(3) {
    color: #e74c3c;
    font-weight: 500;
}

.comparison-cta {
    text-align: center;
    margin-top: 2rem;
}

.comparison-cta .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* 响应式设计更新 */


.hero-content {
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
    }
} 


/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

/* 退出弹框特殊样式 */
.modal.exit-modal .modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 3px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    animation: exitModalSlideIn 0.4s ease-out;
}

.modal.exit-modal .modal-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal.exit-modal .modal-content h2::before {
    content: "💝";
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal.exit-modal .contact-method {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.modal.exit-modal .contact-method h3 {
    color: white;
}

.modal.exit-modal .contact-method h3 i {
    color: #ffd700;
}

.modal.exit-modal .qr-placeholder {
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    color: white;
}

.modal.exit-modal .phone-number p {
    color: white;
    font-weight: 700;
}

.modal.exit-modal .contact-method p:last-child {
    color: rgba(255, 255, 255, 0.8);
}

.modal.exit-modal .close {
    color: rgba(255, 255, 255, 0.7);
}

.modal.exit-modal .close:hover {
    color: white;
}

/* 退出弹框特殊背景 */
#exitModal {
    background: rgba(253, 240, 225, 0.6);
    backdrop-filter: blur(10px);
}

#exitModal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 3px solid #FDF0E1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    animation: exitModalSlideIn 0.4s ease-out;
}

#exitModal .modal-content h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

#exitModal .modal-content h2::before {
    content: "💝";
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

#exitModal .contact-method {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(253, 240, 225, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#exitModal .contact-method:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

#exitModal .contact-method h3 {
    color: #333;
}

#exitModal .contact-method h3 i {
    color: #ffd700;
    animation: pulse 2s infinite;
}

#exitModal .qr-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed rgba(253, 240, 225, 0.8);
    color: #333;
    transition: all 0.3s ease;
}

#exitModal .qr-placeholder:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(253, 240, 225, 1);
}

#exitModal .phone-number p {
    color: #333;
    font-weight: 700;
}

#exitModal .contact-method p:last-child {
    color: #666;
}

#exitModal .close {
    color: #666;
    font-size: 32px;
}

#exitModal .close:hover {
    color: #333;
    transform: scale(1.1);
}

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

@keyframes exitModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }
}

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

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.6rem;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 在较大屏幕上并排显示联系方式 */
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        gap: 1rem;
    }
    
    .contact-method {
        flex: 1;
        min-width: 0;
    }
}

.contact-method {
    text-align: center;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-method h3 i {
    color: #3498db;
}

.qr-code {
    margin: 1rem 0;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #e0e0e0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #666;
}

/* 在较大屏幕上稍微增大二维码 */
@media (min-width: 768px) {
    .qr-placeholder {
        width: 110px;
        height: 110px;
    }
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.qr-placeholder p {
    font-size: 0.9rem;
    margin: 0;
}

.phone-number {
    margin: 1rem 0;
}

.phone-number p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0.5rem 0;
}

.contact-method p:last-child {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 3% auto;
        padding: 1.2rem;
        width: 95%;
    }
    
    .modal-body {
        gap: 1.2rem;
    }
    
    .contact-method {
        padding: 0.8rem;
    }
    
    .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .qr-placeholder i {
        font-size: 2rem;
    }
    
    .modal .wechat-id {
        margin-top: 6px;
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .contact-method h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
}

/* FAQ 样式 */
.faq {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.faq-question i {
    color: #3498db;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

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

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FAQ 响应式设计 */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
} 

/* 侧边栏样式 */
.sidebar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.sidebar-item:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.sidebar-item i {
    color: white;
    font-size: 1.2rem;
}

.sidebar-tooltip {
    position: absolute;
    right: 60px;
    background: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sidebar-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid #2c3e50;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.sidebar-item:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 回到顶部按钮初始隐藏 */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        right: 15px;
        bottom: 80px;
    }
    
    .sidebar-item {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-item i {
        font-size: 1.1rem;
    }
    
    .sidebar-tooltip {
        display: none;
    }
} 

.sidebar-item#wechatBtn {
    background: #1AAD19 !important;
}
.sidebar-item#wechatBtn:hover {
    background: #128C13 !important;
}
.sidebar-item#wechatBtn i {
    color: #fff !important;
} 

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding-top: 60px;
        padding-bottom: 30px;
    }
} 

/* 移动端底部咨询条 */
.mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    gap: 0;
    z-index: 1200;
    background: #ffffff;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
}

.mobile-bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    outline: none;
    text-decoration: none;
}

.mobile-bottom-btn i { font-size: 18px; }

.mobile-bottom-btn.wechat {
    background: #1AAD19;
    color: #fff;
}

.mobile-bottom-btn.call {
    background: #ff6b35;
    color: #fff;
}

/* 仅在移动端显示底部条，避免与桌面端冲突 */
@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
        padding-top: 2.5rem;
    }
} 

/* 信息折叠板块样式 */
.info-accordion-section {
    padding: 4rem 0;
    background: #fff;
}

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

.info-accordion-header {
    text-align: center;
    margin-bottom: 3rem;
}

.info-accordion-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

.info-accordion-body {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.info-accordion-image {
    flex: 0 0 365px;
}

.info-accordion-image img {
    width: 365px;
    height: 548px;
    min-width: 365px;
    max-width: 365px;
    min-height: 548px;
    max-height: 548px;
    border-radius: 15px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.08);
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.info-accordion-content {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 548px;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-title {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.1rem 1rem;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

/* 移动端手风琴标题优化 */
@media (max-width: 768px) {
    .accordion-title {
        font-size: 1rem;
        padding: 0.9rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .accordion-title {
        font-size: 0.95rem;
        padding: 0.8rem 0.7rem;
    }
}
.accordion-title::after {
    content: '\25BC';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    font-size: 1rem;
}
.accordion-item.active .accordion-title {
    background: #f0f6ff;
}
.accordion-item.active .accordion-title::after {
    transform: translateY(-50%) rotate(180deg);
}
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s cubic-bezier(.4,0,.2,1);
    padding: 0 1rem;
}
.accordion-item.active .accordion-panel {
    padding: 1rem;
    max-height: 500px;
}

/* 移动端手风琴面板优化 */
@media (max-width: 768px) {
    .accordion-item.active .accordion-panel {
        padding: 0.8rem;
        max-height: 800px;
    }
}

@media (max-width: 480px) {
    .accordion-item.active .accordion-panel {
        padding: 0.7rem;
        max-height: 1000px;
    }
}
@media (max-width: 900px) {
    .info-accordion-header h2 {
        font-size: 2rem;
    }
    
    .info-accordion-body {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    
    .info-accordion-image {
        flex: none;
    }
    
    .info-accordion-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        max-height: none;
        margin-bottom: 1rem;
    }
    
    .info-accordion-content {
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .info-accordion-header h2 {
        font-size: 1.8rem;
    }
    
    .info-accordion-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .info-accordion-header h2 {
        font-size: 1.5rem;
    }
    
    .info-accordion-container {
        padding: 0 15px;
    }
} 

/* 不活动提示样式 */
#inactivityNotice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    z-index: 1000;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#inactivityNotice.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#inactivityNotice i {
    margin-right: 8px;
    color: #ffd700;
}

#inactivityNotice #inactivityTimer {
    font-weight: bold;
    color: #ffd700;
    min-width: 20px;
    display: inline-block;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #inactivityNotice {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
        padding: 10px 15px;
    }
} 

/* 微信号样式 */
.wechat-id {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.wechat-id:hover {
    color: #25d366;
    transform: translateY(-1px);
}

.wechat-id .copy-text {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wechat-id:hover .copy-text {
    opacity: 1;
    color: #25d366;
}

.wechat-id::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #25d366;
    transition: width 0.3s ease;
}

.wechat-id:hover::after {
    width: 100%;
}

/* 页脚中的微信号样式 */
.footer-section .wechat-id {
    color: inherit;
    text-decoration: none;
}

.footer-section .wechat-id:hover {
    color: #25d366;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .wechat-id {
        font-size: 14px;
    }
    
    .wechat-id .copy-text {
        font-size: 0.75em;
    }
    
    .copy-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* 复制成功提示 */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.copy-notification i {
    margin-right: 5px;
} 

/* 弹窗中的微信号样式 */
.modal .wechat-id {
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.modal .wechat-id:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.modal .wechat-id .copy-text {
    font-size: 0.75em;
    color: #666;
    margin-left: 5px;
    opacity: 0.8;
}

.modal .wechat-id:hover .copy-text {
    color: #25d366;
    opacity: 1;
}

/* 退出弹框中的微信号样式 */
#exitModal .wechat-id {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

#exitModal .wechat-id:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

#exitModal .wechat-id .copy-text {
    color: rgba(255, 255, 255, 0.8);
}

#exitModal .wechat-id:hover .copy-text {
    color: #ffd700;
    opacity: 1;
} 

/* 日本试管优势样式 */
.ivf-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.advantage-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
}

.advantage-content {
    margin-left: 70px;
}

.advantage-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.advantage-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 不同图标的不同颜色 */
.advantage-item:nth-child(1) .advantage-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.advantage-item:nth-child(2) .advantage-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.advantage-item:nth-child(3) .advantage-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.advantage-item:nth-child(4) .advantage-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.advantage-item:nth-child(5) .advantage-icon {
    background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
}

.advantage-item:nth-child(6) .advantage-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .ivf-advantages {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .advantage-item {
        padding: 0.8rem;
        gap: 0.7rem;
        min-height: auto;
    }
    
    .advantage-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 0.8rem;
        top: 0.8rem;
    }
    
    .advantage-content {
        margin-left: 55px;
    }
    
    .advantage-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .advantage-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .ivf-advantages {
        gap: 0.6rem;
    }
    
    .advantage-item {
        padding: 0.7rem;
        gap: 0.6rem;
    }
    
    .advantage-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        left: 0.7rem;
        top: 0.7rem;
    }
    
    .advantage-content {
        margin-left: 50px;
    }
    
    .advantage-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .advantage-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .ivf-advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
} 

/* 适合人群样式 */
.target-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}

.group-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.2);
}

.group-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 3px 12px rgba(76, 175, 80, 0.3);
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.group-content {
    margin-left: 65px;
}

.group-content h4 {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.group-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* 不同图标的不同颜色 */
.group-item:nth-child(1) .group-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.group-item:nth-child(2) .group-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.group-item:nth-child(3) .group-icon {
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .target-groups {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .group-item {
        padding: 0.8rem;
        gap: 0.7rem;
        min-height: auto;
    }
    
    .group-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 0.8rem;
        top: 0.8rem;
    }
    
    .group-content {
        margin-left: 55px;
    }
    
    .group-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .group-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .target-groups {
        gap: 0.6rem;
    }
    
    .group-item {
        padding: 0.7rem;
        gap: 0.6rem;
    }
    
    .group-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        left: 0.7rem;
        top: 0.7rem;
    }
    
    .group-content {
        margin-left: 50px;
    }
    
    .group-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .group-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
} 

/* 吉尔吉斯斯坦合法代孕样式 */
.legal-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.legal-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.legal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.2);
}

.legal-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: absolute;
    left: 1.2rem;
    top: 1.2rem;
}

.legal-content {
    margin-left: 70px;
}

.legal-content h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.legal-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 不同图标的不同颜色 */
.legal-item:nth-child(1) .legal-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.legal-item:nth-child(2) .legal-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.legal-item:nth-child(3) .legal-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.legal-item:nth-child(4) .legal-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .legal-advantages {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .legal-item {
        padding: 0.8rem;
        gap: 0.7rem;
        min-height: auto;
    }
    
    .legal-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 0.8rem;
        top: 0.8rem;
    }
    
    .legal-content {
        margin-left: 55px;
    }
    
    .legal-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .legal-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .legal-advantages {
        gap: 0.6rem;
    }
    
    .legal-item {
        padding: 0.7rem;
        gap: 0.6rem;
    }
    
    .legal-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        left: 0.7rem;
        top: 0.7rem;
    }
    
    .legal-content {
        margin-left: 50px;
    }
    
    .legal-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .legal-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* 平板端优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .legal-advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

/* 成功案例样式 */
.success-cases {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-cases-wrapper {
    margin-top: 50px;
    position: relative;
}

.success-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.success-case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: fit-content; /* 确保卡片高度适应内容 */
}

.success-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.case-image-wrapper {
    position: relative;
    overflow: hidden;
}

.case-image {
    width: 100%;
    height: 400px; /* 增加图片高度，约4:3比例 */
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0; /* 顶部圆角 */
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.success-case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(155, 89, 182, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(2px);
}

.success-case-card:hover .case-overlay {
    opacity: 1;
}

.case-status {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.case-status i {
    display: block;
    font-size: 36px;
    margin-bottom: 10px;
}



/* 导航控制 */
.success-cases-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #3498db;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.dot:hover {
    background: #3498db;
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .success-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .case-image {
        height: 360px; /* 增加高度，保持更好的比例 */
        border-radius: 12px 12px 0 0;
    }
    
    .success-case-card {
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .success-cases {
        padding: 60px 0;
    }
    
    .success-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .case-image {
        height: 320px; /* 增加高度，改善移动端显示效果 */
        border-radius: 10px 10px 0 0;
    }
    
    .success-case-card {
        border-radius: 14px;
    }
    
    .success-cases-nav {
        gap: 20px;
        margin-top: 30px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-image {
        height: 280px; /* 增加小屏幕设备的高度 */
        border-radius: 8px 8px 0 0;
    }
    
    .success-case-card {
        border-radius: 12px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* 成功案例卡片动画增强 */
.success-case-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-case-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* 图片悬停效果增强 */
.case-image {
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.success-case-card:hover .case-image::before {
    left: 100%;
}

/* 状态标签动画 */
.case-status {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-case-card:hover .case-status {
    transform: translateY(0) scale(1);
    opacity: 1;
}



/* 导航按钮增强 */
.nav-btn {
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.nav-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* 指示器动画增强 */
.dot {
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
    transition: left 0.6s ease;
}

.dot:hover::before {
    left: 100%;
}

/* 页面切换动画 */
.success-case-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.success-case-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式动画调整 */
@media (max-width: 768px) {
    .success-case-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .case-status {
        font-size: 18px;
        padding: 12px 16px;
    }
    
    .case-status i {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .success-case-card:hover {
        transform: translateY(-5px) scale(1.005);
    }
    
    .case-status {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .case-status i {
        font-size: 26px;
    }
}

@media (max-width: 360px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .case-image {
        height: 260px; /* 针对小屏手机优化 */
        border-radius: 6px 6px 0 0;
    }
    
    .success-case-card {
        border-radius: 10px;
    }
    
    .success-cases-nav {
        gap: 15px;
        margin-top: 25px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .case-status {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .case-status i {
        font-size: 24px;
    }
}



/* 移动端 Hero 优化：背景可见与位置调整、标题上边距增加 */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important; /* 修复 iOS/Safari 不支持 fixed 导致不显示 */
        background-position: 60% 25% !important; /* 按需左移背景对齐并略微上移 */
    }
    .hero-title {
        margin-top: 100px !important; /* 增加与顶部的间距 */
    }
}

