*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    margin:0;
    padding-top: 140px;
    font-family:Segoe UI, Arial, sans-serif;
    background:#040b14;
    color:white;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* =========================
   HEADER (GLASS + CLEAN)
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(10px);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    /* padding:20px 0; */
}

.logo{
    height:90px;
    width:auto;
    display:block;
    margin-top:10px;
    margin-left:-40px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#1697ff;
}

/* =========================
   HERO (FIXED STRUCTURE)
========================= */
:root{
    --header-space: 800px;
}

.hero{
    position:relative;
    min-height:100vh;
    background: url("../images/IndexBanerHigh.png") center/cover no-repeat;
    overflow:hidden;
}

.mobile{
    display: none;
}
.desktop{
    display: inline;
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;

    background: linear-gradient(
        180deg,
        rgba(10, 15, 25, 0.95) 0%,
        rgba(10, 15, 25, 0.6) 30%,
        rgba(10, 15, 25, 0.2) 60%,
        rgba(10, 15, 25, 0.0) 100%
    );

    pointer-events:none;
    z-index:1;
}

.hero::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;

    height:160px;

    background: linear-gradient(
        to bottom,
        rgba(10, 15, 25, 0.95),
        rgba(10, 15, 25, 0.5),
        transparent
    );

    z-index:1;
    pointer-events:none;
}

/* DARK OVERLAY ACROSS HERO */
.hero-overlay{
    display:none; /* više nije potreban */
}

/* CONTENT */
.hero-content{
    position:relative;
    z-index:2;

    width:90%;
    max-width:1400px;
    margin:auto;
}

.hero h1 .desktop{
    font-size:55px;
    font-weight:800;
    line-height:1.1;
    max-width:800px;
}

.subtitle-list{
    margin-top:22px;
    list-style:none;

    font-size:22px;
    line-height:1.4;
    color:#d7e2ef;
}

.subtitle-list li::before{
    content:"• ";
    color:#0b8fff;
    font-weight:bold;
    margin-right:6px;
}

.hero-buttons{
    margin-top:30px;
    display:flex;
    gap:20px;
}

.btn{
    padding:16px 36px;
    border-radius:10px;
    text-decoration:none;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.btn-primary{
    background:#0b8fff;
    color:white;
}

.btn-primary:hover{
    background:#33a4ff;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.btn-secondary:hover{
    background:white;
    color:#08111d;
}

.hero-features{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
    margin-top:60px;
}

.feature{
    color:#dbe6f3;
    font-size:18px;
}

.hero-cards{
    margin-top:270px;

    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:250px;
    align-items:stretch;

}

.hero-cards .card{
    /* background: rgba(10, 23, 38, 0.75); */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;

    padding:30px;

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(14px);

    display:flex;
    flex-direction:column;

    min-height:220px;

    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.hero-cards .btn{
    margin-top:auto;
    align-self:flex-start;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#040b14;
    padding:25px;
    text-align:center;
    color:#a8b8c8;
}

/* =========================
   ANIMATION
========================= */

@keyframes heroImageFade {
    from { opacity:0; transform:scale(1.05); }
    to   { opacity:1; transform:scale(1); }
}

@media (max-width: 900px){

    .desktop{
        display: none;
    }
    .mobile{
        display: inline;
    }
    /* HEADER */
    header .container{
        padding:10px 0;
    }

    .logo{
        height:70px;
        margin-left:-20px;
    }

    nav{
        display:none;
    }

    /* HERO TITLE */
    .hero h1 .mobile{
        font-size:34px;
        line-height:1.2;
    }

    .subtitle-list{
        font-size:16px;
        line-height:1.6;
        backdrop-filter:blur(5px);
        font-weight:bold;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
        margin-top:10px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .hero-features{
        gap:6px;
        margin-top:30px;
        font-size:14px;
    }

    .hero-cards{
        grid-template-columns:1fr;
        gap:20px;   
        margin-top:60px;
    }

    .hero-cards .card{
        padding:20px;
        min-height:auto;
    }

    .hero-cards .card h2{
        font-size:22px;
    }

    .hero-cards .card p{
        font-size:15px;
        line-height:1.5;
    }

    body{
        padding-top:100px;
    }

    .hero-cards .btn{
        margin-top:15px;
        min-height:auto;
    }
}