:root {
    --login-bg: #050505;
    --login-panel: rgba(20, 20, 20, 0.72);
    --login-panel-border: rgba(255, 255, 255, 0.08);
    --login-text: #ffffff;
    --login-muted: #a1a1aa;
    --login-accent: #f97316;
    --login-accent-soft: rgba(249, 115, 22, 0.18);
    --login-success: #22c55e;
    --login-error: #ef4444;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

html{
    width:100%;
    overflow-x:hidden;
    scroll-behavior:smooth;
}

body{
    width:100%;
    overflow-x:hidden;
    font-family:'Inter',sans-serif;
    background:#050505;
    color:var(--login-text);
    position:relative;
}

/* =========================================================
GLOBAL FIXES
========================================================= */

img,
svg,
iframe{
    max-width:100%;
    display:block;
}

.login-page,
.login-hero,
.login-panel,
.login-copy{
    overflow:visible;
}

/* =========================================================
PAGE BACKGROUND
========================================================= */

.login-page{
    position:relative;

    width:100%;

    min-height: auto;
    padding: 28px 0 150px;

    overflow:visible;

    display:flex;
    flex-direction:column;

   

    background:
        radial-gradient(
            circle at top left,
            rgba(249,115,22,.14),
            transparent 25%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255,255,255,.05),
            transparent 20%
        ),
        #050505;
}

/* =========================================================
FLOATING GLOWS
========================================================= */

.login-page::before,
.login-page::after{
    content:'';

    position:absolute;

    border-radius:50%;

    pointer-events:none;

    z-index:0;

    filter:blur(65px);
}

.login-page::before{
    width:240px;
    height:240px;

    background:rgba(249,115,22,.12);

    top:-80px;
    left:-80px;
}

.login-page::after{
    width:220px;
    height:220px;

    background:rgba(255,255,255,.05);

    right:-80px;
    bottom:-80px;
}

/* =========================================================
MAIN LAYOUT
========================================================= */

.login-hero{
    position:relative;
    z-index:2;

    width:min(1200px, calc(100% - 40px));

    margin:0 auto;

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(380px,500px);
    grid-template-areas:
        "copy panel"
        "features panel";

    align-items:center;

    gap:42px;

    padding-top:72px;
    padding-bottom:0;

    flex:0 0 auto;
}

/* IMPORTANT FIX */

.login-copy,
.login-panel{
    min-width:0;
}

/* =========================================================
LEFT CONTENT
========================================================= */

.login-copy{
    max-width:620px;
    grid-area:copy;
    align-self:end;
}

.login-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(249,115,22,.12);

    border:1px solid rgba(249,115,22,.25);

    color:var(--login-accent);

    font-size:.85rem;
    font-weight:700;

    margin-bottom:24px;
}

.login-copy h1{
    margin:0 0 22px;

    color:#fff;

    font-size:clamp(3rem,4.5vw,4.8rem);

    line-height:1.08;

    letter-spacing:0;

    font-weight:800;
}

.login-copy p{
    margin:0;

    max-width:540px;

    color:var(--login-muted);

    font-size:1.05rem;

    line-height:1.9;
}

/* =========================================================
FEATURES
========================================================= */

.login-features{
    grid-area:features;
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    margin-top:0;
}

.feature-box{
    position:relative;

    padding:18px;

    border-radius:22px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);

    backdrop-filter:blur(8px);

    overflow:hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.feature-box:hover{
    transform:translateY(-4px);

    border-color:rgba(249,115,22,.18);

    background:rgba(255,255,255,.045);
}

.feature-box i{
    color:var(--login-accent);

    font-size:1.2rem;

    margin-bottom:14px;
}

.feature-box h4{
    margin:0 0 8px;

    color:#fff;

    font-size:1rem;
}

.feature-box p{
    margin:0;

    color:var(--login-muted);

    font-size:.92rem;

    line-height:1.6;
}

/* =========================================================
LOGIN PANEL
========================================================= */

.login-panel{
    position:relative;
    grid-area:panel;
    align-self:center;

    background:var(--login-panel);

    backdrop-filter:blur(14px);

    border:1px solid var(--login-panel-border);

    border-radius:32px;

    padding:40px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.02),
        inset 0 1px 0 rgba(255,255,255,.04),
        0 0 60px rgba(249,115,22,.08);

    animation:panelFade .7s ease;
}

/* PANEL GLOW */

.login-panel::after{
    content:'';

    position:absolute;

    width:190px;
    height:190px;

    background:rgba(249,115,22,.10);

    border-radius:50%;

    filter:blur(55px);

    top:-70px;
    right:-70px;

    z-index:-1;

    pointer-events:none;
}

/* PANEL BORDER */

.login-panel::before{
    content:'';

    position:absolute;

    inset:0;

    border-radius:32px;

    border:1px solid rgba(249,115,22,.22);

    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);

    pointer-events:none;
}

/* =========================================================
PANEL CONTENT
========================================================= */

.panel-heading{
    margin-bottom:28px;
}

.panel-heading i{
    width:64px;
    height:64px;

    display:grid;
    place-items:center;

    border-radius:20px;

    background:rgba(249,115,22,.12);

    color:var(--login-accent);

    font-size:1.4rem;

    margin-bottom:18px;
}

.panel-heading h2{
    margin:0;

    color:#fff;

    font-size:2rem;

    letter-spacing:0;
}

.panel-heading p{
    margin-top:10px;

    color:var(--login-muted);

    line-height:1.7;
}

.panel-divider{
    height:1px;

    margin:24px 0;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255,255,255,.08),
            transparent
        );
}

/* =========================================================
GOOGLE BUTTON
========================================================= */

.google-button-wrap{
    width:100%;

    padding:10px;

    border-radius:18px;

    overflow:hidden;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(8px);

    transition:
        border-color .3s ease,
        background .3s ease,
        transform .3s ease;
}

.google-button-wrap:hover{
    transform:translateY(-2px);

    border-color:rgba(249,115,22,.35);

    background:rgba(249,115,22,.06);
}

/* =========================================================
TEXT
========================================================= */

.login-trust{
    text-align:center;

    color:#777;

    font-size:.88rem;

    margin-top:16px;
}

.status-message{
    min-height:0;

    margin-top:20px;

    font-size:.95rem;

    color:var(--login-muted);
}

.status-message[hidden]{
    display:none;
}

.status-message.success{
    color:var(--login-success);
}

.status-message.error{
    color:var(--login-error);
}

/* =========================================================
FOOTER FIX
========================================================= */

footer{
    position:relative;

    width:100%;

    margin-top:0;

    z-index:5;

    clear:both;
}

/* =========================================================
ANIMATION
========================================================= */

@keyframes panelFade{
    from{
        opacity:0;
        transform:translateY(18px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.slider-dots{
    grid-area:dots;
    display:none;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.slider-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.22);
    transition:transform .2s ease, background .2s ease;
    cursor:pointer;
    padding:0;
}

.slider-dot.active,
.slider-dot:hover{
    background:var(--login-accent);
    transform:scale(1.1);
}

@media (max-width:1100px){
    .login-page{
    
    min-height: auto;
    padding: 28px 0 90px;

    overflow:visible;

    
    }

    .login-hero{
        display:flex;
        flex-direction:column;
        align-items:center;

        width:min(92%,760px);

        gap:24px;

        padding-top:70px;
        padding-bottom:0;
    }

    .login-copy{
        max-width:100%;

        display:flex;
        flex-direction:column;
        align-items:center;
        order:1;

        text-align:center;
    }

    .login-kicker{
        margin-bottom:0;
    }

    .login-copy h1{
        width:100%;
        max-width:760px;
        text-align:center;
        margin-bottom:0;
        font-size:clamp(3rem,7vw,4.6rem);

        line-height:1.08;

        letter-spacing:0;
    }

    .login-copy > p{
        width:100%;
        max-width:640px;
        text-align:center;
    }

    .panel-divider{
        width:min(260px,100%);
        margin:18px 0;
    }

    /* TABLET SLIDER */

    .login-features{
        order:6;
        display:flex;

        overflow-x:auto;
        overflow-y:hidden;

        gap:16px;

        width:100%;

        margin-top:8px;

        padding-bottom:18px;

        scroll-snap-type:x mandatory;

        scroll-behavior:smooth;

        -webkit-overflow-scrolling:touch;

        scrollbar-width:none;
    }

    .login-features::-webkit-scrollbar{
        display:none;
    }

    .feature-box{
        min-width:280px;
        max-width:320px;

        flex-shrink:0;

        scroll-snap-align:center;
    }

    .slider-dots{
        order:7;
        display:flex;
    }

    .login-panel{
        order:5;
        width:100%;

        max-width:540px;

        margin:18px auto 12px;
    }
}

@media (max-width:768px){

    body{
        overflow-x:hidden;
    }

      .login-page{
    
    min-height: auto;
    padding: 28px 0 86px;

    overflow:visible;

   
    }

    .login-hero{
        width:100%;

        padding-inline:14px;

        padding-top:36px;
        padding-bottom:0;

        gap:22px;
    }

    .login-copy{
        max-width:100%;

        display:flex;
        flex-direction:column;
        align-items:center;
        order:1;

        text-align:center;
    }

    .login-copy h1{
        font-size:clamp(2.2rem,11vw,4rem);

        line-height:1.08;

        letter-spacing:0;

        margin-bottom:0;
    }

    .login-copy > p{
        font-size:.96rem;

        line-height:1.75;

        max-width:100%;
    }

    /* MOBILE SLIDER */

    .login-features{
        display:flex;

        overflow-x:auto;
        overflow-y:hidden;

        width:100%;

        gap:14px;

        margin-top:8px;

        padding-bottom:22px;

        scroll-snap-type:x mandatory;

        scroll-behavior:smooth;

        -webkit-overflow-scrolling:touch;

        scrollbar-width:none;
    }

    .login-features::-webkit-scrollbar{
        display:none;
    }

    .feature-box{
        min-width:76%;
        max-width:280px;

        flex-shrink:0;

        scroll-snap-align:center;

        padding:18px;

        border-radius:20px;
    }

    .slider-dots{
        order:7;
        display:flex;
        margin-top:14px;
    }

    .login-panel{
        order:5;
        width:100%;

        max-width:100%;

        padding:24px;

        border-radius:26px;
    }

    .panel-heading{
        margin-bottom:18px;
    }

    .panel-heading i{
        width:56px;
        height:56px;

        border-radius:16px;

        font-size:1.2rem;

        margin-bottom:14px;
    }

    .panel-heading h2{
        font-size:1.65rem;
    }

    .panel-heading p{
        font-size:.92rem;

        line-height:1.6;
    }

    .google-button-wrap{
        padding:8px;

        border-radius:16px;
    }

    .login-trust{
        font-size:.82rem;

        margin-top:14px;
    }

    footer{
        margin-top:0;
    }
}


/* =========================================================

SMALL PHONES
========================================================= */

@media (max-width:480px){
  .login-page{
    
    min-height: auto;
    padding: 28px 0 76px;

    overflow:visible;


    }
    .login-hero{
        padding-top:26px;
        padding-bottom:0;

        gap:20px;
    }

    .login-copy h1{
        font-size:2.1rem;

        line-height:1.08;

        letter-spacing:0;
    }

    .login-copy > p{
        font-size:.95rem;

        line-height:1.7;
    }

    .login-panel{
        padding:20px;

        border-radius:22px;
    }

    .panel-heading h2{
        font-size:1.5rem;
    }

    .feature-box{
        min-width:88%;

        padding:16px;

        border-radius:18px;
    }

    .feature-box p{
        font-size:.88rem;
    }

    .login-page::before{
        width:150px;
        height:150px;
    }

    .login-page::after{
        width:140px;
        height:140px;
    }
}

/* =========================================================
TOUCH DEVICE FIX
========================================================= */

@media (hover:none){

    .feature-box:hover,
    .google-button-wrap:hover{
        transform:none;
    }
}
