/**
 * SaaS 轻蓝 · 视觉层
 *
 * 浅色渐变、居中首屏、产品截图与能力矩阵；断点 1100 / 820 / 480。
 */

:root {
    --blue: #4f46e5;
    --blue-dark: #3730a3;
    --blue-soft: #eef0ff;
    --ink: #131a33;
    --text: #3b4560;
    --muted: #6b7690;
    --line: #e6e9f5;
    --bg: #fbfcff;
    --radius: 18px;
    --shadow: 0 12px 32px rgba(35, 45, 90, .08);
    --shadow-lg: 0 28px 60px rgba(35, 45, 90, .14);
}

/* 首屏 */
.s-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 40px;
    background:
        radial-gradient(900px 420px at 18% 0%, rgba(79, 70, 229, .14), transparent 62%),
        radial-gradient(760px 360px at 84% 12%, rgba(14, 165, 233, .16), transparent 60%),
        linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.s-hero-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.s-pill {
    display: inline-block;
    margin: 0 0 18px;
    padding: 5px 14px;
    border: 1px solid #dfe4f8;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.s-hero h1 {
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin: 0 auto 18px;
    max-width: 780px;
    color: var(--ink);
}

.s-hero-desc {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.8;
}

.s-hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 28px 0 40px;
    flex-wrap: wrap;
}

.s-hero-shot {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.s-hero-shot img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.s-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 40px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
}

.s-stats strong {
    display: block;
    font-size: 26px;
    color: var(--ink);
    letter-spacing: -.6px;
}

.s-stats span {
    color: var(--muted);
    font-size: 13px;
}

/* 能力 */
.s-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.s-feature {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.s-num {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
}

.s-feature h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.s-feature p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
}

/* 通用三列 */
.s-soft {
    background: #f6f8ff;
}

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

.s-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.s-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.s-card-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1fb;
}

.s-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-card-body {
    padding: 18px 20px 22px;
}

.s-card-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.s-card-body p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.75;
}

.s-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.s-case {
    display: block;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.s-case img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
}

.s-case h3 {
    font-size: 15.5px;
    margin-bottom: 6px;
}

.s-case p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.s-news {
    display: block;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.s-news time {
    color: var(--muted);
    font-size: 12.5px;
}

.s-news h3 {
    font-size: 15.5px;
    margin: 8px 0;
}

.s-news p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* 按钮 */
.btn-primary {
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .28);
}

.btn-ghost {
    border-radius: 12px;
}

/* 响应式 */
@media (max-width: 1100px) {
    .s-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .s-hero {
        padding: 48px 0 28px;
    }

    .s-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .s-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .s-hero-shot {
        padding: 6px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .s-hero h1 {
        font-size: 30px;
    }

    .s-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .s-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
