/* 首页专属样式：纯白、简洁、高级风格 */
:root {
    --home-primary: #111827;
    --home-text: #111827;
    --home-muted: #667085;
    --home-soft: #f8fafc;
    --home-border: #e5e7eb;
    --home-border-strong: #d1d5db;
    --home-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

body {
    background: #ffffff;
}

.user-container.home-page {
    max-width: 1180px;
    padding-top: 34px;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(17, 24, 39, 0.055), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    color: var(--home-text);
    border-radius: 30px;
    padding: 86px 56px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--home-shadow);
    border: 1px solid var(--home-border);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.045);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 68%;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(17, 24, 39, 0.18), transparent);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid var(--home-border);
    color: #374151;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.hero h2 {
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    line-height: 1.02;
    margin: 0 0 22px;
    font-weight: 850;
    letter-spacing: -0.065em;
    color: #0b1220;
}

.hero p {
    font-size: clamp(1.04rem, 2.1vw, 1.24rem);
    margin: 0 auto 34px;
    color: var(--home-muted);
    max-width: 760px;
    line-height: 1.85;
}

.buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 750;
    border-radius: 999px;
    margin: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.hero .btn-primary,
.hero .btn-secondary {
    color: #111827;
    background: #ffffff;
    border: 1px solid var(--home-border-strong);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
}

.hero .btn-primary:hover,
.hero .btn-secondary:hover {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.18);
    text-decoration: none;
}

.hero .btn-primary:focus-visible,
.hero .btn-secondary:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.16);
    outline-offset: 3px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 38px;
}

.stat-item {
    background: #ffffff;
    padding: 26px;
    border-radius: 24px;
    border: 1px solid var(--home-border);
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.045);
    text-align: left;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 850;
    color: var(--home-text);
    margin-bottom: 9px;
}

.stat-label {
    color: var(--home-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 58px;
}

.feature-item {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 26px;
    padding: 34px;
    text-align: left;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.055);
    border: 1px solid var(--home-border);
}

.feature-item::after {
    content: '';
    position: absolute;
    inset: auto -70px -80px auto;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.035);
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(17, 24, 39, 0.09);
    border-color: #d1d5db;
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #111827;
    background: #f3f4f6;
    border: 1px solid var(--home-border);
    font-size: 1.55rem;
    margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.055);
}

.feature-item h3 {
    font-size: 1.35rem;
    margin: 0 0 12px;
    color: var(--home-text);
}

.feature-item p {
    color: var(--home-muted);
    line-height: 1.78;
    margin: 0;
}

@media (max-width: 860px) {
    .hero {
        padding: 60px 30px;
        border-radius: 24px;
    }

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

    .stat-item,
    .feature-item {
        padding: 26px;
    }
}

@media (max-width: 520px) {
    .user-container.home-page {
        padding: 16px;
    }

    .hero {
        padding: 48px 20px;
    }

    .buttons .btn {
        width: 100%;
    }
}
