:root {
    --bg: #0a0a0a;
    --text: #f5f5f5;
    --accent: #ff3e00;
    --muted: #888;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* INTRO SCREEN */
.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    pointer-events: none;
}

.intro-text {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    opacity: 0;
    transform: translateY(60px);
}

.intro-text.secondary {
    font-size: clamp(1.5rem, 6vw, 4rem);
}

/* CURSOR */
.cursor-follower {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

/* NOISE */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.06;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    margin-bottom: 24px;
    overflow: hidden;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

.hero-sub {
    color: var(--muted);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    padding: 16px 32px;
    border: 1px solid var(--text);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
    opacity: 0;
}

.hero-btn:hover {
    background: var(--text);
    color: var(--bg);
}

/* SECTIONS */
section {
    padding: 120px 0;
}

.section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-copy {
    max-width: 520px;
    color: var(--muted);
    font-size: 1rem;
}

/* ABOUT */
.about-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 32px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.skill {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* WORK */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), border-color 0.4s cubic-bezier(0.2, 0, 0, 1), background 0.4s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 62, 0, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.project-media-link {
    display: block;
}

.project-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.project-card:hover .project-media img {
    transform: scale(1.05);
}

.project-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.project-type {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.project-text h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.8rem;
}

.project-text p {
    color: #c5c5c5;
    font-size: 1rem;
    line-height: 1.75;
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.project-link.primary {
    background: var(--text);
    color: var(--bg);
}

.project-link.primary:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: var(--text);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    color: var(--text);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), border-color 0.4s cubic-bezier(0.2, 0, 0, 1), background 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 62, 0, 0.28);
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 62, 0, 0.1);
    color: var(--accent);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-card strong {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.5;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* NEW: WHY I'M DIFFERENT PAGE */
.hero.small {
    min-height: 60vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
}

.hero.small .hero-line {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.why-section {
    padding: 100px 0;
}

.section-title.small {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    letter-spacing: -0.03em;
}

.why-copy {
    margin-bottom: 100px;
}

.why-copy p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: var(--text);
    max-width: 900px;
}

/* STATS COUNTER - FUCKING SPECIAL */
.stats-counter {
    margin-bottom: 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 60px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ff8800, #ffbb00);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 62, 0, 0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow: 0 20px 60px rgba(255, 62, 0, 0.1);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.stat-value-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 1;
}

.stat-number {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text);
}

.stat-suffix {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-top: 12px;
    text-transform: uppercase;
}

/* SKILL BARS - FUCKING SPECIAL */
.skills-bar-section {
    margin-bottom: 100px;
}

.skill-card {
    margin-bottom: 40px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    transition: all 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.skill-card:hover {
    border-color: rgba(255, 62, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(255, 62, 0, 0.08);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.skill-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
}

.skill-percent {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent);
}

.skill-track {
    width: 100%;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #ff7b00, #ffcc00);
    border-radius: 999px;
    position: relative;
    transition: width 1.8s cubic-bezier(0.2, 0, 0, 1);
}

.skill-fill.glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
}

/* FAQ ACCORDION */
.faq-section {
    margin-bottom: 100px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: none;
}

.faq-toggle span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    text-align: left;
}

.faq-arrow {
    transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
    color: var(--accent);
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.faq-content p {
    padding: 0 30px 30px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

.faq-mail-btn {
    display: inline-block;
    margin: 0 30px 30px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-mail-btn:hover {
    transform: translateY(-2px);
    background: #ff5500;
}

.faq-item.active .faq-content {
    max-height: 400px;
}

/* Make cursor work for FAQ toggle */
.faq-toggle {
    cursor: none;
}

/* MOBILE */
@media (max-width: 768px) {
    * {
        cursor: auto;
    }

    .cursor-follower {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .project-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card,
    .contact-card {
        padding: 18px;
        border-radius: 22px;
    }

    .project-text h3 {
        font-size: 1.25rem;
    }

    .project-text p,
    .section-copy {
        font-size: 0.95rem;
    }

    .project-link {
        width: 100%;
    }

    .contact-card {
        min-height: auto;
    }

    .contact-card strong {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 40px 20px;
    }

    .faq-item {
        padding: 0;
    }

    .faq-toggle {
        padding: 20px;
        cursor: pointer;
    }

    .faq-toggle span {
        font-size: 1rem;
    }

    .faq-content p {
        padding: 0 20px 20px;
        font-size: 1rem;
    }

    .faq-mail-btn {
        margin: 0 20px 20px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero.small {
        min-height: 50vh;
        padding-top: 120px;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .skill-card {
        padding: 20px;
    }

    .hero-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    section {
        padding: 80px 0;
    }

    .why-section {
        padding: 80px 0;
    }
}
