/* 智慧公安平台专属样式 */

/* Hero Section */
.police-hero {
    background: url('../static/police/智慧公安.png') center/cover no-repeat;
    height: 400px;
    padding: 0;
    color: #fff;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.police-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.police-hero .hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 子系统卡片 - 选项卡布局 */
.subsystem-section {
    position: relative;
    padding: 40px 0;
    background: #fff;
}

/* 左侧选项卡 - 绝对定位，不占容器空间 */
.subsystem-tabs {
    position: absolute;
    width: 260px;
    display: flex;
    flex-direction: column;
    background: #f5f8fc;
    border-radius: 16px;
    padding: 16px 12px;
    gap: 12px;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-item:hover {
    border-color: #176BF8;
    background: #e8f0fa;
}

.tab-item.active {
    background: #176BF8;
    border-color: #176BF8;
    box-shadow: 0 4px 16px rgba(23, 107, 248, 0.25);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid #176BF8;
}

.tab-item.active span {
    color: #fff;
}

.tab-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

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

.tab-item span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* 右侧内容区 */
.subsystem-content {
    background: #fff;
    min-height: 500px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* 功能卡片 - 白色背景，3列 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    border-color: #176BF8;
    box-shadow: 0 8px 24px rgba(23, 107, 248, 0.12);
    transform: translateY(-2px);
}

.feature-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8fc;
    border-radius: 12px;
    margin-right: 8px;
}

.feature-card-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.feature-card h6 {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0;
}

/* 内容块 */
.content-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid #176BF8;
    display: inline-block;
}

.section-text {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    text-align: justify;
    margin: 0;
}

.intro-card {
    padding: 28px 32px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 14px;
}

/* 核心功能 - 编号列表 */
.core-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.core-feature-item {
    display: flex;
    gap: 14px;
    padding: 16px 16px 16px 20px;
    background: #f8fafc;
    border-left: 3px solid #176BF8;
    transition: all 0.3s ease;
}

.core-feature-item:hover {
    background: #eef4fb;
    transform: translateY(-2px);
}

.core-feature-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #005BAC, #0072d4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.core-feature-content h6 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.core-feature-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 产品核心优势卡片 */
.advantage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-top: 3px solid #176BF8;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.advantage-card:hover {
    box-shadow: 0 8px 24px rgba(23, 107, 248, 0.12);
    transform: translateY(-2px);
}

.advantage-card h6 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 适用客户 */
.customer-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: #F9FAFB;
    border: 1px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 40px;
}

.customer-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fa;
    border-radius: 12px;
}

.customer-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.customer-info {
    flex: 1;
}

.customer-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.customer-info p {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

/* CTA 横幅 */
.cta-banner {
    margin-top: 32px;
    text-align: center;
}

.cta-text-banner {
    margin-top: 32px;
    background: linear-gradient(135deg, #005BAC, #0072d4);
    padding: 40px 32px;
    border-radius: 14px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.cta-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 40px 0;
    background: #f5f8fc;
}

.cta-bar {
    background: #fff;
    border-radius: 16px;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-item img {
    width: 24px;
    height: 24px;
}

.cta-item span {
    font-size: 15px;
    color: #333;
}

.cta-label {
    font-size: 14px;
    color: #666;
}

.btn-cta {
    background: #005BAC;
    color: #fff !important;
    padding: 10px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    background: #0A2E5C;
    box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
}

/* Tab 2 - Hero 区域（独立页面） */
.platform-hero-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #002561 0%, #005BAC 100%);
    color: #fff;
}

.platform-hero-section .hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.platform-hero-section .hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    line-height: 1.6;
}

.platform-hero-section .hero-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0;
}

.platform-hero-section .hero-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.platform-content {
    padding: 40px 0 60px;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .police-hero {
        height: 240px;
        padding: 0;
    }
    
    .police-hero .hero-title {
        font-size: 32px;
    }
    
    .police-hero .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-bar {
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .subsystem-tabs {
        display: none;
    }
    
    .tab-item {
        min-width: 180px;
        padding: 12px 14px;
    }
    
    .tab-icon {
        width: 32px;
        height: 32px;
    }
    
    .subsystem-content {
        padding: 24px 20px;
        min-height: auto;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .core-features {
        grid-template-columns: 1fr;
    }
    
    .advantage-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .advantage-cards {
        grid-template-columns: 1fr;
    }

    .cta-text-banner {
        font-size: 16px;
        padding: 28px 20px;
    }
    
    .customer-tags span {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* 行业痛点板块 */
.police-pain-section {
    background: #005BAC;
    border-radius: 16px;
    padding: 48px 36px;
    color: #fff;
    margin-bottom: 50px;
}

.police-pain-header {
    text-align: center;
    margin-bottom: 36px;
}

.police-pain-header h4 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.police-pain-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.police-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.police-pain-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    color: #333;
    transition: all 0.3s ease;
}

.police-pain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.police-pain-title {
    font-size: 16px;
    font-weight: 700;
    color: #005BAC;
    margin-bottom: 10px;
}

.police-pain-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 典型应用场景 */
.police-scenario-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.police-scenario-card {
    background: #F5F8FC;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.police-scenario-card:hover {
    background: #fff;
    border-color: #005BAC;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 91, 172, 0.1);
}

.police-scenario-icon {
    font-size: 32px;
    color: #005BAC;
    margin-bottom: 12px;
    display: inline-block;
}

.police-scenario-card p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .police-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .police-scenario-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .police-pain-grid {
        grid-template-columns: 1fr;
    }
    .police-scenario-grid {
        grid-template-columns: 1fr;
    }
}
