﻿/* ==================================================================================
 * 网站首页样式
 * 文件名：css/public/index.css
 * ================================================================================== */

/* -----------------------------------------------------
 * 英雄区域
 * ----------------------------------------------------- */

.hero {
    position: relative;
    padding: 75px 0 50px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.12), transparent 32%), linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

    .hero .hero-inner {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
        align-items: center;
        gap: 56px;
    }

        .hero .hero-inner .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 15px;
            color: var(--st-primary);
            background: var(--st-primary-soft);
            border: 1px solid #cbd5e1;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 600;
        }

            .hero .hero-inner .hero-kicker .dot {
                width: 8px;
                height: 8px;
                border-radius: 999px;
                background: rgb(25, 195, 107);
                box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
            }

        .hero .hero-inner .hero-title {
            margin: 25px 0;
            font-size: 50px;
            line-height: 1.5;
            font-weight: 800;
        }

        .hero .hero-inner .hero-desc {
            margin: 0 0 25px;
            color: var(--st-text-muted);
            font-size: 18px;
        }

        .hero .hero-inner .hero-buttons {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .hero .hero-inner .hero-note {
            margin: 25px 0 0;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: #64748b;
            font-size: 14px;
        }

            .hero .hero-inner .hero-note span {
                display: inline-flex;
                align-items: center;
                gap: 7px;
            }

            .hero .hero-inner .hero-note i {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: rgb(25, 195, 107);
                display: inline-block;
            }

    .hero .hero-card {
        background: #ffffff;
        border: 1px solid var(--st-border);
        border-radius: var(--st-radius-xl);
        box-shadow: var(--st-shadow-lg);
        padding: 24px;
    }

        .hero .hero-card .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-bottom: 14px;
        }

            .hero .hero-card .stats .stat {
                min-height: 84px;
                padding: 14px;
                border-radius: 18px;
                background: #ffffff;
                border: 1px solid var(--st-border);
            }

                .hero .hero-card .stats .stat b {
                    display: block;
                    color: var(--ink);
                    font-size: 24px;
                    line-height: 1.1;
                    margin-top: 6px;
                    letter-spacing: -0.04em;
                }

                .hero .hero-card .stats .stat span {
                    color: var(--muted);
                    font-size: 12px;
                    white-space: nowrap;
                }

        .hero .hero-card .certificate-card {
            position: relative;
            padding: 24px;
            border-radius: 24px;
            background: linear-gradient(180deg, #ffffff, #fbfdff);
            border: 1px solid var(--st-border);
            overflow: hidden;
        }

            .hero .hero-card .certificate-card::after {
                content: "";
                position: absolute;
                right: -70px;
                bottom: -84px;
                width: 240px;
                height: 240px;
                border-radius: 50%;
            }

        .hero .hero-card .cert-head {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
        }

        .hero .hero-card .cert-domain {
            color: var(--st-text);
            font-size: 28px;
            font-weight: 850;
        }

        .hero .hero-card .pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 27px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(34, 197, 94, 0.10);
            color: #159447;
            font-size: 13px;
            font-weight: 800;
            border: 1px solid rgba(34, 197, 94, 0.18);
        }

        .hero .hero-card .cert-body {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 1fr 150px;
            gap: 20px;
            align-items: center;
        }

        .hero .hero-card .info-list {
            display: grid;
            gap: 10px;
        }

        .hero .hero-card .info-row {
            display: grid;
            grid-template-columns: 96px 1fr;
            gap: 10px;
            font-size: 14px;
        }

            .hero .hero-card .info-row span:first-child {
                color: var(--muted);
            }

            .hero .hero-card .info-row span:last-child {
                color: #263244;
                font-weight: 700;
            }

        .hero .hero-card .success-text {
            color: #16a34a !important;
        }

        .hero .hero-card .shield-large {
            justify-self: center;
            align-self: end;
            width: 120px;
            opacity: 0.95;
        }

        .hero .hero-card .cert-actions {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
            font-size: 14px;
            color: var(--st-text-muted);
        }

            .hero .hero-card .cert-actions span {
                display: inline-flex;
                align-items: center;
                gap: 7px;
            }

            .hero .hero-card .cert-actions i {
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: rgb(25, 195, 107);
                display: inline-block;
            }

/* -----------------------------------------------------
 * 流程网格
 * ----------------------------------------------------- */

.flow-grid {
    display: grid;
    position: relative;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px 32px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.84));
    border: 1px solid var(--st-border);
    box-shadow: var(--st-shadow);
}

    .flow-grid::before {
        content: "";
        position: absolute;
        left: 9%;
        right: 9%;
        top: 94px;
        height: 2px;
        background: repeating-linear-gradient(90deg, rgba(11, 99, 206, 0.28) 0 12px, transparent 12px 22px);
    }

    .flow-grid .flow-step {
        position: relative;
        z-index: 1;
        text-align: center;
    }

        .flow-grid .flow-step .step-num {
            position: absolute;
            top: 0;
            left: calc(50% - 42px);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            color: #ffffff;
            background: #0b63ce;
            font-size: 13px;
            font-weight: 900;
            box-shadow: 0 10px 20px rgba(11, 99, 206, 0.18);
        }

        .flow-grid .flow-step .flow-icon {
            width: 88px;
            height: 88px;
            margin: 12px auto 18px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            color: #0b63ce;
            border: 1px solid rgba(11, 99, 206, 0.14);
            box-shadow: 0 16px 32px rgba(11, 99, 206, 0.08);
        }

/* -----------------------------------------------------
 * 分类区网格
 * ----------------------------------------------------- */
.cta-card {
    position: relative;
    margin: 25px 0 35px;
    padding: 50px;
    border-radius: 30px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 88% 30%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, #0757b8, #0b63ce 46%, #1683ea);
    box-shadow: 0 30px 52px rgba(11, 99, 206, 0.26);
}

    .cta-card::after {
        content: "";
        position: absolute;
        right: 30px;
        bottom: -30px;
        width: 240px;
        height: 240px;
        opacity: 0.28;
        background-image: url(/img/icon-alpha.png);
        background-size: contain;
        background-repeat: no-repeat;
    }

    .cta-card .cta-content {
        position: relative;
        z-index: 1;
    }

        .cta-card .cta-content h2 {
            font-size: 30px;
            color: #ffffff;
            font-weight: 600;
        }

        .cta-card .cta-content p {
            margin: 18px 0 30px;
            color: #ffffff;
            font-size: 18px;
        }

        .cta-card .cta-content .cta-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .cta-card .cta-content .app-btn {
            color: var(--st-primary);
        }
