/*==========================================================
    REVLO — PREMIUM SITE FOOTER
    --------------------------------------------------------
    Designed to match the current Revlo visual system:
    • Deep navy background
    • Revlo blue accent
    • Soft blue ambient lighting
    • Fraunces / Inter / IBM Plex Mono typography
    • Premium SaaS spacing
    • Glass / subtle-border surfaces
    • Fully responsive
==========================================================*/


/*==========================================================
    ROOT
==========================================================*/

.site-footer{

    /* -----------------------------------------
       REVLO DESIGN TOKENS
    ----------------------------------------- */

    --sf-brand:        #2563EB;
    --sf-brand-dark:   #1D4ED8;
    --sf-brand-light:  #60A5FA;
    --sf-brand-soft:   #EFF6FF;

    --sf-bg:           #07111F;
    --sf-bg-soft:      #0B1730;

    --sf-text:         #F5F9FF;
    --sf-text-soft:    rgba(232,241,255,.68);
    --sf-text-muted:   rgba(200,218,245,.46);
    --sf-text-faint:   rgba(200,218,245,.30);

    --sf-line:         rgba(180,205,240,.11);
    --sf-line-strong:  rgba(180,205,240,.17);

    --sf-font-display:
        'Fraunces',
        Georgia,
        'Times New Roman',
        serif;

    --sf-font-body:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    --sf-font-mono:
        'IBM Plex Mono',
        'SFMono-Regular',
        Consolas,
        monospace;

    --sf-ease:
        cubic-bezier(.4,0,.2,1);


    /* -----------------------------------------
       BASE
    ----------------------------------------- */

    position:relative;

    width:100%;

    color:var(--sf-text);

    background:
        radial-gradient(
            circle at 86% 0%,
            rgba(37,99,235,.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 8% 35%,
            rgba(37,99,235,.055),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #07111F 0%,
            #081321 52%,
            #07101D 100%
        );

    padding-top:clamp(72px, 8vw, 108px);

    overflow:hidden;

    isolation:isolate;
}


/*==========================================================
    UNIVERSAL BOX MODEL
==========================================================*/

.site-footer *{
    box-sizing:border-box;
}


/*==========================================================
    PREMIUM GRID TEXTURE
==========================================================*/

.site-footer::before{

    content:"";

    position:absolute;

    inset:0;

    z-index:-2;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size:48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.65) 35%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.65) 35%,
            transparent 100%
        );

    pointer-events:none;
}


/*==========================================================
    TOP BLUE AMBIENT LIGHT
==========================================================*/

.site-footer::after{

    content:"";

    position:absolute;

    top:-280px;
    right:-180px;

    width:620px;
    height:620px;

    z-index:-1;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.17) 0%,
            rgba(37,99,235,.08) 32%,
            transparent 68%
        );

    filter:blur(18px);

    pointer-events:none;
}


/*==========================================================
    EXTRA GLOW ELEMENT
==========================================================*/

.site-footer__glow{

    position:absolute;

    top:-180px;
    left:-180px;

    width:420px;
    height:420px;

    z-index:-1;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(96,165,250,.09),
            transparent 68%
        );

    filter:blur(30px);

    pointer-events:none;
}


/*==========================================================
    CONTAINER
==========================================================*/

.site-footer__container{

    position:relative;

    z-index:2;

    width:100%;

    max-width:1180px;

    margin:0 auto;

    padding:
        0 24px;
}


/*==========================================================
    ACCESSIBILITY
==========================================================*/

.site-footer .sr-only{

    position:absolute;

    width:1px;
    height:1px;

    padding:0;
    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

    border:0;
}


/*==========================================================
    TOP AREA
==========================================================*/

.site-footer__top{

    display:grid;

    grid-template-columns:
        1.55fr
        .82fr
        .82fr
        .82fr
        1.12fr;

    column-gap:clamp(28px, 3.2vw, 52px);

    padding-bottom:58px;

    border-bottom:
        1px solid var(--sf-line);
}


/*==========================================================
    BRAND COLUMN
==========================================================*/

.site-footer__brand{

    min-width:0;
}


/*==========================================================
    LOGO
==========================================================*/

.site-footer__logo{

    display:inline-flex;

    align-items:center;

    gap:12px;

    margin-bottom:20px;

    text-decoration:none;

    width:max-content;
}


/* Blue premium Revlo mark */

.site-footer__logo-mark{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    width:44px;
    height:44px;

    flex-shrink:0;

    border-radius:13px;

    background:
        linear-gradient(
            145deg,
            #60A5FA 0%,
            #2563EB 48%,
            #1D4ED8 100%
        );

    color:#FFFFFF;

    font-family:var(--sf-font-body);

    font-size:1.18rem;

    font-weight:800;

    letter-spacing:-.04em;

    transform:rotate(-5deg);

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.45),
        0 8px 18px rgba(37,99,235,.22),
        0 2px 5px rgba(0,0,0,.22);
}


/* Small highlight inside logo */

.site-footer__logo-mark::after{

    content:"";

    position:absolute;

    top:6px;
    left:8px;

    width:14px;
    height:5px;

    border-radius:100px;

    background:rgba(255,255,255,.22);

    transform:rotate(-8deg);

    pointer-events:none;
}


.site-footer__logo-text{

    font-family:var(--sf-font-display);

    font-size:1.52rem;

    line-height:1;

    font-weight:500;

    letter-spacing:-.025em;

    color:#FFFFFF;
}


/*==========================================================
    TAGLINE
==========================================================*/

.site-footer__tagline{

    max-width:315px;

    margin:0 0 24px;

    font-family:var(--sf-font-body);

    font-size:.91rem;

    line-height:1.72;

    color:var(--sf-text-muted);
}


/*==========================================================
    SOCIAL BUTTONS
==========================================================*/

.site-footer__social{

    display:flex;

    align-items:center;

    gap:9px;
}


.site-footer__social a{

    display:flex;

    align-items:center;

    justify-content:center;

    width:38px;
    height:38px;

    border-radius:10px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid rgba(180,205,240,.13);

    color:
        rgba(232,241,255,.62);

    font-size:.82rem;

    text-decoration:none;

    transition:
        transform .25s var(--sf-ease),
        color .25s var(--sf-ease),
        border-color .25s var(--sf-ease),
        background .25s var(--sf-ease),
        box-shadow .25s var(--sf-ease);
}


.site-footer__social a:hover{

    transform:translateY(-3px);

    color:#FFFFFF;

    background:
        linear-gradient(
            145deg,
            rgba(37,99,235,.32),
            rgba(37,99,235,.16)
        );

    border-color:
        rgba(96,165,250,.42);

    box-shadow:
        0 10px 24px rgba(37,99,235,.16);
}


.site-footer__social a:focus-visible{

    outline:
        2px solid var(--sf-brand-light);

    outline-offset:3px;
}


/*==========================================================
    FOOTER COLUMNS
==========================================================*/

.site-footer__col{

    min-width:0;
}


/*==========================================================
    COLUMN HEADINGS
==========================================================*/

.site-footer__col h4{

    margin:2px 0 20px;

    font-family:var(--sf-font-mono);

    font-size:.68rem;

    font-weight:600;

    line-height:1.4;

    letter-spacing:.13em;

    text-transform:uppercase;

    color:
        rgba(147,197,253,.58);
}


/*==========================================================
    LINK LIST
==========================================================*/

.site-footer__col ul{

    list-style:none;

    margin:0;

    padding:0;
}


.site-footer__col li{

    margin:0;
    padding:0;
}


.site-footer__col a{

    position:relative;

    display:inline-block;

    margin:0 0 12px;

    font-family:var(--sf-font-body);

    font-size:.89rem;

    line-height:1.45;

    color:
        rgba(232,241,255,.65);

    text-decoration:none;

    transition:
        color .2s var(--sf-ease),
        transform .2s var(--sf-ease);
}


.site-footer__col li:last-child a{

    margin-bottom:0;
}


/* subtle blue movement */

.site-footer__col a:hover{

    color:#FFFFFF;

    transform:translateX(3px);
}


.site-footer__col a:focus-visible{

    outline:
        2px solid var(--sf-brand-light);

    outline-offset:4px;

    border-radius:3px;
}


/*==========================================================
    NEWSLETTER COLUMN
==========================================================*/

.site-footer__newsletter p{

    max-width:260px;

    margin:
        0 0 18px;

    font-family:var(--sf-font-body);

    font-size:.84rem;

    line-height:1.65;

    color:
        var(--sf-text-muted);
}


/*==========================================================
    NEWSLETTER FORM
==========================================================*/

.site-footer__form{

    display:flex;

    align-items:center;

    width:100%;

    min-height:52px;

    padding:
        5px 5px 5px 15px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid rgba(180,205,240,.14);

    border-radius:12px;

    transition:
        border-color .25s var(--sf-ease),
        background .25s var(--sf-ease),
        box-shadow .25s var(--sf-ease);
}


.site-footer__form:hover{

    border-color:
        rgba(96,165,250,.25);
}


.site-footer__form:focus-within{

    background:
        rgba(255,255,255,.055);

    border-color:
        rgba(96,165,250,.58);

    box-shadow:
        0 0 0 3px rgba(37,99,235,.10);
}


/*==========================================================
    EMAIL INPUT
==========================================================*/

.site-footer__form input{

    flex:1;

    min-width:0;

    width:100%;

    padding:
        9px 8px 9px 0;

    background:transparent;

    border:none;

    outline:none;

    color:#FFFFFF;

    font-family:var(--sf-font-body);

    font-size:.84rem;
}


.site-footer__form input::placeholder{

    color:
        rgba(200,218,245,.38);

    opacity:1;
}


/*==========================================================
    NEWSLETTER BUTTON
==========================================================*/

.site-footer__form button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:40px;
    height:40px;

    flex-shrink:0;

    padding:0;

    border:none;

    border-radius:10px;

    background:
        linear-gradient(
            135deg,
            #60A5FA 0%,
            #2563EB 52%,
            #1D4ED8 100%
        );

    color:#FFFFFF;

    font-size:.78rem;

    cursor:pointer;

    box-shadow:
        0 7px 16px rgba(37,99,235,.22);

    transition:
        transform .22s var(--sf-ease),
        box-shadow .22s var(--sf-ease),
        filter .22s var(--sf-ease);
}


.site-footer__form button:hover{

    transform:
        translateX(2px);

    filter:
        brightness(1.08);

    box-shadow:
        0 10px 24px rgba(37,99,235,.35);
}


.site-footer__form button:active{

    transform:
        translateX(2px)
        scale(.97);
}


.site-footer__form button:focus-visible{

    outline:
        2px solid #93C5FD;

    outline-offset:3px;
}


/*==========================================================
    WAITLIST MESSAGE
==========================================================*/

.site-footer .waitlist-note{

    min-height:18px;

    margin:
        9px 0 0;

    font-size:.74rem;

    color:
        rgba(147,197,253,.72);
}


/*==========================================================
    BOTTOM BAR
==========================================================*/

.site-footer__bottom{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:24px;

    min-height:72px;

    padding:
        18px 0 20px;

    font-family:var(--sf-font-body);

    font-size:.76rem;

    color:
        var(--sf-text-faint);
}


.site-footer__bottom p{

    margin:0;

    line-height:1.5;
}


/*==========================================================
    LEGAL NAVIGATION
==========================================================*/

.site-footer__legal{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;
}


.site-footer__legal a{

    color:
        rgba(200,218,245,.46);

    text-decoration:none;

    transition:
        color .2s var(--sf-ease);
}


.site-footer__legal a:hover{

    color:
        #93C5FD;
}


.site-footer__legal span{

    color:
        rgba(200,218,245,.20);
}


/*==========================================================
    MADE IN INDIA
==========================================================*/

.site-footer__madein{

    text-align:right;
}


/*==========================================================
    TABLET
==========================================================*/

@media (max-width:1100px){

    .site-footer__top{

        grid-template-columns:
            1.4fr
            1fr
            1fr;

        row-gap:48px;
    }


    .site-footer__brand{

        grid-column:1 / -1;
    }


    .site-footer__newsletter{

        max-width:360px;
    }
}


/*==========================================================
    SMALL TABLET
==========================================================*/

@media (max-width:760px){

    .site-footer{

        padding-top:64px;
    }


    .site-footer__container{

        padding:
            0 22px;
    }


    .site-footer__top{

        grid-template-columns:
            1fr 1fr;

        column-gap:34px;

        row-gap:42px;

        padding-bottom:46px;
    }


    .site-footer__brand{

        grid-column:1 / -1;
    }


    .site-footer__tagline{

        max-width:440px;
    }


    .site-footer__newsletter{

        grid-column:1 / -1;

        max-width:440px;
    }


    .site-footer__bottom{

        min-height:auto;

        padding:
            20px 0 24px;

        flex-wrap:wrap;
    }
}


/*==========================================================
    MOBILE
==========================================================*/

@media (max-width:560px){

    .site-footer{

        padding-top:54px;
    }


    .site-footer__container{

        padding:
            0 18px;
    }


    .site-footer__top{

        grid-template-columns:1fr;

        row-gap:34px;

        padding-bottom:40px;
    }


    .site-footer__brand{

        grid-column:auto;
    }


    .site-footer__newsletter{

        grid-column:auto;

        max-width:none;
    }


    .site-footer__col h4{

        margin-bottom:16px;
    }


    .site-footer__col a{

        margin-bottom:10px;
    }


    .site-footer__bottom{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

        padding:
            18px 0 22px;
    }


    .site-footer__legal{

        justify-content:flex-start;

        order:2;
    }


    .site-footer__madein{

        text-align:left;

        order:3;
    }
}


/*==========================================================
    VERY SMALL MOBILE
==========================================================*/

@media (max-width:380px){

    .site-footer__logo-mark{

        width:40px;
        height:40px;

        border-radius:12px;
    }


    .site-footer__logo-text{

        font-size:1.4rem;
    }


    .site-footer__social a{

        width:36px;
        height:36px;
    }


    .site-footer__form{

        min-height:50px;
    }


    .site-footer__form button{

        width:38px;
        height:38px;
    }
}


/*==========================================================
    REDUCED MOTION
==========================================================*/

@media (prefers-reduced-motion:reduce){

    .site-footer__social a,
    .site-footer__col a,
    .site-footer__form,
    .site-footer__form button,
    .site-footer__legal a{

        transition:none !important;
    }
}