/* ============================================
   GLOBAL STYLES
   ============================================ */

html {
    scroll-behavior: smooth;
}

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

:root {
    --black: #000000;
    --dark: #0A0A0A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --red: #FF3838;
    --gold: #FCC64C;
    --gray: #888888;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

/* ============================================
   PAGE TRANSITION
   ============================================ */

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark);
    transform: translateY(100%);
    pointer-events: none;
}

.page-transition.entering {
    animation: pageEnter 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.page-transition.leaving {
    animation: pageLeave 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes pageEnter {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@keyframes pageLeave {
    from { transform: translateY(0); }
    to   { transform: translateY(-100%); }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    will-change: transform;
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    top: -3px;
    left: -3px;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.cursor-ring {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 56, 56, 0.7);
    border-radius: 50%;
    top: -18px;
    left: -18px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.3s ease,
                border-color 0.3s ease;
}

.cursor-view-label {
    position: absolute;
    font-family: 'Inter Tight', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white);
    white-space: nowrap;
    opacity: 0;
    top: -10px;
    left: -18px;
    width: 36px;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Cursor on project card hover */
.custom-cursor.cursor-project .cursor-ring {
    width: 80px;
    height: 80px;
    top: -40px;
    left: -40px;
    background: var(--red);
    border-color: var(--red);
}

.custom-cursor.cursor-project .cursor-dot {
    opacity: 0;
}

.custom-cursor.cursor-project .cursor-view-label {
    opacity: 1;
    /* Center inside 80px ring: ring is offset -40px -40px, label is 36px wide */
    top: -9px;
    left: -18px;
    width: 36px;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    pointer-events: none;
}

.nav-pill {
    max-width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 16px 10px 20px;
    pointer-events: auto;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled .nav-pill {
    background: rgba(10, 10, 10, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.nav-logo img {
    height: 22px;
    width: auto;
    display: block;
}

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

.nav-link-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 100px;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
    overflow: hidden;
}

.nav-link-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.nav-start-project {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
    display: inline-block;
}

.nav-start-project:hover {
    background: #FF5252 !important;
    box-shadow: 0 6px 24px rgba(255, 56, 56, 0.4) !important;
}

/* Hide old underline for nav items */
.nav-links a::after { display: none; }

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    background: var(--white);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: var(--white);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
}

.mobile-menu.active {
    max-height: 400px;
    padding-top: 80px;
}

/* Mobile menu active state already defined above */

.mobile-menu-content {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: var(--red);
}

.mobile-menu-content .mobile-start-project {
    background: var(--red) !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    display: block !important;
    margin-top: 16px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-content .mobile-start-project:hover {
    background: #FF5252 !important;
    color: var(--white) !important;
    transform: scale(1.05) !important;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }

    .navbar {
        padding: 14px 20px;
    }

    .nav-pill {
        gap: 16px;
        padding: 8px 12px 8px 16px;
        border-radius: 100px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 56, 56, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.15;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 56, 56, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 56, 56, 0.6);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.hero-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    word-spacing: 0.1em;
    letter-spacing: -1px;
}

.word-cycle {
    display: inline-block;
    color: var(--red);
    transition: all 0.6s ease;
}

.static-word {
    display: inline-block;
    color: var(--white);
}

.mobile-br {
    display: none;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 16px 48px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
}

.hero-cta:hover {
    background: transparent;
    color: var(--red);
    transform: scale(1.08);
    box-shadow: 0 20px 60px rgba(255, 56, 56, 0.4);
}

.hero-cta:active {
    transform: scale(0.98);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(20px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--red);
    top: -100px;
    left: -100px;
    box-shadow: 0 0 150px rgba(255, 56, 56, 0.8);
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--gold);
    bottom: -50px;
    right: -50px;
    box-shadow: 0 0 150px rgba(252, 198, 76, 0.7);
}

.shape-3 {
    width: 320px;
    height: 320px;
    background: var(--red);
    top: 50%;
    right: -100px;
    box-shadow: 0 0 150px rgba(255, 56, 56, 0.7);
}

.shape-4 {
    width: 380px;
    height: 380px;
    background: var(--gold);
    top: -80px;
    right: 50px;
    box-shadow: 0 0 150px rgba(252, 198, 76, 0.8);
}

.shape-5 {
    width: 360px;
    height: 360px;
    background: var(--red);
    bottom: -80px;
    left: 100px;
    box-shadow: 0 0 150px rgba(255, 56, 56, 0.7);
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 120px 20px 60px;
    }

    .hero-container {
        padding-top: 20px;
    }

    .hero-title {
        font-size: 54px;
        margin-bottom: 16px;
    }

    .hero-title #cycleWord {
        display: block;
    }

    .mobile-br {
        display: block;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
        max-width: 100%; /* prevent horizontal overflow on small phones */
    }

    .hero-cta {
        padding: 14px 40px;
        font-size: 14px;
    }

    .shape-1 {
        width: 200px;
        height: 200px;
    }

    .shape-2 {
        width: 150px;
        height: 150px;
    }

    .shape-3 {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 45px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 15px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 120px 40px;
    background: rgba(255, 56, 56, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-left {
    z-index: 2;
}

.about-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 24px;
}

.about-highlight {
    color: var(--red);
}

.about-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-cta {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 14px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
    margin-top: 20px;
    font-size: 14px;
}

.about-cta:hover {
    background: transparent;
    color: var(--red);
    transform: scale(1.05);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-stat {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-stat:hover {
    border-color: var(--red);
    background: rgba(255, 56, 56, 0.05);
}

.stat-number {
    font-family: 'Inter Tight', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about {
        padding: 60px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-desc {
        font-size: 15px;
    }

    /* Stats: 3 in a row on tablet — use equal flex sizing */
    .about-right {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .about-stat {
        flex: 1;
        padding: 20px 12px;
        min-width: 0; /* allow flex shrink below content size */
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .about-cta {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* Small phones: stats go to 2-column grid */
@media (max-width: 480px) {
    .about {
        padding: 50px 16px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Last card spans full width when it's the 3rd (odd) */
    .about-stat:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .about-stat {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* ============================================
   SERVICES SHOWCASE SECTION
   ============================================ */

/* ============================================
   RIPPLE DOT-GRID GLOW (from 21st.dev #1567)
   ============================================ */

@keyframes ripple-glow {
    0% {
        opacity: 0;
        background-size: 0 0;
        transform: scale(0.1) translateZ(0);
        -webkit-mask-image: radial-gradient(circle at center, black 0%, black 0%, transparent 2%, transparent 100%);
        mask-image:         radial-gradient(circle at center, black 0%, black 0%, transparent 2%, transparent 100%);
    }
    8% {
        opacity: 1;
        background-size: 24px 24px;
        transform: scale(0.25) translateZ(0);
        -webkit-mask-image: radial-gradient(circle at center, black 0%, black 8%, transparent 14%, transparent 100%);
        mask-image:         radial-gradient(circle at center, black 0%, black 8%, transparent 14%, transparent 100%);
    }
    55% {
        opacity: 0;
        background-size: 24px 24px;
        transform: scale(1) translateZ(0);
        -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        mask-image:         radial-gradient(circle at center, transparent 0%, transparent 100%);
    }
    100% {
        opacity: 0;
        background-size: 0 0;
        transform: scale(0.1) translateZ(0);
        -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        mask-image:         radial-gradient(circle at center, transparent 0%, transparent 100%);
    }
}

.lab-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;

    /* Edge fade mask so dots dissolve at borders */
    --mask-offset: 120px;
    -webkit-mask:
        linear-gradient(to bottom, transparent, #fff var(--mask-offset) calc(100% - var(--mask-offset)), transparent),
        linear-gradient(to right,  transparent, #fff var(--mask-offset) calc(100% - var(--mask-offset)), transparent);
    mask:
        linear-gradient(to bottom, transparent, #fff var(--mask-offset) calc(100% - var(--mask-offset)), transparent),
        linear-gradient(to right,  transparent, #fff var(--mask-offset) calc(100% - var(--mask-offset)), transparent);
    -webkit-mask-composite: source-in, xor;
    mask-composite: intersect;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.lab-bg::before {
    content: '';
    position: absolute;
    inset: -20%;           /* oversized so scale(1) still fills */
    background-image: radial-gradient(rgba(255, 56, 56, 0.55) 1px, transparent 1px);
    background-size: 0 0;
    -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
    mask-image:         radial-gradient(circle at center, transparent 0%, transparent 100%);
    animation: ripple-glow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, opacity, background-size;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ============================================
   ACETERNITY GLOWING BORDER EFFECT
   ============================================ */

/*
 * Each .service-card gets a .glowing-effect child.
 * The effect renders a colourful arc that follows
 * the mouse around the card border using CSS masks.
 *
 * We keep everything within inset:0 so it works
 * inside overflow:hidden and survives transforms.
 */

.glowing-effect {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 20;
    /* default state — JS overrides via inline style */
    --active: 0;
    --start: 0;
    --spread: 40;
}

/* The pseudo-element draws the glowing arc border */
.glowing-effect::after {
    content: '';
    position: absolute;
    border-radius: inherit;
    box-sizing: border-box; /* border draws INSIDE so overflow:hidden doesn't clip it */
    inset: 0;
    border: 2px solid transparent;

    /* Colourful gradient — brand palette */
    background: conic-gradient(
        from 0deg at 50% 50%,
        #FF3838 0deg,
        #FCC64C 72deg,
        #ffffff 144deg,
        #FF6B6B 216deg,
        #FCC64C 288deg,
        #FF3838 360deg
    );

    /* Reveal only the arc near cursor:
       layer 1 (padding-box, transparent) = hides interior
       layer 2 (border-box, conic arc)    = shows arc in border ring
       intersect = only where layer 2 is white AND layer 1 is outside its clip */
    -webkit-mask-clip: padding-box, border-box;
    mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(#0000, #0000),
        conic-gradient(
            from calc((var(--start) - var(--spread)) * 1deg),
            transparent 0deg,
            white,
            transparent calc(var(--spread) * 2deg)
        );
    mask-image:
        linear-gradient(#0000, #0000),
        conic-gradient(
            from calc((var(--start) - var(--spread)) * 1deg),
            transparent 0deg,
            white,
            transparent calc(var(--spread) * 2deg)
        );

    opacity: var(--active);
    transition: opacity 0.35s ease;
}


.services-showcase {
    padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 80px);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 56, 56, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.services-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 56, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
    transform: translate(0, -50%);
}

.services-showcase::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 56, 56, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes wave-motion {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    15% {
        transform: translateY(-60px) translateX(15px);
    }
    25% {
        transform: translateY(80px) translateX(30px);
    }
    35% {
        transform: translateY(-40px) translateX(45px);
    }
    45% {
        transform: translateY(50px) translateX(55px);
    }
    55% {
        transform: translateY(-20px) translateX(60px);
    }
    65% {
        transform: translateY(30px) translateX(55px);
    }
    75% {
        transform: translateY(-10px) translateX(40px);
    }
    85% {
        transform: translateY(15px) translateX(20px);
    }
}

@keyframes wave-motion-reverse {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    15% {
        transform: translateY(55px) translateX(-12px);
    }
    25% {
        transform: translateY(-70px) translateX(-24px);
    }
    35% {
        transform: translateY(35px) translateX(-36px);
    }
    45% {
        transform: translateY(-45px) translateX(-45px);
    }
    55% {
        transform: translateY(15px) translateX(-50px);
    }
    65% {
        transform: translateY(-25px) translateX(-48px);
    }
    75% {
        transform: translateY(8px) translateX(-35px);
    }
    85% {
        transform: translateY(-12px) translateX(-18px);
    }
}

/* Mobile bouncing animations — more vertical focus */
@keyframes wave-motion-mobile {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    20% {
        transform: translateY(-50px) translateX(3px);
    }
    35% {
        transform: translateY(60px) translateX(5px);
    }
    50% {
        transform: translateY(-30px) translateX(6px);
    }
    65% {
        transform: translateY(40px) translateX(5px);
    }
    80% {
        transform: translateY(-15px) translateX(3px);
    }
}

@keyframes wave-motion-mobile-reverse {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    20% {
        transform: translateY(45px) translateX(-3px);
    }
    35% {
        transform: translateY(-55px) translateX(-4px);
    }
    50% {
        transform: translateY(25px) translateX(-5px);
    }
    65% {
        transform: translateY(-35px) translateX(-4px);
    }
    80% {
        transform: translateY(12px) translateX(-2px);
    }
}

.services-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.services-header h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--white);
}

.services-highlight {
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.service-card {
    position: relative;
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    group: service-card;
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 56, 56, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(255, 56, 56, 0.3);
    background: rgba(255, 56, 56, 0.05);
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(255, 56, 56, 0.2);
}

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

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

.service-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(40px);
    transition: all 0.4s ease;
}

.service-card:hover .service-accent {
    opacity: 0.15;
    transform: scale(1.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:hover .service-icon {
    transform: translateY(-12px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 10px 20px rgba(255, 56, 56, 0.3));
}

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

.service-card h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: -0.5px;
}

.service-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 24px;
    margin: 0 0 24px 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.service-card:hover .service-list li::before {
    opacity: 1;
    transform: translateX(0);
}

.service-card:hover .service-list li {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 28px;
}

.services-cta {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.08) 0%, rgba(255, 56, 56, 0.03) 100%);
    border: 1px solid rgba(255, 56, 56, 0.2);
    border-radius: 20px;
    margin-top: 60px;
}

.services-cta p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--white);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.services-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(255, 56, 56, 0.3);
}

.services-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(255, 56, 56, 0.4);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-showcase {
        padding: 60px 20px;
    }

    .services-showcase::before {
        width: 400px;
        height: 400px;
        top: 50%;
        right: -10%;
        transform: translate(0, -50%);
        animation: float 15s ease-in-out infinite;
    }

    .services-showcase::after {
        width: 350px;
        height: 350px;
        bottom: 15%;
        left: -15%;
        animation: float 12s ease-in-out infinite reverse;
    }

    .services-header {
        margin-bottom: 60px;
    }

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

    .service-card {
        padding: 36px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .services-cta {
        padding: 40px 24px;
        margin-top: 40px;
    }

    .services-cta p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .services-button {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ============================================
   SERVICES FULL PAGE
   ============================================ */

.services-hero {
    padding: clamp(100px, 15vw, 180px) clamp(20px, 5vw, 80px);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 56, 56, 0.03) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.services-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-accent {
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-full-page {
    padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 80px);
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.services-full-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.service-card-full {
    position: relative;
    padding: 56px 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.service-card-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 56, 56, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-full:hover {
    border-color: rgba(255, 56, 56, 0.3);
    background: rgba(255, 56, 56, 0.05);
    transform: translateY(-16px);
    box-shadow: 0 50px 100px rgba(255, 56, 56, 0.25);
}

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

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-number {
    font-family: 'Inter Tight', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-icon-full {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-icon-full svg {
    width: 100%;
    height: 100%;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-full:hover .service-icon-full {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 12px 25px rgba(255, 56, 56, 0.35));
}

.service-card-full h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.service-card-full .service-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-list-full {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    position: relative;
    z-index: 2;
}

.service-list-full li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.service-list-full li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.service-card-full:hover .service-list-full li::before {
    opacity: 1;
    transform: translateX(0);
}

.service-card-full:hover .service-list-full li {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 28px;
}

.services-cta-full {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.08) 0%, rgba(255, 56, 56, 0.03) 100%);
    border: 1px solid rgba(255, 56, 56, 0.2);
    border-radius: 20px;
    margin-top: 60px;
}

.services-cta-full p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--white);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.services-button-full {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 50px rgba(255, 56, 56, 0.3);
}

.services-button-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(255, 56, 56, 0.4);
}

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

@media (max-width: 768px) {
    .services-hero {
        padding: 80px 20px;
    }

    .services-full-page {
        padding: 60px 20px;
    }

    .services-grid-full {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .service-card-full {
        padding: 40px 32px;
    }

    .service-card-full h3 {
        font-size: 22px;
    }

    .services-cta-full {
        padding: 40px 24px;
        margin-top: 40px;
    }

    .services-cta-full p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .service-list-full {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WORK SECTION
   ============================================ */

/* ============================================
   WORK SECTION — BENTO REDESIGN
   ============================================ */

.work {
    padding: 120px 40px;
    background: var(--dark);
}
.work-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Split header */
.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
}
.work-header-left { flex: 1; }
.work-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.work-heading {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--white);
}
.work-heading-accent { color: var(--red); }
.work-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}
.work-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    font-weight: 500;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 4px;
}
.filter-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.filter-tab:hover { color: var(--white); }
.filter-tab.active {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 56, 56, 0.35);
}


/* Bento grid (kept for other uses) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}
.project-card[data-bento="featured"] { grid-column: span 2; }
.project-card[data-bento="wide"] { grid-column: span 2; }
.project-card { grid-column: span 1; }

/* Card base */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: #111;
    opacity: 0;
    transform: translateY(60px);
}

/* Full-bleed image */
.project-image {
    position: relative;
    width: 100%;
    z-index: 1;
}
.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Number badge */
.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    font-family: 'Inter Tight', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Slide-up overlay */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    padding: 48px 28px 28px;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.overlay-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}
.overlay-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s;
}
.project-card[data-bento="featured"] .overlay-title { font-size: 30px; }
.overlay-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.22s, transform 0.35s ease 0.22s;
}
.overlay-cta .arrow { transition: transform 0.25s ease; }

/* Hover states */
.project-card:hover .project-overlay { transform: translateY(0); }
.project-card:hover .overlay-category,
.project-card:hover .overlay-title,
.project-card:hover .overlay-cta { opacity: 1; transform: translateY(0); }
.project-card:hover .card-number {
    background: rgba(255, 56, 56, 0.3);
    border-color: rgba(255, 56, 56, 0.5);
    color: var(--white);
}
.project-card:hover .project-image img { transform: scale(1.08); }
.project-card:hover .overlay-cta .arrow { transform: translateX(5px); }

/* Static bottom vignette — always visible */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

/* Filter hidden state */
.project-card.filter-hidden { pointer-events: none; }

/* Tablet */
@media (max-width: 1024px) {
    .work { padding: 80px 30px; }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 16px;
    }
    .project-card[data-bento="featured"],
    .project-card[data-bento="wide"] { grid-column: span 2; }
}

/* Mobile */
@media (max-width: 768px) {
    .work { padding: 60px 20px; }
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }
    .work-header-right { align-items: flex-start; width: 100%; }
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .projects-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }
    .project-card[data-bento="featured"],
    .project-card[data-bento="wide"],
    .project-card { grid-column: span 1 !important; }
    .overlay-title { font-size: 18px; }
    .project-card[data-bento="featured"] .overlay-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .work { padding: 50px 16px; }
    .filter-tab { padding: 7px 12px; font-size: 10px; }
}



/* ============================================
   CLIENTS CAROUSEL
   ============================================ */

.clients {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 80px);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 56, 56, 0.03) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    width: 100%;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.clients-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 80px);
}

.clients-header h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--white);
}

.work-with {
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-subtitle {
    font-size: clamp(14px, 4vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin: 0;
}

.clients-grid {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.client-logo {
    flex-shrink: 0;
    min-width: 200px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.logo-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 800;
    font-size: 32px;
    position: relative;
    background: transparent;
}

.logo-content img {
    width: auto;
    height: auto;
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.client-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-logo:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(255, 56, 56, 0.3);
}

.client-logo:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .clients {
        padding: clamp(50px, 10vw, 70px) clamp(16px, 4vw, 20px);
    }

    .clients-header h2 {
        font-size: clamp(26px, 6vw, 48px);
        margin-bottom: 10px;
    }

    .clients-subtitle {
        font-size: clamp(13px, 3.5vw, 16px);
    }

    .clients-grid {
        gap: clamp(14px, 4vw, 18px);
    }

    .client-logo {
        min-width: clamp(110px, 22vw, 150px);
        width: clamp(110px, 22vw, 150px);
        height: clamp(110px, 22vw, 150px);
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    }

    .logo-content img {
        max-width: 78%;
        max-height: 78%;
    }
}

@media (max-width: 480px) {
    .clients {
        padding: 45px 16px;
    }

    .clients-header {
        margin-bottom: clamp(30px, 6vw, 40px);
    }

    .clients-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .clients-subtitle {
        font-size: 13px;
    }

    .clients-grid {
        gap: 14px;
    }

    .client-logo {
        min-width: 100px;
        width: 100px;
        height: 100px;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    }
}

/* ============================================
   STUDIO SECTION
   ============================================ */

.studio {
    padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 80px);
    background: linear-gradient(135deg, var(--dark) 0%, rgba(255, 56, 56, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.studio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 56, 56, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.studio-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.studio-header h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--white);
}

.studio-highlight {
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.studio-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    margin: 0;
}

.studio-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-card {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 2px solid rgba(255, 56, 56, 0.2);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 56, 56, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-step:hover .step-card {
    border-color: var(--red);
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.2) 0%, rgba(255, 107, 107, 0.1) 100%);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(255, 56, 56, 0.25);
}

.process-step:hover .step-card::before {
    opacity: 1;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--red) 0%, rgba(255, 56, 56, 0) 100%);
    display: none;
}

.process-step:last-child .step-connector {
    display: none;
}

.process-step:not(:last-child) .step-connector {
    display: block;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    animation: float 3s ease-in-out infinite;
}

.step-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    stroke-width: 2.5;
}

.step-number {
    font-family: 'Inter Tight', sans-serif;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--red) 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.step-card h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

    .process-step:nth-child(even) .step-connector {
        display: none;
    }

    .process-step:nth-child(odd):not(:last-child) .step-connector {
        display: block;
    }
}

@media (max-width: 768px) {
    .studio {
        padding: 60px 20px;
    }

    .studio-header {
        margin-bottom: 60px;
    }

    .studio-process {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step .step-connector {
        display: none;
    }

    .step-card {
        padding: 32px 24px;
    }

    .step-number {
        font-size: 32px;
    }

    .step-card h3 {
        font-size: 18px;
    }

    .step-card p {
        font-size: 14px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 12px;
    }

    .step-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   CTA SECTION — HIGHLIGHTER
   ============================================ */

.cta-highlight {
    padding: 60px 40px 100px;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-group {
    max-width: 1000px;
    margin: 0 auto;
}

/* The outer wrapper with the mouse-spotlight ::before pseudo-element */
.highlighter-item {
    position: relative;
    padding: 1px;
    border-radius: 24px;
    overflow: hidden;
}

/* Red spotlight blob that follows the mouse */
.highlight-blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: #FF3838;
    filter: blur(100px);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    top: var(--blob-y, 50%);
    left: var(--blob-x, 50%);
}

.highlighter-item:hover .highlight-blob {
    opacity: 0.18;
}

/* The inner card */
.highlight-inner {
    position: relative;
    overflow: hidden;
    border-radius: 23px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 12, 0.95);
    z-index: 1;
}

/* Canvas particles — fills the card */
.cta-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 1s ease;
}

.highlighter-item:hover .cta-particles {
    opacity: 1;
}

/* Content layout */
.cta-highlight-content {
    position: relative;
    z-index: 2;
    padding: clamp(40px, 6vw, 64px) clamp(28px, 6vw, 64px);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-highlight-text {
    max-width: 620px;
}

.cta-highlight-heading {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-highlight-accent {
    color: var(--red);
}

.cta-highlight-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Action buttons row */
.cta-highlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 10px;
    border: 1.5px solid var(--red);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.cta-primary-btn:hover {
    background: #FF5252;
    box-shadow: 0 12px 40px rgba(255, 56, 56, 0.45);
}

.cta-primary-btn svg {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-primary-btn:hover svg {
    transform: translateX(4px);
}

.cta-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cta-icon-btn:hover {
    border-color: rgba(255, 56, 56, 0.5);
    background: rgba(255, 56, 56, 0.1);
    color: var(--white);
}

@media (max-width: 768px) {
    .cta-highlight {
        padding: 40px 20px 70px;
    }

    .cta-highlight-content {
        min-height: auto;
        padding: 36px 24px;
    }

    .cta-highlight-heading {
        font-size: 26px;
    }

    .cta-highlight-actions {
        gap: 10px;
    }
}

/* Legacy .cta-button kept for other pages that may use it */
.cta-button {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 16px 48px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
    font-size: 14px;
}

.cta-button:hover {
    background: transparent;
    color: var(--red);
    transform: scale(1.08);
    box-shadow: 0 20px 60px rgba(255, 56, 56, 0.4);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 32px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #050505;
    padding: 120px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    text-align: left;
    flex: 1;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}

.footer-menu a {
    font-size: 14px;
    color: rgba(244, 245, 245, 0.6);
    transition: color 0.3s;
    text-decoration: none;
    font-weight: 400;
}

.footer-menu a:hover {
    color: #FF3838;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-col h4 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #FF3838;
}

.footer-col p {
    font-size: 13px;
    color: rgba(244, 245, 245, 0.6);
    line-height: 1.8;
    max-width: 350px;
}

.footer-col a {
    color: rgba(244, 245, 245, 0.6);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #FF3838;
}

/* Footer nav column — vertical links */
.footer-nav-col .footer-menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 4px;
    margin-bottom: 0;
}

/* Footer socials */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(244, 245, 245, 0.5);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #FF3838;
    border-color: rgba(255, 56, 56, 0.4);
    background: rgba(255, 56, 56, 0.06);
}

/* Footer contact list */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(244, 245, 245, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-item:hover {
    color: #FF3838;
}

.footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Footer bottom row */
.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #FF3838;
}

.footer-legal .divider {
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
    }

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

    .footer-col {
        flex: none;
    }

    .footer-menu {
        gap: 12px;
        justify-content: flex-start;
        margin-bottom: 30px;
    }

    .footer-menu a {
        font-size: 13px;
    }

    .footer-bottom-row {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
        padding-top: 20px;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-menu {
        flex-wrap: wrap;
    }
}

/* ============================================
   MAGNETIC BUTTON
   ============================================ */

.magnetic-btn {
    position: relative;
    display: inline-block;
    transform-origin: center;
    will-change: transform;
}

/* ============================================
   SECTION REVEAL — CLIP-PATH
   ============================================ */

.reveal-text {
    overflow: hidden;
    display: inline-block;
}

.reveal-text > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed > span {
    transform: translateY(0);
}

/* Stagger for multiple spans */
.reveal-text > span:nth-child(2) { transition-delay: 0.08s; }
.reveal-text > span:nth-child(3) { transition-delay: 0.16s; }
.reveal-text > span:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   BENTO CARD — ENHANCED TRANSITIONS
   ============================================ */

/* Improved image zoom — smoother with transform-origin */
.project-card .project-image img {
    transform-origin: center center;
    will-change: transform;
}

/* Number badge transitions on hover */
.project-card:hover .card-number {
    background: rgba(255, 56, 56, 0.25);
    border-color: rgba(255, 56, 56, 0.4);
    color: var(--white);
}

/* Overlay arrow icon bounce */
.overlay-cta .arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-card:hover .overlay-cta .arrow {
    transform: translateX(6px);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 56, 56, 0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 36px rgba(255, 56, 56, 0.55);
}

.whatsapp-fab svg {
    width: 26px;
    height: 26px;
    fill: white;
}

@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(255, 56, 56, 0.4); }
    50%       { box-shadow: 0 8px 40px rgba(255, 56, 56, 0.7), 0 0 0 10px rgba(255, 56, 56, 0.1); }
}

.whatsapp-fab {
    animation: fab-pulse 3s ease-in-out infinite;
}

.whatsapp-fab:hover {
    animation: none;
}

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