﻿:root {
    --bg-dark: #0f172a;
    --primary: #3b82f6;
    --gradient-brand-main: linear-gradient(90deg, #FF00CC 0%, #9D00FF 50%, #3333FF 100%);
    --primary-light: #60a5fa;
    --accent: #8b5cf6;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;

    --panel-chat-client-bg: #151521;
    --panel-chat-client-border: rgba(255, 255, 255, 0.1);
    --panel-chat-admin-bg: rgba(126, 111, 255, 0.15);
    --panel-chat-admin-border: rgba(126, 111, 255, 0.45);
}

.mud-appbar.light-nav .mud-button-text-inherit,
.mud-appbar.light-nav .mud-icon-button.mud-inherit {
    color: #0d0d1a !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
    background-color: #0F111A;
}

body {
    background-color: #0F111A;
}

.webcomposer-login {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mud-layout {
    min-height: 100vh;
}

.mud-main-content {
    overflow-y: auto;
}

.webcomposer-background {
    background-color: var(--bg-dark);
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

    .webcomposer-background::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
        background-size: 30px 30px;
        z-index: 0;
        pointer-events: none;
    }

.ambient-glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

.webcomposer-gradient-text {
    background: var(--gradient-brand-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.mud-button-filled.gradient-btn {
    background: linear-gradient(135deg, #D500F9 0%, #2979FF 100%);
    color: white;
    transition: transform 0.2s;
}

    .mud-button-filled.gradient-btn:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #E040FB 0%, #448AFF 100%);
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(40px);
}

.flip-container {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
}

.flipper {
    transition: 0.8s;
    transform-style: preserve-3d;
    position: relative;
    height: 100%;
}


.flip-container:hover .flipper {
    transform: rotateY(180deg);
}


.flip-front, .flip-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 16px;
}


.flip-front {
    z-index: 2;
    transform: rotateY(0deg);
}


.flip-back {
    transform: rotateY(180deg);
}

.offset-photo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-top: 16px;
    margin-left: 16px;
    margin-bottom: 24px;
}

.offset-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.offset-photo-frame {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 12px;
    background: linear-gradient(135deg, #D500F9 0%, #2979FF 100%);
    opacity: 0.7;
}

@keyframes pulse-gentle {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

.hint-icon {
    animation: pulse-gentle 2s infinite ease-in-out;
    cursor: pointer;
}

.glass-card {
    background: rgba(30, 30, 45, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.glass-card.is-interactive {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .glass-card.is-interactive:hover {
        transform: translateY(-12px);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9), 0 0 15px rgba(213, 0, 249, 0.3);
        border-color: rgba(213, 0, 249, 0.7);
    }

.card-clip-content {
    overflow: hidden !important;
}

.project-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.glass-card.is-interactive:hover .project-card-image {
    transform: scale(1.07);
}

.project-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.15) 65%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.project-card-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 20px;
    background: rgba(8, 8, 20, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0 0 12px 12px;
}

.project-card-device-mockup {
    position: absolute;
    left: 50%;
    top: 37%;
    transform: translate(-50%, -50%);
    width: 75%;
    max-width: 440px;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pc-card-device-pc {
    background: #181d30;
    border-radius: 6px;
    border: 2px solid #181d30;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(155, 165, 185, 0.4),
        0 16px 40px rgba(0, 0, 0, 0.6);
    padding: 4px;
}

.pc-card-pc-screen {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
}

    .pc-card-pc-screen img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.pc-card-device-phone {
    background: #181d30;
    border-radius: 12px;
    border: 2px solid #181d30;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(155, 165, 185, 0.4),
        0 16px 40px rgba(0, 0, 0, 0.6);
    padding: 3px;
}

.pc-card-phone-screen {
    border-radius: 9px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    background: #000;
}

    .pc-card-phone-screen img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.pc-card-two-phones {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
}

    .pc-card-two-phones .pc-card-device-phone {
        width: 36%;
    }

    .pc-card-two-phones .pc-card-device-phone:last-child {
        margin-top: 20px;
    }

.pc-card-single-phone {
    display: flex;
    justify-content: center;
}

    .pc-card-single-phone .pc-card-device-phone {
        width: 40%;
    }

.pc-card-both {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

    .pc-card-both .pc-card-device-pc {
        flex: 1;
        min-width: 0;
    }

    .pc-card-both .pc-card-device-phone {
        width: 27%;
        flex-shrink: 0;
    }

.project-card-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

@media (max-width: 600px) {
    .project-card-device-mockup {
        width: 85%;
        max-width: none;
        top: 38%;
    }

    .project-card-content {
        padding: 14px;
    }
}

.section-alt {
    background-color: #141829;
    background-image: linear-gradient(135deg, rgba(41, 121, 255, 0.035) 0%, rgba(213, 0, 249, 0.035) 100%);
    width: 100%;
}

.hero-mobile-spider-bg {
    display: none;
}

@media (max-width: 960px) {
    .hero-mobile-spider-bg {
        display: block;
        position: absolute;
        top: -30vw;
        left: 50%;
        transform: translateX(-50%);
        width: 150vw;
        height: 150vw;
        z-index: 1;
        pointer-events: none;
        opacity: 0.25;
        filter: blur(0.5px);
    }

    .hero-mobile-spider-bg svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .hero-section-wrapper .hero-spider-col {
        display: none !important;
    }

    .hero-grid {
        align-items: flex-start !important;
        align-content: flex-start !important;
    }

    .hero-text-col {
        position: relative;
        z-index: 2;
        padding-top: 120px !important;
        width: 100%;
    }

    .hero-text-col .mud-stack {
        padding-top: 0;
        padding-bottom: 12px;
    }
}

.hero-section-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
}

.hero-orb--purple {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(213, 0, 249, 0.22) 0%, transparent 68%);
    top: -180px;
    right: -80px;
    animation: hero-orb-1 16s ease-in-out infinite alternate;
}

.hero-orb--blue {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.20) 0%, transparent 68%);
    bottom: -160px;
    left: -80px;
    animation: hero-orb-2 20s ease-in-out infinite alternate;
}

.hero-orb--violet {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(157, 0, 255, 0.16) 0%, transparent 68%);
    top: 35%;
    left: 38%;
    animation: hero-orb-3 24s ease-in-out infinite alternate;
}

@keyframes hero-orb-1 {
    0%   { transform: translate(0, 0)          scale(1);    opacity: 0.8;  }
    33%  { transform: translate(-70px, 50px)   scale(1.06); opacity: 1;    }
    66%  { transform: translate(30px, 90px)    scale(0.96); opacity: 0.9;  }
    100% { transform: translate(-110px, 60px)  scale(1.1);  opacity: 0.85; }
}

@keyframes hero-orb-2 {
    0%   { transform: translate(0, 0)          scale(1);    opacity: 0.8;  }
    33%  { transform: translate(90px, -70px)   scale(1.08); opacity: 1;    }
    66%  { transform: translate(-50px, -90px)  scale(0.94); opacity: 0.9;  }
    100% { transform: translate(70px, -110px)  scale(1.05); opacity: 0.85; }
}

@keyframes hero-orb-3 {
    0%   { transform: translate(0, 0)          scale(1);    opacity: 0.6; }
    50%  { transform: translate(-70px, 55px)   scale(1.18); opacity: 1;   }
    100% { transform: translate(50px, -65px)   scale(0.88); opacity: 0.7; }
}