/* =====================================================
   LAYOUT - ALL SECTIONS (FIXED & RESPONSIVE)
   ===================================================== */

/* ===== ANIMATED BACKGROUND ===== */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.bg-orb--1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--purple-300), var(--purple-400));
    top: -200px;
    right: -100px;
}

.bg-orb--2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--magenta-400), var(--pink-500));
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.bg-orb--3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cyan-400), var(--purple-400));
    top: 50%;
    left: 40%;
    opacity: 0.25;
    animation-delay: -14s;
}

.bg-orb--4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--violet-500), var(--indigo-500));
    top: 20%;
    right: 25%;
    opacity: 0.3;
    animation-delay: -4s;
}

.bg-orb--5 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--purple-500), var(--magenta-500));
    bottom: 25%;
    right: 15%;
    opacity: 0.2;
    animation-delay: -10s;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.02;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===== FLOATING DECORATIONS ===== */
.floating-decorations {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.4;
    will-change: transform;
}

.floating-shape--1 {
    width: 80px;
    height: 80px;
    border: 2px solid var(--purple-300);
    border-radius: 50%;
    top: 15%;
    left: 8%;
    animation: float 8s ease-in-out infinite, rotate 25s linear infinite;
}

.floating-shape--2 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400));
    border-radius: 50%;
    top: 25%;
    right: 12%;
    animation: float 6s ease-in-out infinite reverse;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.floating-shape--3 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--cyan-400);
    border-radius: 30%;
    bottom: 30%;
    left: 10%;
    animation: float 10s ease-in-out infinite, rotateReverse 20s linear infinite;
}

.floating-shape--4 {
    width: 35px;
    height: 35px;
    background: var(--magenta-400);
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    animation: float 7s ease-in-out infinite reverse;
    box-shadow: 0 0 25px rgba(217, 70, 239, 0.5);
}

.floating-shape--5 {
    width: 90px;
    height: 90px;
    border: 2px solid var(--purple-200);
    border-radius: 50%;
    top: 55%;
    right: 8%;
    animation: float 12s ease-in-out infinite;
}

.floating-shape--6 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyan-400), var(--purple-400));
    border-radius: 50%;
    top: 70%;
    left: 6%;
    animation: float 5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

/* =====================================================
   LOADER - PURPLE FOG & CLOUDS EFFECT
   ===================================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s;
}

/* Animated fog layers */
.loader::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(217, 70, 239, 0.12), transparent 50%),
        radial-gradient(ellipse 700px 500px at 50% 50%, rgba(168, 85, 247, 0.08), transparent 50%);
    animation: fogMove 20s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes fogMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(-50px, 30px) scale(1.1);
        opacity: 0.8;
    }
    66% { 
        transform: translate(30px, -40px) scale(0.95);
        opacity: 0.7;
    }
}

/* Floating clouds */
.loader::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle 150px at 15% 20%, rgba(139, 92, 246, 0.06), transparent 70%),
        radial-gradient(circle 200px at 85% 30%, rgba(217, 70, 239, 0.05), transparent 70%),
        radial-gradient(circle 120px at 40% 80%, rgba(168, 85, 247, 0.07), transparent 70%),
        radial-gradient(circle 180px at 70% 60%, rgba(139, 92, 246, 0.04), transparent 70%),
        radial-gradient(circle 100px at 30% 50%, rgba(217, 70, 239, 0.06), transparent 70%);
    animation: cloudsFloat 25s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes cloudsFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-30px) translateX(20px);
        opacity: 0.8;
    }
}

/* Subtle grid */
.loader .bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridSlide 30s linear infinite;
}

@keyframes gridSlide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Central visual */
.loader-visual {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    z-index: 10;
}

/* Orbiting rings with purple glow */
.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.loader-ring--1 {
    width: 100%;
    height: 100%;
    border-top: 3px solid rgba(139, 92, 246, 0.4);
    border-right: 3px solid rgba(168, 85, 247, 0.3);
    animation: spin 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.loader-ring--2 {
    width: 70%;
    height: 70%;
    border-bottom: 3px solid rgba(217, 70, 239, 0.4);
    border-left: 3px solid rgba(236, 72, 153, 0.3);
    animation: spin 5s linear infinite reverse;
    filter: drop-shadow(0 0 15px rgba(217, 70, 239, 0.5));
}

.loader-ring--3 {
    width: 130%;
    height: 130%;
    border: 2px dashed rgba(139, 92, 246, 0.15);
    animation: spin 15s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Pulsing core with extra glow */
.loader-core {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    border-radius: 50%;
    box-shadow: 
        0 0 40px rgba(139, 92, 246, 0.8),
        0 0 80px rgba(217, 70, 239, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.4);
    animation: coreBreath 2.5s ease-in-out infinite;
}

@keyframes coreBreath {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 40px rgba(139, 92, 246, 0.8),
            0 0 80px rgba(217, 70, 239, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }
    50% { 
        transform: scale(1.5);
        box-shadow: 
            0 0 60px rgba(139, 92, 246, 1),
            0 0 120px rgba(217, 70, 239, 0.7),
            inset 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

/* Content */
.loader-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Logo with shimmer */
.loader-logo {
    position: relative;
    margin-bottom: 40px;
}

.loader-logo-text {
    font-family: var(--font-mono);
    font-size: clamp(3rem, 12vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #8b5cf6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 40px rgba(217, 70, 239, 0.5));
    }
}

/* Status */
.loader-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple-600);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.loader-status-text::after {
    content: '...';
    position: absolute;
    animation: dots 1.5s steps(4) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Progress bar */
.loader-line-wrapper {
    width: 280px;
    height: 6px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.loader-line-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent
    );
    animation: barShimmer 2s infinite;
}

@keyframes barShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        #8b5cf6, 
        #d946ef, 
        #8b5cf6
    );
    background-size: 200% 100%;
    border-radius: inherit;
    transition: width 0.1s ease-out;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 40px rgba(217, 70, 239, 0.3);
    animation: barGradient 2s linear infinite;
    position: relative;
}

@keyframes barGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.loader-progress-bar::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(139, 92, 246, 0.5);
}

.loader-percent {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple-600);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .loader-visual {
        width: 180px;
        height: 180px;
    }
    
    .loader-logo-text {
        font-size: 3rem;
    }
    
    .loader-status,
    .loader-line-wrapper {
        width: 220px;
    }
}

/* ===== HERO SECTION - FIXED ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    transition: transform 0.3s var(--ease-out-expo);
}

.hero__shape--1 {
    width: 80px;
    height: 80px;
    border: 2px solid var(--purple-300);
    top: 18%;
    left: 8%;
    animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400));
    top: 28%;
    right: 12%;
    animation: float 6s ease-in-out infinite reverse;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero__shape--3 {
    width: 55px;
    height: 55px;
    border: 2px solid var(--cyan-400);
    bottom: 35%;
    left: 12%;
    animation: float 10s ease-in-out infinite;
}

.hero__shape--4 {
    width: 30px;
    height: 30px;
    background: var(--cyan-400);
    bottom: 30%;
    right: 18%;
    animation: float 7s ease-in-out infinite reverse;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

.hero__shape--5 {
    width: 50px;
    height: 50px;
    border: 2px solid var(--magenta-400);
    top: 55%;
    right: 8%;
    animation: float 9s ease-in-out infinite;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero__title-line {
    display: block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border-soft);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--purple-600);
    font-family: var(--font-mono);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bounce 2s ease-in-out infinite;
    z-index: 5;
}

.hero__scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--purple-500), transparent);
}

/* ===== MARQUEE ===== */
.marquee {
    padding: 40px 0;
    overflow: hidden;
    background: linear-gradient(90deg, var(--purple-50), var(--color-bg), var(--purple-50));
    border-top: 1px solid var(--color-border-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.marquee__content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee__item {
    flex-shrink: 0;
    padding: 0 40px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: rgba(139, 92, 246, 0.1);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* ===== TEAM SECTION ===== */
.team {
    background: linear-gradient(180deg, var(--color-bg), var(--purple-50));
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    position: relative;
    cursor: pointer;
}

.team-card__inner {
    position: relative;
    padding: 35px 25px;
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover .team-card__inner {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--purple-300);
}

.team-card__glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400), var(--cyan-400));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-base);
    filter: blur(12px);
}

.team-card:hover .team-card__glow {
    opacity: 0.5;
}

.team-card__photo {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.team-card__photo-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400));
}

.team-card__photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card__photo-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: rgba(255, 255, 255, 0.8);
}

.team-card__status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    background: #22c55e;
    border-radius: var(--radius-full);
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.team-card__info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-card__name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.9rem;
    color: var(--purple-600);
    margin-bottom: 14px;
}

.team-card__tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.team-card__tag {
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--purple-600);
    background: var(--purple-50);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border-soft);
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(217, 70, 239, 0.95));
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-card:hover .team-card__overlay {
    opacity: 1;
}

.team-card__cta {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* ===== WORKS SECTION - SIMPLIFIED & FIXED ===== */
.works {
    background: linear-gradient(180deg, var(--color-bg), var(--purple-50), var(--color-bg));
    position: relative;
    z-index: 10;
}

.works__container {
    position: relative;
    z-index: 1;
}

/* Main Works Grid - Bento Style */
.works__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 24px;
}

/* Individual card positioning */
.works__bento .work-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.works__bento .work-card:nth-child(2) { grid-column: span 3; }
.works__bento .work-card:nth-child(3) { grid-column: span 3; }
.works__bento .work-card:nth-child(4) { grid-column: span 4; }
.works__bento .work-card:nth-child(5) { grid-column: span 2; }
.works__bento .work-card:nth-child(6) { grid-column: span 4; }
.works__bento .work-card:nth-child(7) { grid-column: span 2; }

/* SIMPLIFIED Work Card - No complex positioning */
.work-card {
    position: relative;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    background: white;
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 25px 50px rgba(139, 92, 246, 0.2);
    border-color: var(--purple-300);
}

/* Gradient background on hover */
.work-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-100), var(--magenta-100), var(--purple-50));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.work-card:hover::before {
    opacity: 1;
}

/* Animated border glow */
.work-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400), var(--cyan-400), var(--purple-400));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-card:hover::after {
    opacity: 0.6;
    filter: blur(10px);
}

/* Icon wrapper */
.work-card__icon-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-100), var(--magenta-100));
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.work-card:hover .work-card__icon-wrapper {
    background: linear-gradient(135deg, var(--purple-500), var(--magenta-500));
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.work-card__icon {
    width: 40px;
    height: 40px;
    stroke: var(--purple-500);
    transition: all 0.4s var(--ease-out-expo);
}

.work-card:hover .work-card__icon {
    stroke: white;
    transform: scale(1.1);
}

/* Hide glow element - not needed anymore */
.work-card__icon-glow {
    display: none;
}

/* Title */
.work-card__title {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.work-card:hover .work-card__title {
    color: var(--purple-700);
}

/* Subtitle */
.work-card__subtitle {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 16px;
    max-width: 200px;
}

/* Count badge */
.work-card__count {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-600);
    background: white;
    border: 2px solid var(--color-border-soft);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.work-card:hover .work-card__count {
    background: linear-gradient(135deg, var(--purple-500), var(--magenta-500));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Complex elements removed - using simple structure now */

/* Overlay - simplified */
.work-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(217, 70, 239, 0.95));
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 10;
    border-radius: inherit;
    padding: 30px;
}

.work-card:hover .work-card__overlay {
    opacity: 1;
}

.work-card__overlay-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.work-card__overlay-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 20px;
}

.work-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple-600);
    background: white;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.work-card__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.work-card__cta svg {
    width: 18px;
    height: 18px;
}

/* Featured card (first/large) */
.works__bento .work-card:nth-child(1) .work-card__icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 28px;
}

.works__bento .work-card:nth-child(1) .work-card__icon {
    width: 50px;
    height: 50px;
}

.works__bento .work-card:nth-child(1) .work-card__title {
    font-size: 1.8rem;
}

.works__bento .work-card:nth-child(1) .work-card__subtitle {
    max-width: 280px;
    font-size: 1rem;
}

/* Small cards adjustments */
.works__bento .work-card:nth-child(5),
.works__bento .work-card:nth-child(7) {
    padding: 25px 20px;
}

.works__bento .work-card:nth-child(5) .work-card__icon-wrapper,
.works__bento .work-card:nth-child(7) .work-card__icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.works__bento .work-card:nth-child(5) .work-card__icon,
.works__bento .work-card:nth-child(7) .work-card__icon {
    width: 30px;
    height: 30px;
}

.works__bento .work-card:nth-child(5) .work-card__title,
.works__bento .work-card:nth-child(7) .work-card__title {
    font-size: 1.1rem;
}

.works__bento .work-card:nth-child(5) .work-card__subtitle,
.works__bento .work-card:nth-child(7) .work-card__subtitle {
    display: none;
}

/* Works Section is now in works-section.css */

/* Works Gallery Modal */
.works-gallery {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.works-gallery.is-open {
    opacity: 1;
    visibility: visible;
}

.works-gallery__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.works-gallery__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.works-gallery.is-open .works-gallery__container {
    transform: translateY(0) scale(1);
}

.works-gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.works-gallery__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1025;
}

.works-gallery__close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3e8ff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.works-gallery__close:hover {
    background: #a855f7;
}

.works-gallery__close:hover svg {
    stroke: white;
}

.works-gallery__close svg {
    width: 20px;
    height: 20px;
    stroke: #6b7280;
    stroke-width: 2;
}

.works-gallery__content {
    padding: 32px;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
}

.works-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.works-gallery__item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f3e8ff, #fce7f3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.works-gallery__item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.works-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .works-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .works-gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive for bento grid */
@media (max-width: 1200px) {
    .works__bento {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
    }
    
    .works__bento .work-card:nth-child(1) { grid-column: span 6; grid-row: span 1; }
    .works__bento .work-card:nth-child(2) { grid-column: span 3; }
    .works__bento .work-card:nth-child(3) { grid-column: span 3; }
    .works__bento .work-card:nth-child(4) { grid-column: span 3; }
    .works__bento .work-card:nth-child(5) { grid-column: span 3; }
    .works__bento .work-card:nth-child(6) { grid-column: span 3; }
    .works__bento .work-card:nth-child(7) { grid-column: span 3; }
}

@media (max-width: 768px) {
    .works__bento {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .works__bento .work-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 180px;
    }
    
    .works__bento .work-card:nth-child(1) {
        grid-column: span 2 !important;
    }
    
    .work-card__title {
        font-size: 1.1rem !important;
    }
    
    .work-card__icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .work-card__content {
        padding: 24px;
    }
    
    .works-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .works__bento .work-card:nth-child(1) {
        grid-column: span 2 !important;
    }
    
    .work-card__subtitle {
        display: none;
    }
    
    .works-gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   CONTACT CTA - MINIMAL WITH VISUAL EFFECTS
   ===================================================== */
.contact-cta {
    background: linear-gradient(135deg, #8b5cf6, #d946ef, #8b5cf6);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animated mesh gradient background */
.contact-cta__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.6;
}

.contact-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.contact-cta__orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.contact-cta__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: orbFloat2 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(0.9); }
}

/* Floating geometric shapes */
.contact-cta::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: floatShape1 15s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% { 
        transform: translate(30px, -30px) rotate(180deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.contact-cta::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatShape2 12s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.2); }
}

/* Light rays effect */
.contact-cta__content {
    position: relative;
    z-index: 2;
}

.contact-cta__content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 300px;
    background: linear-gradient(to bottom, 
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: rayPulse 3s ease-in-out infinite;
}

@keyframes rayPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scaleY(1.2); }
}

.contact-cta__main {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.contact-cta__main h2 {
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-cta__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 50px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Buttons container */
.contact-cta__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta .btn-primary {
    background: white;
    color: var(--purple-600);
    padding: 20px 48px;
    font-size: 1rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-cta .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-cta .btn-primary:hover::before {
    opacity: 1;
}

.contact-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px 48px;
    font-size: 1rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/* Handles (Telegram usernames) */
.contact-cta__handles {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.contact-handle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: white;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-handle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.contact-handle__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.contact-handle__value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Floating particles */
.contact-cta__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: particleRise linear infinite;
}

.contact-particle:nth-child(1) {
    top: 100%;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.contact-particle:nth-child(2) {
    top: 100%;
    left: 25%;
    animation-duration: 18s;
    animation-delay: 3s;
}

.contact-particle:nth-child(3) {
    top: 100%;
    left: 45%;
    animation-duration: 20s;
    animation-delay: 6s;
}

.contact-particle:nth-child(4) {
    top: 100%;
    left: 65%;
    animation-duration: 17s;
    animation-delay: 2s;
}

.contact-particle:nth-child(5) {
    top: 100%;
    left: 80%;
    animation-duration: 16s;
    animation-delay: 5s;
}

.contact-particle:nth-child(6) {
    top: 100%;
    left: 90%;
    animation-duration: 19s;
    animation-delay: 8s;
}

@keyframes particleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-cta {
        padding: 100px 0;
    }
    
    .contact-cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .contact-cta .btn-primary,
    .contact-cta .btn-secondary {
        width: 100%;
        max-width: 350px;
    }
    
    .contact-cta__handles {
        flex-direction: column;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-handle {
        width: 100%;
        justify-content: center;
    }
}
/* =====================================================
   ENHANCED CONTACT CTA - TRUST ELEMENTS
   ===================================================== */

.contact-cta {
    position: relative;
}

/* Floating trust badges */
.contact-cta__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.trust-badge__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 4px;
}

.trust-badge__icon svg {
    width: 100%;
    height: 100%;
    stroke: white;
    fill: none;
}

/* Animated stats counter */
.contact-cta__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 48px auto 0;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stat-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.stat-card__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Floating particles effect */
.contact-cta__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: particleFloat 15s linear infinite;
}

.contact-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.contact-particle:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 3s;
    animation-duration: 18s;
}

.contact-particle:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 15s;
}

.contact-particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation-delay: 9s;
    animation-duration: 20s;
}

.contact-particle:nth-child(5) {
    top: 15%;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.contact-particle:nth-child(6) {
    top: 70%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 17s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* Process timeline */
.contact-cta__process {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    z-index: 1;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.process-step__number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--purple-600);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto 12px;
}

.process-step__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.process-step__desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-cta__stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card__number {
        font-size: 2rem;
    }
    
    .contact-cta__trust {
        flex-direction: column;
    }
    
    .contact-cta__process {
        flex-direction: column;
        gap: 12px;
    }
    
    .process-step:not(:last-child)::after {
        content: '↓';
        right: auto;
        left: 50%;
        top: auto;
        bottom: -18px;
        transform: translateX(-50%);
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 50px 0 25px;
    background: var(--color-bg-muted);
    border-top: 1px solid var(--color-border-soft);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
}

.footer__logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-600), var(--magenta-500));
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.8rem;
}

.footer__links {
    display: flex;
    gap: 30px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--purple-600);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid var(--color-border-soft);
}

.footer__copy {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.footer__back-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

.footer__back-top:hover {
    color: var(--purple-600);
}

.footer__back-top svg {
    width: 16px;
    height: 16px;
}

/* ===== TEAM MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

.modal__container {
    position: relative;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    animation: modalSlideUp 0.5s var(--ease-out-expo);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-muted);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal__close:hover {
    background: var(--purple-100);
    transform: rotate(90deg);
}

.modal__close svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-text);
}

.modal__header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
    border-bottom: 1px solid var(--color-border-soft);
}

.modal__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-400), var(--magenta-400));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.modal__photo svg {
    width: 50px;
    height: 50px;
    stroke: rgba(255, 255, 255, 0.8);
}

.modal__info h3 {
    font-size: 1.75rem;
    margin-bottom: 6px;
}

.modal__role {
    font-size: 1rem;
    color: var(--purple-600);
    margin-bottom: 6px;
}

.modal__level {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.modal__body {
    padding: 35px;
}

.modal__section {
    margin-bottom: 28px;
}

.modal__section:last-child {
    margin-bottom: 0;
}

.modal__section h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.modal__section p {
    font-size: 1rem;
    line-height: 1.65;
}

.modal__portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.modal__portfolio-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--purple-200), var(--purple-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--purple-600);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.modal__portfolio-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.modal__actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.modal__actions .btn {
    flex: 1;
}

/* ===== RESPONSIVE ===== */

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .hero__title {
        font-size: 8rem;
    }
    
    .works__grid {
        gap: 20px;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .works__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-cta__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-cta__buttons .btn {
        width: 100%;
    }
    
    .contact-cta__handles {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .contact-handle {
        width: 100%;
        justify-content: center;
    }
    
    .floating-decorations {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero__scroll {
        display: none;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .team__grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .works__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .works-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal__header {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    
    .modal__photo {
        width: 100px;
        height: 100px;
    }
    
    .modal__portfolio {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal__body {
        padding: 25px;
    }
    
    .footer__content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 14px;
    }
    
    .contact-cta {
        padding: 80px 0;
    }
    
    .marquee__item {
        padding: 0 25px;
    }
    
    .bg-orb {
        opacity: 0.25;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .works__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .work-card__title {
        font-size: 0.8rem;
    }
    
    .work-card__preview-icon {
        width: 32px;
        height: 32px;
    }
    
    .works-gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .modal__portfolio {
        grid-template-columns: 1fr 1fr;
    }
    
    .loader-logo-text {
        font-size: 2.5rem;
    }
    
    .loader-orbit {
        width: 140px;
        height: 140px;
    }
}
/* ===== PHOTO LIGHTBOX ===== */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.photo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
}

.photo-lightbox__container {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox.is-open .photo-lightbox__container {
    transform: translateY(0) scale(1);
}

.photo-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.photo-lightbox__close:hover {
    background: linear-gradient(135deg, #9333ea, #d946ef);
    border-color: transparent;
}

.photo-lightbox__close:hover svg { stroke: white; }
.photo-lightbox__close svg { width: 20px; height: 20px; stroke: #1a1025; }

.photo-lightbox__image-wrap {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    background: #f8f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox__image {
    width: 100%;
    height: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.photo-lightbox__details { padding: 28px 32px; }

.photo-lightbox__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.photo-lightbox__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1025;
}

.photo-lightbox__counter {
    font-size: 0.8rem;
    font-weight: 600;
    color: #9ca3af;
    font-family: "Space Grotesk", monospace;
    margin-top: 4px;
    display: block;
}

.photo-lightbox__category {
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7c3aed;
    white-space: nowrap;
    flex-shrink: 0;
}

.photo-lightbox__description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.photo-lightbox__meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.photo-lightbox__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.photo-lightbox__meta-item svg { stroke: #a855f7; flex-shrink: 0; }

/* Arrows */
.photo-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.photo-lightbox__arrow:hover {
    background: linear-gradient(135deg, #9333ea, #d946ef);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.photo-lightbox__arrow:hover svg { stroke: white; }
.photo-lightbox__arrow svg { width: 22px; height: 22px; stroke: #1a1025; }
.photo-lightbox__arrow--prev { left: 16px; }
.photo-lightbox__arrow--next { right: 16px; }

/* Gallery formats */
.works-gallery__item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; background: #f8f5ff; min-height: 150px; }
.works-gallery__item:hover { transform: scale(1.02); box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2); }
.works-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.works-gallery__item--square { aspect-ratio: 1/1; }
.works-gallery__item--landscape { aspect-ratio: 16/9; }
.works-gallery__item--portrait { aspect-ratio: 9/16; grid-row: span 2; }
.works-gallery__item--wide { aspect-ratio: 21/9; grid-column: span 2; }

.works-gallery__item-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.works-gallery__item:hover .works-gallery__item-info { opacity: 1; transform: translateY(0); }
.works-gallery__item-name { font-size: 0.9rem; font-weight: 600; color: white; }
.works-gallery__item-author { font-size: 0.75rem; color: rgba(255,255,255,0.7); }

.works-gallery__empty { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 60px 20px; text-align: center; }
.works-gallery__empty p { color: #9ca3af; font-size: 0.95rem; }

@media (max-width: 768px) {
    .photo-lightbox__arrow { width: 40px; height: 40px; }
    .photo-lightbox__arrow--prev { left: 8px; }
    .photo-lightbox__arrow--next { right: 8px; }
    .photo-lightbox__details { padding: 16px; }
    .photo-lightbox__title { font-size: 1rem; }
    .photo-lightbox__header { flex-direction: column; gap: 8px; }
    .photo-lightbox__image-wrap { max-height: 45vh; }
    .works-gallery__item--wide { grid-column: span 1; }
    .works-gallery__item--portrait { grid-row: span 1; aspect-ratio: 3/4; }
}