/*!
 * ============================================================
 *  版权所有 (C) 2026 AISkyLab. 保留所有权利。
 *  Copyright (C) 2026 AISkyLab. All Rights Reserved.
 * ------------------------------------------------------------
 *  公司名称        : AISkyLab
 *  国际网站        : https://aiskylab.com
 *  国内网站        : https://aiskylab.cn
 *  作者            : XueYuSky
 *  文件            : front_templates/enterprise/static/css/enterprise.css
 *  模块/功能       : enterprise 模块
 *  创建日期        : 2025-11-25
 *  最后修改日期    : 2026-02-20
 *  许可证          : Proprietary and Confidential
 * ------------------------------------------------------------
 *  未经授权，禁止复制、传播、修改或用于商业用途。
 * ============================================================
 */
/* 企业网站样式 */
.main-content {
    min-height: calc(100vh - 200px);
    padding-bottom: 2rem;
}

/* Hero区域样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* 区块标题样式 */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
}

/* 产品/服务卡片样式 */
.product-card, .service-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.product-card:hover, .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

/* 产品卡片图片区域 */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f7fafc;
    height: 240px;
}

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

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

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #a0aec0;
    font-size: 3rem;
}

/* 精选标签 */
.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.featured-badge-service {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
}

/* 服务卡片图标 */
.service-icon-wrapper {
    position: relative;
    margin-top: -40px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 卡片内容 */
.product-card .card-body,
.service-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title,
.service-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.product-card .card-text,
.service-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #718096;
}

/* 服务特点列表 */
.service-features {
    padding-left: 0;
}

.service-features li {
    font-size: 0.9rem;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.service-features li i {
    font-size: 0.85rem;
}

/* 按钮样式增强 */
.product-card .btn,
.service-card .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.product-card .btn-primary,
.service-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.product-card .btn-primary:hover,
.service-card .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 公司优势卡片 */
.advantage-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.about-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

/* 空状态样式 */
.empty-state {
    padding: 3rem;
}

.empty-state i {
    opacity: 0.5;
}

/* 价格显示 */
.text-primary.fw-bold {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* 规格参数表格 */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table th,
.specifications-table td {
    padding: 12px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.specifications-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* 服务流程步骤 */
.service-process {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.service-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.service-step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .card-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-process {
        flex-direction: column;
    }
    
    .product-card .card-body,
    .service-card .card-body {
        padding: 1.25rem;
    }
}

/* 新版企业首页 */
.enterprise-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f8fafc;
    padding: 88px 0 76px;
}

.enterprise-hero.hero-image {
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 920px;
}

.hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 10px;
}

.enterprise-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.enterprise-hero h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
}

.hero-description {
    color: rgba(248, 250, 252, 0.92);
    font-size: 1.05rem;
    margin-bottom: 26px;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.enterprise-home .home-section {
    margin-bottom: 56px;
}

.enterprise-home .section-subtitle {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.enterprise-home #capabilities,
.enterprise-home #solutions {
    position: relative;
    padding: 30px 26px 10px;
    border-radius: 22px;
    overflow: hidden;
}

.enterprise-home #capabilities {
    background: linear-gradient(160deg, #f7fbff 0%, #eef7ff 100%);
    border: 1px solid #dbeafe;
}

.enterprise-home #solutions {
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.enterprise-home #capabilities::before,
.enterprise-home #solutions::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    top: -120px;
    right: -80px;
    pointer-events: none;
    opacity: 0.7;
}

.enterprise-home #capabilities::before {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0) 72%);
}

.enterprise-home #solutions::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 72%);
}

.strategy-card {
    background: linear-gradient(145deg, #f0f9ff 0%, #ecfeff 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 26px;
    color: #1f2937;
    line-height: 1.85;
}

.capability-card,
.solution-card,
.service-quick-card {
    --card-accent: rgba(14, 165, 233, 0.2);
    border-radius: 14px;
    border: 1px solid #dbeafe;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    padding: 22px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.capability-card::before,
.solution-card::before,
.service-quick-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -90px;
    right: -70px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--card-accent) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
}

.capability-card:hover,
.solution-card:hover,
.service-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border-color: #bfdbfe;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.7);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(140deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.28);
}

.capability-card-1 { --card-accent: rgba(14, 165, 233, 0.22); }
.capability-card-2 { --card-accent: rgba(59, 130, 246, 0.22); }
.capability-card-3 { --card-accent: rgba(16, 185, 129, 0.22); }

.solution-card-1 { --card-accent: rgba(59, 130, 246, 0.2); }
.solution-card-2 { --card-accent: rgba(14, 165, 233, 0.2); }
.solution-card-3 { --card-accent: rgba(6, 182, 212, 0.2); }

.service-quick-card-1 { --card-accent: rgba(59, 130, 246, 0.2); }
.service-quick-card-2 { --card-accent: rgba(16, 185, 129, 0.2); }
.service-quick-card-3 { --card-accent: rgba(14, 165, 233, 0.2); }

.solution-card .card-icon {
    background: linear-gradient(140deg, #2563eb 0%, #0ea5e9 100%);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}

.service-quick-card .card-icon {
    background: linear-gradient(140deg, #0891b2 0%, #0ea5e9 100%);
    box-shadow: 0 8px 18px rgba(8, 145, 178, 0.25);
}

.capability-card h3,
.solution-card h3,
.service-quick-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.capability-card .card-desc,
.solution-card .card-desc {
    color: #475569;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.capability-card ul,
.solution-card ul {
    margin: 0;
    padding-left: 0;
    color: #334155;
    line-height: 1.65;
    list-style: none;
    position: relative;
    z-index: 1;
}

.capability-card li,
.solution-card li {
    position: relative;
    padding-left: 18px;
}

.capability-card li::before,
.solution-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #0284c7;
}

.service-quick-card p {
    color: #475569;
    min-height: 72px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.about-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f8fafc;
    padding: 88px 0 72px;
}

.about-hero-copy {
    max-width: 720px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-hero h2 {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
    color: rgba(241, 245, 249, 0.92);
}

.about-hero .hero-actions {
    margin-top: 26px;
    margin-bottom: 0;
}

.about-hero-note {
    margin: 24px 0 0;
    max-width: 560px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

.about-page .about-overview,
.about-page .about-contact-strip {
    margin-bottom: 56px;
}

.about-story-card,
.about-contact-card {
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.about-story-card {
    padding: 28px 30px;
}

.about-richtext {
    color: #334155;
    line-height: 1.9;
    font-size: 1rem;
}

.about-richtext > *:last-child {
    margin-bottom: 0;
}

.about-richtext h2,
.about-richtext h3,
.about-richtext h4 {
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-richtext p,
.about-richtext ul,
.about-richtext ol {
    margin-bottom: 1rem;
}

.about-richtext ul,
.about-richtext ol {
    padding-left: 1.25rem;
}

/* 关于我们等富文本内图片：铺满容器宽度，避免右侧留白 */
.about-richtext img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.about-contact-card {
    padding: 26px;
    height: 100%;
}

.about-contact-card h2 {
    color: #0f172a;
}

.about-contact-card p {
    color: #475569;
    line-height: 1.8;
}

.about-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.enterprise-footer {
    background: #f3f4f6;
    border-top: 1px solid #d1d5db;
    color: #0f172a;
}

.enterprise-footer-main {
    padding: 42px 0 34px;
}

.enterprise-footer-block h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.enterprise-footer-block p {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}

.enterprise-footer-contact,
.enterprise-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.enterprise-footer-contact li,
.enterprise-footer-links li {
    margin-bottom: 8px;
}

.enterprise-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #0f172a;
}

.enterprise-footer-contact i {
    width: 20px;
    margin-top: 4px;
    color: #0f172a;
}

.enterprise-footer-links a,
.enterprise-footer-bottom a {
    color: #374151;
    text-decoration: none;
}

.enterprise-footer-links a:hover,
.enterprise-footer-bottom a:hover {
    color: #0369a1;
}

.enterprise-footer-bottom {
    border-top: 1px solid #d1d5db;
    padding: 22px 0 28px;
}

.enterprise-footer-copy {
    text-align: center;
    color: #4b5563;
    line-height: 1.65;
}

.enterprise-home .btn-primary,
.enterprise-hero .btn-primary {
    background: linear-gradient(130deg, #0ea5e9 0%, #0284c7 100%);
    border: none;
}

.enterprise-home .btn-primary:hover,
.enterprise-hero .btn-primary:hover {
    background: linear-gradient(130deg, #0284c7 0%, #0369a1 100%);
}

.enterprise-home .btn-outline-primary {
    color: #0369a1;
    border-color: #0369a1;
}

.enterprise-home .btn-outline-primary:hover {
    color: #ffffff;
    background: #0369a1;
    border-color: #0369a1;
}

@media (min-width: 1400px) {
    .enterprise-hero .container,
    .enterprise-home.container,
    .enterprise-footer .container {
        max-width: 1440px;
    }

    .enterprise-hero {
        padding: 108px 0 92px;
    }

    .enterprise-hero h1 {
        font-size: 3.6rem;
        line-height: 1.1;
    }

    .enterprise-hero h2 {
        font-size: 1.8rem;
        max-width: 960px;
        line-height: 1.45;
    }

    .hero-description {
        font-size: 1.14rem;
        line-height: 1.85;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.18rem;
    }

    .capability-card,
    .solution-card,
    .service-quick-card,
    .strategy-card {
        padding: 28px;
    }

    .capability-card h3,
    .solution-card h3,
    .service-quick-card h3 {
        font-size: 1.35rem;
    }

    .capability-card .card-desc,
    .solution-card .card-desc,
    .service-quick-card p,
    .capability-card ul,
    .solution-card ul {
        font-size: 1.02rem;
    }
}

@media (max-width: 992px) {
    .enterprise-home #capabilities,
    .enterprise-home #solutions {
        padding: 24px 18px 4px;
    }

    .about-hero {
        padding: 72px 0 56px;
    }

    .about-hero h1 {
        font-size: 2.4rem;
    }

    .about-hero .hero-actions {
        margin-top: 22px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero h2 {
        font-size: 1.08rem;
    }

    .about-hero-note {
        margin-top: 20px;
        font-size: 0.96rem;
    }

    .about-story-card,
    .about-contact-card {
        padding: 22px 18px;
    }

    .about-contact-actions {
        flex-direction: column;
    }

    .about-contact-actions .btn {
        width: 100%;
    }

    .enterprise-footer-main {
        padding: 34px 0 24px;
    }
}
