* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Orbitron", sans-serif;
}

html, body {
    height: 100%;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* =============================== */
/* HEADER */
/* =============================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 65px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 8px #ff004c, 0 0 18px rgba(255, 0, 76, 0.6);
    transition: all 0.3s ease;
}

.logo-text:hover {
    color: #ff004c;
    text-shadow: 0 0 18px #ff004c;
}

/* =============================== */
/* NAVIGATION */
/* =============================== */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ff004c;
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 21px;
    cursor: pointer;
    z-index: 110;
}

.bar {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* =============================== */
/* BACKGROUND CANVAS */
/* =============================== */
#innoverse-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* =============================== */
/* LANDING SECTION */
/* =============================== */
.landing {
    margin-top: 90px;
    height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    z-index: 2;
    gap: 60px;
}

/* =============================== */
/* PHONE */
/* =============================== */
.phone-3d {
    width: 300px;
    height: 600px;
    transform-style: preserve-3d;
    transform: rotateY(25deg) rotateX(10deg);
    transition: transform 0.25s ease-out;
    perspective: 1500px;
    position: relative;
}

.phone-body {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.phone-frame {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    transform: translateZ(22px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
            inset 0 0 5px rgba(255, 255, 255, 0.1),
            0 10px 40px rgba(0, 0, 0, 0.9),
            5px 0 20px rgba(255, 0, 76, 0.2);
}

.phone-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    position: relative;
    z-index: 5;
}

.phone-back {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    transform: translateZ(-22px);
    background: linear-gradient(140deg, #1a0000, #b3002d 40%, #220000 95%);
    box-shadow:
            inset 0 0 25px rgba(255, 80, 80, 0.25),
            0 15px 60px rgba(255, 0, 76, 0.4),
            -10px 0 25px rgba(0, 0, 0, 0.8);
}

/* Dynamic Island */
.top-bar {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 28px;
    background: rgba(15, 15, 15, 0.92);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
            inset 0 1px 3px rgba(255, 255, 255, 0.1),
            0 3px 6px rgba(0, 0, 0, 0.6);
    z-index: 15;
}

.camera {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #444, #000);
    margin-right: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.speaker {
    width: 36px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, #111, #000);
    box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
}

/* =============================== */
/* TEXT CONTENT */
/* =============================== */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    max-width: 45%;
}

.text-content h1 {
    font-size: 2.8rem;
    text-shadow: 0 0 25px #ff004c;
    color: #fff;
}

.text-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.qr-code {
    width: 130px;
    margin-top: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { transform: scale(1); filter: drop-shadow(0 0 10px #ff004c); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px #ff004c); }
}

/* =============================== */
/* RESPONSIVE DESIGN */
/* =============================== */
@media (max-width: 1024px) {
    .landing {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 100px 5%;
        margin-top: 80px;
        height: auto;
    }

    .text-content {
        align-items: center;
        text-align: center;
        max-width: 80%;
    }

    .phone-3d {
        width: 260px;
        height: 520px;
        transform: none;
    }

    .logo img {
        height: 60px;
    }

    .logo-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    /* Menu */
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -240px;
        width: 220px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(8px);
        transition: right 0.4s ease;
        z-index: 90;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    nav ul li a {
        font-size: 18px;
    }

    .landing {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 120px 20px;
        gap: 40px;
        text-align: center;
    }

    .text-content {
        align-items: center;
        max-width: 100%;
    }

    .text-content h1 {
        font-size: 1.8rem;
    }

    .qr-code {
        width: 100px;
    }

    .phone-3d {
        width: 230px;
        height: 440px;
        transform: none;
    }
}

