:root {
    --bg-color: #030303;
    --text-color: #f5f5f7;
    --accent-purple: #8A2BE2; /* Vibrant Purple */
    --accent-red: #FF3366; /* Vibrant Red */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Geist', 'Inter', sans-serif;
    --font-heading: 'Geist', 'Inter', sans-serif;
    --font-btn: 'Geist', 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600; 
    letter-spacing: -0.5px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-red));
    border-radius: 2px;
}

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

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, background 0.3s;
}

.cursor-hover .cursor {
    width: 0;
    height: 0;
}

.cursor-hover .cursor-follower {
    width: 80px;
    height: 80px;
    background: rgba(255, 51, 102, 0.1);
    backdrop-filter: blur(2px);
    border-color: var(--accent-red);
}

/* Interactive Proximity Dot Grid Background */
.interactive-grid, .halftone-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-color: transparent;
    transition: opacity 0.3s ease;
    background-size: 30px 30px;
    background-attachment: fixed;
    pointer-events: none;
}

.interactive-grid {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.halftone-grid {
    opacity: 0; /* Updated via JS */
}

.halftone-grid.layer-1 {
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    mask-image: radial-gradient(circle 150px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
    -webkit-mask-image: radial-gradient(circle 150px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
}

.halftone-grid.layer-2 {
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
    mask-image: radial-gradient(circle 100px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
    -webkit-mask-image: radial-gradient(circle 100px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
}

.halftone-grid.layer-3 {
    background-image: radial-gradient(rgba(255, 255, 255, 0.6) 2.5px, transparent 2.5px);
    mask-image: radial-gradient(circle 50px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
    -webkit-mask-image: radial-gradient(circle 50px at var(--mouse-x, -100%) var(--mouse-y, -100%), black, transparent);
}

.interactive-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 51, 102, 0.15) 0%, rgba(138, 43, 226, 0.1) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Global Texture Overlay */
.global-texture {
    position: fixed;
    inset: 0;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.04"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 9999; /* Top level texture for film grain feel */
    mix-blend-mode: overlay;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transform-origin: top;
}

.loader-content {
    text-align: center;
    overflow: hidden;
}

.decode-text {
    font-size: 8rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    min-width: 300px;
}

.loader-subtitle {
    color: var(--accent-red);
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: transform 0.4s ease, background 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

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

.contact-nav {
    color: var(--accent-red) !important;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-purple);
    border-radius: 30px;
    color: #fff;
    font-family: var(--font-btn);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary.outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary.outline:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.btn-primary.lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.mt-2 { margin-top: 2rem; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
    padding: 15vh 5vw 0 5vw; /* Added top padding to clear navbar */
}

.hero-content {
    z-index: 1;
    width: 100%;
}

.massive-text {
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.massive-text.indent {
    padding-left: 10vw;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
}

.massive-text.step-3 {
    width: 100%;
    text-align: right;
}

/* Outline text that fills with liquid glass on hover */
.massive-text.outline-hover {
    position: relative;
    height: 0.85em; /* Locks height to prevent layout shifting when spans grow */
    display: grid; /* Use grid to perfectly overlap layers */
}

.massive-text.outline-hover .stroke-layer,
.massive-text.outline-hover .fill-layer {
    grid-area: 1 / 1;
    display: flex;
    align-items: center; /* Reverted to center to fix vertical shifting of the font */
    width: 100%;
    height: 100%;
}

.massive-text.outline-hover .stroke-layer {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
}

.massive-text.outline-hover .fill-layer {
    color: transparent;
    background: linear-gradient(
        to right, 
        #ffffff 0%, 
        #999999 50%, 
        #333333 100%
    );
    -webkit-background-clip: text;
    -webkit-text-stroke: 2px transparent; /* Must match stroke-layer width to prevent X-axis layout shift */
    -webkit-mask-image: radial-gradient(circle 150px at var(--mouse-x, -100px) var(--mouse-y, -100px), black 0%, transparent 100%);
    mask-image: radial-gradient(circle 150px at var(--mouse-x, -100px) var(--mouse-y, -100px), black 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.massive-text.outline-hover span {
    display: inline-block;
    font-weight: 800;
}

/* Liquid Glass Text Effect */
.liquid-glass {
    background: linear-gradient(
        to right, 
        #ffffff 0%, 
        #999999 50%, 
        #333333 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
}

.hero-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 3rem;
}

.tagline {
    font-size: 1.2rem;
    color: #888;
    max-width: 400px;
    margin: 0;
}

/* Modern Scroll Indicator */
.scroll-indicator-modern {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0.7;
}

.scroll-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-icon i {
    color: var(--accent-red);
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee span {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

/* Sections */
section {
    padding: 8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Portfolio System */
.filters {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: var(--font-btn);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: none;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--accent-cyan);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

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

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    aspect-ratio: 16/9; /* Reverted back to aspect-ratio for equal 2x2 */
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: transform 0.1s ease-out, border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    /* Fix for border-radius break on 3D transform */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.project-video-preview,
.project-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

.project-thumbnail {
    z-index: 2; /* Sit on top of video */
    transition: opacity 0.4s ease;
}

.card-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.project-card:hover .card-glare {
    opacity: 1;
}

.project-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.5s ease;
    /* Disable GSAP scale for 3D tilt */
}

.project-card:hover .project-video-preview {
    /* Kept neutral so tilt handles visual motion */
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 10;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-category {
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #aaa;
}

.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 15;
}

/* Video Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

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

.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: auto;
    max-height: 95vh;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* Removed transform and transition for GSAP morph */
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal.active .modal-content {
    /* GSAP handles this now */
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-container {
    width: 100%;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#custom-player {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    object-fit: contain;
}

.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .custom-controls,
.custom-controls:hover {
    opacity: 1;
}

.control-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: none;
    display: flex;
    align-items: center;
}

.control-btn:hover {
    color: var(--accent-blue);
}

.progress-wrapper {
    flex: 1;
    height: 20px; /* Larger clickable area */
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.progress-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.progress-filled {
    width: 0%;
    height: 6px;
    background: var(--accent-purple);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-purple);
}

.time-display {
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

#volume-slider {
    width: 80px;
    cursor: pointer;
}

#playback-speed {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    cursor: pointer;
}
#playback-speed option {
    background: #000;
}

.modal-info {
    padding: 2rem;
    background: #050505;
    border-top: 1px solid var(--glass-border);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-tag {
    background: rgba(138, 43, 226, 0.1);
    color: var(--accent-blue);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

#modal-desc {
    color: #aaa;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.modal-meta {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-meta i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-meta svg {
    width: 16px;
    height: 16px;
    transform: translateY(1px); /* Slight adjustment for visual center */
}

.modal-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: -30px;
}

.modal-nav button {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-nav button:hover {
    border-color: #fff;
}

/* About Section Bento Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text {
    grid-column: span 12;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    text-align: left;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
}

.lead {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .counter {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-purple);
    line-height: 1;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.skills h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skill-bar {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bg {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 2px;
}

/* Services */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Client Experience */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.exp-card {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
}

.exp-card i {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.exp-card h4 {
    margin-bottom: 0.5rem;
}

.exp-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Contact */
.contact {
    text-align: center;
    padding-bottom: 10rem;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact p {
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.socials a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-5px);
}

/* Footer */
/* Massive CTA Footer */
.massive-cta {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.massive-cta-text {
    font-size: clamp(3rem, 15vw, 15rem);
    line-height: 0.8;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 800;
}

.massive-cta .socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.footer-bottom {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    color: #666;
    font-size: 0.9rem;
    align-items: center;
}

#back-to-top {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 6rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 4rem 2rem; }
    .navbar { padding: 1rem 2rem; }
    .nav-links { display: none; /* Add mobile menu later if needed */ }
    
    .massive-text {
        font-size: clamp(3rem, 12vw, 5rem);
        white-space: normal;
        word-wrap: break-word;
    }
    .massive-text.indent { padding-left: 0; }
    .massive-text.step-3 { text-align: left; }
    .massive-text.outline-hover { height: auto; display: block; }
    .massive-text.outline-hover .stroke-layer,
    .massive-text.outline-hover .fill-layer {
        display: block;
        width: 100%;
        height: auto;
    }
    
    /* Disable mask effect on mobile since no hover */
    .liquid-glass { -webkit-mask-image: none !important; }
    
    .hero { padding: 15vh 2rem 0 2rem; }
    .hero h1 { font-size: 3rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-links { flex-direction: column; }
    .experience-grid { grid-template-columns: 1fr; }
    
    /* Disable custom cursor on mobile */
    .cursor, .cursor-follower { display: none !important; } 
    body { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}
