@font-face {
    font-family: 'Neuropol'; /* Font family name */
    src: url('/assets/Neuropol.woff2') format('woff2'),
        url('/assets/Neuropol.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* This improves perceived load time */
}


:root {
    --color-brand: #6A0DAD;
    --color-brand-light: #A664C2;

    --color-cosmic: #2D1B3B;
    --color-cosmic-light: #6a0dad75; /* Note: 75 at end = 0.46 opacity */

    --color-angel: #F8F8FA;
    --color-angel-light: #FFFFFF;

    --color-mystic: #8E44AD;
    --color-mystic-light: #A664C2;

    --color-celestial: #C77DFF;
    --color-celestial-light: #DBA9FF;

    --color-void: #4B0082;
    --color-void-light: #6A2D99;

    --color-grey: #B0B0B0;
    --color-grey-light: #CCCCCC;

    --color-black: #000000;
    --color-white: #ffffff;
}

body {
    background-color: #0a0a12; /* Very dark navy background */
    color: #fffffe; /* Almost pure white for text */
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0; /* Remove default margin */
    font-family: 'Neuropol', sans-serif; /* Apply Neuropol as body font */
}




/*************** Gradient Styles **************/
.gradient-bg {
    background: linear-gradient(135deg, #0a0a12 0%, #2D1B3B 50%, #6A0DAD 100%);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #a78bfa 0%, #7e5bef 50%, #d946ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Ensures text is transparent for gradient to show */
    text-fill-color: transparent;
}




/*************** Animation Styles **************/
.animate-glow {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #8b5cf6);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s linear infinite;
}

@keyframes glow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.navbar-btn {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
    border: none;
    color: #fffffe;
    font-family: 'Neuropol', sans-serif;
}

.navbar-btn:hover {
    color: #a78bfa;
}

.navbar-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a78bfa;
    transition: width 0.3s ease;    
}

.navbar-btn:hover::after {
    width: 100%;
}


.social-icon:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
}

.app-button {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ios-button {
    background: linear-gradient(135deg, #000000 0%, #2c3e50 100%);
    color: white;
}

.android-button {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
    color: white;
}


/***************** Intro Button Styles ******************/
.intro-button {
    font-family: 'Neuropol', sans-serif !important;
    background: var(--color-brand);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(244, 9, 228, 0.089);
    width: 250px;
    justify-content: center;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 9999px;
    text-align: center; 
    transition: transform 0.2s ease-in-out;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
}

.intro-button:hover {
    transform: scale(1.05);
}

.intro-button i {
    margin-right: 0.5rem;
}



@keyframes balancePulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}


/* Logo and Text Styles */
.logo {
    height: 50px;
    margin-bottom: 10px;
}

/* Glass Panel Container */
#nav-container {
    width: 100%;
    overflow-x: auto;
    padding: 1rem 0;
    margin: 0 auto;
    max-width: 100%;
}

/* Tab Navigation Grid */
#nav-container > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}





/* ****************************Glass Card Styles ***************************
*/
.glass-card.tab-button {
    position: relative;
    background: linear-gradient(135deg, var(--cosmic), var(--mystic), var(--brand));
    color: var(--angel-light);
    font-size: 14px;
    font-weight: 600;
    border-radius: 15px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    margin-bottom: 20px;
    padding: 0.5rem;
}

.glass-card.tab-button i {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
}
.glass-card.tab-button:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 24px rgba(45, 27, 59, 0.7), 
        0 0 20px rgba(199, 125, 255, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.15);
    border-color: rgba(199, 125, 255, 0.4);
}
.glass-card.tab-button span {
    text-shadow: 
        0px 2px 4px rgba(0, 0, 0, 0.4), 
        0 0 8px rgba(199, 125, 255, 0.8),
        0 0 12px rgba(199, 125, 255, 0.5);
}
.glass-card.tab-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(45, 27, 59, 0.6), 
                inset 0 0 5px rgba(142, 68, 173, 0.4);
}
.glass-card.tab-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    filter: blur(8px);
    transform: translateY(10px);
    opacity: 0.7;
}



/* ***************************   Responsive Adjustments **************************/
@media (min-width: 768px) {
    #nav-container > div {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }
    
    .glass-card.tab-button {
        min-width: 140px;
        height: 110px;
        padding: 1rem;

    }
}

@media (max-width: 640px) {
#nav-container > div {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    }

    .glass-card.tab-button {
        min-width: 100px;
        height: 90px;   
        padding: 0.5rem;
    }

    .glass-card.tab-button .icon {
        font-size: 1.25rem;
    }

    .glass-card.tab-button .label {
        font-size: 0.6rem;
}

}   


/* *****************************  Other Component Styles ************************ */
.purple-glow {
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.3);
}

.purple-glow-hover:hover {
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.5);
}

.border-accent {
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.spec-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-left-color: #a78bfa;
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.2);
}

.hotspot {
    transition: all 0.3s ease;
    background-color: rgba(167, 139, 250, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.5);
}

.hotspot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.7);
    background-color: rgba(167, 139, 250, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}



                            /*********** Hover Effects ***********/
/*********** Keyframes ***********/

@keyframes gradientShift {
    0% {
        background: linear-gradient(90deg, #6A0DAD, #2D1B3B, #A664C2);
    }
    50% {
        background: linear-gradient(90deg, #2D1B3B, #A664C2, #6A0DAD);
    }
    100% {
        background: linear-gradient(90deg, #A664C2, #2D1B3B, #6A0DAD);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes glow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animation utility */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Hero video styles */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Button hover effects */
.btn-hover {
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

.btn-hover:hover,
.btn-hover:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  outline: none;
}

/* Feature card hover */
.feature-card {
  transition: all 0.3s ease;
  will-change: transform, box-shadow;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  outline: none;
}

/* Scroll animation: initial state */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Scroll animation: active state */
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu background */
.mobile-menu-bg {
  background-color: rgba(17, 24, 39, 0.9); /* Tailwind gray-900 at 90% opacity */
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 280px;
  background-color: #1f2937; /* Tailwind gray-800 */
  padding: 2rem 1.5rem;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.5);
  transition: left 0.3s ease;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu.open {
  left: 0;
}

/* Mobile menu close button */
.mobile-menu-close-btn {
  align-self: flex-end;
  color: #93c5fd; /* Tailwind blue-400 */
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu-close-btn:hover,
.mobile-menu-close-btn:focus {
  color: #3b82f6; /* Tailwind blue-500 */
  outline: none;
}

/* Accessibility focus outline */
a:focus,
button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}