/* ============================================
   VARIABLES & BASE
============================================ */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --accent: #ff4d4d;
    --accent-light: #ff6b6b;
    --accent-dark: #e63939;
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --noise-opacity: 0.03;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    --header-height: 80px;
}

[data-theme="light"] {
    --black: #ffffff;
    --white: #0a0a0a;
    --gray-100: #171717;
    --gray-200: #262626;
    --gray-300: #404040;
    --gray-400: #525252;
    --gray-500: #737373;
    --gray-600: #a3a3a3;
    --gray-700: #d4d4d4;
    --gray-800: #e5e5e5;
    --gray-900: #f5f5f5;
    --noise-opacity: 0.08;
}

[data-theme="light"] .header {
    mix-blend-mode: normal;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
}

[data-theme="light"] .cursor-ball-big {
    mix-blend-mode: normal;
    border: 1px solid var(--white);
    background: transparent;
}

[data-theme="light"] .modal-bg {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .hero-title-stroke {
    -webkit-text-stroke: 1px var(--black);
}

[data-theme="light"] .about-bg-text {
    -webkit-text-stroke: 1px var(--white);
}

[data-theme="light"] .hero-description {
    color: var(--gray-200);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html.lenis, html.lenis body {
    height: auto;
}

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

body.loading {
    overflow: hidden;
}

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

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: none;
}

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

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

/* ============================================
   NOISE OVERLAY
============================================ */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   CUSTOM CURSOR
============================================ */
.cursor {
    pointer-events: none;
    position: fixed;
    z-index: 10000;
}

.cursor-ball {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-ball-big {
    width: 40px;
    height: 40px;
    background: var(--white);
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-out-expo),
                width 0.3s var(--ease-out-expo),
                height 0.3s var(--ease-out-expo);
}

.cursor-ball-small {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: translate(-50%, -50%);
}

body.cursor-hover .cursor-ball-big {
    width: 80px;
    height: 80px;
}

body.cursor-active .cursor-ball-big {
    transform: translate(-50%, -50%) scale(0.5);
}

body.cursor-hidden .cursor-ball-big,
body.cursor-hidden .cursor-ball-small {
    opacity: 0;
}

/* ============================================
   LOADER
============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-inner {
    text-align: center;
}

.loader-line-wrap {
    width: 200px;
    height: 2px;
    background: var(--gray-800);
    margin: 0 auto 2rem;
    overflow: hidden;
}

.loader-line {
    width: 0%;
    height: 100%;
    background: var(--accent);
    transition: width 0.1s;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.loader-text span {
    display: inline-block;
    background: linear-gradient(135deg, var(--white), var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-progress {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.loader.loaded {
    animation: loaderOut 1s var(--ease-in-out-circ) forwards;
}

@keyframes loaderOut {
    0% { 
        clip-path: inset(0 0 0 0); 
    }
    100% { 
        clip-path: inset(0 0 100% 0); 
    }
}

/* ============================================
   HEADER / NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    mix-blend-mode: difference;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.theme-toggle {
    margin-right: 2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    color: var(--white);
    transition: transform 0.3s var(--ease-out-expo);
}

.theme-toggle:hover {
    transform: scale(1.2) rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.nav-link span {
    display: block;
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-link span::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
}

.nav-link:hover span {
    transform: translateY(-100%);
}

.nav-link-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--black);
    border-radius: 100px;
    overflow: visible;
    transition: background 0.3s, gap 0.3s var(--ease-out-expo);
}

.nav-link-cta:hover {
    gap: 1rem;
}

.nav-link-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg) translate(3px, 5px);
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(3px, -5px);
}

/* ============================================
   MOBILE MENU
============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    display: none;
}

.mobile-menu.active {
    pointer-events: auto;
}

.mobile-menu-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--gray-900);
    transition: width 0.6s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-bg {
    width: 100%;
}

.mobile-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s 0.3s;
}

.mobile-menu.active .mobile-nav {
    opacity: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
}

.mobile-nav-number {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-500);
}

.mobile-nav-text {
    display: block;
    transform: translateY(100%);
    transition: transform 0.6s var(--ease-out-expo);
}

.mobile-menu.active .mobile-nav-text {
    transform: translateY(0);
}

.mobile-nav-link:nth-child(1) .mobile-nav-text { transition-delay: 0.1s; }
.mobile-nav-link:nth-child(2) .mobile-nav-text { transition-delay: 0.15s; }
.mobile-nav-link:nth-child(3) .mobile-nav-text { transition-delay: 0.2s; }
.mobile-nav-link:nth-child(4) .mobile-nav-text { transition-delay: 0.25s; }

.mobile-menu-footer {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    opacity: 0;
    transition: opacity 0.3s 0.4s;
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
}

.mobile-menu-footer a:hover {
    color: var(--white);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 6rem);
    padding-top: calc(var(--header-height) + 2rem);
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) 1.5s forwards;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

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

.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1.2s var(--ease-out-expo) forwards;
}

.hero-title-line:nth-child(1) .hero-title-word { animation-delay: 1.6s; }
.hero-title-line:nth-child(2) .hero-title-word { animation-delay: 1.7s; }
.hero-title-line:nth-child(3) .hero-title-word { animation-delay: 1.8s; }
.hero-title-line:nth-child(3) .hero-title-stroke { animation-delay: 1.9s; }

.hero-title-stroke {
    display: inline-block;
    -webkit-text-stroke: 2px var(--white);
    -webkit-text-fill-color: transparent;
    margin-left: 1rem;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1.2s var(--ease-out-expo) forwards;
}

.hero-title-line-accent .hero-title-word {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 400px;
    margin-bottom: 3rem;
}

.hero-description span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) forwards;
}

.hero-description span:nth-child(1) { animation-delay: 2s; }
.hero-description span:nth-child(2) { animation-delay: 2.1s; }

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) 2.2s forwards;
}

.hero-name span {
    display: inline-block;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: clamp(2rem, 5vw, 6rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 2.3s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.3); transform-origin: top; }
}

.hero-image {
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 2s forwards;
}

.hero-image-inner {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    animation: zoomOut 2s var(--ease-out-expo) 2s forwards;
}

@keyframes zoomOut {
    to { transform: scale(1); }
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-image::after {
        background: rgba(0,0,0,0.5);
    }
}

.hero-image-caption {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    background: var(--accent);
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 2.5s forwards;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    white-space: nowrap;
    padding-right: 1rem;
}

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

/* ============================================
   SECTION STYLES
============================================ */
.section-header {
    padding: clamp(2rem, 5vw, 6rem);
    padding-bottom: 0;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.section-header-center .section-label {
    justify-content: center;
}

.section-number {
    color: var(--accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* ============================================
   WORK / GALLERY SECTION
============================================ */
.work {
    padding: 8rem 0;
}

.work-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 1px solid var(--gray-800);
    border-radius: 100px;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.filter-btn:hover {
    border-color: var(--gray-600);
    color: var(--white);
}

.filter-btn.active {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.filter-btn-count {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.filter-btn.active .filter-btn-count {
    background: var(--black);
    color: var(--white);
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: none;
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-category {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.gallery-item-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery-item-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: all 0.4s var(--ease-out-expo);
}

.gallery-item:hover .gallery-item-icon {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.gallery-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

/* Load More Button */
.load-more-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 4rem auto 0;
    padding: 1.25rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gray-700);
    border-radius: 100px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-expo);
}

.load-more-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
    gap: 1.5rem;
}

.load-more-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================
   ABOUT SECTION
============================================ */
.about {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.about-bg-text {
    font-family: var(--font-display);
    font-size: clamp(10rem, 25vw, 25rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px var(--gray-800);
    opacity: 0.5;
    white-space: nowrap;
}

.about-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    padding: 0 clamp(2rem, 5vw, 6rem);
    max-width: 1600px;
    margin: 0 auto;
}

.about-image-container {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 50%);
    opacity: 0.2;
    mix-blend-mode: multiply;
}

.about-experience {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    padding: 2rem;
    background: var(--accent);
    border-radius: 0.5rem;
    text-align: center;
}

.about-experience-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.about-title em {
    font-style: normal;
    color: var(--accent);
}

.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-800);
}

.about-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--white), var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-number::after {
    content: '+';
    -webkit-text-fill-color: var(--accent);
}

.about-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.625rem 1.25rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   SERVICES SECTION
============================================ */
.services {
    padding: 8rem 0;
    background: var(--gray-900);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 4rem clamp(1.5rem, 5vw, 4rem);
    max-width: 1600px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-10px);
}

.service-card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gray-800);
    transition: color 0.4s;
}

.service-card:hover .service-card-number {
    color: var(--accent);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
}

.service-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.service-card-list {
    list-style: none;
}

.service-card-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0;
    filter: blur(60px);
    pointer-events: none;
    transition: opacity 0.4s;
}

.service-card:hover .service-card-hover {
    opacity: 0.15;
}

/* ============================================
   TESTIMONIALS MARQUEE
============================================ */
.testimonials-marquee {
    padding: 4rem 0;
    background: var(--black);
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: marquee 40s linear infinite;
}

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

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    padding: 2rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 1rem;
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.25em;
}

.testimonial-card p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact {
    padding: 8rem 0;
    background: var(--black);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    text-align: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.contact-title-line {
    display: block;
}

.contact-title-line-accent {
    color: var(--accent);
    -webkit-text-stroke: 0;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s var(--ease-out-expo);
    text-align: center;
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--black);
    stroke-width: 2;
    fill: none;
}

.contact-info-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.contact-info-content a,
.contact-info-content span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--accent);
}

.availability-card .contact-info-icon {
    background: transparent;
    border: 3px solid var(--accent);
    position: relative;
}

.availability-dot {
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact {
        padding: 6rem 0;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
    }

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

    .contact-info-content a,
    .contact-info-content span {
        font-size: 1rem;
    }
}

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: 4rem clamp(1.5rem, 5vw, 4rem);
    background: var(--black);
    border-top: 1px solid var(--gray-900);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social-link {
    font-size: 0.9375rem;
    color: var(--gray-500);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.footer-social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-divider {
    opacity: 0.3;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.back-to-top:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.back-to-top-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 201, 0.05);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.back-to-top:hover .back-to-top-icon {
    background: var(--accent);
    color: var(--black);
}

/* ============================================
   MODAL / LIGHTBOX
============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.modal.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s;
}

.modal-nav:hover {
    background: var(--white);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s;
}

.modal-nav:hover svg {
    stroke: var(--black);
}

.modal-prev { left: 2rem; }
.modal-next { right: 2rem; }

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image-wrap {
    max-height: 75vh;
    overflow: hidden;
    border-radius: 0.5rem;
}

.modal-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.modal.active .modal-image {
    transform: scale(1);
    opacity: 1;
}

.modal-info {
    text-align: center;
    margin-top: 2rem;
}

.modal-category {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.modal-counter {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(100%); 
    }
    to { 
        opacity: 1;
        transform: translateY(0); 
    }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact {
        grid-template-columns: 1fr;
    }
    
    .contact-visual {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        position: absolute;
        inset: 0;
        opacity: 0.15;
    }

    .hero-title {
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

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

    /* Light mode mobile improvements */
    [data-theme="light"] .hero-image::after {
        background: rgba(0,0,0,0.9);
    }

    [data-theme="light"] .hero-title {
        color: var(--black);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    }

    [data-theme="light"] .hero-description {
        color: var(--black);
    }

    [data-theme="light"] .hero-label span {
        color: var(--black);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image-container {
        max-width: 400px;
    }
    
    .about-bg-text {
        font-size: 15vw;
    }
    
    .about-bg {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .work-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .work-filter {
        gap: 0.25rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }
    
    .filter-btn-count {
        display: none;
    }
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    button, a, .gallery-item {
        cursor: pointer;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s var(--ease-out-expo);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    background-color: #22c35e;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   SKILLS SECTION
============================================ */
.about-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-muted);
    transition: color 0.3s ease;
}

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

/* Branding Colors */
.skill-icon.ps { background: #001E36; color: #31A8FF; border: 1px solid #31A8FF; }
.skill-icon.ai { background: #330000; color: #FF9A00; border: 1px solid #FF9A00; }
.skill-icon.fg { background: #2C2C2C; padding: 8px; }
.skill-icon.ae { background: #00005B; color: #CF96FD; border: 1px solid #CF96FD; }
.skill-icon.id { background: #2C001E; color: #FF3366; border: 1px solid #FF3366; }
.skill-icon.bl { background: #24292E; padding: 5px; }

@media (max-width: 1024px) {
    .about-skills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-skills {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-item {
        flex-direction: row;
        padding: 1rem;
        gap: 1.5rem;
    }
}

/* ============================================
   LOGO IMAGE
============================================ */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.footer-logo .logo-img {
    height: 120px;
}
