html,
body {
    background-color: #000000 !important;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--text-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    cursor: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

#cursor {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    -webkit-transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease;
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease;
}

#cursor.active {
    transform: scale(3);
    background-color: transparent;
    border: 1px solid white;
}

/* Restore system cursor and hide custom cursor on touch devices */
@media (pointer: coarse) {
    body {
        cursor: auto !important;
    }

    #cursor {
        display: none !important;
    }
}

/* --- End What We Do Styles --- */

#portfolio-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 1s ease;
}

/* --- Form Success Protocol --- */
.success-fade {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

#success-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
}

#success-message.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #27c93f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(39, 201, 63, 0.3);
}

/* End of File */

/* Logo States Removed */

/* --- What We Do Redesign Styles --- */
/* Spin animation for decorative seal */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

/* Scrub text reveal setup */
.scrub-text {
    color: rgba(0, 0, 0, 0.1);
    /* Base state: faded */
    transition: color 0.4s ease;
}

.scrub-text span {
    transition: color 0.4s ease;
}

/* Service pillar refinement */
.service-pillar h3 {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-pillar:hover h3 {
    transform: translateX(20px);
}

/* --- End What We Do Styles --- */

/* Logo Visibility Logic */
.logo-white,
.logo-black {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: absolute !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    will-change: opacity, transform;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.logo-black {
    mix-blend-mode: multiply !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    /* Removes white background from logo asset */
}

.navbar--dark .logo-white {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.navbar--dark .logo-black {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.navbar--light .logo-white {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.navbar--light .logo-black {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* IDE Mockup Enhancements */
.code-scroller div {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

@keyframes pulse-code {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* 3D Dev Stack Styles */
.perspective-2000 {
    perspective: 2000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.dev-layer {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.layer-3 {
    transform: translateZ(100px);
}

.story-line {
    display: block;
    overflow: hidden;
}

.story-span-1,
.story-span-2,
.story-span-3,
.story-word {
    color: #000000 !important;
    will-change: transform, opacity;
}

.story-word {
    display: inline-block;
    margin-right: 0.25em;
}

.layer-2 {
    transform: translateZ(50px) translateX(20px) translateY(-20px);
}

.layer-1 {
    transform: translateZ(0px) translateX(-20px) translateY(20px);
}

@keyframes growth-bar {
    0% {
        height: 20%;
    }

    50% {
        height: 80%;
    }

    100% {
        height: 20%;
    }
}

.animate-growth {
    animation: growth-bar 2s ease-in-out infinite;
}

.story-visual-container:hover .layer-3 {
    transform: translateZ(150px) rotateY(5deg) rotateX(2deg);
}

.story-visual-container:hover .layer-2 {
    transform: translateZ(80px) translateX(40px) translateY(-40px) rotateY(10deg);
}

.story-visual-container:hover .layer-1 {
    transform: translateZ(20px) translateX(-40px) translateY(40px) rotateY(-5deg);
}


/* Footer animated words */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer-word {
    animation: slideUp 0.8s ease-out forwards;
    display: inline-block;
}

/* Paper Plane Animation Sequence */
#deliveryOverlay {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#deliveryOverlay.active {
    pointer-events: auto;
    opacity: 1;
}

.plane-container {
    position: absolute;
    bottom: 20%;
    left: 20%;
    transform: translate(-50%, 50%) scale(0);
}

.plane-container.fly {
    animation: flyPath 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes flyPath {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        left: 20%;
        bottom: 20%;
        opacity: 1;
    }

    20% {
        transform: translate(20vw, -10vh) scale(1.2) rotate(15deg);
    }

    40% {
        transform: translate(40vw, 5vh) scale(1.1) rotate(-5deg);
    }

    60% {
        transform: translate(60vw, -15vh) scale(0.9) rotate(10deg);
    }

    100% {
        transform: translate(120vw, -50vh) scale(0.5) rotate(20deg);
        left: 20%;
        /* Keep origin anchor */
        bottom: 20%;
        opacity: 0;
    }
}

.bubble-container {
    opacity: 0;
    transform: scale(0);
}

.bubble-container.pop {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Success notification animations (Legacy - can be removed or kept for fallback) */
@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-checkmark svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.success-checkmark.animate svg {
    animation: checkmarkDraw 0.5s ease-out forwards;
}

#successNotification.show {
    transform: translateX(0) !important;
}

#successNotification.show .success-checkmark {
    animation: scaleIn 0.4s ease-out 0.2s forwards;
    transform: scale(0);
}

/* Custom scrollbar and utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Cursor styles */
#cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

.nav-hidden {
    transform: translateY(-100%);
}

#navbar {
    transition: transform 0.4s ease-in-out;
}

/* 3D Card Transforms (User Provided Logic) */
.card-swapper {
    /* No position property - let HTML absolute positioning work */
    transform-origin: center center;
    perspective: 900px;
    overflow: visible;
}

.card {
    position: absolute;
    top: 50%;
    left: auto;
    right: 0;
    /* Size is now controlled by JS inline styles, but fallback: */
    width: 100%;
    height: 100%;
    border-radius: 12px;
    /* User CSS said border: 1px solid #fff, but we have specific Tailwind classes in JS */

    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Response adjustments from user code, mapped to standard media queries if needed */
@media (max-width: 768px) {
    .card-swapper {
        transform: scale(0.75);
    }
}

@media (max-width: 480px) {
    .card-swapper {
        transform: scale(0.55);
    }
}

/* Minimalist Interactive List Styles */
.project-list-item {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-list-item h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
}

.project-list-item:hover h2 {
    color: #fff;
}

.project-list-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Browser UI Mockup Styles */
.browser-ui-shell {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8f8f8;
}

.on-white .browser-ui-shell {
    border-color: rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.on-white h3 {
    color: #000;
}

.on-white p {
    color: rgba(0, 0, 0, 0.4);
}

.project-window-container:hover .browser-ui-shell {
    transform: translateY(-15px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.browser-ui-shell img {
    object-position: top;
    will-change: transform;
}

/* Light Theme Typography Refinement */
.text-project-title {
    color: #000;
    transition: color 0.3s ease;
}

.bg-white .text-white\/40 {
    color: rgba(0, 0, 0, 0.3) !important;
}

/* Intelligent Cursor Expansion */
#cursor.active {
    width: 60px;
    height: 60px;
}

#cursor.on-dark {
    background: #fff;
    mix-blend-mode: difference;
}

#cursor.on-light {
    background: #000;
    mix-blend-mode: normal;
}

/* Metadata Typography Refinement */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Portfolio Hover Glow (Used for list background subtle glow) */
#portfolio-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(60px);
}

/* Floating Project Preview (World-Class refined) */
#project-preview {
    perspective: 1500px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    /* Keep this for interaction */
    background: #0a0a0a;
    /* Keep this for background */
    display: flex;
    /* Keep this for layout */
    flex-direction: column;
    /* Keep this for layout */
    border-radius: 12px;
    /* Keep this for styling */
}

#preview-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    overflow: hidden;
    transition: background-position 8s linear;
    /* Keep this for auto-scroll */
}

/* Auto-scroll on hover is handled by GSAP or CSS animation */
.project-item:hover~#project-preview #preview-image {
    background-position: bottom center;
}

/* Project List Typography */
.project-item h3 {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    color: transparent;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover h3 {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 1);
    color: white;
}

/* Pricing Grid Styles */
.pricing-card {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
}

.pricing-card.selected-card {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15), 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    background: white !important;
}

.pricing-card.selected-card h3 {
    color: #3b82f6;
}

#booking ul li {
    transition: transform 0.4s ease;
}

#booking ul li:hover {
    transform: translateX(10px);
}

/* Optional: Subtle background movement for the section */
#booking::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Tech Stack Marquee Animation */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.tech-marquee-wrapper:hover .animate-marquee {
    animation-play-state: paused;
}

/* Services Hero Specifics */
#services-hero {
    perspective: 1200px;
}

.visual-stack {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.capability-layer {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.layer-glass-3 {
    transform: translateZ(-100px) rotateY(15deg);
}

.layer-glass-2 {
    transform: translateZ(-50px) rotateY(5deg);
}

.layer-glass-1 {
    transform: translateZ(0px);
}

.services-marquee-container {
    overflow: hidden;
    position: relative;
}

.tech-marquee {
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.solution-card {
    transition: all 0.5s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
}

/* GSAP/Lenis Wrapper Fixes */
#smooth-wrapper {
    background-color: #000 !important;
    width: 100%;
}

#smooth-content {
    background-position: center;
    transition: background-image 0.4s ease-out;
}

/* Project Preview Floating Window */
#project-preview {
    position: fixed;
    width: 400px;
    height: 250px;
    background: #111;
    border-radius: 1rem;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.browser-header {
    height: 24px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

#preview-image {
    flex-grow: 1;
    background-size: cover;
    background-position: top center;
    transition: background-image 0.2s ease;
}

/* --- Hybrid Adaptive Navbar Styles --- */
#navbar {
    background-color: transparent !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: inherit;
}

#navbar a,
#navbar img,
#navbar div,
#navbar .logo-text {
    transition: color 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Explicit Hamburgers Visibility Fix */
#hamburger span {
    display: block !important;
    height: 2px !important;
    width: 25px !important;
    margin-bottom: 5px !important;
    transition: all 0.3s ease !important;
}

.navbar--dark #hamburger span {
    background-color: #ffffff !important;
}

.navbar--light #hamburger span {
    background-color: #000000 !important;
}

/* State: Over Dark Section (White Text) */
#navbar.navbar--dark {
    color: #ffffff !important;
}

#navbar.navbar--dark a:not(.nav-cta),
#navbar.navbar--dark .logo-text {
    color: #ffffff !important;
    background: transparent !important;
    background-color: transparent !important;
}

#navbar.navbar--dark .hamburger span {
    background-color: #ffffff;
}

#navbar.navbar--dark .nav-cta {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    box-shadow: none !important;
}

/* State: Over Light Section (Black Text) */
#navbar.navbar--light {
    color: #000000 !important;
}

#navbar.navbar--light a:not(.nav-cta),
#navbar.navbar--light .logo-text {
    color: #000000 !important;
    background: transparent !important;
    background-color: transparent !important;
}

#navbar.navbar--light .hamburger span {
    background-color: #000000;
}

#navbar.navbar--light .nav-cta {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hover effects within states */
#navbar.navbar--dark a:hover:not(.nav-cta) {
    color: rgba(255, 255, 255, 0.6) !important;
}

#navbar.navbar--light a:hover:not(.nav-cta) {
    color: rgba(0, 0, 0, 0.6) !important;
}

.nav-cta {
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease !important;
}

/* Ensure dark sections and footers remain black */
.dark-section,
footer {
    background-color: #000 !important;
}

/* --- Project Incubator (WIP Redesign) --- */
.incubator-section {
    position: relative;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0;
}

/* Blueprint Grid Background */
.incubator-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.incubator-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-spotlight {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #0a0a0a;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .glass-spotlight {
        aspect-ratio: 1/1.2;
        border-radius: 2rem;
    }
}

.glass-spotlight:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 80px 130px -30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 255, 255, 0.05);
}

.browser-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.browser-header {
    height: 40px;
    background: #141414;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    z-index: 20;
    position: relative;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.incubator-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 12s cubic-bezier(0.45, 0, 0.55, 1);
    transform: translateY(0);
    image-rendering: -webkit-optimize-contrast;
}

.glass-spotlight:hover .incubator-image {
    transform: translateY(calc(-100% + 600px));
}

/* Technical Meta Panel */
.meta-panel {
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 420px;
    background: rgba(15, 15, 15, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.5rem;
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    z-index: 30;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .meta-panel {
        width: 100%;
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -40px;
        padding: 2rem;
        border-radius: 2rem;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: #0a0a0a;
    }
}

.tech-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.progress-tube {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #fff;
    width: 55%;
    box-shadow: 0 0 20px #fff;
    animation: progressPulse 2s infinite ease-in-out;
}

@keyframes progressPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        filter: brightness(1.5);
    }
}

/* Processing Scanline Animation */
.scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: scanMove 4s linear infinite;
    pointer-events: none;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-spotlight:hover .scanline {
    opacity: 1;
}

@keyframes scanMove {
    from {
        background-position: 0 -200%;
    }

    to {
        background-position: 0 200%;
    }
}

/* Responsive Mobile Adjustments */
@media (max-width: 1024px) {
    .meta-panel {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: -30px;
        bottom: auto;
        right: auto;
    }
}

/* --- Mobile Navbar & Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 100;
    padding: 10px;
    background: transparent;
    border: none;
    color: inherit;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    -webkit-clip-path: circle(0% at 90% 5%);
    clip-path: circle(0% at 90% 5%);
    -webkit-transition: -webkit-clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1), -webkit-clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.active {
    -webkit-clip-path: circle(150% at 90% 5%);
    clip-path: circle(150% at 90% 5%);
}

#mobile-menu a {
    color: white;
    font-size: 10vw;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.mobile-cta {
    margin-top: 2rem;
    padding: 1.2rem 2.5rem !important;
    font-size: 1.25rem !important;
    background: #fff !important;
    color: #000 !important;
}

.mobile-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-close:hover {
    transform: rotate(90deg);
}

.mobile-close span {
    position: absolute;
    width: 30px;
    height: 2px;
    background: white;
}

.mobile-close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-close span:nth-child(2) {
    transform: rotate(-45deg);
}

#mobile-menu a:hover {
    opacity: 0.5;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    #navbar .hidden.md\:flex {
        display: none !important;
    }
}

/* Hamburger Animations when Active */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Contact Page (The Nexus) --- */
.nexus-input {
    font-family: 'Inter', sans-serif;
    color: white;
}

.nexus-input::placeholder {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nexus-input:focus::placeholder {
    transform: translateX(10px);
    opacity: 0;
}

.input-group:focus-within .input-scan {
    width: 100%;
}

.input-scan {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.glass-form-container {
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.contact-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.initiate-btn {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.initiate-btn:hover {
    padding-right: 5rem !important;
    background: #f0f0f0;
}

.initiate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.initiate-btn:hover::before {
    left: 100%;
}

/* Animations */
@keyframes revealEnter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    animation: revealEnter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Mesh Glow Architecture --- */
.mesh-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
}

.mesh-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.mesh-1 {
    width: 50vw;
    height: 50vw;
    background: rgba(59, 130, 246, 0.15);
    top: -10%;
    left: -10%;
}

.mesh-2 {
    width: 40vw;
    height: 40vw;
    background: rgba(147, 51, 234, 0.12);
    bottom: -10%;
    right: -10%;
}

.mesh-3 {
    width: 30vw;
    height: 30vw;
    background: rgba(59, 130, 246, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- SEO Utilities --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Contact Page Specifics --- */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* --- Privacy/Legal Page Specifics --- */
.legal-card {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}