/* =============================================
   DAHAM — MONOCHROME PORTFOLIO
   Black × White × Crazy Animations
   Inspired by Antigravity aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* === MONOCHROME === */
    --black: #0a0a0a;
    --black-light: #141414;
    --black-mid: #1a1a1a;
    --grey-900: #222;
    --grey-800: #333;
    --grey-700: #555;
    --grey-600: #777;
    --grey-500: #999;
    --grey-400: #aaa;
    --grey-300: #ccc;
    --grey-200: #e0e0e0;
    --grey-100: #f0f0f0;
    --white: #fafafa;

    /* === TEXT === */
    --text-primary: var(--white);
    --text-secondary: rgba(250, 250, 250, 0.5);
    --text-muted: rgba(250, 250, 250, 0.2);

    /* === FONTS === */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;

    /* === SPACING (Antigravity Scale) === */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 36px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 120px;
    --space-6xl: 180px;

    /* === RADIUS === */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-pill: 9999px;

    /* === PAGE === */
    --page-margin: 72px;
    --container-max: 1400px;
    --nav-height: 56px;

    /* === ANTIGRAVITY EASINGS === */
    --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-back: cubic-bezier(0.34, 1.85, 0.64, 1);
    --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
    --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (max-width: 1024px) {
    :root {
        --page-margin: 40px;
    }

    /* Disable custom cursor on mobile/tablet */
    body,
    a,
    button,
    input,
    textarea {
        cursor: auto !important;
    }

    #cursor-dot,
    #cursor-ring,
    #cursor-trail {
        display: none !important;
    }
}

@media (max-width: 767px) {
    :root {
        --page-margin: 20px;
    }
}

/* =============================================
   RESET
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: auto;
}

body {
    font-family: var(--font-main);
    background: var(--black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

button,
input,
textarea {
    font-family: inherit;
    cursor: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--white);
    color: var(--black);
}

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out-quint),
        height 0.3s var(--ease-out-quint),
        background 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(250, 250, 250, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out-quint),
        height 0.4s var(--ease-out-quint),
        border-color 0.3s ease,
        background 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-dot.hovering {
    width: 60px;
    height: 60px;
    background: rgba(250, 250, 250, 0.1);
    mix-blend-mode: difference;
}

.cursor-ring.hovering {
    width: 80px;
    height: 80px;
    border-color: rgba(250, 250, 250, 0.6);
}

/* =============================================
   CURSOR TRAIL CANVAS
   ============================================= */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
}

/* =============================================
   GRAIN
   ============================================= */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================
   STARFIELD CANVAS
   ============================================= */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--page-margin);
}

/* =============================================
   LOADING SCREEN
   ============================================= */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-quint),
        visibility 0.8s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    animation: loaderChar 0.5s var(--ease-out-quint) forwards;
}

@keyframes loaderChar {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 var(--page-margin);
    transition: background 0.5s var(--ease-out-quint);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.5s var(--ease-out-quint);
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.4s var(--ease-out-quint);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.5s var(--ease-out-quint);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: all 0.4s var(--ease-out-quint);
}

.nav-hamburger.active span:first-child {
    transform: rotate(45deg) translate(3px, 4px);
}

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

.nav-hamburger.active span:last-child {
    transform: rotate(-45deg) translate(3px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-quint);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
}

.mobile-link {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-secondary);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s var(--ease-out-quint);
}

.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-link:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-link:hover {
    color: var(--white);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-5xl) 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

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

.hero-title {
    font-size: clamp(48px, 10vw, 140px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-2xl);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

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

.hero-title .outline-text {
    -webkit-text-stroke: 1.5px var(--white);
    color: transparent;
    transition: all 0.5s var(--ease-out-quint);
}

.hero-title .outline-text:hover {
    color: var(--white);
    -webkit-text-stroke: 0;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    border: none;
    transition: all 0.5s var(--ease-out-quint);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s var(--ease-out-quint);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(250, 250, 250, 0.15);
}

.hero-cta svg {
    transition: transform 0.4s var(--ease-out-back);
}

.hero-cta:hover svg {
    transform: translate(3px, -3px);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: var(--page-margin);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-lr;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: var(--grey-800);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--white);
    animation: scrollLine 2s var(--ease-in-out-quart) infinite;
}

@keyframes scrollLine {
    0% {
        top: -50%;
    }

    100% {
        top: 150%;
    }
}

/* =============================================
   SECTIONS — COMMON
   ============================================= */
.section {
    padding: var(--space-6xl) 0;
    position: relative;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--grey-700);
}

.section-title {
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4xl);
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    opacity: 0.4;
}

/* Horizontal divider */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--grey-800) 20%,
            var(--grey-800) 80%,
            transparent);
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5xl);
    align-items: start;
}

.about-text p {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.about-text p strong {
    color: var(--white);
    font-weight: 600;
}

.about-services {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--grey-900);
    transition: all 0.5s var(--ease-out-quint);
    position: relative;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.6s var(--ease-out-quint);
}

.service-item:hover::after {
    width: 100%;
}

.service-item:hover {
    padding-left: var(--space-lg);
}

.service-name {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.service-item:hover .service-name {
    color: var(--white);
}

.service-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Stats row */
.stats-row {
    display: flex;
    gap: var(--space-4xl);
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--grey-900);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* =============================================
   SKILLS — MARQUEE STYLE
   ============================================= */
.skills-marquee {
    overflow: hidden;
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--grey-900);
    border-bottom: 1px solid var(--grey-900);
}

.marquee-track {
    display: flex;
    gap: var(--space-3xl);
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
    color: var(--grey-800);
    transition: color 0.4s var(--ease-out-quint);
    -webkit-text-stroke: 1px var(--grey-700);
    color: transparent;
}

.marquee-item:hover {
    color: var(--white);
    -webkit-text-stroke: 0;
}

.marquee-separator {
    font-size: clamp(32px, 5vw, 72px);
    color: var(--grey-800);
    line-height: 1;
}

/* =============================================
   WORK / PROJECTS
   ============================================= */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl);
    border: 1px solid var(--grey-900);
    border-radius: var(--radius-lg);
    transition: all 0.6s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(250, 250, 250, 0.03) 0%,
            transparent 50%);
    pointer-events: none;
}

.project-item:hover {
    border-color: var(--grey-700);
    transform: translateY(-4px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.project-image {
    aspect-ratio: 16/10;
    background: var(--black-mid);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-text {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: 0.1em;
    opacity: 0.15;
    transition: all 0.5s var(--ease-out-quint);
}

.project-item:hover .project-image-text {
    opacity: 0.4;
    transform: scale(1.05);
}

.project-info {
    padding: var(--space-lg) 0;
}

.project-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 14px;
    border: 1px solid var(--grey-900);
    border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease-out-quint);
}

.project-item:hover .project-tag {
    border-color: var(--grey-700);
    color: var(--text-secondary);
}

.project-name {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.project-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.project-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--white);
}

.project-link svg {
    transition: transform 0.4s var(--ease-out-back);
}

.project-link:hover svg {
    transform: translate(3px, -3px);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
    padding: var(--space-6xl) 0;
}

.contact-big-text {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-3xl);
}

.contact-big-text a {
    position: relative;
    display: inline-block;
}

.contact-big-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out-quint);
}

.contact-big-text a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    margin-top: var(--space-3xl);
}

.contact-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--grey-900);
    transition: all 0.4s var(--ease-out-quint);
}

.contact-detail:hover {
    padding-left: var(--space-md);
    border-color: var(--grey-700);
}

.contact-detail-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    min-width: 60px;
}

.contact-detail-value {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-detail:hover .contact-detail-value {
    color: var(--white);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--grey-800);
    color: var(--white);
    font-size: 16px;
    padding: var(--space-md) 0;
    outline: none;
    transition: border-color 0.4s var(--ease-out-quint);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--white);
}

.form-field label {
    position: absolute;
    top: var(--space-md);
    left: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.4s var(--ease-out-quint);
}

.form-field input:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:focus+label,
.form-field textarea:not(:placeholder-shown)+label {
    top: -12px;
    font-size: 9px;
    color: var(--grey-500);
}

.form-field textarea {
    resize: none;
    min-height: 100px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: transparent;
}

.submit-btn {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    transition: all 0.5s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(250, 250, 250, 0.15);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--grey-900);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.footer-back-top {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--grey-900);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: none;
    transition: all 0.4s var(--ease-out-quint);
}

.footer-back-top:hover {
    border-color: var(--white);
    color: var(--white);
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-quint),
        transform 1s var(--ease-out-quint);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s var(--ease-out-quint),
        transform 1s var(--ease-out-quint);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-quint),
        transform 1s var(--ease-out-quint);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger */
[data-delay="1"] {
    transition-delay: 0.1s;
}

[data-delay="2"] {
    transition-delay: 0.2s;
}

[data-delay="3"] {
    transition-delay: 0.3s;
}

[data-delay="4"] {
    transition-delay: 0.4s;
}

[data-delay="5"] {
    transition-delay: 0.5s;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .stats-row {
        gap: var(--space-2xl);
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: var(--space-4xl) 0;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .stat {
        flex: 1 1 120px;
    }

    .project-item {
        padding: var(--space-xl);
    }

    .section {
        padding: var(--space-5xl) 0;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    a,
    button,
    input,
    textarea {
        cursor: auto;
    }
}