/*
    filename        : /mnt/www/live/bsodcloud.com/assets/css/home.css
    Last Updated    : 2026-05-20 09:53
    Version         : 1.00
    purpose         : Home page styles for the BSODCloud landing page, public account actions, and signed-in quick-link bubbles.
*/

.home-page .app-content {
    padding-bottom: 2rem;
}

.home-hero {
    display: grid;
    gap: 1rem;
    margin: 0 auto 1.25rem auto;
    max-width: 1100px;
}

.home-hero-panel {
    border: 1px solid var(--border, rgba(148, 163, 184, 0.35));
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 34rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
    color: #f8fafc;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.theme-light .home-hero-panel {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34rem),
        linear-gradient(135deg, #ffffff, #eff6ff);
    color: #0f172a;
}

.home-kicker,
.request-access-kicker {
    color: var(--text-soft, #64748b);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 0.65rem 0;
    text-transform: uppercase;
}

.home-hero-panel .home-kicker {
    color: rgba(226, 232, 240, 0.78);
}

.theme-light .home-hero-panel .home-kicker {
    color: #2563eb;
}

.home-hero h1 {
    font-size: clamp(2rem, 7vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 0;
    max-width: 780px;
}

.home-lede {
    color: rgba(226, 232, 240, 0.84);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    line-height: 1.55;
    margin: 1rem 0 0 0;
    max-width: 720px;
}

.theme-light .home-lede {
    color: #475569;
}

.home-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.home-badge {
    align-items: center;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.42);
    border-radius: 999px;
    color: inherit;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: center;
    padding: 0.38rem 0.78rem;
}

.home-section {
    margin: 0 auto;
    max-width: 1100px;
}

.home-section-header {
    margin: 0 0 0.85rem 0;
}

.home-section-header h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -0.035em;
    margin: 0;
}

.home-section-header p {
    color: var(--text-soft, #64748b);
    margin: 0.35rem 0 0 0;
}

.home-action-grid,
.home-public-actions {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-public-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.home-action-bubble {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border, rgba(148, 163, 184, 0.35));
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    color: var(--text, #0f172a);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 128px;
    padding: 1.15rem;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-action-bubble:hover,
.home-action-bubble:focus-visible {
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.16);
    outline: none;
    transform: translateY(-2px);
}

.home-action-bubble-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #1d4ed8;
    color: #ffffff;
}

.home-action-bubble-secondary {
    background: rgba(148, 163, 184, 0.10);
}

.home-action-title {
    font-size: 1.1rem;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.home-action-desc {
    color: var(--text-soft, #64748b);
    font-size: 0.9rem;
    line-height: 1.35;
}

.home-action-bubble-primary .home-action-desc {
    color: rgba(255, 255, 255, 0.82);
}

.home-footer {
    color: var(--text-soft, #64748b);
    font-size: 0.85rem;
    margin: 1.5rem auto 0 auto;
    max-width: 1100px;
    text-align: center;
}

@media (max-width: 1050px) {
    .home-action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-action-grid,
    .home-public-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-action-bubble {
        border-radius: 20px;
        min-height: 116px;
        padding: 1rem;
    }
}

@media (max-width: 520px) {
    .home-hero-panel {
        border-radius: 22px;
        padding: 1.35rem;
    }

    .home-action-grid,
    .home-public-actions {
        grid-template-columns: 1fr;
    }
}
