/* 首页专用样式 — 参考 JVS 企业级 SaaS 风格 */

.page-home {
    --primary-color: #3b5bdb;
    --primary-dark: #2f4bc4;
    --home-primary: #3b5bdb;
    --home-primary-dark: #2f4bc4;
    --home-accent: #06b6d4;
    --home-bg: #f4f7fb;
    --home-text: #1e293b;
    --home-text-muted: #64748b;
    --home-card-shadow: 0 4px 24px rgba(30, 58, 138, 0.08);
    --home-radius: 12px;
}

.page-home .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--home-text);
    letter-spacing: -0.02em;
}

.page-home .section-subtitle {
    font-size: 17px;
    color: var(--home-text-muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* —— Hero —— */
.page-home .hero {
    min-height: 520px;
    margin-top: 70px;
    align-items: stretch;
    background: var(--home-bg);
    isolation: isolate;
}

.page-home .hero-background {
    z-index: 0;
    background-color: #0f2744;
    background-image: linear-gradient(125deg, #0f2744 0%, #1e40af 42%, #2563eb 68%, #0891b2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-home .hero-background.has-hero-image {
    background-image:
        linear-gradient(105deg, rgba(15, 39, 68, 0.88) 0%, rgba(30, 64, 175, 0.72) 45%, rgba(8, 145, 178, 0.55) 100%),
        url('../asset/home-hero-bg.jpg');
}

.page-home .hero-overlay {
    z-index: 1;
}

.page-home .hero-content {
    z-index: 2;
}

.page-home .hero-background::before {
    opacity: 0.12;
    z-index: 0;
}

.page-home .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.page-home .hero .container {
    display: flex;
    align-items: center;
    min-height: 450px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.page-home .hero-content {
    text-align: left;
    max-width: 720px;
}

.page-home .hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-home .hero-title {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-home .hero-subtitle {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 28px;
    opacity: 0.92;
    max-width: 560px;
}

.page-home .hero-highlights {
    justify-content: flex-start;
    margin: 0 0 28px;
}

.page-home .hero-highlights .badge {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
    padding: 8px 14px;
}

.page-home .hero-buttons {
    justify-content: flex-start;
}

.page-home .hero-buttons .btn-primary {
    background: #fff;
    color: var(--home-primary-dark);
    font-weight: 600;
    border-radius: 8px;
    padding: 14px 28px;
}

.page-home .hero-buttons .btn-primary:hover {
    background: #f0f9ff;
    color: var(--home-primary-dark);
}

.page-home .hero-buttons .btn-outline {
    border-radius: 8px;
    padding: 14px 28px;
    border-color: rgba(255, 255, 255, 0.7);
}

.page-home .hero-buttons .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 14px 28px;
}

.page-home .hero-buttons .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* 产品快捷入口条 */
.home-product-strip {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.home-product-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 20px 0;
}

.home-product-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--home-text);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: all 0.2s ease;
}

.home-product-pill:hover {
    color: var(--home-primary);
    border-color: var(--home-primary);
    background: #f8fafc;
    box-shadow: var(--home-card-shadow);
}

.home-product-pill.is-active {
    color: #fff;
    background: var(--home-primary);
    border-color: var(--home-primary);
}

.home-product-pill span.icon {
    font-size: 18px;
    line-height: 1;
}

/* 产品中心卡片 */
.page-home .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.page-home .product-card {
    text-align: left;
    padding: 32px 28px;
    border-radius: var(--home-radius);
    border: 1px solid #e8eef5;
    box-shadow: var(--home-card-shadow);
}

.page-home .product-card:hover {
    border-color: #c7d7fe;
    transform: translateY(-4px);
}

.page-home .product-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 20px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
    color: var(--home-primary);
}

.page-home .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.page-home .product-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--home-text-muted);
}

.page-home .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.page-home .home-products-cta {
    margin-top: 32px;
    text-align: center;
}

/* 为什么选择我们 */
.home-reasons {
    background: var(--home-bg);
}

.home-reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-reason-card {
    background: #fff;
    border-radius: var(--home-radius);
    padding: 32px 24px;
    border: 1px solid #e8eef5;
    box-shadow: var(--home-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.12);
}

.home-reason-num {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--home-primary);
    opacity: 0.25;
    margin-bottom: 16px;
}

.home-reason-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 12px;
}

.home-reason-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--home-text-muted);
}

/* 平台优势 */
.page-home .features.section {
    padding-top: 72px;
}

.page-home .feature-item {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: var(--home-radius);
    box-shadow: var(--home-card-shadow);
}

.page-home .feature-icon {
    font-size: 40px;
}

/* 行业解决方案 — 主推卡 */
.home-solution-featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    box-shadow: var(--home-card-shadow);
    margin-bottom: 40px;
}

.home-solution-featured-media {
    min-height: 320px;
    background: linear-gradient(135deg, #e0e7ff 0%, #cffafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-solution-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-solution-featured-body {
    padding: 40px 40px 40px 0;
}

.home-solution-featured-body h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 16px;
}

.home-solution-featured-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--home-text-muted);
    margin-bottom: 24px;
}

.home-solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.home-solution-tags span {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #eef2ff;
    color: var(--home-primary-dark);
    font-weight: 500;
}

.page-home .scenario-card {
    border-radius: var(--home-radius);
    border: 1px solid #e8eef5;
}

.page-home .scenario-image {
    height: 180px;
    background: #e2e8f0;
    overflow: hidden;
}

.page-home .scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .scenario-placeholder {
    font-size: 48px;
    opacity: 0.5;
}

/* 数据指标条 */
.home-stats-bar {
    background: linear-gradient(90deg, var(--home-primary) 0%, #2563eb 100%);
    color: #fff;
    padding: 48px 0;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.home-stat-value {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.home-stat-label {
    font-size: 15px;
    opacity: 0.9;
}

/* 公司介绍 */
.page-home .company-intro h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--home-primary);
    margin-bottom: 20px;
}

.page-home .company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.page-home .company-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--home-primary);
    margin-bottom: 4px;
}

.page-home .company-stat-label {
    color: var(--home-text-muted);
    font-size: 14px;
}

.page-home .content-image {
    background: #fff;
    border: 1px solid #e8eef5;
    min-height: auto;
}

/* CTA */
.page-home .cta.section.bg-primary {
    background: linear-gradient(135deg, #1e40af 0%, var(--home-primary) 50%, #0891b2 100%);
    border-radius: 0;
}

.page-home .cta-title {
    font-size: 32px;
}

.page-home .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: center;
    margin-top: 8px;
}

.page-home .cta-actions .btn.btn-light {
    background: #fff;
    color: #1e40af;
    font-weight: 600;
    border: 2px solid #fff;
}

.page-home .cta-actions .btn.btn-light:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.page-home .cta-actions .btn.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

.page-home .cta-actions .btn.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.page-home .cta-contact-hint {
    margin-top: 24px;
    font-size: 15px;
    opacity: 0.85;
}

.page-home .cta-contact-hint a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 信任区占位 */
.home-trust {
    padding: 56px 0;
    background: #fff;
    text-align: center;
}

.home-trust-title {
    font-size: 14px;
    color: var(--home-text-muted);
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.home-trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
    opacity: 0.45;
}

.home-trust-logo-slot {
    width: 120px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .home-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-solution-featured {
        grid-template-columns: 1fr;
    }

    .home-solution-featured-body {
        padding: 32px;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-home .hero .container {
        min-height: auto;
    }

    .page-home .hero-content {
        text-align: center;
    }

    .page-home .hero-title {
        font-size: 32px;
    }

    .page-home .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .page-home .hero-highlights,
    .page-home .hero-buttons {
        justify-content: center;
    }

    .home-reasons-grid {
        grid-template-columns: 1fr;
    }

    .home-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-home .company-stats {
        grid-template-columns: 1fr 1fr;
    }
}
