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

body {
    font-family: 'Poppins', sans-serif;
    background: #202632;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* LEFT PANEL */
.left {
    background: #202632;
    color: white;
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    position: relative;
}

/* NAVIGATION */
.nav {
    position: fixed;
    top: 20px;
    left: 60px;
    display: flex;
    gap: 25px;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav span {
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s ease;
    font-size: 15px;
}

.nav span:hover {
    opacity: 1;
    color: #ffd166;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: #ffd166;
    border: none;
    color: #202632;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
}

/* INTRO */
.intro {
    max-width: 600px;
}

.intro small {
    color: #ffd166;
    font-size: 28px;
}

.intro h1 {
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.1;
    margin: 15px 0;
    font-weight: 700;
}

.typing-text {
    font-size: 18px;
    opacity: 0.9;
    overflow: hidden;
    border-right: 2px solid #ffd166;
    white-space: nowrap;
    width: fit-content;
    animation: typing 4s steps(30, end) infinite alternate,
        blink 0.7s infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 180px;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* BUTTONS */
.buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.buttons button {
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    background: #ffd166;
    color: #202632;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.buttons button:hover {
    transform: translateY(-4px);
}

.buttons .outline {
    background: transparent;
    border: 1px solid #ffd166;
    color: #ffd166;
}

/* RIGHT PANEL */
.right {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent, rgba(32, 38, 50, 0.2));
    z-index: 1;
}

/* TABLET */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .right {
        position: relative;
        height: 500px;
    }

    .left {
        padding: 50px 40px;
    }

    .nav {
        left: 40px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: 20px;
        left: auto;
        background: rgba(32, 38, 50, 0.95);
        padding: 20px;
        border-radius: 14px;
        flex-direction: column;
        gap: 16px;
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .left {
        padding: 120px 25px 50px;
        gap: 60px;
    }

    .intro h1 {
        font-size: 48px;
    }

    .intro small {
        font-size: 24px;
    }

    .typing-text {
        font-size: 16px;
    }

    @keyframes typing {
        from {
            width: 0;
        }

        to {
            width: 170px;
        }
    }

    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons button {
        width: 100%;
    }

    .right {
        height: 420px;
    }
}