/* static/css/landing-page.css */
.hero-block {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-block h1 {
    letter-spacing: -0.5px;
}

.hero-block .btn-primary {
    background: var(--bs-primary);
    border: none;
}

.hero-block::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--theme-overlay-bg);
    backdrop-filter: blur(4px);
}

.hero-block::before,
.overlay {
    backdrop-filter: blur(4px);
}

.hero-overlay-gradient {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(2px);
}

/* Ensure text has strong contrast for WCAG AAA compliance */
.hero-block h1,
.hero-block .display-1 {
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 16px rgba(0, 0, 0, 0.7),
        0 1px 3px rgba(0, 0, 0, 1);
}

.topic-header-hero {
    background: linear-gradient(to right, var(--bs-primary-bg-subtle), var(--bs-info-bg-subtle));
}