/* 首页样式 */

/* ==================== Hero Section ==================== */
.hero {
    min-height: calc(100vh - 70px);
    background: url('../static/images/home/homeback.png') no-repeat center center;
    background-size: cover;
    margin-top: 70px;
    padding: 80px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 0 auto;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .title-black {
    color: #1A1A1A;
    font-size: 32px;
    font-weight: 700;
}

.hero-title .title-highlight {
    color: #11D6BB;
    font-size: 48px;
    font-weight: 800;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #11D6BB 0%, #0EB89E 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(17, 214, 187, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(17, 214, 187, 0.4);
}

.btn-outline {
    background: transparent;
    color: #11D6BB;
    border: 2px solid #11D6BB;
}

.btn-outline:hover {
    background: #11D6BB;
    color: #FFFFFF;
}



/* ==================== Section Common Styles ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    display: block;
    text-align: center;
    margin-bottom: 16px;
    white-space: nowrap;
}

.section-title span {
    display: inline-block;
    vertical-align: middle;
}

.section-title .title-deco {
    margin: 0 12px;
}

.title-deco {
    display: inline-block;
    width: 20px;
    height: 2px;
    border-radius: 0;
}

.title-deco-left {
    background: linear-gradient(90deg, #11D6BB, transparent);
}

.title-deco-right {
    background: linear-gradient(-90deg, #11D6BB, transparent);
}

/* 移除伪元素 */
.title-deco::before,
.title-deco::after {
    content: none;
}

.section-subtitle {
    font-size: 16px;
    color: #718096;
}

/* ==================== Features Section ==================== */
.features {
    padding: 100px 0;
    background: #FFFFFF;
}

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

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .feature-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .feature-desc {
        font-size: 14px;
    }
}

.feature-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #11D6BB;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
}

/* ==================== Roles Section ==================== */
.roles {
    padding: 100px 0;
    background: #F7FAFC;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.role-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #11D6BB, #0EB89E);
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #11D6BB;
}

.role-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7FAFC;
    border-radius: 50%;
}

.role-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.role-title {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 16px;
}

.role-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 32px;
    min-height: 54px;
}

.role-action {
    margin-bottom: 32px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #11D6BB 0%, #0EB89E 100%);
    border-radius: 12px;
}

.action-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.role-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.role-feature {
    font-size: 15px;
    color: #4A5568;
    padding: 12px 16px;
    background: #F7FAFC;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.role-feature:hover {
    background: #11D6BB;
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .role-card {
        padding: 32px 24px;
    }
    
    .role-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
    
    .role-title {
        font-size: 22px;
    }
    
    .role-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .role-action {
        margin-bottom: 24px;
        padding: 12px 20px;
    }
    
    .action-title {
        font-size: 16px;
    }
    
    .role-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .role-feature {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* ==================== Logo Meaning Section ==================== */
.logo-meaning {
    padding: 100px 0;
    background: #F7FAFC;
}

.logo-meaning-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-meaning-image {
    flex: 0 0 200px;
}

.logo-meaning-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.logo-meaning-text {
    flex: 1;
}

.logo-text-main {
    font-size: 16px;
    line-height: 2;
    color: #4A5568;
    text-align: justify;
}

.logo-text-main .highlight {
    color: #11D6BB;
    font-weight: 600;
}

/* ==================== News Section ==================== */
.news {
    padding: 100px 0;
    background: #FFFFFF;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #11D6BB 0%, #0EB89E 100%);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.news-tag.history-tag {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: #A0AEC0;
    margin-bottom: 8px;
    display: block;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #718096;
    margin-bottom: 16px;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    color: #11D6BB;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #0EB89E;
}

/* ==================== Responsive Styles ==================== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 42px;
    }

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

    .hero-image {
        max-width: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-meaning-content {
        flex-direction: column;
        gap: 40px;
    }

    .logo-meaning-image {
        flex: 0 0 auto;
        max-width: 150px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 0 40px;
        min-height: auto;
        background-size: cover;
        background-position: center center;
    }

    .hero .container {
        justify-content: flex-start;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-title .title-black {
        font-size: 20px;
    }

    .hero-title .title-highlight {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 12px;
        line-height: 1.5;
        max-width: 50%;
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
        padding: 8px 16px;
        font-size: 12px;
        height: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .features {
        padding: 60px 0;
    }

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

    .logo-meaning {
        padding: 60px 0;
    }

    .news {
        padding: 60px 0;
    }

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

@media (max-width: 480px) {
    .hero {
        background-size: cover;
        background-position: center center;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-title .title-black {
        font-size: 18px;
    }

    .hero-title .title-highlight {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 13px;
    }

    .hero-buttons {
        gap: 10px;
    }

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

    .section-title {
        font-size: 24px;
        flex-wrap: wrap;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }
}

