@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #6B00D7, #B832FC);
    --primary-purple: #6B00D7;
    --secondary-purple: #B832FC;
    --near-black: #1A1A1A;
    --gray-text: #6b6b6b;
    --light-gray: #f8f9fa;
    --white: #FFFFFF;
    --font-main: 'Sora', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--near-black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

p {
    line-height: 1.7;
    color: var(--gray-text);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
    color: var(--near-black);
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

ul {
    list-style: none;
}



.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-nav {
    padding: 0.6rem 1.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}


.btn-gradient {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 0, 255, 0.2);
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-ghost:hover {
    background: rgba(139, 0, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 1.1rem 2.8rem;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--near-black);
    border-color: var(--white);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--near-black);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a.active {
    color: var(--primary-purple);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--near-black);
    padding: 0.5rem;
}

.menu-toggle i {
    width: 28px;
    height: 28px;
}



/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.6rem 1.6rem;
    background: #fff;
    border: 1px solid rgba(139, 0, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}













.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero .subtext {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.mobile-hero-btns {
    display: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-color: #FFFFFF;
}

.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 0, 255, 0.6) 2px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    animation: panGrid 80s linear infinite, gridPulse 8s ease-in-out infinite;
}

@keyframes panGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(1.02);
    }
}



.orbs {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background-color: #8B00FF;
    opacity: 0.10;
}

.orb-2 {
    top: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: #C040FB;
    opacity: 0.08;
}

.orb-3 {
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background-color: #9B30FF;
    opacity: 0.07;
}




@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    from {
        transform: translateY(-50%) scale(1);
    }

    to {
        transform: translateY(-50%) scale(1.1);
    }
}


/* Client Strip */
.clients {
    padding: 2.2rem 0;
    background: var(--primary-gradient);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.clients .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.clients-label {
    flex-shrink: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    width: 160px;
}

.clients-separator {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.client-ticker-container {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.client-ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
    gap: 5rem;
    align-items: center;
}

.client-ticker span {
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.client-ticker span:hover {
    color: var(--white);
    transform: scale(1.05);
}



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

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


/* Services */
.mesh-gradient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: meshMove 25s infinite alternate ease-in-out;
}

.blob-purple {
    width: 600px;
    height: 600px;
    background: rgba(139, 0, 255, 0.12);
    top: -10%;
    left: -10%;
}

.blob-blue {
    width: 500px;
    height: 500px;
    background: rgba(107, 0, 215, 0.08);
    bottom: -5%;
    right: -5%;
    animation-delay: -7s;
}

.blob-glow {
    width: 400px;
    height: 400px;
    background: rgba(139, 0, 255, 0.05);
    top: 40%;
    left: 30%;
    animation-delay: -12s;
}

@keyframes meshMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10%, 5%) scale(1.1);
    }

    66% {
        transform: translate(-5%, 15%) scale(0.9);
    }

    100% {
        transform: translate(5%, -10%) scale(1);
    }
}

.about-section,
.services {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 120px 0;
}

.about .container,
.services .container {
    position: relative;
    z-index: 2;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
}

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

.services-eyebrow {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.services-eyebrow-line {
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.services-headline {
    color: #0D0D0D;
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.services-subheadline {
    color: #6B7280;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-tile {
    background: #FFFFFF;
    border: 1px solid #F0EBF8;
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    box-shadow: 0 2px 20px rgba(139, 0, 255, 0.06);
    position: relative;
}

.service-tile:hover {
    border-color: rgba(139, 0, 255, 0.3);
    box-shadow: 0 8px 40px rgba(139, 0, 255, 0.10);
    transform: translateY(-5px);
}

.tile-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 16px rgba(139, 0, 255, 0.15);
}

.tile-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--white);
    stroke: var(--white);
    fill: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.tile-title {
    color: #0D0D0D;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.tile-desc {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tile-divider {
    width: 35px;
    height: 2px;
    background: var(--primary-gradient);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.tile-sublist {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
}

.sublist-item {
    color: #6B7280;
    font-size: 12px;
    line-height: 2;
    padding: 6px 0;
    border-bottom: 0.5px solid rgba(107, 114, 128, 0.1);
}

.sublist-item:last-child {
    border-bottom: none;
}

.tile-link {
    margin-top: auto;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease;
}

.tile-link:hover {
    gap: 8px;
}



/* Work Section */
.work {
    padding: 120px 0;
    background-color: #0D0D0D;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(107, 0, 215, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 50, 252, 0.08) 0%, transparent 50%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.work::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 0, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    pointer-events: none;
}

.work-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(107, 0, 215, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.work .container {
    position: relative;
    z-index: 2;
}

.work .section-header {
    margin-bottom: 80px;
}

.work .section-header h2 {
    background: linear-gradient(to bottom, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.work .section-header p {
    color: #999;
}

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

.portfolio-item {
    position: relative;
    border-radius: 24px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
    border-color: rgba(139, 0, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(107, 0, 215, 0.1);
}

.portfolio-thumb {
    aspect-ratio: 1/1.1;
    background: #1a1a1a;
    width: 100%;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

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

.portfolio-btn {
    padding: 12px 28px;
    background: var(--white);
    color: var(--near-black);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover .portfolio-btn {
    transform: translateY(0);
}

.portfolio-btn:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: scale(1.05) !important;
}

.work-footer {
    margin-top: 60px;
    text-align: center;
}

.portfolio-info {
    padding: 1.5rem 0.5rem 0.5rem;
}

.portfolio-tag {
    color: var(--secondary-purple);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.8;
}

.portfolio-info h4 {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.team-photo-container {
    position: relative;
    margin-bottom: 5rem;
    width: 100%;
}

.team-photo-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    background: var(--primary-gradient);
    padding: 2px;
}

.team-photo {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    border-radius: 38px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-photo-wrapper:hover .team-photo {
    transform: scale(1.03);
}

.floating-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0D0D0D;
    color: white;
    padding: 12px 36px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: stretch;
}




.about-left {
    position: relative;
}

.about-eyebrow {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    text-align: inherit;
}

.eyebrow-underline {
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.about-headline {
    font-size: 3.25rem;
    color: #1A1A1A;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.about-body {
    color: #6B7280;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-stats-v2 {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

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

/* Differentiators Strip */
.differentiators-strip {
    background-color: #0D0D0D;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(107, 0, 215, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(184, 50, 252, 0.08) 0%, transparent 50%);
    padding: 100px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.differentiators-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 0, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    pointer-events: none;
}

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

.diff-eyebrow {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.diff-eyebrow-line {
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.diff-headline {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.diff-column {
    padding: 40px;
    position: relative;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
}

.diff-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.08);
}

.diff-column:hover {
    background: rgba(139, 0, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.diff-column:hover::after {
    opacity: 0;
}

.diff-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: 0.4s ease;
    box-shadow: 0 10px 20px rgba(139, 0, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.diff-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.5;
}

.diff-icon .icon,
.diff-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: rgba(255, 255, 255, 0.2) !important;
    stroke-width: 2;
    transition: 0.4s ease;
    z-index: 2;
}

.diff-column:hover .diff-icon {
    box-shadow: 0 15px 30px rgba(139, 0, 255, 0.4);
    transform: scale(1.05);
}

.diff-column:hover .diff-icon .icon,
.diff-column:hover .diff-icon svg {
    fill: rgba(255, 255, 255, 0.4) !important;
}

.diff-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.diff-title-line {
    width: 35px;
    height: 2px;
    background: var(--primary-gradient);
    margin-bottom: 1.25rem;
    border-radius: 2px;
}

.diff-desc {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.7;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.about-cta {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.2rem;
}

/* Right Column */
.team-photo-container {
    position: relative;
    margin-bottom: 5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.photo-glow {
    position: absolute;
    width: 110%;
    height: 140%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-purple) 0%, transparent 70%);
    opacity: 0.08;
    filter: blur(60px);
    z-index: 0;
}

.team-photo-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    padding: 2px;
    background: var(--primary-gradient);
    box-shadow: 0 20px 50px rgba(107, 0, 215, 0.12);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: var(--transition);
}



.team-photo-wrapper:hover .team-photo {
    transform: scale(1.01);
}

.floating-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #1A1A1A;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-quote {
    border-left: 6px solid var(--primary-purple);
    background: rgba(139, 0, 255, 0.04);
    padding: 4rem;
    font-style: italic;
    color: #1A1A1A;
    font-size: 2.2rem;
    line-height: 1.4;
    margin: 0;
    border-radius: 0 16px 16px 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 500;
}




/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: #fdfcff;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#8B00FF 1.5px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px;
    padding: 0 60px;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid rgba(139, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 10;
    color: var(--primary-purple);
}

.slider-btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(139, 0, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.slider-btn i {
    width: 24px;
    height: 24px;
}

.slider-btn.prev-btn {
    left: 0;
}

.slider-btn.next-btn {
    right: 0;
}

.testimonial-card {
    flex: 0 0 calc((100% - 60px) / 3);
    background: #ffffff;
    padding: 3.5rem 3rem;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(107, 0, 215, 0.1);
    border-color: rgba(139, 0, 255, 0.2);
}

.quote-icon {
    width: 48px;
    height: 48px;
    background: rgba(107, 0, 215, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.quote-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-purple);
    fill: currentColor;
    transition: var(--transition);
}

.testimonial-card:hover .quote-icon {
    background: var(--primary-gradient);
}

.testimonial-card:hover .quote-icon svg {
    color: var(--white);
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--near-black);
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.cta-section {
    padding: 120px 0;
    text-align: center;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 0, 255, 0.4) 2px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    animation: panGrid 80s linear infinite, gridPulse 8s ease-in-out infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}


.typewriter-container {
    margin-bottom: 4.5rem;
}

.static-headline {
    font-size: 4.5rem;
    font-weight: 800;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cycling-line {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    min-height: 1.2em;
}

.cycling-text {
    background: linear-gradient(135deg, #8B00FF, #B832FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.cursor {
    color: #8B00FF;
    font-weight: 400;
    margin-left: 5px;
    animation: cursorBlink 530ms infinite;
    display: inline-block;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cta-section .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .static-headline, .cycling-line {
        font-size: 2.2rem !important;
    }
}



/* Footer */
footer {
    background-color: #0D0D0D;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(107, 0, 215, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(184, 50, 252, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(139, 0, 255, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(107, 0, 215, 0.05) 0%, transparent 30%);
    color: var(--white);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-col h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 2rem;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #888;
    transition: var(--transition);
}

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

.footer-col address {
    font-style: normal;
    color: #888;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.social-links a svg {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
}

.social-links a:hover svg {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(139, 0, 255, 0.3));
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 992px) {
    .about-section {
        padding: 80px 0;
    }

    .about-headline {
        font-size: 32px;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .services-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-header h2 {
        font-size: 2.5rem;
    }

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

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

    /* Consistent Section Spacing */
    .about-section,
    .services,
    .work,
    .testimonials,
    .cta-section,
    .differentiators-strip {
        padding: 4rem 0 !important;
    }

    footer {
        padding: 4rem 0 2rem;
    }

    .section-header,
    .services-header,
    .diff-header {
        margin-bottom: 3rem !important;
    }

    .about-grid {
        gap: 2rem !important;
    }

    .btn-nav {
        display: none;
    }

    /* Consistent Mobile Typography & Hierarchy */
    .about-eyebrow,
    .services-eyebrow,
    .diff-eyebrow {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 0.75rem !important;
    }

    .section-header h2,
    .cta-section h2,
    .about-headline,
    .services-headline,
    .diff-headline {
        font-size: 2.2rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.03em !important;
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }

    .section-header p,
    .cta-section p,
    .about-body,
    .services-subheadline,
    .diff-desc {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
        color: #6B7280 !important;
    }

    .cta-section p {
        margin-bottom: 3rem !important;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-eyebrow {
        padding: 0.35rem 1rem !important;
        font-size: 0.6rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 2rem !important;
        white-space: nowrap !important;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero .subtext {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .desktop-hero-btns {
        display: none !important;
    }

    .mobile-hero-btns {
        display: flex !important;
    }

    .hero-btns .btn {
        width: 100%;
    }

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

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

    .diff-column:not(:last-child)::after {
        display: none;
    }

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

    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonials-slider-wrapper {
        padding: 0 10px;
    }

    .team-photo {
        height: auto;
    }

    .floating-badge {
        font-size: 0.55rem;
        padding: 0.4rem 0.8rem;
        top: -10px;
        right: -10px;
        letter-spacing: 0.5px;
    }

    .about-left {
        display: flex;
        flex-direction: column;
    }

    .about-left .about-eyebrow {
        order: 1;
    }

    .about-left .eyebrow-underline {
        order: 2;
    }

    .about-left .about-headline {
        order: 3;
    }

    .about-left .about-body {
        order: 4;
    }

    .about-cta {
        order: 6;
        align-self: flex-start;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }

    .about-stats-v2 {
        order: 5;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 3rem;
        width: 100%;
    }

    .stat-v2 {
        text-align: center;
        flex: 1;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.65rem;
        line-height: 1.4;
    }

    .stat-divider {
        display: block;
        height: 35px;
        align-self: center;
    }

    .about-quote {
        padding: 2rem 1.5rem;
        font-size: 1.4rem;
        border-radius: 12px;
        margin-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .clients .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .clients-label {
        text-align: center;
        width: 100%;
    }

    .clients-separator {
        display: none;
    }
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-container {
    width: 860px;
    max-width: 95%;
    min-height: 560px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #9CA3AF;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #111;
}

.modal-mobile-handle,
.modal-mobile-title,
.modal-mobile-subtitle {
    display: none;
}

.modal-left {
    width: 45%;
    background: #0D0D0D;
    padding: 48px;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-orb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: rgba(139, 0, 255, 0.08);
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
}

.modal-logo-mark {
    margin-bottom: 4rem;
}

.modal-left h2 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.modal-left p {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: auto;
}

.modal-locations {
    color: #6B7280;
    font-size: 12px;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.modal-badge {
    display: inline-block;
    background: rgba(139, 0, 255, 0.1);
    color: #C040FB;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(139, 0, 255, 0.2);
    align-self: flex-start;
}

.modal-right {
    width: 55%;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease;
}

.modal-step {
    width: 33.333%;
    height: 100%;
    padding: 48px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.modal-step-header {
    margin-bottom: 2rem;
}

.step-label {
    font-size: 12px;
    color: #9CA3AF;
    display: block;
    margin-bottom: 0.5rem;
}

.step-progress {
    height: 2px;
    background: #E5E7EB;
    width: 100%;
    position: relative;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(135deg, #8B00FF, #C040FB);
    transition: width 0.3s ease;
}

.step-dots {
    display: none;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: #8B00FF;
    box-shadow: 0 0 0 3px rgba(139, 0, 255, 0.08);
}

.modal-form input.error,
.modal-form textarea.error {
    border-color: #EF4444;
}

.error-text {
    color: #EF4444;
    font-size: 12px;
    margin-top: -12px;
    display: none;
}

.btn-modal {
    width: 100%;
    background: linear-gradient(135deg, #8B00FF, #C040FB);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-modal:hover {
    filter: brightness(1.1);
    transform: scale(1.01);
}

.pill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-pill {
    border: 1.5px solid #E5E7EB;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    user-select: none;
}

.form-pill-small {
    padding: 8px 16px;
    font-size: 12px;
}

.form-pill.selected {
    background: linear-gradient(135deg, #8B00FF, #C040FB);
    color: #fff;
    border-color: transparent;
}

.success-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(139, 0, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: url(#purple-grad);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.modal-overlay.active .success-icon svg.draw {
    animation: drawCheck 0.6s ease forwards 0.2s;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-content h2 {
    font-size: 24px;
    color: #111;
    margin-bottom: 1rem;
}

.success-content p {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-text {
    color: #9CA3AF;
    font-size: 12px;
    margin-bottom: 2rem;
}

#btn-close-success {
    max-width: 200px;
}

@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-end;
    }

    .modal-container {
        width: 100%;
        max-width: 100%;
        min-height: 80vh;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
        flex-direction: column;
        transform: translateY(100%);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    }

    .modal-overlay.active .modal-container {
        transform: translateY(0);
    }

    .modal-left {
        display: none;
    }

    .modal-right {
        width: 100%;
        padding: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .modal-step {
        padding: 24px 24px 80px 24px;
    }

    .modal-mobile-handle {
        display: block;
        width: 40px;
        height: 4px;
        background: #E5E7EB;
        border-radius: 4px;
        margin: 16px auto 0;
    }

    .modal-mobile-title {
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        color: #111;
        margin-top: 16px;
    }

    .modal-mobile-subtitle {
        display: block;
        text-align: center;
        font-size: 13px;
        color: #8B00FF;
        font-style: italic;
        margin-top: 4px;
        margin-bottom: 24px;
    }

    .step-progress {
        display: none;
    }

    .step-dots {
        display: flex;
        gap: 6px;
        justify-content: center;
    }

    .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #E5E7EB;
    }


    .dot.active {
        background: linear-gradient(135deg, #8B00FF, #C040FB);
    }

    .step-label {
        text-align: center;
    }

    .modal-close {
        top: 20px;
        right: 20px;
    }

    .btn-modal {
        position: sticky;
        bottom: 24px;
        z-index: 5;
    }

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

/* Portfolio Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    background: #000;
    position: relative;
    overflow-y: auto;
    border-radius: 24px;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1);
}

/* Scrollbar for lightbox container */
.lightbox-container::-webkit-scrollbar {
    width: 6px;
}

.lightbox-container::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    opacity: 0.6;
    cursor: pointer;
    z-index: 2100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2050;
    backdrop-filter: blur(5px);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

.lightbox-nav:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(139, 0, 255, 0.4);
}

.lightbox-content {
    padding: 48px;
}

.lightbox-media {
    width: 100%;
    max-height: 55vh;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-media img,
.lightbox-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-details-grid {
    display: flex;
    gap: 48px;
}

.lightbox-left {
    width: 60%;
}

.project-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-gradient);
    color: white;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-title {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.project-desc {
    color: #9CA3AF;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
}

.project-divider {
    height: 1px;
    width: 100%;
    background: var(--primary-gradient);
    opacity: 0.2;
    margin-bottom: 40px;
}

.project-stats {
    display: flex;
    align-items: center;
}

.stat-item {
    padding: 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    color: white;
    font-size: 32px;
    font-weight: 800;
}

.stat-label {
    color: #9CA3AF;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.lightbox-right {
    width: 40%;
}

.details-card {
    background: #0D0D0D;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: sticky;
    top: 0;
}

.details-label {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.details-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
}

.details-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-row:last-child {
    border-bottom: none;
}

.row-label {
    color: #9CA3AF;
}

.row-value {
    color: white;
    font-weight: 600;
}

.details-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-full-case {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-similar-project {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-full-case:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 0, 255, 0.3);
}

.btn-similar-project:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
    transform: translateY(-3px);
}

/* Mobile Lightbox Styles */
@media (max-width: 768px) {
    .lightbox-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    .lightbox-nav {
        display: none;
    }

    .lightbox-content {
        padding: 24px;
    }

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

    .lightbox-left,
    .lightbox-right {
        width: 100%;
    }

    .lightbox-media {
        max-height: 40vh;
        margin-bottom: 32px;
    }

    .project-title {
        font-size: 32px;
    }

    .project-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        padding: 0;
        border: none;
        flex: 1 1 40%;
    }

    .stat-value {
        font-size: 26px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }
}

/* Portfolio Page Styles */
.portfolio-header {
    background: #0D0D0D;
    padding: 160px 0 100px;
    text-align: center;
}

.portfolio-header h1 {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.portfolio-header p {
    color: #9CA3AF;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.filter-bar {
    background: white;
    border-bottom: 1px solid #F0EBF8;
    padding: 20px 0;
    position: sticky;
    top: -1px;
    z-index: 100;
    transition: all 0.3s ease;
}

.filter-bar.sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #F5F3FF;
    color: #8B00FF;
}

.filter-tab.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 0, 255, 0.2);
}

.portfolio-section {
    padding: 80px 0;
}

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

.portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    transition: all 0.3s ease;
}

.portfolio-tile-full {
    background: #111111;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-tile-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tile-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-tile-full:hover .tile-thumb img {
    transform: scale(1.05);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139, 0, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-tile-full:hover .tile-overlay {
    opacity: 1;
}

.view-btn {
    background: white;
    color: #000;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.tile-body {
    padding: 24px;
}

.tile-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: #C040FB;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.tile-body h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.tile-body p {
    color: #9CA3AF;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tile-year {
    color: #6B7280;
    font-size: 12px;
}

.tile-arrow {
    color: white;
    transition: color 0.3s ease;
}

.portfolio-tile-full:hover .tile-arrow {
    color: #C040FB;
}

.portfolio-cta {
    background: #0D0D0D;
    padding: 100px 0;
    text-align: center;
}

.portfolio-cta h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 16px;
}

.portfolio-cta p {
    color: #9CA3AF;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Portfolio Page Responsiveness */
@media (max-width: 1024px) {
    .portfolio-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-header h1 {
        font-size: 3rem;
    }

    .portfolio-masonry {
        grid-template-columns: 1fr;
    }

    .container-large {
        padding: 0 20px;
    }

    .cta-btns {
        flex-direction: column;
        padding: 0 20px;
    }

    .portfolio-cta {
        padding: 80px 0;
    }
}

/* Case Study Modal */
.case-study-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 3000;
    display: none;
    opacity: 0;
    overflow-y: auto;
    transition: opacity 0.5s ease;
}

.case-study-overlay.active {
    display: block;
    opacity: 1;
}

.case-study-close {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3100;
    transition: all 0.3s ease;
}

.case-study-close:hover {
    background: white;
    color: black;
    transform: rotate(90deg);
}

.case-hero {
    height: 80vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    overflow: hidden;
}

.case-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.case-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

.case-hero-content h1 {
    font-size: 84px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 0.9;
}

.case-meta {
    display: flex;
    gap: 40px;
    color: #9CA3AF;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.case-content {
    background: #000;
    padding: 120px 0;
}

.case-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px;
}

.case-section {
    margin-bottom: 100px;
}

.case-section h2 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.case-section p {
    color: #E5E7EB;
    font-size: 24px;
    line-height: 1.6;
    font-weight: 400;
}

.case-impact-card {
    background: #0D0D0D;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

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

.impact-val {
    font-size: 64px;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 8px;
}

.impact-label {
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.case-footer {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.case-footer h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .case-hero-content h1 {
        font-size: 42px;
    }

    .case-hero-content {
        padding: 0 24px;
    }

    .case-section p {
        font-size: 18px;
    }

    .case-grid {
        padding: 0 24px;
    }

    .case-impact-card {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
        margin-top: 40px;
    }

    .impact-val {
        font-size: 36px;
    }

    .case-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .case-footer {
        padding: 80px 24px;
    }

    .case-footer h3 {
        font-size: 28px;
        line-height: 1.2;
    }
}