/**
 * 铁路运销模板样式 (tlxs.html)
 * 基于 matrix2 主题，补充页面专属区块样式
 */

/* ===== Banner 区域 ===== */
.tl-banner {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0d1b3e;
}

.tl-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tl-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,27,62,0.92) 0%, rgba(15,34,68,0.88) 50%, rgba(26,58,110,0.85) 100%);
    z-index: 1;
}

.tl-banner .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.ban-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(10,95,214,0.15);
    border: 1px solid rgba(10,95,214,0.3);
    border-radius: 20px;
    font-size: 13px;
    color: #5ba3ff;
    font-weight: 600;
    margin-bottom: 24px;
}

.ban-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ban-title span {
    color: #5ba3ff;
}

.ban-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 560px;
}

.ban-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== Stats Bar ===== */
.stats-bar-wrap {
    background: linear-gradient(135deg, #0A5FD6, #063A8A);
    padding: 0;
    position: relative;
    z-index: 10;
}

.stats-bar {
    max-width: 1200px;
    margin: -40px auto 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(10,95,214,0.18);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    border-right: 1px solid rgba(10,95,214,0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 44px;
    font-weight: 800;
    color: #0A5FD6;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-num .unit {
    font-size: 16px;
    color: #5A6A8A;
    font-weight: 500;
}

.stat-label {
    font-size: 14px;
    color: #5A6A8A;
}

/* ===== Intro 区域 ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1A2340;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-text h2 span {
    color: #0A5FD6;
}

.intro-text p {
    font-size: 15px;
    color: #5A6A8A;
    line-height: 2;
    margin-bottom: 16px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}

.intro-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10,95,214,0.08);
    border: 1px solid rgba(10,95,214,0.15);
    border-radius: 20px;
    font-size: 13px;
    color: #0A5FD6;
    font-weight: 500;
    transition: all 0.3s;
}

.intro-tag:hover {
    background: rgba(10,95,214,0.15);
    border-color: rgba(10,95,214,0.3);
}

.intro-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(10,95,214,0.15);
}

.intro-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.intro-img:hover img {
    transform: scale(1.03);
}

.intro-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.intro-badge span {
    display: block;
    font-size: 12px;
    color: #5A6A8A;
    margin-bottom: 4px;
}

.intro-badge p {
    font-size: 15px;
    color: #1A2340;
    margin: 0;
    line-height: 1.4;
}

.intro-badge .accent {
    color: #0A5FD6;
    font-weight: 700;
}

/* ===== 特性卡片网格 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(10,95,214,0.08);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(10,95,214,0.18);
    border-color: rgba(10,95,214,0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10,95,214,0.1), rgba(26,127,255,0.05));
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 24px !important;
    color: #0A5FD6 !important;
    font-style: normal;
    font-weight: normal;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1A2340;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #5A6A8A;
    line-height: 1.8;
    margin: 0 0 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tags span {
    display: inline-block;
    padding: 4px 10px;
    background: #F4F7FC;
    border-radius: 4px;
    font-size: 12px;
    color: #5A6A8A;
}

/* ===== Section Divider ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10,95,214,0.12), transparent);
    margin: 0;
}

/* ===== AI 扩展功能 ===== */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.ai-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(10,95,214,0.08);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.3s;
}

.ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(10,95,214,0.15);
}

.ai-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ai-icon i {
    font-size: 26px !important;
    color: #fff !important;
    font-style: normal;
    font-weight: normal;
}

.ai-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A2340;
    margin-bottom: 14px;
}

.ai-card p {
    font-size: 15px;
    color: #5A6A8A;
    line-height: 1.9;
    margin-bottom: 20px;
}

.ai-card .hl {
    color: #0A5FD6;
    font-weight: 700;
}

.ai-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5A6A8A;
    padding: 8px 0;
    border-bottom: 1px solid rgba(10,95,214,0.06);
}

.ai-card ul li:last-child {
    border-bottom: none;
}

.ai-card ul li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(10,95,214,0.1);
    border-radius: 50%;
    font-size: 11px;
    color: #0A5FD6;
    flex-shrink: 0;
}

/* ===== 工作流程 ===== */
.workflow-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.workflow-line {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0A5FD6, #00C8FF, #0A5FD6, #00C8FF, #0A5FD6, #00C8FF);
    z-index: 0;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.step-num {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A5FD6, #1A7FFF);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(10,95,214,0.3);
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid rgba(10,95,214,0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.step-icon i {
    font-size: 22px !important;
    color: #0A5FD6 !important;
    font-style: normal;
    font-weight: normal;
}

.workflow-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1A2340;
    margin-bottom: 8px;
}

.workflow-step p {
    font-size: 13px;
    color: #5A6A8A;
    line-height: 1.7;
    margin: 0;
}

/* ===== 行业场景 ===== */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.scenario-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(10,95,214,0.06);
    border: 1px solid rgba(10,95,214,0.08);
    transition: all 0.3s;
}

.scenario-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(10,95,214,0.15);
    border-color: rgba(10,95,214,0.2);
}

.scenario-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(10,95,214,0.1), rgba(0,200,255,0.08));
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.scenario-icon i {
    font-size: 24px !important;
    color: #0A5FD6 !important;
    font-style: normal;
    font-weight: normal;
}

.scenario-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1A2340;
    margin-bottom: 10px;
}

.scenario-card p {
    font-size: 13px;
    color: #5A6A8A;
    line-height: 1.7;
    margin: 0;
}

/* ===== CTA 区域 ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fe 0%, #d0e1fd 50%, #f0f5ff 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(10,95,214,0.1) 0%, transparent 60%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1A2340;
    margin-bottom: 16px;
}

.cta-content h2 span {
    color: #0A5FD6;
}

.cta-content p {
    font-size: 17px;
    color: #5A6A8A;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #0A5FD6, #1A7FFF);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(10,95,214,0.35);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(10,95,214,0.45);
    color: #fff !important;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #fff;
    color: #0A5FD6 !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1.5px solid rgba(10,95,214,0.2);
    box-shadow: 0 4px 16px rgba(10,95,214,0.08);
}

.btn-cta-outline:hover {
    border-color: #0A5FD6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,95,214,0.15);
    color: #0A5FD6 !important;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .scenario-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-track {
        flex-wrap: wrap;
        gap: 32px;
    }
    .workflow-line {
        display: none;
    }
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ban-title {
        font-size: 32px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .ai-grid {
        grid-template-columns: 1fr;
    }
    .scenario-grid,
    .scenario-grid--5 {
        grid-template-columns: 1fr;
    }
    .workflow-step {
        width: 100%;
        max-width: 280px;
    }
    .cta-content h2 {
        font-size: 28px;
    }
    .cta-actions {
        flex-direction: column;
    }
}
