/* =========================================================
   PAGE / LANDING PAGE (Hero Section Update)
   ========================================================= */

html,
body {
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        url('/images/landingpagebackground.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Source Sans Pro", sans-serif;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* =========================================================
   MAIN CONTENT & HERO LAYOUT
   ========================================================= */

main {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    padding: 4rem 8% 1.5rem 8%; 
    box-sizing: border-box;
}

main .container {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* =========================================================
   HERO TAGLINE WITH INTENSE GLOW & LARGER SIZE
   ========================================================= */

.landing-hero-tagline {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.2rem;
}

.landing-hero-tagline span {
    font-size: 5.2rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.5px;
    line-height: 1.05;
    background: linear-gradient(180deg, #fff2cc 0%, #fce4a0 35%, #dfb55a 60%, #b8862f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 160, 255, 1))
            drop-shadow(0 0 25px rgba(0, 130, 255, 0.9))
            drop-shadow(0 0 45px rgba(0, 100, 255, 0.7))
            drop-shadow(0 0 70px rgba(0, 80, 255, 0.4));
    display: inline-block;
}

/* =========================================================
   HERO TYPOGRAPHY
   ========================================================= */

.landing-hero-heading {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    max-width: 900px;
}

.landing-hero-text {
    font-size: 1.35rem;
    line-height: 1.5;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 2rem;
    max-width: 850px;
}

/* =========================================================
   HERO BUTTONS CONTAINER & BUTTONS (SIDE-BY-SIDE RATIO)
   ========================================================= */

.landing-hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: nowrap; /* Forces buttons to stay side-by-side instead of wrapping down */
}

.landing-btn-primary {
    background-color: #e53935;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    /* Proportional width ratio for primary action button */
    width: clamp(160px, 22vw, 260px) !important;
    min-width: 160px;
    max-width: 260px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
}

.landing-btn-primary:hover {
    background-color: #d32f2f;
    text-decoration: none;
}

.landing-btn-secondary {
    background-color: transparent;
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    /* Proportional width ratio for secondary action button */
    width: clamp(140px, 18vw, 220px) !important;
    min-width: 140px;
    max-width: 220px;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 2px solid #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
}

.landing-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* =========================================================
   HERO BADGES / FEATURES LIST
   ========================================================= */

.landing-hero-badges {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.landing-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.landing-badge-item img,
.landing-badge-item svg {
    width: 18px;
    height: 18px;
}

/* =========================================================
   LANDING PAGE FOOTER
   ========================================================= */

.landing-footer {
    flex-shrink: 0;
    width: 100%;
    margin: 0;
    padding: 0.75rem 0;
    display: block;
    text-align: center !important;
    color: #ffffff !important;
    background: transparent;
}

.landing-footer .footer-links {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 3rem;
    text-align: center !important;
}

.landing-footer .footer-links a {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: none;
    text-align: center;
}

.landing-footer .footer-links a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.landing-footer .footer-copyright {
    width: 100%;
    margin-top: 0.25rem;
    color: #ffffff !important;
    text-align: center !important;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS (Keeping Buttons Side-by-Side)
   ========================================================= */

@media (max-width: 768px) {
    main {
        padding: 2rem 5%;
    }

    .landing-hero-tagline span {
        font-size: 2.8rem;
    }

    .landing-hero-heading {
        font-size: 2.1rem;
    }

    .landing-hero-text {
        font-size: 1.1rem;
    }

    /* Overrode previous column stack rule so buttons stay inline on smaller screens */
    .landing-hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .landing-hero-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* =========================================================
   PROPORTIONAL LOGIN BUTTON & HEADER
   ========================================================= */

.landing-header-bar {
    width: 100%;
    padding: 1rem 2rem 1rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
}

.landing-header-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    padding-right: 1rem;
}

.landing-login-btn {
    width: clamp(90px, 12vw, 140px) !important;
    min-width: 90px;
    max-width: 140px;
    padding-left: 0.5rem !important;  
    padding-right: 0.5rem !important; 
    flex-shrink: 0;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
}