/* --- CSS Reset & Variables --- */
:root {
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff003c;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    /* ---- Logo size: change this one value to resize the logo everywhere ---- */
    --logo-size: 36px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
}

/* --- Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.mt-4 { margin-top: 32px; }
.w-100 { width: 100%; }

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--neon-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.nav-logo {
    height: auto;
    width: 175px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover:not(.btn-primary-outline) {
    color: var(--neon-cyan);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    animation: scaleBg 20s infinite alternate linear;
    filter: brightness(0.6) contrast(1.2);
}

.hero-slide.active {
    opacity: 1;
}

@keyframes scaleBg {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.2) 0%, rgba(5,5,5,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-primary);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 2px;
}

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

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

/* --- Inner Page Hero --- */
.page-hero {
    position: relative;
    padding: 180px 20px 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8), var(--bg-color)), url(images/heading-bg.png) center/cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-hero-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-hero-desc {
    font-size: 1.2rem;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Clients Marquee --- */
.clients-section {
    padding: 40px 0;
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scrollMarquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 40px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--text-primary);
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Services Section --- */
#services .container {
    max-width: 100%;
    padding: 0 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--neon-cyan);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Visibility Utilities --- */
.desktop-only { display: block; }
.mobile-only  { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only  { display: block !important; }
}

/* --- Services Mobile Layout --- */
.services-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.service-mobile-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: start;
}
.service-mobile-item:last-child {
    border-bottom: none;
}

.smi-number {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--neon-cyan);
    opacity: 0.6;
    padding-top: 4px;
}

.smi-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smi-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.smi-header i {
    font-size: 1.3rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.smi-header h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.smi-body p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Services Section - Mobile --- */
@media (max-width: 768px) {
    #services .container {
        padding: 0 16px;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 54px 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 6px;
        padding: 20px 18px;
        border-radius: 10px;
    }

    .service-card::before {
        display: none;
    }

    .service-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        font-size: 1.5rem;
        margin-bottom: 0;
        align-self: start;
        width: 54px;
        height: 54px;
        background: rgba(0, 240, 255, 0.06);
        border: 1px solid rgba(0, 240, 255, 0.15);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 1rem;
        margin-bottom: 0;
        align-self: end;
    }

    .service-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.85rem;
        line-height: 1.6;
        margin-top: 4px;
    }

    .service-card:hover {
        transform: none;
    }
}

/* --- Portfolio (Netflix Style) --- */
.portfolio-section {
    background: var(--surface-color);
}

.netflix-slider-container {
    margin-bottom: 40px;
    position: relative;
}

.slider-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    padding-left: 20px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 0 20px 40px;
    scrollbar-width: none; /* Firefox */
}

.slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.slide {
    flex: 0 0 calc(20% - 12px); /* Show 5 items on desktop */
    min-width: 200px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.slide img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.slide:hover {
    transform: scale(1.05);
    z-index: 10;
}

.slide:hover .slide-info {
    opacity: 1;
    transform: translateY(0);
}

.slide-info h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.slide-info p {
    font-size: 0.85rem;
    color: var(--neon-cyan);
}

/* --- Case Study Section --- */
.case-study-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Contact Section --- */
.contact-section {
    background: var(--surface-color);
}

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

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--neon-magenta);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.8rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

.contact-form form {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--surface-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .nav-logo {
    height: var(--logo-size);
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--neon-cyan);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}


/* --- Custom Cursor & Mouse Trace --- */
* { cursor: none !important; }

.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: var(--neon-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 8px var(--neon-cyan), 0 0 16px var(--neon-cyan);
}

.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(0, 240, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-dot.hovered {
    width: 12px; height: 12px;
    background: var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta), 0 0 20px var(--neon-magenta);
}

.cursor-ring.hovered {
    width: 52px; height: 52px;
    border-color: rgba(255, 0, 60, 0.5);
}

.trace-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99997;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--neon-cyan);
    box-shadow: 0 0 6px var(--neon-cyan);
    animation: traceParticleFade 0.6s ease-out forwards;
}

@keyframes traceParticleFade {
    0%   { opacity: 0.7; width: 5px; height: 5px; }
    100% { opacity: 0;   width: 1px; height: 1px; }
}

/* --- Video Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.video-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.video-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}

.video-embed-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-card-info {
    padding: 16px 20px 20px;
}

.video-card-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.video-card-info span {
    font-size: 0.78rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.showreel-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.showreel-wrapper .video-embed-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--neon-cyan);
}

.showreel-title {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
}


/* --- Logo Grid --- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.logo-item {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 36px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo-item:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-item img[alt="Canal+"] {
    max-height: 88px;
}


/* --- Clients Page --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    background: var(--bg-color);
    padding: 48px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

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

.client-card {
    position: relative;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 56px 48px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    cursor: default;
}

.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 240, 255, 0.08), transparent 65%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.client-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

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

.client-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 24px;
    width: fit-content;
}

.client-card-name {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.client-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 380px;
}

.client-card-glyph {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 10rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -4px;
}

.client-projects {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.client-project-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.clients-cta {
    text-align: center;
    padding: 100px 20px;
}

.clients-cta h2 {
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.clients-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Restore cursor & hide mouse-trace on touch devices */
@media (hover: none) and (pointer: coarse) {
    * { cursor: auto !important; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* --- Mobile Drawer --- */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: #090909;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 1999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
}
.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.mobile-drawer-header .nav-logo {
    width: 120px;
}

.mobile-drawer-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    flex-shrink: 0;
}
.mobile-drawer-close:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.4);
}

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    flex: 1;
}
.mobile-drawer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(16px);
    transition: color 0.25s, background 0.25s, opacity 0.35s ease, transform 0.35s ease;
    position: relative;
}
.mobile-drawer-nav a::before {
    content: '';
    width: 3px;
    height: 0;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: height 0.25s ease;
    flex-shrink: 0;
}
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}
.mobile-drawer-nav a:hover::before,
.mobile-drawer-nav a.active::before {
    height: 20px;
}
.mobile-drawer-nav a:last-child { border-bottom: none; }

.mobile-drawer-nav a.drawer-contact {
    margin: 20px 24px 0;
    padding: 14px 20px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 4px;
    color: var(--neon-cyan);
    justify-content: center;
    background: rgba(0, 240, 255, 0.05);
}
.mobile-drawer-nav a.drawer-contact::before { display: none; }
.mobile-drawer-nav a.drawer-contact:hover {
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
}

/* Staggered link animation */
.mobile-drawer.open .mobile-drawer-nav a { opacity: 1; transform: translateX(0); }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(1) { transition-delay: 0.06s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(2) { transition-delay: 0.10s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(3) { transition-delay: 0.14s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(4) { transition-delay: 0.18s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(5) { transition-delay: 0.22s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(6) { transition-delay: 0.26s; }

.mobile-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.mobile-drawer-footer a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.mobile-drawer-footer a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .slide { flex: 0 0 calc(33.333% - 10px); }
    .case-study-split { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
    /* Nav */
    .nav-container { padding: 0 20px; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; cursor: pointer !important; }
    .nav-logo { width: 130px; }

    /* Typography */
    .section-title { font-size: 2rem; }
    .section-desc { font-size: 1rem; }
    .page-hero-title { font-size: 2.2rem; }
    .page-hero-desc { font-size: 0.95rem; }

    /* Spacing */
    .section-padding { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .page-hero { padding: 130px 20px 56px; }
    .services-mobile.section-padding { padding-top: 14px; }

    /* Hero — full image visible on mobile, no side cropping */
    .hero {
        height: 56.25vw;
        min-height: 280px;
        max-height: 500px;
    }
    .hero-slide {
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        animation: none;
    }
    .hero-slide-1 {
        background-image: url('images/slider/hero-1-mobile.png') !important;
    }
    .hero-bg {
        background-color: #050505;
    }
    .hero-title { font-size: 1.8rem; letter-spacing: -0.5px; margin-bottom: 12px; }
    .hero-subtitle { display: none; }
    .hero-cta {
        flex-direction: row;
        gap: 10px;
    }
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 10px 18px;
        font-size: 0.78rem;
    }
    .scroll-indicator { display: none; }

    /* Grids */
    #services .container { padding: 0 20px; max-width: 100%; }
    .video-grid { grid-template-columns: 1fr !important; }
    .logo-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .case-study-split { grid-template-columns: 1fr; gap: 32px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Misc */
    .slide { flex: 0 0 calc(50% - 7.5px); }
    .client-card-name { font-size: 2rem; }
    .clients-cta h2 { font-size: 2rem; }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
    .nav-logo { width: 110px; }
    .hero-title { font-size: 1.9rem; }
    .section-title { font-size: 1.65rem; }
    .page-hero-title { font-size: 1.8rem; }
    .slide { flex: 0 0 80%; }
    .logo-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .btn-primary, .btn-secondary, .btn-primary-outline { padding: 12px 22px; font-size: 0.9rem; }
    .service-card { padding: 28px 20px; }
    .logo-item { padding: 24px 16px; }
    .showreel-wrapper { max-width: 100%; }
    .contact-page-form { padding: 24px 16px !important; }
    .form-row { grid-template-columns: 1fr !important; }
}
