/* ===== 首页样式 ===== */

/* Hero Banner */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #F7F9FC 0%, #EEF2F7 100%);
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 77, 142, 0.25) 0%, transparent 70%);
}

.shape-2 {
    bottom: -150px;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.20) 0%, transparent 70%);
}

.shape-3 {
    top: 30%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 107, 191, 0.15) 0%, transparent 70%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(27, 77, 142, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1px;
    border: 1px solid rgba(27, 77, 142, 0.15);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 36px;
    max-width: 540px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.trust-item span {
    font-size: 13px;
    color: var(--text-gray);
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Hero 视觉图 */
.hero-visual {
    position: relative;
    height: 480px;
}

.hero-mockup {
    position: absolute;
    top: 0;
    left: 0;
    right: 60px;
    bottom: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mockup-header {
    height: 36px;
    background: #F7F9FC;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FFBD2E; }
.mockup-dot.green { background: #28C840; }

.mockup-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-gray);
}

.mockup-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: calc(100% - 36px);
}

.mockup-stat {
    background: linear-gradient(135deg, #F7F9FC 0%, #fff 100%);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--border);
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.stat-up {
    font-size: 11px;
    color: #00B894;
    font-weight: 500;
}

.mockup-chart {
    grid-column: span 2;
    background: linear-gradient(135deg, #F7F9FC 0%, #fff 100%);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: all 0.5s;
}

.chart-bar.highlight {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid var(--border);
    animation: floatY 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: 30%;
    right: 0;
    animation-delay: 0.5s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    right: 30px;
    animation-delay: 1s;
}

.float-icon {
    font-size: 28px;
}

.float-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.float-desc {
    font-size: 12px;
    color: var(--text-gray);
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Logo Wall */
.logo-wall {
    background: #fff;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.logo-wall-title {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.logo-wall-title strong {
    color: var(--primary);
    font-size: 18px;
    margin: 0 4px;
}

.logo-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.logo-item {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    opacity: 0.7;
    transition: var(--transition);
    font-family: "Microsoft YaHei", sans-serif;
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary);
}

/* 核心优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.advantage-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(27, 77, 142, 0.08) 0%, rgba(46, 107, 191, 0.15) 100%);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
}

/* 产品矩阵 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-color: transparent;
    position: relative;
}

.product-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured .product-features li,
.product-card.featured .product-link {
    color: #fff;
}

.product-card.featured .product-features li {
    color: rgba(255, 255, 255, 0.9);
}

.product-card.featured .product-link {
    color: var(--accent);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.product-icon.bg-1 { background: linear-gradient(135deg, #FFE5EC, #FFC2D1); }
.product-icon.bg-2 { background: linear-gradient(135deg, #E0EAFC, #CFDEF3); }
.product-icon.bg-3 { background: linear-gradient(135deg, #FFD8A9, #FFC78A); }
.product-icon.bg-4 { background: linear-gradient(135deg, #D4F1F4, #B4DCE0); }
.product-icon.bg-5 { background: linear-gradient(135deg, #FBC2EB, #D9A6E2); }
.product-icon.bg-6 { background: linear-gradient(135deg, #C9D6FF, #9CB4FF); }

.product-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
}

.product-features li {
    color: var(--text-gray);
    font-size: 14px;
    padding: 6px 0;
}

.product-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.product-link:hover {
    transform: translateX(4px);
}

/* 解决方案场景 */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.scenario-card {
    background: #fff;
    padding: 44px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.scenario-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(27, 77, 142, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: var(--transition);
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.scenario-card:hover::after {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    transform: translate(20%, -20%) scale(1.3);
}

.scenario-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0.5;
}

.scenario-1 .scenario-num { color: #FF6B9D; }
.scenario-2 .scenario-num { color: #1B4D8E; }
.scenario-3 .scenario-num { color: #D4A574; }
.scenario-4 .scenario-num { color: #00B894; }

.scenario-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.scenario-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.scenario-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scenario-tags span {
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 13px;
    border-radius: 100px;
    font-weight: 500;
}

/* 数据展示 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 20px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.stat-suffix {
    font-size: 18px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* 客户案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: #fff;
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.case-quote {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.08;
    line-height: 1;
    font-family: Georgia, serif;
}

.case-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
    min-height: 100px;
}

.case-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.case-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.case-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.case-role {
    font-size: 13px;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

.cta-phone {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.cta-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
}

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.decoration-circle.c1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -50px;
}

.decoration-circle.c2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.decoration-circle.c3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    background: rgba(212, 165, 116, 0.1);
    border: none;
}

/* 响应式 */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        height: 380px;
        margin-top: 40px;
    }

    .advantage-grid,
    .product-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 24px;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 48px;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-subtitle br {
        display: none;
    }

    .hero-visual {
        height: 320px;
    }

    .hero-float-card {
        display: none;
    }

    .hero-trust {
        gap: 16px;
    }

    .trust-item strong {
        font-size: 22px;
    }

    .trust-divider {
        display: none;
    }

    .advantage-grid,
    .product-grid,
    .case-grid,
    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .scenario-card {
        padding: 32px 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 40px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .logo-list {
        gap: 16px;
    }

    .logo-item {
        font-size: 16px;
    }
}
