/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #1D2129;
    background-color: #ffffff;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    padding: 20px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
}

.logo {
    height: 40px;
    width: auto;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.primary-btn {
    background-color: #00B42A;
    color: white;
}

.primary-btn:hover {
    background-color: #009A22;
    box-shadow: 0 4px 12px rgba(0, 180, 42, 0.3);
}

.secondary-btn {
    background-color: white;
    color: #00B42A;
    border: 1px solid #00B42A;
}

.secondary-btn:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 180, 42, 0.15);
}

/* 通用区块标题样式 */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: #1D2129;
}

.section-description {
    text-align: center;
    color: #1D2129cc;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #E0F7FA 0%, #F3E5F5 100%);
    border-radius: 30px;
    padding: 40px 20px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #00C3B7;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 18px;
    color: #00C3B7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
}

.family-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  
}

/* 特色区域样式 */
.features-section {
    margin-bottom: 60px;
    padding: 20px 0;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.features-container::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background-color: #36CFC940;
    z-index: 1;
}

.feature-card {
    position: relative;
    z-index: 2;
}

/* .feature-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #36CFC9;
    box-shadow: 0 5px 15px rgba(54, 207, 201, 0.3);
}*/

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 平台保障区域样式 */
.security-section {
    background-color: #F2F3F5;
    border-radius: 30px;
    padding: 40px 20px;
    margin-bottom: 60px;
}

.security-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.security-image {
    position: relative;
    width: 250px;
    height: 250px;
}

.verification-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* .security-badge {
    position: absolute;
    background-color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.security-badge:first-of-type {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #722ED1;
    color: white;
}

.security-badge:last-of-type {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #36CFC9;
    color: white;
}

.security-label {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
}

.security-details {
    max-width: 500px;
    text-align: center;
}

.security-description {
    color: #1D2129cc;
    line-height: 1.8;
}

/* 成功案例区域样式 */
.success-stories {
    margin-bottom: 60px;
    padding: 20px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .stories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.story-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.story-info {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #1D2129cc;
}

/* 信息区域样式 */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .info-section {
        flex-direction: row;
    }
}

.about-us, .contact-us {
    flex: 1;
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: 22px;
    font-weight: 700;
    color: #00C3B7;
    margin-bottom: 15px;
}

.info-content {
    color: #1D2129cc;
    line-height: 1.8;
}

.contact-info {
    color: #1D2129cc;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    color: #36CFC9;
    margin-right: 10px;
    margin-top: 3px;
    width: 20px;
}

/* 底部样式 */
.footer {
    padding: 30px 0;
    border-top: 1px solid #F2F3F5;
    text-align: center;
}

.copyright, .icp-info, .disclaimer {
    color: #1D212980;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00B42A;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 180, 42, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        gap: 30px;
    }
    
    .hero-content {
        flex: 1;
        /*text-align: left;*/
        margin-bottom: 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        flex: 1;
        max-width: none;
    }
}
    