/* ===============================
   ROOT VARIABLES
================================ */
:root{
    --primary:#4f46e5;
    --dark:#0b0b0f;
    --card:#141417;
    --text:#ffffff;
    --muted:#b5b5c0;
}

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

body{
    font-family:'Inter',sans-serif;
    background:var(--dark);
    color:var(--text);
    line-height:1.6;
    /* padding-top:64px; space for header */
}


.container{
    max-width:1200px;
    margin:auto;
    padding:0 24px;
}

/* ===============================
   SCROLL PROGRESS
================================ */
#progress-container{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:4px;
    z-index:10001; /* ABOVE header */
    pointer-events:none;
}

#progress-bar{
    height:100%;
    width:0;
    background:linear-gradient(90deg,#4f46e5,#818cf8);
}

/* ===============================
   TOP HEADER (DEFAULT = TRANSPARENT)
================================ */
.top-header{
    position:fixed;
    top:4;
    left:0;
    right:0;
    height:auto;
    /* height:64px; */
    background:transparent;   /* ✔ transparent on home */
    z-index:10000;
    transition:background .3s ease, backdrop-filter .3s ease;
}

/* ✔ ADD BACKGROUND WHEN SCROLLED */
.top-header.scrolled{
    background:rgba(10,10,15,0.9);
    backdrop-filter:blur(16px);
}

main{
    margin-top:100px; /* header + action row */
}


.header-inner{
    max-width:1200px;
    margin:auto;
    padding:8px 20px 0;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.header-logo{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:900;
    font-size:18px;
}

.header-logo img{
    width:28px;
    height:28px;
}

.header-logo span span{
    color:var(--primary);
}

.top-nav{
    display:flex;
    gap:24px;
}

.top-nav a{
    position:relative;
    color:#cfcfe0;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    padding:6px 0;
    transition:color .3s ease;
}

.top-nav a:hover{
    color:white;
}

.top-nav a.active{
    color:white;
}

.top-nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:100%;
    height:2px;
    background:linear-gradient(90deg,#4f46e5,#818cf8);
    border-radius:2px;
}

/* ===============================
   DESKTOP HEADER ACTION BAR
================================ */
.header-actions{
    display:none; /* hidden by default */
    max-width:1200px;
    margin: 8px auto;
    padding:6px 20px 10px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:20px;
    font-size:14px;
}

/* Phone text */
.header-phone{
    color:#cfcfe0;
    text-decoration:none;
    font-weight:600;
}

/* Get Quote button */
.header-quote{
    background:var(--primary);
    color:white;
    text-decoration:none;
    padding:6px 14px;
    border-radius:20px;
    font-weight:700;
    font-size:13px;
}

/* WhatsApp */
.header-whatsapp{
    color:#25d366;
    text-decoration:none;
    font-weight:600;
}

/* Hover (desktop only) */
@media (hover:hover){
    .header-phone:hover{color:white;}
    .header-whatsapp:hover{text-decoration:underline;}
    .header-quote:hover{
        box-shadow:0 8px 24px rgba(79,70,229,.5);
    }
}

/* SHOW ONLY ON DESKTOP */
@media (min-width:1024px){
    .header-actions{
        display:flex;
    }
}


/* ===============================
   HERO
================================ */
.hero{
    min-height:85vh;
    display:flex;
    align-items:center;
    background:
        linear-gradient(to right,rgba(10,10,11,.85),rgba(10,10,11,.4)),
        url('https://images.unsplash.com/photo-1553062407-98eeb64c6a62?auto=format&fit=crop&w=1600');
    background-size:cover;
    background-position:center;
}

.hero-content{
    animation:heroFadeUp 1s ease forwards;
}

.logo{
    font-size:32px;
    font-weight:900;
}

.logo span{
    color:var(--primary);
}

.badge{
    display:inline-block;
    margin:20px 0;
    padding:6px 16px;
    border:1px solid var(--primary);
    border-radius:50px;
    font-size:12px;
}

h1{
    font-size:clamp(3rem,8vw,5.5rem);
    line-height:.9;
}

h1 span{
    color:var(--primary);
}

.hero-stats{
    display:flex;
    gap:40px;
    margin-top:30px;
}

.hero-stats .stat{
    opacity:0;
    animation:statFade .8s ease forwards;
}

.hero-stats .stat:nth-child(1){animation-delay:.3s;}
.hero-stats .stat:nth-child(2){animation-delay:.5s;}
.hero-stats .stat:nth-child(3){animation-delay:.7s;}

/* ===============================
   SECTIONS
================================ */
.section{
    padding:90px 0;
    background:#0f0f14;
    border-bottom:1px solid rgba(255,255,255,.04);
}

.section:nth-of-type(even){
    background:#14141a;
}

.eyebrow{
    color:var(--primary);
    font-weight:800;
    letter-spacing:3px;
    font-size:13px;
}

.about-text{
    max-width:900px;
    color:var(--muted);
    margin-top:20px;
}

/* ===============================
   MISSION / VISION
================================ */
.mv-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}

.mv-card{
    background:var(--card);
    padding:30px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.06);
    transition:.3s;
}

/* ===============================
   PRODUCTS
================================ */
.product-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:40px;
}

.prod-card{
    background:#000;
    border-radius:16px;
    overflow:hidden;
    text-align:center;
    transition:.35s;
}

.prod-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    filter:brightness(.85);
    transition:.6s;
}

.prod-card span{
    display:block;
    padding:10px;
    font-weight:600;
}

.hidden{
    display:none;
}

.show-more-btn{
    margin:30px auto 0;
    display:block;
    background:var(--primary);
    color:white;
    border:none;
    padding:14px 30px;
    border-radius:30px;
    cursor:pointer;
    font-weight:800;
}

/* ===============================
   CONTACT
================================ */
.contact-box{
    max-width:600px;
    margin:auto;
    background:var(--card);
    padding:40px;
    border-radius:24px;
}

.contact-box input,
.contact-box select,
.contact-box textarea{
    width:100%;
    padding:16px;
    margin-top:15px;
    background:#000;
    border:1px solid #333;
    border-radius:12px;
    color:white;
}

.contact-box button{
    margin-top:20px;
    width:100%;
    padding:16px;
    background:var(--primary);
    border:none;
    border-radius:14px;
    font-weight:800;
}

/* ===============================
   FOOTER
================================ */
.footer{
    background:#050507;
    padding:60px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.socials a{
    color:white;
    margin-right:10px;
    font-size:20px;
}

iframe{
    width:100%;
    height:200px;
    border:0;
    border-radius:12px;
}

.footer-bottom{
    text-align:center;
    margin-top:30px;
    color:var(--muted);
    font-size:14px;
}

/* ===============================
   FLOATING HUD (HYBRID)
================================ */
.mobile-hud{
    position:fixed;
    bottom:clamp(48px, 8vh, 80px);
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:clamp(70px, 3vw, 20px);
    padding:clamp(10px, 2.5vw, 14px) clamp(14px, 4vw, 18px);
    background:rgba(15,15,20,0.9);
    backdrop-filter:blur(20px);
    border-radius:40px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 20px 50px rgba(0,0,0,0.6);
    z-index:9999;
    animation:hudPop .6s ease .4s backwards;
    transition:opacity .35s ease, transform .35s ease, bottom .35s ease;
}

.hud-item{
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(255,255,255,0.06);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:20px;
    text-decoration:none;
}

.hud-primary{
    background:linear-gradient(135deg,#4f46e5,#6366f1);
    box-shadow:0 10px 30px rgba(79,70,229,.6);
}

.mobile-hud.hide{
    opacity:0;
    transform:translate(-50%,30px);
    pointer-events:none;
}

/* Gradient stroke */
.mobile-hud::before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:42px;
    background:linear-gradient(
        90deg,
        #ffcc00,
        #ff5f00,
        #7c3aed,
        #2563eb,
        #ffcc00
    );
    background-size:300% 300%;
    animation:rotateGradient 4s linear infinite;
    z-index:-1;
}

.mobile-hud::after{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:38px;
    background:rgba(15,15,20,0.95);
    z-index:-1;
}

.mobile-hud.hide::before{
    animation-play-state:paused;
    opacity:0;
}

/* ===============================
   HOVERS & ACTIVE
================================ */
@media(hover:hover){

    .prod-card:hover{
        transform:translateY(-10px);
        box-shadow:0 25px 60px rgba(0,0,0,.5);
    }

    .prod-card:hover img{
        transform:scale(1.08);
    }

    .mv-card:hover{
        transform:translateY(-6px);
        border-color:rgba(79,70,229,.5);
    }
}

.hud-item:active{transform:scale(.95);}
.show-more-btn:active{transform:scale(.96);}

/* ===============================
   ANIMATIONS
================================ */
@keyframes heroFadeUp{
    from{opacity:0;transform:translateY(30px);}
    to{opacity:1;transform:none;}
}

@keyframes statFade{
    from{opacity:0;transform:translateY(20px);}
    to{opacity:1;transform:none;}
}

@keyframes hudPop{
    from{opacity:0;transform:translate(-50%,20px) scale(.9);}
    to{opacity:1;transform:translate(-50%,0) scale(1);}
}

@keyframes rotateGradient{
    0%{background-position:0% 50%;}
    100%{background-position:300% 50%;}
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:768px){
    .product-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(min-width:769px){
    .mobile-hud{
        display:none;
    }
}

/* ===== LANDSCAPE MODE HUD OPTIMIZATION ===== */
@media (orientation: landscape) and (max-height: 500px) {
    .mobile-hud{
        bottom:clamp(32px, 6vh, 48px);
        padding:8px 12px;
        gap:12px;
        border-radius:32px;
    }

    .hud-item{
        width:40px;
        height:40px;
        font-size:18px;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    } */

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-actions {
        display: none; /* hide desktop buttons */
    }

    .mobile-hud {
        display: flex;
    }
}
/* GLOBAL RESET */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b0b;
    color: #fff;
    line-height: 1.6;
}

/* CONTAINER
.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
} */

.hero {
    padding: 80px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #00ff9f;
}

.hero p {
    font-size: 15px;
    opacity: 0.7;
    margin-top: 15px;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    margin-bottom: 15px;
}

.hero-stats {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.stat {
    flex: 1;
    background: #111;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.stat h3 {
    color: #00ff9f;
    font-size: 18px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.prod-card {
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.prod-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.prod-card span {
    display: block;
    padding: 10px;
    font-size: 14px;
}

.prod-card:hover {
    transform: translateY(-4px);
}

.top-header {
    position: sticky;
    top: 0;
    background: #0b0b0b;
    z-index: 1000;
    border-bottom: 1px solid #111;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.top-nav {
    display: none; /* hide on mobile */
}
.mobile-hud {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: #111;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hud-item {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1a1a;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.hud-primary {
    background: #00ff9f;
    color: #000;
}
.section {
    padding: 60px 0;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.eyebrow {
    font-size: 12px;
    color: #00ff9f;
    letter-spacing: 1px;
}
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}