/* ========================================
   首页样式 - 高端版
   ======================================== */

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 100px;
    background: var(--gradient-hero);
    color: var(--color-text);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--color-bg), transparent);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(400px, .9fr);
    align-items: center;
    gap: 64px;
    z-index: 1;
}
.hero .eyebrow {
    background: rgba(37, 56, 255, .1);
    color: var(--color-secondary);
}
.hero h1 {
    max-width: 680px;
    color: var(--color-heading);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -.05em;
    font-weight: 800;
}
.hero__lead {
    margin: 28px 0 14px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.75;
}
.hero__content > p:not(.eyebrow):not(.hero__lead) {
    max-width: 640px;
    color: var(--color-text-light);
    font-size: 15px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}
.hero__actions .button--primary {
    background: var(--gradient-accent);
    box-shadow: 0 8px 28px rgba(37, 56, 255, .40);
}
.hero__actions .button--secondary {
    border-color: var(--color-border);
    background: #fff;
    color: var(--color-heading);
}
.hero__actions .button--secondary:hover {
    border-color: var(--color-secondary);
    background: var(--color-bg-light);
}
.hero__actions .text-link { color: var(--color-text-light); margin-left: 4px; }
.hero__actions .text-link:hover { color: var(--color-secondary); }

/* Hero 信任指标 */
.hero__metrics {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border-light);
}
.hero__metric strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.hero__metric span { color: var(--color-text-muted); font-size: 13px; }

/* Hero 可视化面板 */
.hero__visual {
    position: relative;
    min-height: 420px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 24px 64px rgba(17, 24, 39, .10);
}
.hero__visual::before {
    position: absolute;
    inset: 12% -14% auto auto;
    width: 200px;
    aspect-ratio: 1;
    border: 28px solid rgba(37, 56, 255, .06);
    border-radius: 50%;
    content: "";
}
.search-panel, .answer-panel, .trend-panel {
    position: relative;
    border: 1px solid var(--color-border-light);
    border-radius: 14px;
    background: var(--color-bg-light);
}
.search-panel { padding: 20px 22px; }
.search-panel span, .answer-panel span, .trend-panel span {
    display: block;
    margin-bottom: 8px;
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}
.search-panel strong { color: var(--color-heading); font-size: 17px; line-height: 1.5; }
.answer-panel {
    width: 84%;
    margin: 18px 0 0 auto;
    padding: 18px 22px;
    border-color: rgba(37, 56, 255, .15);
}
.answer-panel p { color: var(--color-text-light); font-size: 14px; }
.trend-panel {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 120px;
    margin-top: 18px;
    padding: 16px;
}
.trend-panel span { position: absolute; top: 12px; left: 16px; }
.trend-panel i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: var(--gradient-accent);
    opacity: .8;
    animation: barGrow .8s ease forwards;
    transform-origin: bottom;
}
.trend-panel i:nth-of-type(1) { height: 28%; animation-delay: .1s; }
.trend-panel i:nth-of-type(2) { height: 44%; animation-delay: .2s; }
.trend-panel i:nth-of-type(3) { height: 52%; animation-delay: .3s; }
.trend-panel i:nth-of-type(4) { height: 72%; animation-delay: .4s; }
.trend-panel i:nth-of-type(5) { height: 90%; animation-delay: .5s; }
@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ===== 问题痛点 ===== */
.pain-points .info-card { position: relative; }
.pain-points .info-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    color: var(--color-secondary);
    font-size: 20px;
    transition: background var(--transition), color var(--transition);
}
.pain-points .info-card:hover .info-card__icon {
    background: var(--gradient-accent);
    color: #fff;
}

/* ===== 核心服务 ===== */
.service-grid, .case-grid, .article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card, .case-card, .article-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
}
.service-card:hover, .case-card:hover, .article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}
.service-card img, .case-card img, .article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--color-bg-light);
    transition: transform var(--transition-slow);
}
.service-card:hover img, .case-card:hover img, .article-card:hover img {
    transform: scale(1.05);
}
.service-card__body, .case-card > div, .article-card > div { padding: 26px; }
.service-card h3, .case-card h3, .article-card h3 {
    color: var(--color-heading);
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}
.service-card p, .case-card p, .article-card p {
    margin: 10px 0 16px;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== 对比表 ===== */
.comparison-table {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.comparison-table table { width: 100%; min-width: 680px; text-align: left; }
.comparison-table th, .comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border-light);
}
.comparison-table thead {
    background: var(--gradient-primary);
    color: #fff;
}
.comparison-table thead th { font-weight: 700; font-size: 15px; }
.comparison-table tbody th { color: var(--color-heading); font-weight: 700; }
.comparison-table tbody td { color: var(--color-text-light); }
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody tr:hover { background: var(--color-bg-light); }
.comparison-table tbody tr:last-child td {
    background: var(--color-bg-light);
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== 适合企业 ===== */
.fit-for .check-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.fit-for .check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-heading);
    font-weight: 600;
    font-size: 15px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.fit-for .check-list li::before {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, .1);
    color: var(--color-success, #10B981);
    content: "✓";
    font-size: 13px;
}
.fit-for .check-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* ===== 服务流程 ===== */
.process-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    counter-reset: process;
}
.process-list li {
    position: relative;
    padding: 0 8px;
    text-align: center;
}
.process-list li:not(:last-child)::after {
    position: absolute;
    top: 26px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--color-border);
    content: "";
}
.process-list span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(37, 56, 255, .28);
    transition: transform var(--transition-spring);
}
.process-list li:hover span { transform: scale(1.12); }
.process-list h3 {
    color: var(--color-heading);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 8px;
}
.process-list li p {
    color: var(--color-text-light);
    font-size: 13px;
    line-height: 1.65;
}

/* ===== 案例展示 ===== */
.case-card { position: relative; }
.case-card__tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(37, 56, 255, .08);
    color: var(--color-secondary);
    font-size: 12px;
    font-weight: 700;
}

/* ===== 为什么选择 ===== */
.advantages .info-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(37, 56, 255, .20);
}

/* ===== 行动号召 ===== */
.consultation {
    background: var(--gradient-cta);
    color: rgba(255, 255, 255, .82);
    position: relative;
    overflow: hidden;
}
.consultation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.consultation h2 { color: #fff; }
.consultation .eyebrow { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .2); }
.consultation__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    z-index: 1;
}
.consultation__inner > div:first-child { max-width: 760px; }
.consultation .button--primary {
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.consultation .button--secondary {
    border-color: rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
}
.consultation .button--secondary:hover {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .08);
}
.consultation__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== 知识中心 ===== */
.article-card__meta {
    color: var(--color-secondary) !important;
    font-size: 12px !important;
    font-weight: 700;
    margin: 0 !important;
}
.article-card img { transition: transform var(--transition-slow); }

/* ===== 数据统计带 ===== */
.stats-band {
    background: var(--color-bg-dark);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}
.stats-band__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    z-index: 1;
}
.stats-band__item { text-align: center; }
.stats-band__item .metric-number {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stats-band__item p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
}
