/* assets/css/site.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Segoe UI", sans-serif;
    background:#07111d;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.6;
}

/* CONTAINER */

.container{
    width:min(1200px, 92%);
    margin:auto;
}

/* BACKGROUND */

.bg-glow{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    opacity:.18;
    z-index:-1;
}

.glow-1{
    width:500px;
    height:500px;
    background:#0d6efd;
    top:-120px;
    left:-100px;
}

.glow-2{
    width:400px;
    height:400px;
    background:#2d8cff;
    right:-120px;
    bottom:-100px;
}

/* NAVBAR */

.navbar{
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter:blur(12px);
    background:rgba(7,17,29,.72);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 0;
}

.main-logo{
    height:72px;
}

.nav-links{
    display:flex;
    gap:28px;
}

.nav-links a{
    text-decoration:none;
    color:#dbe8f8;
    font-size:15px;
    transition:.3s;
}

.nav-links a:hover{
    color:#6db5ff;
}

.lang-switch{
    color:#a9b9cf;
    font-size:14px;
}

.lang-switch a{
    text-decoration:none;
    color:#dbe8f8;
}

.lang-switch .active{
    color:#6db5ff;
    font-weight:600;
}

/* HERO */

.hero{
    position:relative;
    min-height:92vh;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.telemetry-lines{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:60px 60px;
    opacity:.25;
    animation:gridMove 18s linear infinite;
}

@keyframes gridMove{
    from{
        transform:translateY(0);
    }
    to{
        transform:translateY(60px);
    }
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:820px;
    text-align:center;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:40px;
    background:rgba(255,255,255,.05);
    color:#b7d7ff;
    margin-bottom:28px;
    font-size:14px;
}

.hero h1{
    font-size:72px;
    line-height:1.05;
    margin-bottom:24px;
    font-weight:700;
}

.hero-subtitle{
    font-size:28px;
    color:#d4e4f5;
    margin-bottom:24px;
}

.hero-description{
    font-size:18px;
    color:#a9bdd6;
    max-width:760px;
    margin:auto;
}

.hero-actions{
    margin-top:42px;
}

.btn-primary{
    display:inline-block;
    padding:16px 34px;
    border-radius:10px;
    background:linear-gradient(135deg,#1d75d8,#4ea4ff);
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.btn-primary:hover{
    transform:translateY(-3px);
}

/* SECTIONS */

section{
    padding:110px 0;
}

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.eyebrow{
    display:inline-block;
    color:#71b3ff;
    margin-bottom:16px;
    font-size:14px;
    letter-spacing:1px;
    text-transform:uppercase;
}

.section-heading h2{
    font-size:42px;
    line-height:1.2;
}

/* SECTOR GRID */

.sector-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.sector-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:36px 28px;
    transition:.3s;
}

.sector-card:hover{
    transform:translateY(-5px);
    border-color:rgba(109,181,255,.4);
}

.sector-icon{
    font-size:32px;
    margin-bottom:18px;
    color:#71b3ff;
}

.sector-card h3{
    margin-bottom:14px;
    font-size:22px;
}

.sector-card p{
    color:#b2c3d7;
}

/* PRODUCT */

.product-highlight{
    background:rgba(255,255,255,.03);
    border-top:1px solid rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.product-container{
    text-align:center;
}

.product-text h2{
    font-size:54px;
    margin-bottom:20px;
}

.product-text p{
    max-width:760px;
    margin:auto;
    color:#c0d0e2;
    font-size:20px;
}

/* AWARDS */

.awards-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.award-card{
    background:rgba(255,255,255,.04);
    border-radius:18px;
    padding:32px 24px;
    border:1px solid rgba(255,255,255,.06);
}

.award-card h3{
    margin-bottom:14px;
    color:#71b3ff;
}

.award-card p{
    color:#b4c4d8;
}

/* FOOTER */

.footer{
    border-top:1px solid rgba(255,255,255,.08);
    padding:50px 0;
}

.footer-container{
    text-align:center;
}

.footer-logo{
    height:70px;
    margin-bottom:24px;
    opacity:.9;
}

.footer p{
    color:#9eb2c8;
    margin-bottom:22px;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#71b3ff;
    text-decoration:none;
}

/* RESPONSIVE */

@media(max-width:1100px){

    .sector-grid,
    .awards-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero h1{
        font-size:58px;
    }

}

@media(max-width:768px){

    .nav-links{
        display:none;
    }

    .hero h1{
        font-size:42px;
    }

    .hero-subtitle{
        font-size:22px;
    }

    .section-heading h2{
        font-size:32px;
    }

    .sector-grid,
    .awards-grid{
        grid-template-columns:1fr;
    }

    .main-logo{
        height:58px;
    }

}

/* FOOTER LOGO ANIMATION */

.footer-logo-animation{
    position:relative;
    width:320px;
    height:110px;
    margin:0 auto 30px;
}

.animated-footer-logo{
    position:absolute;
    inset:0;
    margin:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;

    opacity:0;

    animation-duration:12s;
    animation-iteration-count:infinite;
    animation-timing-function:ease-in-out;

    filter:
        drop-shadow(0 0 20px rgba(90,160,255,.15));
}

/* Guardian */

.logo-1{
    animation-name:logoFade1;
}

/* BuyTheMile */

.logo-2{
    animation-name:logoFade2;
}

/* Final */

.logo-3{
    animation-name:logoFade3;
}

/* KEYFRAMES */

@keyframes logoFade1{

    0%{
        opacity:0;
        transform:scale(.96);
    }

    8%{
        opacity:1;
        transform:scale(1);
    }

    28%{
        opacity:1;
    }

    36%{
        opacity:0;
    }

    100%{
        opacity:0;
    }

}

@keyframes logoFade2{

    0%,30%{
        opacity:0;
    }

    38%{
        opacity:1;
        transform:scale(1);
    }

    58%{
        opacity:1;
    }

    66%{
        opacity:0;
    }

    100%{
        opacity:0;
    }

}

@keyframes logoFade3{

    0%,60%{
        opacity:0;
    }

    68%{
        opacity:1;
        transform:scale(1.02);
    }

    92%{
        opacity:1;
    }

    100%{
        opacity:0;
    }

}