/* ======================================================
   FUTURA V3
   Mobile First
====================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --bg:#06111F;

    --card:#13233A;

    --card2:#182C46;

    --gold:#D6AF56;

    --goldLight:#F2D47C;

    --blue:#2F7BFF;

    --blueGlow:#8FC7FF;

    --text:#FFFFFF;

    --muted:#B7C8DB;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Inter",sans-serif;

    background:
        linear-gradient(
            rgba(6,17,31,.55),
            rgba(9,23,39,.75)
        ),
        url("assets/circuit-overlay.png");

    background-position:center top;

    background-size:cover;

    background-repeat:no-repeat;

    background-attachment:fixed;

    color:white;

    min-height:100vh;

    overflow-x:hidden;

    padding-bottom:90px;

}

.background-glow{

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle,#2F7BFF18 0%,transparent 60%);

    filter:blur(120px);

    pointer-events:none;

    z-index:-1;

}

.mobile-app{

    width:100%;

    max-width:480px;

    margin:auto;

    padding:24px 18px 50px;

}

/* ======================================================
   HERO
====================================================== */

.hero{

    position:relative;

    text-align:center;

    margin-bottom:28px;

}
/* ==========================================
   HERO CIRCUIT BACKGROUND
========================================== */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("assets/circuit-overlay.png")
        center top
        no-repeat;

    background-size:cover;

    opacity:.40;

    pointer-events:none;

    z-index:0;

}
.hero > *{

    position:relative;

    z-index:1;

}
.hero-logo{

    width:135px;

    display:block;

    margin:auto;

    animation:pulse 5s ease-in-out infinite;

    filter:

    drop-shadow(0 0 18px rgba(47,123,255,.45))

    drop-shadow(0 0 35px rgba(214,175,86,.35));

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.05);

}

100%{

transform:scale(1);

}

}

.hero h1{

    margin-top:18px;

    font-size:34px;

    font-weight:800;

    color:white;

}

.hero h1 span{

    color:var(--goldLight);

}

.subtitle{

    margin-top:14px;

    color:var(--muted);

    font-size:18px;

    line-height:1.6;

    padding:0 20px;

}

/* ======================================================
   LANGUAGE
====================================================== */

.language-switch{

    width:170px;

    height:56px;

    margin:18px auto 8px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:6px;

    border-radius:999px;

    background:rgba(22,38,61,.92);

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

    box-shadow:
        0 15px 35px rgba(0,0,0,.35);

}

.language{

    flex:1;

    height:44px;

    border:none;

    border-radius:999px;

    background:transparent;

    color:white;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.30s;

}

.language.active{

    background:linear-gradient(
        180deg,
        #F6D97B,
        #D6AF56
    );

    color:#06111F;

    box-shadow:
        0 8px 18px rgba(214,175,86,.35);

}

.language-divider{

    width:1px;

    height:24px;

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

}
/* ======================================================
   PREMIUM CARDS
====================================================== */

.cards{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;

    margin:0 0 22px;
}

.card{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    min-height:95px;

    padding:14px;

    border:none;

    border-radius:24px;

    background:linear-gradient(
        180deg,
        rgba(24,40,67,.96),
        rgba(14,27,46,.98)
    );

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

    box-shadow:
        0 14px 28px rgba(0,0,0,.30);

    transition:.25s;

    overflow:hidden;

    text-align:left;

}

.card::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    right:-70px;

    top:-70px;

    border-radius:50%;

    background:rgba(47,123,255,.10);

    filter:blur(55px);

    transition:.35s;

}

.card:hover{

    transform:translateY(-6px);

    border-color:rgba(214,175,86,.45);

    box-shadow:

        0 26px 55px rgba(0,0,0,.45),

        0 0 28px rgba(47,123,255,.14);

}

.card:hover::before{

    transform:scale(1.25);

}

.card:active{

    transform:scale(.98);

}

/* ---------- ICON ---------- */

.card-icon{

    width:54px;
    height:54px;

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:22px;

    background:rgba(47,123,255,.10);

    border:1px solid rgba(214,175,86,.22);

    box-shadow:

        inset 0 0 12px rgba(255,255,255,.03),

        0 0 18px rgba(47,123,255,.08);

}

.card-icon .material-symbols-outlined{

    color:var(--goldLight);

    font-size:36px;

    font-variation-settings:

    'FILL' 1;

}

/* ---------- TEXT ---------- */

.card-content{

    flex:1;

}

.card-content h2{

    font-size:17px;

    margin-bottom:8px;

    color:white;

    font-weight:700;

}

.card-content p{

    color:var(--muted);

    font-size:13px;

    line-height:1.5;

}

/* ---------- ARROW ---------- */

.card-arrow{

    width:44px;

    height:44px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

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

    border:1px solid rgba(214,175,86,.25);

    color:var(--goldLight);

    transition:.30s;

    flex-shrink:0;

}

.card:hover .card-arrow{

    background:linear-gradient(
        180deg,
        var(--goldLight),
        var(--gold)
    );

    color:#07111F;

    transform:translateX(4px);

}
/* ======================================================
   CHAT WINDOW
====================================================== */

.chat-window{

    display:flex;

    flex-direction:column;

    overflow:hidden;

    border-radius:30px;

    background:linear-gradient(
        180deg,
        rgba(18,31,51,.98),
        rgba(10,19,34,.99)
    );

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

    backdrop-filter:blur(24px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

    height:calc(100vh - 260px);

}

/* ======================================================
   CHAT HEADER
====================================================== */

.chat-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:18px 20px;

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

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

}

.chat-profile{

    display:flex;

    align-items:center;

    gap:14px;

}

.chat-logo{

    width:52px;

    height:52px;

    padding:8px;

    border-radius:50%;

    background:rgba(47,123,255,.10);

    border:1px solid rgba(47,123,255,.25);

    box-shadow:
        0 0 18px rgba(47,123,255,.15);

}

.chat-profile h3{

    color:white;

    font-size:20px;

    font-weight:700;

    margin-bottom:4px;

}

.online{

    display:flex;

    align-items:center;

    gap:8px;

    color:#53E381;

    font-size:14px;

    font-weight:600;

}

.online-dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#3BE06D;

    box-shadow:
        0 0 12px #3BE06D;

}

/* ======================================================
   CHAT MESSAGES
====================================================== */

.messages{

    flex:1;

    background:#091321;

    overflow-y:auto;

    padding:22px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.messages::-webkit-scrollbar{

    width:6px;

}

.messages::-webkit-scrollbar-thumb{

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

    border-radius:999px;

}

.message{

    display:flex;

    animation:fadeUp .35s ease;

}

.message.futura{

    justify-content:flex-start;

}

.message.user{

    justify-content:flex-end;

}

.bubble{

    max-width:82%;

    padding:18px 20px;

    border-radius:22px;

    line-height:1.7;

    font-size:16px;

    word-break:break-word;

}

.message.futura .bubble{

    background:#172A43;

    border-left:4px solid var(--gold);

    color:white;

}

.message.user .bubble{

    background:linear-gradient(
        180deg,
        var(--goldLight),
        var(--gold)
    );

    color:#07111F;

    font-weight:500;

}

/* ======================================================
   COMPOSER
====================================================== */

.composer{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px;

    background:#101C2E;

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

    flex-shrink:0;

}

.composer input{

    flex:1;

    height:56px;

    border:none;

    outline:none;

    border-radius:18px;

    padding:0 18px;

    background:#172A43;

    color:white;

    font-size:16px;

}

.composer input::placeholder{

    color:#9DB1C7;

}

#sendButton{

    width:56px;

    height:56px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(
        180deg,
        var(--goldLight),
        var(--gold)
    );

    color:#07111F;

    box-shadow:
        0 10px 25px rgba(214,175,86,.30);

    transition:.30s;

}

#sendButton:hover{

    transform:translateY(-2px) scale(1.05);

}

#sendButton .material-symbols-outlined{

    font-size:28px;

}

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

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* ======================================================
   CONTACT BUTTONS
====================================================== */

.contact-buttons{

    margin:0;
    padding:0;
}



/* ======================================================
   MOBILE POLISH
====================================================== */

button{

    -webkit-tap-highlight-color:transparent;

}

img{

    user-select:none;

    -webkit-user-drag:none;

}

input{

    appearance:none;

    -webkit-appearance:none;

}

/* iPhone Safe Area */

.mobile-app{

    padding-bottom:calc(40px + env(safe-area-inset-bottom));

}

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

@media(max-width:390px){

.hero-logo{

width:145px;

}

.hero h1{

font-size:38px;

}

.subtitle{

font-size:16px;

}

.card{

padding:18px;

}

.card h2{

font-size:20px;

}

.chat-logo{

width:46px;

height:46px;

}

.chat-profile h3{

font-size:18px;

}

.messages{

min-height:360px;

max-height:360px;

}

.bubble{

font-size:15px;

max-width:90%;

}

.composer{

padding:14px;

}

.composer input{

height:52px;

font-size:15px;

}

#sendButton{

width:52px;

height:52px;

}

}
/* ===========================
   Bottom Navigation
=========================== */

.bottom-nav{

    position:fixed;

    left:0;

    right:0;

    bottom:0;

    height:74px;

    display:flex;

    align-items:center;

    justify-content:space-around;

    background:#172744;

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

    backdrop-filter:blur(18px);

    z-index:999;

    overflow:hidden;
}

.bottom-button{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:4px;

    color:white;

    text-decoration:none;

    transition:.25s;

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

}

.bottom-button:last-child{

    border-right:none;

}

.bottom-button:hover{

    background:#20365e;

}

.bottom-button .material-symbols-outlined{

    font-size:28px;

    color:#f5cf63;

}

.bottom-button span:last-child{

    font-size:13px;

    font-weight:600;

}