/* ============================================================ */
/* GLOBAL STYLES - Shared across all pages                       */
/* ============================================================ */

/* Base */
body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

h1,
h2,
h3 {
    font-family: 'Libre Baskerville', serif;
}

/* Custom Hero Backgrounds */
.hero-bg {
    background: linear-gradient(135deg, #0B132B 40%, #D62828 100%);
    position: relative;
}

/* ============================================================ */
/* HERO CLIP-PATH - RESPONSIVE */
/* ============================================================ */

/* MOBILE (0-899px) - Bottom diagonal */
.hero-clip-path {
    clip-path: polygon(0 58%, 100% 45%, 100% 100%, 0% 100%);
    background: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.95;
}

/* TABLET & SMALL LAPTOP (900-1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .hero-clip-path {
        clip-path: polygon(0 58%, 100% 45%, 100% 100%, 0% 100%);
        width: 100%;
        left: 0;
        right: auto;
        top: auto;
        bottom: 0;
        height: 100%;
    }
}

/* DESKTOP (1200px+) - Right diagonal */
@media (min-width: 1200px) {
    .hero-clip-path {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
        right: 0;
        left: auto;
        top: 0;
        width: 50%;
        height: 100%;
    }
}

/* ============================================================ */
/* HERO CONTAINER - RESPONSIVE */
/* ============================================================ */

/* MOBILE (0-899px) - Single column */
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 1.5rem;
}

/* TABLET (900-1199px) - Row layout */
@media (min-width: 900px) and (max-width: 1199px) {
    .hero-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem 3rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .hero-left {
        flex: 0 0 100%;
        text-align: center;
    }

    .hero-center-bag {
        flex: 0 0 55%;
        min-height: 350px;
    }

    .hero-right {
        flex: 0 0 35%;
        text-align: left;
        padding-bottom: 0;
    }

    .hero-center-bag img {
        max-width: 450px !important;
        transform: scale(1.2) !important;
    }

    .hero-left h1 {
        font-size: 3.5rem;
    }

    .hero-right h2 {
        font-size: 4.8rem;
    }
}

/* DESKTOP (1200px+) - 3-column layout */
@media (min-width: 1200px) {
    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1.5fr 0.7fr;
        gap: 2rem;
        padding: 2rem 4rem;
    }

    .hero-left h1 {
        font-size: 4.5rem;
    }

    .hero-center-bag {
        min-height: 450px;
        margin-top: 0;
    }

    .hero-center-bag img {
        max-width: 550px !important;
        transform: scale(1.5) translateX(-10px) !important;
    }

    .hero-right {
        text-align: left;
        padding-bottom: 0;
    }

    .hero-right h2 {
        font-size: 4.6rem;
    }
}

/* EXTRA LARGE DESKTOP (1400px+) */
@media (min-width: 1400px) {
    .hero-center-bag img {
        max-width: 650px !important;
        transform: scale(1.6) translateX(-12px) !important;
    }

    .hero-right h2 {
        font-size: 4.2rem;
    }
}

/* ============================================================ */
/* COMMON STYLES - RESPONSIVE */
/* ============================================================ */

.hero-left .tagline {
    letter-spacing: 0.3em;
    font-size: 0.6rem;
}

@media (min-width: 640px) {
    .hero-left .tagline {
        font-size: 0.7rem;
    }
}

.hero-left h1 {
    line-height: 1.1;
    font-size: 2.2rem;
}

@media (min-width: 480px) {
    .hero-left h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 640px) {
    .hero-left h1 {
        font-size: 2.8rem;
    }
}

@media (min-width: 768px) {
    .hero-left h1 {
        font-size: 3.2rem;
    }
}

.hero-center-bag {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    overflow: visible;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-center-bag {
        min-height: 260px;
    }
}

@media (min-width: 768px) {
    .hero-center-bag {
        min-height: 280px;
    }
}

.hero-center-bag img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

@media (min-width: 480px) {
    .hero-center-bag img {
        max-width: 320px;
    }
}

@media (min-width: 640px) {
    .hero-center-bag img {
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    .hero-center-bag img {
        max-width: 400px;
        transform: scale(1.05);
    }
}

.hero-right {
    text-align: center;
    display: block;
    position: relative;
    z-index: 10;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-right {
        padding-bottom: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero-right {
        padding-bottom: 0;
    }
}

.hero-right h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    color: #0B132B;
}

@media (min-width: 480px) {
    .hero-right h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 640px) {
    .hero-right h2 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-right h2 {
        font-size: 2.2rem;
    }
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    z-index: 10;
    justify-content: center;
}

@media (min-width: 1200px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-actions button {
    padding: 0.5rem 1.2rem;
    font-size: 0.65rem;
}

@media (min-width: 480px) {
    .hero-actions button {
        padding: 0.6rem 1.4rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 640px) {
    .hero-actions button {
        padding: 0.7rem 1.6rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) {
    .hero-actions button {
        padding: 0.75rem 1.8rem;
        font-size: 0.8rem;
    }
}

/* Hero Section padding */
.hero-section {
    padding-top: 5rem;
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 5.5rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 6rem;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        padding-top: 7rem;
    }
}

/* Text adjustments */
.hero-left p.text-gray-300 {
    font-size: 0.75rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 480px) {
    .hero-left p.text-gray-300 {
        font-size: 0.8rem;
    }
}

@media (min-width: 640px) {
    .hero-left p.text-gray-300 {
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .hero-left p.text-gray-300 {
        font-size: 0.9rem;
        max-width: 28rem;
    }
}

@media (min-width: 1200px) {
    .hero-left p.text-gray-300 {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.95rem;
    }
}

/* ============================================================ */
/* PREMIUM NAVBAR CTA - ATTENTION GRABBING                      */
/* ============================================================ */

.login-cta {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 20px !important;
    min-height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;

    background:
        linear-gradient(
            110deg,
            #D62828 0%,
            #ef3b3b 45%,
            #b51f1f 100%
        ) !important;

    color: #ffffff !important;

    font-weight: 600;
    letter-spacing: 0.04em;

    box-shadow:
        0 6px 20px rgba(214, 40, 40, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    transform: translateZ(0);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    animation: navbarCtaFloat 3s ease-in-out infinite;
}


/* ============================================================ */
/* MOVING LIGHT SHINE                                            */
/* ============================================================ */

.login-cta::before {
    content: "";
    position: absolute;

    top: -80%;
    left: -45%;

    width: 35%;
    height: 260%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.55),
        transparent
    );

    transform: rotate(25deg) translateX(-180%);

    z-index: -1;

    animation: navbarCtaShine 3.8s ease-in-out infinite;

    pointer-events: none;
}


/* ============================================================ */
/* OUTER GLOW                                                     */
/* ============================================================ */

.login-cta::after {
    content: "";

    position: absolute;
    inset: -4px;

    border-radius: inherit;

    border: 1px solid rgba(214, 40, 40, 0.45);

    opacity: 0;

    z-index: -2;

    animation: navbarCtaPulse 2.8s ease-out infinite;

    pointer-events: none;
}


/* ============================================================ */
/* HOVER                                                         */
/* ============================================================ */

.login-cta:hover {
    transform: translateY(-3px) scale(1.06) !important;

    border-color: rgba(255,255,255,0.7) !important;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        0 10px 30px rgba(214,40,40,0.45),
        0 0 45px rgba(214,40,40,0.28),
        inset 0 1px 0 rgba(255,255,255,0.35);

    animation-play-state: paused;
}


/* ============================================================ */
/* CLICK                                                          */
/* ============================================================ */

.login-cta:active {
    transform: translateY(0) scale(0.96) !important;

    box-shadow:
        0 4px 12px rgba(214,40,40,0.25),
        inset 0 2px 5px rgba(0,0,0,0.18);
}


/* ============================================================ */
/* FLOATING ATTENTION ANIMATION                                  */
/* ============================================================ */

@keyframes navbarCtaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}


/* ============================================================ */
/* LIGHT SWEEP                                                   */
/* ============================================================ */

@keyframes navbarCtaShine {

    0% {
        transform: rotate(25deg) translateX(-180%);
    }

    45%,
    100% {
        transform: rotate(25deg) translateX(500%);
    }
}


/* ============================================================ */
/* EXPANDING RED RING                                            */
/* ============================================================ */

@keyframes navbarCtaPulse {

    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    20% {
        opacity: 0.65;
    }

    70% {
        opacity: 0;
        transform: scale(1.18);
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}


/* ============================================================ */
/* MOBILE                                                        */
/* ============================================================ */

@media (max-width: 640px) {

    .login-cta {
        padding: 9px 16px !important;
        min-height: 39px;

        font-size: 0.72rem;
    }
}


/* ============================================================ */
/* REDUCED MOTION                                                */
/* ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .login-cta,
    .login-cta::before,
    .login-cta::after {
        animation: none !important;
    }
}