@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: rgb(6, 6, 8);
    --dark: rgb(12, 12, 14);
    --white: rgb(250, 250, 252);
    --gray: rgb(90, 90, 100);
    --gray-light: rgb(130, 130, 145);
    --accent: rgb(255, 55, 95);
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Syne', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

.smooth-scroll {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: 0.4em;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.nav-contact {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-contact svg {
    width: 18px;
    height: 18px;
}

.nav-contact:hover {
    background: var(--white);
    border-color: var(--white);
}

.scene {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 40px;
}

.scene-number {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
}

.scene-intro {
    flex-direction: column;
    gap: 36px;
}

.big-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-line {
    overflow: hidden;
}

.text-line span {
    display: block;
    font-size: clamp(44px, 11vw, 150px);
    font-weight: 800;
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    transform: translateY(105%);
    animation: revealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.text-line:nth-child(1) span {
    animation-delay: 0.6s;
}

.text-line:nth-child(2) span {
    animation-delay: 0.75s;
    color: var(--gray);
}

@keyframes revealUp {
    to {
        transform: translateY(0);
    }
}

.scene-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-light);
    opacity: 0;
    animation: fadeIn 0.8s ease 1.1s forwards;
}

.dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scene-story {
    background: var(--white);
    color: var(--black);
}

.story-wrapper {
    display: flex;
    align-items: center;
    gap: 56px;
}

.story-large {
    font-size: clamp(140px, 26vw, 300px);
    font-weight: 800;
    line-height: 0.75;
    color: var(--accent);
}

.story-text {
    max-width: 300px;
}

.story-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 14px;
}

.story-text p {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    color: rgb(30, 30, 35);
}

.scene-story .scene-number {
    color: rgba(0, 0, 0, 0.15);
}

.scene-skills {
    background: var(--dark);
    flex-direction: column;
    gap: 40px;
}

.skills-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
}

.skills-showcase {
    width: 100%;
    max-width: 650px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: default;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.skill-item:hover {
    padding-left: 16px;
    background: rgba(255, 55, 95, 0.03);
}

.skill-item:hover .skill-name {
    color: var(--accent);
}

.skill-item:hover .skill-num {
    color: var(--accent);
}

.skill-num {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.skill-name {
    font-size: clamp(22px, 4.5vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.scene-contact {
    background: var(--accent);
    color: var(--black);
}

.contact-wrap {
    text-align: center;
}

.contact-text {
    font-size: clamp(52px, 14vw, 200px);
    font-weight: 800;
    line-height: 0.88;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    margin-bottom: 36px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-email svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.contact-email:hover {
    gap: 16px;
}

.contact-email:hover svg {
    transform: translate(2px, -2px);
}

.scene-contact .scene-number {
    color: rgba(0, 0, 0, 0.15);
}

.footer {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--gray);
}

.footer-brand {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    width: 0%;
    z-index: 1000;
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
    }

    .scene {
        padding: 80px 24px;
    }

    .scene-number {
        bottom: 24px;
        right: 24px;
    }

    .story-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }

    .skill-item {
        padding: 20px 0;
        gap: 16px;
    }

    .footer {
        padding: 20px 24px;
    }
}