/* ═══════════════════════════════════════════════════════════════
   ALTSLASH - FUTURISTIC SOFTWARE STUDIO
   Ultra-modern, immersive, cinematic design
   ═══════════════════════════════════════════════════════════════ */

:root {
    --primary: #00ffff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg: #000000;
    --bg-alt: #0a0a0a;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.5);
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);

    /* Readable futuristic fonts: Orbitron + Poppins */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

::selection {
    background: var(--primary);
    color: var(--bg);
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════════ */

.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s, visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader-ring::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 2px solid transparent;
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 4px;
    margin-top: 30px;
    color: var(--primary);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════ */

.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99997;
    transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
}

.cursor-follower.click {
    transform: scale(0.8);
}

/* ═══════════════════════════════════════════════════════════════
   NOISE OVERLAY
   ═══════════════════════════════════════════════════════════════ */

.noise {
    position: fixed;
    inset: 0;
    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");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION - FIXED HOVER FLICKERING
   ═══════════════════════════════════════════════════════════════ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text);
    text-decoration: none;
}

.logo-glitch {
    position: relative;
    display: inline-block;
}

.logo-glitch:hover {
    animation: glitch 0.5s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 0 var(--primary), -2px 0 var(--secondary);
    }

    25% {
        text-shadow: -2px 0 var(--primary), 2px 0 var(--secondary);
    }

    50% {
        text-shadow: 2px 2px var(--primary), -2px -2px var(--secondary);
    }

    75% {
        text-shadow: -2px 2px var(--primary), 2px -2px var(--secondary);
    }

    100% {
        text-shadow: 2px 0 var(--primary), -2px 0 var(--secondary);
    }
}

@keyframes logo-img-glitch {
    0% {
        filter: drop-shadow(2px 0 var(--primary)) drop-shadow(-2px 0 var(--secondary));
    }

    25% {
        filter: drop-shadow(-2px 0 var(--primary)) drop-shadow(2px 0 var(--secondary));
    }

    50% {
        filter: drop-shadow(2px 2px var(--primary)) drop-shadow(-2px -2px var(--secondary));
    }

    75% {
        filter: drop-shadow(-2px 2px var(--primary)) drop-shadow(2px -2px var(--secondary));
    }

    100% {
        filter: drop-shadow(2px 0 var(--primary)) drop-shadow(-2px 0 var(--secondary));
    }
}

.logo-img:hover,
.footer-logo-img:hover {
    animation: logo-img-glitch 0.5s infinite;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

/* Fixed nav link - no more flickering */
.nav-link {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-link.cta {
    background: var(--text);
    color: var(--bg);
    padding: 12px 30px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: background 0.3s, color 0.3s;
}

.nav-link.cta::after {
    display: none;
}

.nav-link.cta:hover {
    background: var(--primary);
    color: var(--bg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

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

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-menu-bg {
    transform: scaleY(1);
}

.mobile-menu-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text);
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s, color 0.3s;
}

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

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

.mobile-link.cta {
    background: var(--primary);
    color: var(--bg);
    padding: 12px 30px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s, color 0.3s;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 18px 35px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.4s, border-color 0.4s;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-out);
    z-index: -1;
}

.btn:hover {
    color: var(--bg);
    border-color: var(--primary);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-icon {
    width: 30px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width 0.3s;
}

.btn-icon::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border: 4px solid transparent;
    border-left: 6px solid currentColor;
}

.btn:hover .btn-icon {
    width: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════════════════════════ */

.section {
    position: relative;
    min-height: 50vh;
    overflow: hidden;
}

.section-pinned {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION - REDUCED FONT SIZES FOR DESKTOP
   ═══════════════════════════════════════════════════════════════ */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: saturate(0.5);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, transparent 50%, var(--bg) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    opacity: 0.5;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

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

.hero-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-label::before {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--primary);
}

/* Reduced hero title size for desktop */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 7vw, 90px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

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

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

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.5s var(--ease-out);
}

.hero-title:hover .highlight::after {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.hero-cta {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-dim);
}

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

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

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

    100% {
        transform: translateX(300%);
    }
}

/* Floating Elements */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border: 1px solid var(--border);
    opacity: 0.5;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 15%;
    border-radius: 50%;
    border-color: var(--primary);
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 25%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 35%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    background: linear-gradient(135deg, var(--primary), transparent);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   STACKING / CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.stack-container {
    position: relative;
    z-index: 5;
    background: var(--bg);
}

.stack-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.stack-section:nth-child(even) {
    background: var(--bg-alt);
}

.stack-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stack-visual {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.stack-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.1);
    transition: filter 0.5s ease;
}

.stack-visual:hover .stack-image {
    filter: grayscale(0%) contrast(1);
}

.stack-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(255, 0, 255, 0.15) 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.stack-text {
    padding: 40px 0;
}

.stack-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.stack-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
}

.stack-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .stack-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stack-content[style*="rtl"] {
        direction: ltr;
    }

    .stack-visual {
        height: 350px;
    }

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

@media (max-width: 768px) {
    .stack-visual {
        height: 280px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FULL-WIDTH TEXT SECTION (No Image)
   ═══════════════════════════════════════════════════════════════ */

.stack-content-full {
    display: block;
    width: 100%;
}

.stack-text-full {
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.stack-text-full .stack-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.stack-text-full .stack-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
}

.stack-text-full .stack-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 35px;
}

@media (max-width: 992px) {
    .stack-text-full {
        padding: 30px 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .stack-text-full {
        padding: 20px 10px;
    }

    .stack-text-full .stack-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .stack-text-full .stack-desc {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES TEXT GRID (2-column layout for services)
   ═══════════════════════════════════════════════════════════════ */

.services-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
}

.services-text-grid .stack-text {
    padding: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.services-text-grid .stack-text:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.services-text-grid .stack-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.services-text-grid .stack-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.services-text-grid .stack-desc {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .services-text-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-text-grid .stack-text {
        padding: 30px;
    }

    .services-text-grid .stack-title {
        font-size: clamp(20px, 5vw, 26px);
    }
}

/* ═══════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL SECTION
   ═══════════════════════════════════════════════════════════════ */

.horizontal-section {
    overflow: hidden;
    position: relative;
    z-index: 10;
    background: var(--bg);
}

.horizontal-wrapper {
    display: flex;
    width: fit-content;
}

.horizontal-panel {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg);
}

.panel-content {
    text-align: center;
    max-width: 700px;
    padding: 60px;
}

.panel-number {
    font-family: var(--font-display);
    font-size: clamp(100px, 15vw, 160px);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--border);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Reduced panel title size */
.panel-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.panel-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   REGULAR SECTIONS (NON-STACKING)
   ═══════════════════════════════════════════════════════════════ */

.content-section {
    position: relative;
    z-index: 5;
    background: var(--bg);
    padding: 150px 0;
}

.content-section.alt-bg {
    background: var(--bg-alt);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse>* {
    direction: ltr;
}

.content-visual {
    position: relative;
    height: 500px;
}

.content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.1);
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.content-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 100%);
    mix-blend-mode: overlay;
}

.content-text {
    padding: 60px 0;
}

.content-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Reduced content title size */
.content-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
}

.content-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 35px;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════════════════════════════ */

.services-section {
    padding: 150px 0;
    background: var(--bg);
    position: relative;
    z-index: 5;
}

.services-header {
    text-align: center;
    margin-bottom: 100px;
}

.services-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--primary);
    margin-bottom: 25px;
}

/* Reduced services title size */
.services-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border);
}

.service-card {
    background: var(--bg);
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.5s;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover::before,
.service-card.active::before {
    opacity: 1;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 25px;
    display: block;
}

.service-number {
    font-family: var(--font-display);
    font-size: 70px;
    font-weight: 700;
    position: absolute;
    top: 30px;
    right: 30px;
    color: transparent;
    -webkit-text-stroke: 1px var(--border);
    line-height: 1;
    transition: -webkit-text-stroke-color 0.5s;
}

.service-card:hover .service-number,
.service-card.active .service-number {
    -webkit-text-stroke-color: var(--primary);
}

/* Reduced service title size */
.service-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.service-card:hover .service-title,
.service-card.active .service-title {
    color: var(--primary);
}

.service-desc {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 15px;
}

.service-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.service-card:hover .service-arrow,
.service-card.active .service-arrow {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════ */

.marquee {
    padding: 50px 0;
    background: var(--primary);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

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

.marquee-content {
    display: flex;
    gap: 80px;
    padding-right: 80px;
    flex-shrink: 0;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--bg);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 80px;
}

.marquee-item::after {
    content: '✦';
    font-size: 14px;
}

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

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

/* ═══════════════════════════════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════════════════════════════ */

.stats-section {
    padding: 100px 0;
    background: var(--bg-alt);
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.stat-item {
    text-align: center;
}

/* Reduced stat number size */
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-top: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   WORK/PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */

.work-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
    z-index: 5;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

/* Reduced work title size */
.work-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item:first-child {
    grid-column: span 2;
}

.work-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s, transform 0.5s;
}

.work-item:first-child .work-image {
    aspect-ratio: 21/9;
}

.work-item:hover .work-image {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
}

.work-category {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 8px;
}

.work-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.cta-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-lines {
    position: absolute;
    inset: 0;
}

.cta-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.2;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Reduced CTA title size */
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 50px;
}

.cta-title .outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 80px 60px 40px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.footer-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin-left: 40px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

.contact-section {
    min-height: 100vh;
    padding: 150px 0;
    background: var(--bg);
    position: relative;
    z-index: 5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

/* Reduced contact title size */
.contact-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-link {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    margin-bottom: clamp(20px, 5vw, 40px);
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

.form-group {
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dim);
}

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

.form-label {
    position: absolute;
    left: 0;
    top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dim);
    pointer-events: none;
    transition: all 0.3s;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label,
.form-textarea:focus+.form-label,
.form-textarea:not(:placeholder-shown)+.form-label {
    top: -10px;
    font-size: 16px;
    color: var(--primary);
    letter-spacing: 2px;
}

.form-submit {
    align-self: flex-start;
}

.form-hint {
    display: block;
    color: var(--text-dim);
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .nav {
        padding: 20px 40px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-toggle {
        display: flex;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .content-grid.reverse {
        direction: ltr;
    }

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

    .work-item:first-child {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        padding: 20px 24px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-line {
        width: 100%;
        margin-left: 0;
        background: linear-gradient(to right, var(--primary), var(--secondary)) !important;
        opacity: 1;
        transform-origin: center;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

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

    .services-section,
    .stats-section,
    .work-section {
        padding: 100px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
}

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

.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.magnetic {
    transition: transform 0.3s var(--ease-out);
}