
    .home-page {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
        padding: 54px 0 72px;
    }

    .home-hero {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
        gap: 34px;
        overflow: hidden;
        padding: 48px;
        border: 1px solid #dbeafe;
        border-radius: 30px;
        background:
            radial-gradient(circle at 92% 8%, rgba(59, 130, 246, 0.18), transparent 34%),
            linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eff6ff 100%);
        box-shadow: 0 24px 65px rgba(15, 23, 42, 0.09);
    }

    .home-hero-content {
        position: relative;
        z-index: 1;
        align-self: center;
    }

    .home-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 20px;
        padding: 8px 13px;
        border: 1px solid #bfdbfe;
        border-radius: 999px;
        color: #1d4ed8;
        background: rgba(239, 246, 255, 0.92);
        font-size: 13px;
        font-weight: 800;
    }

    .home-badge::before {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.13);
        content: '';
    }

    .home-hero h1 {
        max-width: 720px;
        margin: 0;
        color: #0f172a;
        font-size: clamp(38px, 5vw, 61px);
        font-weight: 900;
        line-height: 1.02;
        letter-spacing: -2.3px;
    }

    .home-hero h1 span {
        color: #2563eb;
    }

    .home-lead {
        max-width: 690px;
        margin: 22px 0 0;
        color: #475569;
        font-size: 17px;
        line-height: 1.75;
    }

    .home-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 30px;
    }

    .home-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 20px;
        border: 1px solid transparent;
        border-radius: 13px;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .home-action:hover {
        transform: translateY(-2px);
    }

    .home-action.primary {
        color: #ffffff;
        background: #2563eb;
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
    }

    .home-action.secondary {
        border-color: #cbd5e1;
        color: #334155;
        background: rgba(255, 255, 255, 0.88);
    }

    .home-status-panel {
        position: relative;
        z-index: 1;
        align-self: stretch;
        padding: 24px;
        border: 1px solid rgba(191, 219, 254, 0.9);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 16px 40px rgba(30, 64, 175, 0.08);
        backdrop-filter: blur(10px);
    }

    .home-status-panel h2 {
        margin: 0 0 6px;
        color: #0f172a;
        font-size: 18px;
    }

    .home-status-panel > p {
        margin: 0 0 20px;
        color: #64748b;
        font-size: 13px;
        line-height: 1.55;
    }

    .home-status-list {
        display: grid;
        gap: 10px;
    }

    .home-status-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 13px 14px;
        border: 1px solid #e2e8f0;
        border-radius: 13px;
        background: #f8fafc;
    }

    .home-status-item span {
        color: #475569;
        font-size: 13px;
        font-weight: 700;
    }

    .home-status-value {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #15803d;
        font-size: 12px;
        font-weight: 800;
    }

    .home-status-value::before {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        content: '';
    }

    .home-status-value.danger {
        color: #dc2626;
    }

    .home-db-alert {
        margin-top: 18px;
        padding: 15px 17px;
        border: 1px solid #fecaca;
        border-radius: 14px;
        color: #991b1b;
        background: #fef2f2;
        font-size: 13px;
        line-height: 1.6;
    }

    .home-section {
        margin-top: 44px;
    }

    .home-section-heading {
        max-width: 720px;
        margin-bottom: 22px;
    }

    .home-section-heading span {
        color: #2563eb;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .home-section-heading h2 {
        margin: 8px 0 7px;
        color: #0f172a;
        font-size: 29px;
        letter-spacing: -0.6px;
    }

    .home-section-heading p {
        margin: 0;
        color: #64748b;
        font-size: 15px;
        line-height: 1.65;
    }

    .home-module-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .home-module-card {
        min-width: 0;
        padding: 22px;
        border: 1px solid #e2e8f0;
        border-radius: 19px;
        background: #ffffff;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
    }

    .home-module-icon {
        display: grid;
        width: 42px;
        height: 42px;
        margin-bottom: 17px;
        place-items: center;
        border-radius: 12px;
        color: #1d4ed8;
        background: #dbeafe;
        font-size: 20px;
    }

    .home-module-card:nth-child(2) .home-module-icon {
        color: #7c3aed;
        background: #ede9fe;
    }

    .home-module-card:nth-child(3) .home-module-icon {
        color: #15803d;
        background: #dcfce7;
    }

    .home-module-card:nth-child(4) .home-module-icon {
        color: #c2410c;
        background: #ffedd5;
    }

    .home-module-card:nth-child(5) .home-module-icon {
        color: #0f766e;
        background: #ccfbf1;
    }

    .home-module-card:nth-child(6) .home-module-icon {
        color: #be123c;
        background: #ffe4e6;
    }

    .home-module-card h3 {
        margin: 0 0 8px;
        color: #0f172a;
        font-size: 17px;
    }

    .home-module-card p {
        margin: 0;
        color: #64748b;
        font-size: 13px;
        line-height: 1.65;
    }

    @media (max-width: 940px) {
        .home-hero {
            grid-template-columns: 1fr;
        }

        .home-module-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .home-page {
            width: min(100% - 24px, 1180px);
            padding: 24px 0 48px;
        }

        .home-hero {
            gap: 24px;
            padding: 28px 22px;
            border-radius: 22px;
        }

        .home-hero h1 {
            font-size: 38px;
            letter-spacing: -1.4px;
        }

        .home-actions,
        .home-action {
            width: 100%;
        }

        .home-module-grid {
            grid-template-columns: 1fr;
        }
    }
