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

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

:root
{
    --primary: #0066ff;
    --secondary: #00d4ff;
    --dark: #0a0e27;
    --light: #f8f9fa;
    --accent: #6c3fd1;
}

html
{
    scroll-behavior: smooth;
}

body
{
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: var(--dark);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

header.scrolled
{
    background: rgba(10, 14, 39, 0.3);
    backdrop-filter: blur(1.25rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.37);
}

nav
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 87.5rem;
    margin: 0 auto;
}

.logo
{
    height: 2rem;
    width: 5rem;
    transform: scale(2);
    transform-origin: left center;
    transition: transform 0.3s ease;
    background: url('/static/image/base/senselogic_orange_white_logo.avif') no-repeat center center / contain;
}

.nav-links
{
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a
{
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(0.3125rem);
    -webkit-backdrop-filter: blur(0.3125rem);
}

.nav-links a:hover
{
    color: var(--secondary);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 212, 255, 0.2);
}

.nav-links a::after
{
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after
{
    width: 60%;
}

.contact-btn
{
    padding: 0.6rem 1.5rem;
    background: rgba(0, 102, 255, 0.4);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5625rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 102, 255, 0.2);
}

.contact-btn:hover
{
    background: rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5625rem rgba(0, 212, 255, 0.4);
}

.hamburger
{
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 0.3125rem;
    padding: 0.25rem;
}

.hamburger span
{
    width: 1.5625rem;
    height: 3px;
    background: white;
    transition: all 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1)
{
    transform: translateY(calc(0.3125rem + 3px)) rotate(45deg);
}

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

.hamburger.active span:nth-child(3)
{
    transform: translateY(calc(-0.3125rem - 3px)) rotate(-45deg);
}

.mobile-menu
{
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 18.75rem;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(1.875rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.875rem) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: -0.5rem 0 2rem 0 rgba(0, 0, 0, 0.5);
    transition: right 0.3s;
    padding: clamp(4.5rem, 10vh, 6.5rem) 1.25rem max(1.5rem, env(safe-area-inset-bottom));
    z-index: 999;
    overflow: hidden;
    flex-direction: column;
}

.mobile-menu.active
{
    right: 0;
}

.mobile-menu ul
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.mobile-menu a,
.mobile-menu-contact
{
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(0.3125rem);
    -webkit-backdrop-filter: blur(0.3125rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mobile-menu-contact
{
    flex-shrink: 0;
    margin-top: auto;
}

.mobile-menu a:hover,
.mobile-menu-contact:hover
{
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--secondary);
    transform: translateX(0.125rem);
}

.mobile-menu a:focus-visible,
.mobile-menu-contact:focus-visible
{
    outline: none;
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.18);
}

#hero
{
    position: relative;
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

#hero-canvas
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000000;
}

.hero-content
{
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 50rem;
    padding: 2rem;
}

.hero-content h1
{
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p
{
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button
{
    padding: 1rem 2.5rem;
    background: rgba(0, 102, 255, 0.4);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.875rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 102, 255, 0.3);
}

.cta-button:hover
{
    background: rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 212, 255, 0.5);
}

.service-section
{
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    position: relative;
    background: transparent;
}

#games
{
    position: relative;
}

.service-container
{
    max-width: 87.5rem;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
        grid-template-columns: 1fr;
    grid-template-areas:
        "image"
        "content";
}

.service-content
{
    grid-area: content;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hover-img-container
{
    grid-area: image;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 1.5rem;
    filter: drop-shadow(0 1.25rem 5rem rgba(0, 212, 255, 0.3));
        aspect-ratio: 16 / 9;
}

@media (min-width: 65em)
{
    .service-container
    {
        grid-template-columns: 1fr 1fr;
    }

    .service-section:nth-child(odd) .service-container
    {
        grid-template-areas:
            "content image";
    }

    .service-section:nth-child(even) .service-container
    {
        grid-template-areas:
            "image content";
    }

    .hover-img-container
    {
        aspect-ratio: auto;
        width: 100%;
        max-height: none;
        height: 100%;
        margin-inline: 0;
    }
}

.service-content h2
{
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 2rem;
    color: white;
}

.portfolio-content h2
{
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.contact-container h2
{
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

#particles-background
{
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.service-content
{
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-content p
{
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hover-img-container img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
    min-width: 0;
    min-height: 0;
}

.hover-img-container:hover img
{
    transform: scale(1.1);
}

#portfolio
{
    min-height: auto;
    background: transparent;
    position: relative;
    overflow: hidden;
}

#portfolio h2
{
    padding-top: 5rem;
}

#portfolio nav
{
    padding-bottom: 5rem;
}

#portfolio-canvas
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #0a0e27;
}

.portfolio-sphere-bg
{
    position: relative;
    background: #0a0e27;
    overflow: hidden;
}

.portfolio-sphere-bg::before
{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(0, 102, 255, 0.4) 0%,
        rgba(0, 212, 255, 0.25) 15%,
        rgba(0, 212, 255, 0.15) 30%,
        rgba(108, 63, 209, 0.1) 45%,
        rgba(108, 63, 209, 0.05) 60%,
        rgba(10, 14, 39, 0.2) 75%,
        rgba(10, 14, 39, 0.1) 85%,
        rgba(10, 14, 39, 0.05) 92%,
        rgba(10, 14, 39, 0) 100%
    );
    animation: spherePulse 8s ease-in-out infinite;
    z-index: 0;
}

.portfolio-sphere-bg::after
{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at 30% 30%,
        rgba(0, 212, 255, 0.3) 0%,
        rgba(0, 102, 255, 0.2) 20%,
        rgba(0, 102, 255, 0.1) 40%,
        rgba(108, 63, 209, 0.08) 55%,
        rgba(108, 63, 209, 0.04) 70%,
        rgba(108, 63, 209, 0.02) 85%,
        rgba(0, 0, 0, 0) 100%
    );
    animation: sphereRotate 12s linear infinite;
    z-index: 0;
}

@keyframes spherePulse
{
    0%, 100%
    {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50%
    {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes sphereRotate
{
    0%
    {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100%
    {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.portfolio-content
{
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
}

.portfolio-gallery
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.portfolio-track
{
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 2;
}

.portfolio-front-overlay
{
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

.portfolio-front-overlay.is-visible
{
    opacity: 1;
    visibility: visible;
}

.portfolio-front-overlay img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.portfolio-item
{
    position: absolute;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.18, 1),
                opacity 0.3s cubic-bezier(0.77, 0, 0.18, 1),
                filter 0.3s cubic-bezier(0.77, 0, 0.18, 1),
                width 0.3s cubic-bezier(0.77, 0, 0.18, 1),
                height 0.3s cubic-bezier(0.77, 0, 0.18, 1),
                box-shadow 0.3s cubic-bezier(0.77, 0, 0.18, 1);
    transform-origin: center center;
    opacity: 0.7;
    will-change: transform, opacity, filter;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    outline: none;
}

.portfolio-item.active
{
    opacity: 1;
    z-index: 3;
}

.portfolio-item:focus
{
    outline: none;
}

.portfolio-item img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0vw;
    border: none;
    box-shadow: none;
    transition: all 0.3s;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.portfolio-legend
{
    position: absolute;
    bottom: 0.3vw;
    left: 0.3vw;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.4vw;
    font-weight: 300;
    white-space: nowrap;
    z-index: 10;
    display: none;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
}

.portfolio-controls
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
    pointer-events: none;
    z-index: 5;
}

.portfolio-btn
{
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 212, 255, 0.2);
    pointer-events: auto;
    transform: translateY(50%);
}

.portfolio-btn:hover
{
    background: rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
    color: white;
    transform: translateY(50%) scale(1.1);
    box-shadow: 0 0.375rem 1.5625rem rgba(0, 212, 255, 0.4);
}

#portfolio-dot-nav
{
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    z-index: 4;
    position: relative;
}

.portfolio-dot
{
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 0.5rem rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.18, 1);
    outline: none;
    padding: 0;
}

.portfolio-dot:hover,
.portfolio-dot:focus
{
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    transform: scale(1.2);
    box-shadow: 0 0 1rem rgba(0, 212, 255, 0.5);
}

.portfolio-dot.active
{
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.3);
    box-shadow: 0 0 1rem var(--secondary), 0 0 1.5rem rgba(0, 212, 255, 0.6);
}

#contact
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 5rem 5% 0;
    position: relative;
    overflow: hidden;
}

.contact-layout
{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 87.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-bottom: 6rem;
}

.contact-orb
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0 0;
}

.contact-container
{
    position: relative;
    z-index: 1;
    max-width: 50rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1.875rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.875rem) saturate(180%);
    border-radius: 1.5rem;
    padding: 3rem;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.2),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.wireframe-container
{
    position: relative;
    width: min(20rem, 85vw);
    aspect-ratio: 1 / 1;
    perspective: 1200px;
}

@keyframes rotate-outer
{
    from { transform: rotateY(0deg) rotateX(0deg); }
    to { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes rotate-inner
{
    from { transform: rotateY(360deg) rotateX(45deg); }
    to { transform: rotateY(0deg) rotateX(405deg); }
}

@keyframes rotate-middle
{
    from { transform: rotateX(30deg) rotateZ(0deg); }
    to { transform: rotateX(30deg) rotateZ(-360deg); }
}

.energy-orb
{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: radial-gradient(circle at center, #ffffff 0%, var(--secondary) 30%, rgba(0, 102, 255, 0.7) 70%);
    box-shadow:
        0 0 20px var(--secondary),
        0 0 40px rgba(0, 212, 255, 0.6),
        0 0 60px rgba(0, 212, 255, 0.35),
        inset 0 0 15px rgba(255, 255, 255, 0.8);
    animation: orb-pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes orb-pulse
{
    0%, 100%
    {
        transform: scale(1);
        opacity: 0.9;
    }

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

.orb-ring
{
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.orb-ring--outer
{
    inset: 0;
    border: 2px solid rgba(0, 212, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.22);
    animation: rotate-outer 15s linear infinite;
    z-index: 2;
}

.orb-ring--middle
{
    inset: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    animation: rotate-middle 12s linear infinite;
    z-index: 3;
}

.orb-ring--inner
{
    inset: 3rem;
    border: 2px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.12);
    animation: rotate-inner 10s linear infinite;
    z-index: 4;
}

.orb-glow
{
    position: absolute;
    inset: -5rem;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.06);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 65em)
{
    .contact-layout
    {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        justify-items: stretch;
    }

    .contact-orb
    {
        padding: 0;
    }

    .contact-container
    {
        max-width: none;
    }
}

.form-group
{
    margin-bottom: 1.5rem;
}

.form-group label
{
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.form-group input,
.form-group textarea
{
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder
{
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.form-group input::-moz-placeholder,
.form-group textarea::-moz-placeholder
{
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus
{
    outline: none;
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 1.25rem rgba(0, 212, 255, 0.2);
}

.form-group textarea
{
    resize: vertical;
    min-height: 9.375rem;
}

.submit-btn
{
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(0, 102, 255, 0.4);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 102, 255, 0.3);
}

.submit-btn:hover
{
    background: rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 212, 255, 0.5);
}

.contact-form-area
{
    position: relative;
}

#contactForm
{
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#contactForm.contact-form--hidden
{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.contact-thanks
{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(10, 14, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 2;
}

.contact-thanks.is-hidden
{
    opacity: 0;
    visibility: hidden;
}

.contact-thanks.contact-thanks--visible
{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-thanks-text
{
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: white;
}

footer
{
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(1.25rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.25rem) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 5%;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -0.5rem 2rem 0 rgba(0, 0, 0, 0.37);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.footer-copyright
{
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links
{
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a
{
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.footer-links a:hover
{
    color: var(--secondary);
}

#cookie-consent
{
    position: fixed;
    bottom: -12.5rem;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(1.875rem) saturate(180%);
    -webkit-backdrop-filter: blur(1.875rem) saturate(180%);
    padding: 1.5rem;
    z-index: 10000;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -0.5rem 2rem 0 rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s;
}

#cookie-consent.show
{
    bottom: 0;
}

.cookie-content
{
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p
{
    color: white;
    margin: 0;
}

.cookie-buttons
{
    display: flex;
    gap: 1rem;
}

.cookie-btn
{
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-accept
{
    background: rgba(0, 102, 255, 0.4);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 102, 255, 0.2);
}

.cookie-accept:hover
{
    background: rgba(0, 212, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.375rem 1.25rem rgba(0, 212, 255, 0.4);
}

.cookie-decline
{
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover
{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-links
{
    display: none;
}

.hamburger
{
    display: flex;
}

.mobile-menu
{
    display: flex;
}

.contact-btn
{
    display: none;
}

.cookie-content
{
    flex-direction: column;
    text-align: center;
}

.service-container
{
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    align-items: stretch;
}

.hover-img-container
{
    aspect-ratio: 4 / 3;
    width: min(100%, calc(75dvh * 4 / 3));
    max-height: 60dvh;
    height: auto;
    margin-inline: auto;
}

.service-content h2
{
    margin-bottom: 1rem;
}

footer
{
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-copyright
{
    order: 2;
}

.footer-links
{
    order: 1;
    justify-content: center;
}

@media (min-width: 45em)
{
    .nav-links
    {
        display: flex;
    }

    .hamburger
    {
        display: none;
    }

    .mobile-menu
    {
        display: none;
    }

    .contact-btn
    {
        display: block;
    }

    .cookie-content
    {
        flex-direction: row;
        text-align: left;
    }

    footer
    {
        flex-direction: row;
        text-align: left;
    }

    .footer-copyright
    {
        order: 1;
    }

    .footer-links
    {
        order: 2;
        justify-content: flex-end;
    }
}

@media (min-width: 65em)
{
    .service-container
    {
        grid-template-columns: 1fr 1fr !important;
        gap: 4rem;
    }

    .service-content h2
    {
        margin-bottom: 2rem;
    }

    .hover-img-container
    {
        aspect-ratio: auto;
        width: 100%;
        max-height: none;
        height: 100%;
        margin-inline: 0;
    }
}

.legal-page
{
    padding: 8rem 5% 6rem;
    color: white;
}

.legal-container
{
    max-width: 60rem;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2.5rem;
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.35);
}

.legal-container h1
{
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: white;
}

.legal-container h2
{
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 1.5rem 0 0.75rem;
    font-weight: 800;
    color: white;
}

.legal-container p,
.legal-container li
{
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

.legal-container ul
{
    margin-left: 1.2rem;
    padding-left: 1rem;
    list-style: disc;
    display: grid;
    gap: 0.35rem;
}

.legal-meta
{
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}

.legal-nav
{
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-nav a
{
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.legal-nav a:hover
{
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce)
{
    *
    {
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .portfolio-item
    {
        transition: transform 0.1s, opacity 0.1s, filter 0.1s !important;
    }

    .portfolio-dot
    {
        transition: all 0.1s !important;
    }

    .portfolio-btn
    {
        transition: all 0.1s !important;
    }

    .portfolio-sphere-bg::before,
    .portfolio-sphere-bg::after
    {
        animation: none !important;
    }
}
