* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0b0b0b;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* PROGRESS BAR */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff1a1a, #ff4444, #ff1a1a);
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 15px rgba(255,26,26,0.6);
}

/* NAVBAR GLASSMORPHISM */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: saturate(180%) blur(25px);
    border-bottom: 1px solid rgba(255,26,26,0.15);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav.scrolled {
    background: rgba(10,10,10,0.99);
    padding: 12px 5%;
    box-shadow: 0 8px 32px rgba(255,26,26,0.12), 0 2px 8px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,26,26,0.25);
}

nav img {
    height: 45px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1002;  /* ↑ NAHIK Z-INDEX */
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));  /* SHADOW BIAR JELAS */
    mix-blend-mode: screen;  /* MERAH+NAVY MENYALA */
}

nav.scrolled img {
    height: 42px;
    filter: drop-shadow(0 1px 6px rgba(255,26,26,0.4));  /* SHADOW MERAH */
}

.hero {
    /* kode lama... */
    isolation: isolate;  /* ISOLASI LOGO */
}

nav img:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a:hover { color: #ff1a1a; }

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff1a1a;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after { width: 100%; }

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 120px 20px 40px;
}

/* BUTTON */
.btn {
    background: linear-gradient(45deg, #ff1a1a, #cc0000);
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255,26,26,0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255,26,26,0.4);
}

/* CARDS */
.card {
    background: #141414;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.08);
}

.card:hover {
    transform: translateY(-10px);
    border-color: #ff1a1a;
    box-shadow: 0 20px 40px rgba(255,26,26,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: rgba(11,11,11,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 80px 0;
        transition: all 0.3s ease;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) { 
        transform: rotate(45deg) translate(6px, 6px); 
    }
    .hamburger.active span:nth-child(2) { 
        opacity: 0; 
    }
    .hamburger.active span:nth-child(3) { 
        transform: rotate(-45deg) translate(6px, -5px); 
    }
}