:root {
        --bg-main: #03070c;
        --text-main: #f4f6fb;
        --accent-1: #e5c465;
        --accent-2: #abdd6e;
        --accent-3: #093e7f;
      }

      body {
        background-color: var(--bg-main);
        color: var(--text-main);
        font-family: 'Space Grotesk', sans-serif;
        overflow-x: hidden;
        /* Enable smooth scrolling globally */
        scroll-behavior: smooth;
      }

      .mono {
        font-family: 'JetBrains Mono', monospace;
      }

      /* Noise Texture Overlay */
      .noise::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        opacity: 0.25;
        z-index: 100;
        background: url('../images/noise_bg.webp');
        background-repeat: repeat;
      }

      /* Design Elements */
      .y2k-button {
        border: 2px solid var(--text-main);
        border-radius: 9999px;
        box-shadow: 0px 4px 0px var(--accent-3);
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        will-change: transform, box-shadow;
      }

      .y2k-button:hover {
        transform: translateY(-2px);
        box-shadow: 0px 6px 0px var(--accent-1);
      }

      .accent-gradient {
        background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      /* Bento-style cards */
      .bento-card {
        border-radius: 2.5rem;
        background: rgba(244, 246, 251, 0.02);
        border: 1px solid rgba(244, 246, 251, 0.08);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        height: 100%;
        will-change: transform, background, border;
      }
      .bento-card:hover {
        background: rgba(244, 246, 251, 0.05);
        border-color: rgba(244, 246, 251, 0.2);
        transform: translateY(-5px);
      }

      /* Parallax Window with TGC/Shine Effect */
      .voice-window {
        position: relative;
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 2rem;
        overflow: hidden;
        perspective: 1000px;
        background: #000;
        border: 1px solid rgba(255, 255, 255, 0.05);
      }

      .window-inner {
        position: absolute;
        inset: 0;
        transform-style: preserve-3d;
        transition: transform 0.1s cubic-bezier(0.25, 0.1, 0.25, 1);
        will-change: transform;
      }

      .window-bg {
        position: absolute;
        inset: -20%;
        background-size: cover;
        background-position: center;
        /*opacity: 0.95;
        filter: blur(0.8px);*/
        transform: translateZ(-50px);
        transition: transform 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
        will-change: transform;
      }

      .window-sprite {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateZ(40px);
        pointer-events: none;
        transition: transform 0.1s cubic-bezier(0.25, 0.1, 0.25, 1);
        will-change: transform;
      }

      .window-sprite img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
      }

      /* TGC Shine/Holographic Layer - Optimized for Axis Reflection */
      .window-shine {
        position: absolute;
        inset: -50%; /* Larger to allow the "sweep" effect */
        z-index: 10;
        pointer-events: none;
        /* Linear gradient creates a more realistic "flash" than a radial one */
        background: linear-gradient(
          135deg,
          transparent 35%,
          rgba(255, 255, 255, 0.05) 45%,
          rgba(255, 255, 255, 0.15) 50%,
          rgba(255, 255, 255, 0.05) 55%,
          transparent 65%
        );
        opacity: 0;
        transform: translateX(var(--shine-x, 0%)) translateY(var(--shine-y, 0%));
        transition: opacity 0.4s ease;
      }

      .voice-window:hover .window-shine {
        opacity: 1;
      }

      /* Polaroid Grain/Overlay */
      .voice-window::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.15) 0%,
          transparent 100%
        );
        pointer-events: none;
        z-index: 5;
      }

      /* Carousel Logic */
      .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition:
          opacity 1.5s ease-in-out,
          transform 2s ease-out;
        transform: scale(1.02);
        will-change: opacity, transform;
      }

      .hero-slide.active {
        opacity: 0.9;
        transform: scale(1);
        z-index: 1;
      }

      .hero-overlay {
        background: linear-gradient(
          to right,
          var(--bg-main) 35%,
          transparent 80%
        );
        z-index: 2;
      }

      @media (max-width: 1023px) {
        .hero-overlay {
          background: rgba(3, 7, 12, 0.8);
        }
      }

      /* Responsive carousel adjustments */
      @media (max-width: 768px) {
        .hero-slide {
          transform: scale(1.01);
        }
        
        .hero-slide.active {
          transform: scale(1);
        }
      }

      @media (max-width: 480px) {
        .hero-slide {
          transform: scale(1);
        }
      }

      /* Glassmorphism Navbar */
      nav {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid transparent;
        will-change: background, backdrop-filter, border;
      }

      nav.scrolled {
        background: rgba(3, 7, 12, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(244, 246, 251, 0.1);
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
      }

      /* Navbar links styling */
      nav a[href^="#"] {
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }

      nav a[href^="#"]:hover {
        color: var(--accent-2);
        transform: translateY(-1px);
      }

      nav a[href^="#"].text-accent-2 {
        color: var(--accent-2);
      }

      /* Smooth scroll behavior for all elements */
      html {
        scroll-behavior: smooth;
      }

      /* Firefox */
      * {
        scroll-behavior: smooth;
      }

      .nav-mask {
        background: linear-gradient(
          to bottom,
          var(--bg-main) 0%,
          transparent 100%
        );
      }

      .aspect-square {
        aspect-ratio: 1 / 1;
      }

      .voice-icon {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        will-change: transform;
      }

      .bento-card:hover .voice-icon {
        transform: scale(1.1);
      }

      /* Partners Grid Specific Styles */
      .partner-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        text-decoration: none;
        transition: all 0.3s ease;
      }

      .partner-logo-container {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
        filter: grayscale(1) opacity(0.3);
        transition: all 0.5s ease;
        will-change: filter, transform;
      }

      .partner-card:hover .partner-logo-container {
        filter: grayscale(0) opacity(1);
        transform: scale(1.1);
      }

      /* Image Error Handling */
      .image-error {
        display: none;
      }
      
      ::-webkit-scrollbar { width: 4px; }
      ::-webkit-scrollbar-track { background: var(--bg-main); }
      ::-webkit-scrollbar-thumb { background: #093e7fab; }
