/* === 3. 全局 Hero 区域 (新生成) === */
.global-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #222;
}

.global-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.global-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 60px;
}

.hero-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.global-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.global-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
}

/* === 4. Tab 切换控制器 === */
.tab-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    margin-top: -25px;
    margin-bottom: -25px;
}

.tab-btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    color: var(--text-light);
    height: var(--btn-height-lg);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 15px 30px rgba(255, 183, 0, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f5f5f5;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding-top: 40px;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 5. Tab 内专用样式 (图文分栏) === */
.btn-hero-outline {
    display: inline-block;
    margin-top: 36px;
    height: var(--btn-height-md);
    padding: 0 36px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    transition: 0.3s;
}

.btn-hero-outline:hover {
    background: var(--primary-color);
    color: black;
}

/* === 6. 核心内容样式 === */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.intro-section {
    background: var(--dark-bg);
    color: white;
    padding: 0;
}

.intro-section .container {
    padding-top: 80px;
    padding-bottom: 100px;
}

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

.bento-card {
    background: #f9fafb;
    border-radius: var(--radius-unified);
    padding: 32px;
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: white;
    border-color: var(--primary-color);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Intro Grid (Dark) */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 800;
}

.intro-text h2 span {
    color: var(--primary-color);
}

.intro-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify;
}

.intro-text .highlight-box {
    margin-bottom: 28px;
}

.intro-img {
    height: 450px;
    border-radius: var(--radius-unified);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Zig-Zag Modules */
.modules-section {
    padding: 80px 0;
    background: #f5f5f7;
}

.modules-header {
    text-align: center;
    margin-bottom: 80px;
}

.modules-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #8C989F;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-text {
    direction: ltr;
}

.feature-img {
    height: 360px;
    background: white;
    border-radius: var(--radius-unified);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.feature-text h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.feature-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-light);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
    top: -2px;
}

/* CTA */
.cta-section {
    background: var(--dark-bg);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    margin-bottom: 28px;
}

.cta-section p {
    opacity: 0.8;
    margin-bottom: 28px;
}

.cta-btn {
    display: inline-block;
    height: var(--btn-height-lg);
    padding: 0 48px;
    background: var(--primary-color);
    color: var(--text-main);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 0;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 183, 0, 0.3);
    background: white;
}

/* Highlight List */
.highlight-list {
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.highlight-list li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.footer-brand h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-light);
    font-size: 14px;
}

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

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 13px;
}

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

    .feature-row,
    .feature-row.reverse,
    .intro-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .feature-img {
        height: 250px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
