body.anonymous-home {
    background-color: #ffffff;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    position: relative;
    /* background-image is set inline in base.html */
}

@media (max-width: 767px) {
    body.anonymous-home {
        background-position: center 120px;
    }
}

.anonymous-home .main-content {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 2rem 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .anonymous-home .main-content {
        padding: 2rem 0 0 0;
    }
}

.anonymous-home .main-content .container h1,
.anonymous-home .main-content .container p {
    color: white;
}

.anonymous-home .container {
    background-color: transparent !important;
    background: transparent !important;
    padding: 1rem;
    border-radius: 0;
    max-width: 100% !important;
    box-shadow: none !important;
}

.anonymous-home .main-content .container {
    background-color: transparent !important;
    background: transparent !important;
    padding: 1rem;
    border-radius: 0;
}

@media (min-width: 768px) {
    .anonymous-home .main-content .container {
        padding: 2rem;
        max-width: 1140px;
    }
}

.anonymous-home .navbar {
    background-color: transparent !important;
    border-bottom: none;
    box-shadow: none;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .anonymous-home .navbar {
        padding: 1rem;
    }
}

.anonymous-home .navbar .nav-link,
.anonymous-home .navbar .navbar-brand,
.anonymous-home .navbar .navbar-brand img {
    color: #0f172a;
}

.anonymous-home .site-footer {
    background-color: #fff !important;
    border-top: none;
    color: #111827;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    position: relative;
    z-index: 1;
}

.anonymous-home .btn-primary {
    background-color: #fff !important;
    color: #0f172a !important;
    border: 2px solid #fff !important;
    font-weight: 600;
}

.anonymous-home .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
}

.anonymous-home .btn-outline-primary {
    background-color: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    font-weight: 600;
}

.anonymous-home .btn-outline-primary:hover {
    background-color: #fff !important;
    color: #0f172a !important;
}

.navbar-logo {
    height: clamp(34px, 5vw, 52px);
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Hero Section Styles */
.anonymous-home .home-hero {
    margin-top: 4rem;
    padding: 1rem;
    background: transparent !important;
    background-color: transparent !important;
    /* Don't override body background-image */
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.cta-button {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.login-hint {
    font-size: 0.875rem;
    margin-bottom: 0;
    text-align: center;
    opacity: 0.95;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .home-hero {
        margin-top: 8rem;
        padding: 2rem;
    }
    
    .button-container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        max-width: 650px;
        gap: 2rem;
    }
    
    .cta-button {
        max-width: 240px;
    }
    
    .login-section {
        align-items: center;
    }
    
    .hero-cta {
        margin-top: 2rem !important;
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .home-hero {
        margin-top: 10rem;
    }
}
