/* Airlines.xyz - Custom Styles */

/* Custom Color Variables */
:root {
    /* Brand Colors (Constant) */
    --brand-blue: #0139de;
    --brand-purple: #691df7;
    --brand-cyan: #0ba3da;
    --neon-primary: #691df7;
    --neon-secondary: #0ba3da;

    /* DARK THEME (DEFAULT) - FROZEN */
    --bg-canvas: #0a0a0a;
    --bg-surface: #1a1a1a;

    /* Typography System (Dark Mode) */
    --text-heading: #ffffff;
    --text-main: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-highlight: #ffffff;
    --text-on-accent: #ffffff;
    /* New Generic Token */

    /* Navigation (Dark Mode) */
    --nav-bg: rgba(5, 8, 28, 0.8);
    --nav-text: #ffffff;
    --nav-text-hover: #ffffff;
    --nav-text-inactive: #a1a1aa;
    --nav-text-active: #ffffff;
    --nav-border: rgba(255, 255, 255, 0.1);

    /* Components (Dark Mode) */
    --card-bg: linear-gradient(135deg, rgba(1, 57, 222, 0.1), rgba(105, 29, 247, 0.1));
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.2);

    --border-color: rgba(255, 255, 255, 0.1);

    /* Gradients & Effects */
    --metallic-gradient: linear-gradient(135deg, #ffffff 0%, #f8f8f8 10%, #e8e8e8 20%, #d8d8d8 30%, #c8c8c8 40%, #b8b8b8 50%, #a8a8a8 60%, #989898 70%, #888888 80%, #787878 90%, #686868 100%);
    --metallic-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 0 rgba(255, 255, 255, 0.7), 0 3px 0 rgba(255, 255, 255, 0.5), 0 4px 0 rgba(255, 255, 255, 0.3), 0 5px 0 rgba(255, 255, 255, 0.1), 0 6px 12px rgba(0, 0, 0, 0.4);

    --hero-bg-gradient: linear-gradient(to bottom, #021030 0%, #05081c 30%, #0f0529 70%, #1a0b2e 100%);
    --section-bg-gradient: linear-gradient(to bottom, #1a0b2e 0%, #0f0529 30%, #05081c 70%, #021030 100%);

    --glow-primary: rgba(105, 29, 247, 0.6);
    --glow-secondary: rgba(1, 57, 222, 0.4);
    --glow-cyan: rgba(11, 163, 218, 0.4);
}

/* PREMIUM "WHITE-FIRST" LIGHT THEME - ENFORCED OVERRIDES */
body.light-theme {
    /* 1. Canvas & Surfaces - FORCED PURE WHITE */
    --bg-canvas: #FFFFFF !important;
    --bg-surface: #FFFFFF !important;

    /* 2. Typography - BRAND NAVY SCALE (No Grays) */
    --text-heading: #020617 !important;
    /* Slate 950 */
    --text-main: #0F172A !important;
    /* Slate 900 */
    --text-secondary: #1E293B !important;
    /* Slate 800 */
    --text-muted: #334155 !important;
    /* Slate 700 */

    --text-highlight: #2563EB !important;
    /* Brand Blue */
    --text-on-accent: #FFFFFF !important;
    /* CRITICAL: White text on blue buttons */

    /* 3. Navigation - Clean White */
    --nav-bg: rgba(255, 255, 255, 0.98) !important;
    /* Almost opaque white */
    --nav-text: #0F172A !important;
    --nav-text-hover: #2563EB !important;
    --nav-text-inactive: #475569 !important;
    --nav-text-active: #2563EB !important;
    --nav-border: #E2E8F0 !important;

    /* 4. Components */
    --card-bg: #FFFFFF !important;
    --card-border: #E2E8F0 !important;
    --glass-bg: rgba(255, 255, 255, 0.9) !important;
    --glass-border: #E2E8F0 !important;
    --input-bg: #F8FAFC !important;
    --input-border: #CBD5E1 !important;

    --border-color: #E2E8F0 !important;

    /* 5. Accents & Gradients */
    /* Force flat white look, remove muddy gradients */
    /* FIX: Make metallic text visible (Gunmetal/Dark Silver) instead of white-on-white */
    --metallic-gradient: linear-gradient(135deg, #64748B 0%, #475569 50%, #334155 100%) !important;
    --metallic-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;

    --hero-bg-gradient: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 100%) !important;
    --section-bg-gradient: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 100%) !important;

    --glow-primary: rgba(37, 99, 235, 0.1) !important;
    --glow-secondary: rgba(14, 165, 233, 0.1) !important;
    --glow-cyan: rgba(6, 182, 212, 0.1) !important;
}

/* HIGH SPECIFICITY OVERRIDES FOR LIGHT THEME */
/* Force backgrounds to white */
body.light-theme {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
}

/* Force specific text colors for light theme */
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
    color: #020617 !important;
}

/* FORCE explicit Navy color, but exclude gradients (text-transparent) */
body.light-theme p:not(.text-transparent),
body.light-theme li:not(.text-transparent),
body.light-theme span:not(.text-transparent),
body.light-theme td,
body.light-theme th,
body.light-theme div:not([class*="bg-"]):not(.text-transparent) {
    color: #0F172A !important;
}

/* FIX: Absolute Safety for .text-white class in Light Mode */
body.light-theme .text-white {
    color: #FFFFFF !important;
}

/* FIX: Metallic & Gradient Text Handling in Light Mode */
body.light-theme .text-transparent,
body.light-theme .bg-clip-text,
body.light-theme [class*="bg-gradient-"] {
    /* OPTION A: Preserve Gradient but make it darker */
    --gradient-from: #4F46E5 !important;
    --gradient-to: #0EA5E9 !important;
    --gradient-via: #6366F1 !important;

    /* OPTION B: Fallback to solid dark for maximum readability if needed */
    /* color: #0F172A !important; */
    /* -webkit-text-fill-color: #0F172A !important; */
}

/* Specific Fix for "Metallic" or Silver Gradients */
body.light-theme .text-gray-400,
body.light-theme .text-slate-400 {
    color: #475569 !important;
    /* Force dark gray instead of light silver */
}

/* Re-apply overrides for specific text utilities to ensure they take precedence */
body.light-theme .text-neon-secondary {
    color: var(--neon-secondary) !important;
}

body.light-theme .opacity-60 {
    color: #475569 !important;
    /* Slate 600 */
}

/* FIX: Ensure table headers are Dark Navy */
body.light-theme th {
    color: #020617 !important;
    font-weight: 700;
}

/* FIX: High Contrast Brand Colors for Light Mode */
body.light-theme {
    --neon-primary: #4F46E5 !important;
    /* Darker Purple */
    --neon-secondary: #0ea5e9 !important;
    /* Darker Cyan/Blue */
    --brand-cyan: #0284c7 !important;
}

/* FIX: Table Borders in Light Mode */
body.light-theme .border-white\/10,
body.light-theme .border-gray-700\/30 {
    border-color: #E2E8F0 !important;
}

/* SAFETY: Allow text inside containers with backgrounds (e.g. Buttons, Cards, Hero) to inherit color */
body.light-theme [class*="bg-"] p,
body.light-theme [class*="bg-"] span:not(.text-transparent),
body.light-theme [class*="bg-"] div,
body.light-theme [class*="bg-"] td,
body.light-theme [class*="bg-"] li,
body.light-theme [class*="bg-"] h1,
body.light-theme [class*="bg-"] h2,
body.light-theme [class*="bg-"] h3,
body.light-theme [class*="bg-"] h4,
body.light-theme [class*="bg-"] h5,
body.light-theme [class*="bg-"] h6 {
    color: inherit !important;
}

/* FIX: Navbar Scrolled State */
body.light-theme .navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    backdrop-filter: blur(12px) !important;
}

/* Force Links to be Navy */
body.light-theme .nav-link {
    color: #0F172A !important;
}

body.light-theme .nav-link:hover {
    color: #2563EB !important;
}

/* CRITICAL: BUTTON CONTRAST FIX */
/* Target every button with a blue background and FORCE white text */
body.light-theme .bg-brand-blue,
body.light-theme .bg-brand-purple,
body.light-theme .bg-neon-primary,
body.light-theme .cta-button,
body.light-theme [class*="bg-gradient-to-r"] {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: none !important;
}

/* Ensure secondary text isn't invisible */
body.light-theme .text-blue-100,
body.light-theme .text-blue-100\/80,
body.light-theme .text-gray-400 {
    color: #334155 !important;
    /* Force to slate-700 */
}

/* FIX: Remove Dark Gradients from Specific Sections */
body.light-theme .hero-gradient-bg,
body.light-theme .gradient-bg,
body.light-theme .features-section,
body.light-theme section {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* FIX: Stop Opacity from making text look Gray */
body.light-theme .opacity-90,
body.light-theme .opacity-80,
body.light-theme .opacity-70,
body.light-theme .opacity-60,
body.light-theme .opacity-50 {
    opacity: 1 !important;
    color: #334155 !important;
    /* Force to "Muted Navy" (Slate 700) */
}

/* Slightly darker for 90/80 to preserve some hierarchy if needed, but prioritize "No Gray" */
body.light-theme .opacity-90,
body.light-theme .opacity-80 {
    color: #1E293B !important;
    /* Lighter Navy (Slate 800) */
}

/* Force Select Options to be readable */
body.light-theme select option {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
}

/* Global Reset & Base Rules */
/* Global Reset & Base Rules */
body {
    background-color: var(--bg-canvas);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-heading);
}

p,
li,
span {
    color: inherit;
    /* Allow inheritance unless specified */
}

/* Semantic Component Classes */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.semantic-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.semantic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--neon-primary);
}

.semantic-input {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-main);
}

.semantic-input::placeholder {
    color: var(--text-muted);
}

.semantic-input:focus {
    outline: none;
    border-color: var(--neon-primary);
    background-color: var(--bg-surface);
}

/* Custom Animations */
@keyframes float {

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

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

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(105, 29, 247, 0.5);
    }

    100% {
        box-shadow: 0 0 30px rgba(105, 29, 247, 0.8), 0 0 40px rgba(105, 29, 247, 0.3);
    }
}

/* Hero Ring Animations */
@keyframes heroRingPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes heroMainRingPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

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

@keyframes heroLogoFloat {

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

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

/* gridMove animation - REMOVED */

/* aviationFloat animation - REMOVED */

/* Background animation removed */

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating-coin {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(100px, -50px) rotate(90deg);
    }

    50% {
        transform: translate(-80px, -100px) rotate(180deg);
    }

    75% {
        transform: translate(120px, 30px) rotate(270deg);
    }
}

@keyframes floating-bitcoin {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-120px, -80px) rotate(72deg);
    }

    40% {
        transform: translate(150px, -40px) rotate(144deg);
    }

    60% {
        transform: translate(-60px, 80px) rotate(216deg);
    }

    80% {
        transform: translate(80px, 60px) rotate(288deg);
    }
}

/* Floating SVG Animations */
.floating-coin {
    animation: floating-coin 12s ease-in-out infinite;
}

.floating-bitcoin {
    animation: floating-bitcoin 15s ease-in-out infinite;
}

@keyframes airplane-diagonal {
    0% {
        transform: translate(0, 0) rotate(135deg);
    }

    25% {
        transform: translate(-80px, -60px) rotate(160deg);
    }

    50% {
        transform: translate(-160px, -120px) rotate(200deg);
    }

    75% {
        transform: translate(-120px, -180px) rotate(235deg);
    }

    100% {
        transform: translate(0, 0) rotate(135deg);
    }
}

.airplane-diagonal {
    animation: airplane-diagonal 8s ease-in-out infinite;
}

/* Navbar Animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Navbar Styles */
.navbar-transparent {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Nav Link Hover Animations */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--nav-text);
    /* Use semantic variable */
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nav-text-hover);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--nav-text-hover) !important;
    text-shadow: 0 0 8px rgba(105, 29, 247, 0.6);
    transform: translateY(-1px) scale(1.05);
}

/* Logo Styles */
.navbar-logo {
    height: 2.5rem;
    /* Increased from default */
    width: auto;
    padding: 0;
    /* Remove all padding */
    margin: 0;
    /* Remove all margin */
}

.navbar-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Video Container Styles */
.video-container {
    min-height: 400px;
    height: auto;
}

.video-container iframe {
    border: none;
    outline: none;
}

/* Mobile menu animations */
.mobile-menu-enter {
    animation: slideInFromLeft 0.3s ease-out;
}

.mobile-menu-exit {
    animation: slideOutToLeft 0.3s ease-in;
}

/* Menu item animations */
.menu-item {
    animation: fadeInUp 0.6s ease-out;
}

.menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.menu-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Hamburger Icon Animations */
#hamburger-icon,
#cross-icon {
    transition: all 0.3s ease-in-out;
}

#hamburger-icon.hidden {
    opacity: 0;
    transform: rotate(90deg);
}

#cross-icon.hidden {
    opacity: 0;
    transform: rotate(-90deg);
}

#hamburger-icon:not(.hidden) {
    opacity: 1;
    transform: rotate(0deg);
}

#cross-icon:not(.hidden) {
    opacity: 1;
    transform: rotate(0deg);
}

/* Navigation Link Hover Animations */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: transparent;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover::before {
    width: 100%;
    box-shadow: 0 0 8px rgba(105, 29, 247, 0.6);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(105, 29, 247, 0.5);
}

/* Desktop Nav Link Animations */
.desktop-nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.desktop-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: transparent;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.desktop-nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.desktop-nav-link:hover::before {
    width: 100%;
    box-shadow: 0 0 10px rgba(105, 29, 247, 0.6);
}

.desktop-nav-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

.desktop-nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(105, 29, 247, 0.3);
}

/* Mobile Nav Link Animations */
.mobile-nav-link {
    position: relative;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
    overflow: hidden;
    color: var(--nav-text);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--nav-text-hover);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 12px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.mobile-nav-link:hover::before {
    width: 100%;
    box-shadow: 0 0 15px rgba(105, 29, 247, 0.8);
}

.mobile-nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.mobile-nav-link:hover {
    color: var(--nav-text-hover);
    transform: translateX(8px) scale(1.05);
    text-shadow: 0 0 20px rgba(105, 29, 247, 0.6);
}

/* CTA Button Hover Animation */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-on-accent) !important;
    /* CRITICAL: Force white text */
}

/* Light Theme Specific Override for Buttons */
body.light-theme .cta-button,
body.light-theme button[class*="bg-brand"],
body.light-theme button[class*="bg-neon"] {
    color: #FFFFFF !important;
    /* Strict white text enforcement */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(105, 29, 247, 0.4);
}

/* Additional Underline Animation Variations */
.underline-from-left {
    position: relative;
    overflow: hidden;
}

.underline-from-left::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: transparent;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.underline-from-left:hover::before {
    width: 100%;
    box-shadow: 0 0 10px rgba(105, 29, 247, 0.6);
}

.underline-from-right {
    position: relative;
    overflow: hidden;
}

.underline-from-right::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: transparent;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.underline-from-right:hover::before {
    width: 100%;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

.underline-bounce {
    position: relative;
    overflow: hidden;
}

.underline-bounce::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: transparent;
    transform: translateX(-50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
}

.underline-bounce:hover::before {
    width: 100%;
    box-shadow: 0 0 12px rgba(105, 29, 247, 0.7);
}

/* Clean Hero Logo Animation - Simple & Clean Approach */

/* Hero Logo Container - Simple and Clean */
.hero-logo-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Central Logo */
.hero-central-logo {
    position: absolute;
    z-index: 10;
    width: 300px;
    /* Even bigger */
    height: 300px;
    /* Even bigger */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    animation: logoFloat 4s ease-in-out infinite;
}

.hero-central-logo img {
    width: 200px;
    /* Even bigger */
    height: 200px;
    /* Even bigger */
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Super Ultra Innermost Ring (closest to logo) */
.hero-super-ultra-innermost-ring {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.6);
    box-shadow:
        0 0 10px rgba(105, 29, 247, 0.5),
        0 0 20px rgba(105, 29, 247, 0.25),
        inset 0 0 10px rgba(105, 29, 247, 0.25);
    animation: superUltraInnermostRingPulse 2.5s ease-in-out infinite;
    z-index: -4;
}

/* Ultra Ultra Innermost Ring (second closest to logo) */
.hero-ultra-ultra-innermost-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.55);
    box-shadow:
        0 0 11px rgba(105, 29, 247, 0.45),
        0 0 22px rgba(105, 29, 247, 0.225),
        inset 0 0 11px rgba(105, 29, 247, 0.225);
    animation: ultraUltraInnermostRingPulse 2.75s ease-in-out infinite;
    z-index: -3;
}

/* Ultra Innermost Ring (closest to logo) */
.hero-ultra-innermost-ring {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.5);
    box-shadow:
        0 0 12px rgba(105, 29, 247, 0.4),
        0 0 24px rgba(105, 29, 247, 0.2),
        inset 0 0 12px rgba(105, 29, 247, 0.2);
    animation: ultraInnermostRingPulse 3s ease-in-out infinite;
    z-index: -2;
}

/* Innermost Ring (closest to logo) */
.hero-innermost-ring {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.4);
    box-shadow:
        0 0 15px rgba(105, 29, 247, 0.3),
        0 0 30px rgba(105, 29, 247, 0.15),
        inset 0 0 15px rgba(105, 29, 247, 0.15);
    animation: innermostRingPulse 3.5s ease-in-out infinite;
    z-index: -1;
}

/* Inner Ring (inside the main ring) */
.hero-inner-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.3);
    box-shadow:
        0 0 20px rgba(105, 29, 247, 0.2),
        0 0 40px rgba(105, 29, 247, 0.1),
        inset 0 0 20px rgba(105, 29, 247, 0.1);
    animation: innerRingPulse 4s ease-in-out infinite;
    z-index: 0;
}

/* Main Glowing Ring */
.hero-glow-ring {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #4f46e5;
    box-shadow:
        0 0 25px rgba(105, 29, 247, 0.4),
        0 0 50px rgba(105, 29, 247, 0.2),
        0 0 75px rgba(105, 29, 247, 0.1);
    animation: ringPulse 3s ease-in-out infinite;
    z-index: 1;
}

/* Outer Ring (outside the main ring) */
.hero-outer-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(105, 29, 247, 0.2);
    box-shadow:
        0 0 30px rgba(105, 29, 247, 0.15),
        0 0 60px rgba(105, 29, 247, 0.08),
        0 0 90px rgba(105, 29, 247, 0.05),
        inset 0 0 30px rgba(105, 29, 247, 0.08);
    animation: outerRingPulse 5s ease-in-out infinite;
    z-index: 2;
}

/* Ring Pulsing Animations */
@keyframes superUltraInnermostRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
        box-shadow:
            0 0 10px rgba(105, 29, 247, 0.5),
            0 0 20px rgba(105, 29, 247, 0.25),
            inset 0 0 10px rgba(105, 29, 247, 0.25);
    }

    20% {
        transform: scale(1.001);
        opacity: 0.92;
        box-shadow:
            0 0 11px rgba(105, 29, 247, 0.52),
            0 0 22px rgba(105, 29, 247, 0.27),
            inset 0 0 11px rgba(105, 29, 247, 0.27);
    }

    40% {
        transform: scale(1.002);
        opacity: 0.94;
        box-shadow:
            0 0 12px rgba(105, 29, 247, 0.54),
            0 0 24px rgba(105, 29, 247, 0.29),
            inset 0 0 12px rgba(105, 29, 247, 0.29);
    }

    60% {
        transform: scale(1.003);
        opacity: 0.96;
        box-shadow:
            0 0 13px rgba(105, 29, 247, 0.56),
            0 0 26px rgba(105, 29, 247, 0.31),
            inset 0 0 13px rgba(105, 29, 247, 0.31);
    }

    80% {
        transform: scale(1.002);
        opacity: 0.94;
        box-shadow:
            0 0 12px rgba(105, 29, 247, 0.54),
            0 0 24px rgba(105, 29, 247, 0.29),
            inset 0 0 12px rgba(105, 29, 247, 0.29);
    }
}

@keyframes ultraUltraInnermostRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
        box-shadow:
            0 0 11px rgba(105, 29, 247, 0.45),
            0 0 22px rgba(105, 29, 247, 0.225),
            inset 0 0 11px rgba(105, 29, 247, 0.225);
    }

    30% {
        transform: scale(1.0015);
        opacity: 0.88;
        box-shadow:
            0 0 12px rgba(105, 29, 247, 0.48),
            0 0 24px rgba(105, 29, 247, 0.24),
            inset 0 0 12px rgba(105, 29, 247, 0.24);
    }

    60% {
        transform: scale(1.003);
        opacity: 0.91;
        box-shadow:
            0 0 13px rgba(14, 165, 233, 0.51),
            0 0 26px rgba(14, 165, 233, 0.255),
            inset 0 0 13px rgba(14, 165, 233, 0.255);
    }

    90% {
        transform: scale(1.0015);
        opacity: 0.88;
        box-shadow:
            0 0 12px rgba(14, 165, 233, 0.48),
            0 0 24px rgba(14, 165, 233, 0.24),
            inset 0 0 12px rgba(14, 165, 233, 0.24);
    }
}

@keyframes ultraInnermostRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow:
            0 0 12px rgba(14, 165, 233, 0.4),
            0 0 24px rgba(14, 165, 233, 0.2),
            inset 0 0 12px rgba(14, 165, 233, 0.2);
    }

    25% {
        transform: scale(1.002);
        opacity: 0.85;
        box-shadow:
            0 0 14px rgba(14, 165, 233, 0.45),
            0 0 28px rgba(14, 165, 233, 0.25),
            inset 0 0 14px rgba(14, 165, 233, 0.25);
    }

    50% {
        transform: scale(1.004);
        opacity: 0.9;
        box-shadow:
            0 0 16px rgba(14, 165, 233, 0.5),
            0 0 32px rgba(14, 165, 233, 0.3),
            inset 0 0 16px rgba(14, 165, 233, 0.3);
    }

    75% {
        transform: scale(1.002);
        opacity: 0.85;
        box-shadow:
            0 0 14px rgba(14, 165, 233, 0.45),
            0 0 28px rgba(14, 165, 233, 0.25),
            inset 0 0 14px rgba(14, 165, 233, 0.25);
    }
}

@keyframes innermostRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow:
            0 0 15px rgba(14, 165, 233, 0.3),
            0 0 30px rgba(14, 165, 233, 0.15),
            inset 0 0 15px rgba(14, 165, 233, 0.15);
    }

    33% {
        transform: scale(1.003);
        opacity: 0.8;
        box-shadow:
            0 0 18px rgba(14, 165, 233, 0.35),
            0 0 36px rgba(14, 165, 233, 0.18),
            inset 0 0 18px rgba(14, 165, 233, 0.18);
    }

    66% {
        transform: scale(1.006);
        opacity: 0.85;
        box-shadow:
            0 0 21px rgba(14, 165, 233, 0.4),
            0 0 42px rgba(14, 165, 233, 0.2),
            inset 0 0 21px rgba(14, 165, 233, 0.2);
    }
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 25px rgba(14, 165, 233, 0.4),
            0 0 50px rgba(14, 165, 233, 0.2),
            0 0 75px rgba(14, 165, 233, 0.1);
    }

    50% {
        transform: scale(1.02);
        box-shadow:
            0 0 35px rgba(14, 165, 233, 0.5),
            0 0 70px rgba(14, 165, 233, 0.3),
            0 0 105px rgba(14, 165, 233, 0.15);
    }
}

@keyframes innerRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow:
            0 0 20px rgba(14, 165, 233, 0.2),
            0 0 40px rgba(14, 165, 233, 0.1),
            inset 0 0 20px rgba(14, 165, 233, 0.1);
    }

    25% {
        transform: scale(1.005);
        opacity: 0.7;
        box-shadow:
            0 0 25px rgba(14, 165, 233, 0.25),
            0 0 50px rgba(14, 165, 233, 0.15),
            inset 0 0 25px rgba(14, 165, 233, 0.15);
    }

    50% {
        transform: scale(1.01);
        opacity: 0.8;
        box-shadow:
            0 0 30px rgba(14, 165, 233, 0.3),
            0 0 60px rgba(14, 165, 233, 0.2),
            inset 0 0 30px rgba(14, 165, 233, 0.2);
    }

    75% {
        transform: scale(1.005);
        opacity: 0.7;
        box-shadow:
            0 0 25px rgba(14, 165, 233, 0.25),
            0 0 50px rgba(14, 165, 233, 0.15),
            inset 0 0 25px rgba(14, 165, 233, 0.15);
    }
}

@keyframes outerRingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
        box-shadow:
            0 0 30px rgba(14, 165, 233, 0.15),
            0 0 60px rgba(14, 165, 233, 0.08),
            0 0 90px rgba(14, 165, 233, 0.05),
            inset 0 0 30px rgba(14, 165, 233, 0.08);
    }

    20% {
        transform: scale(1.01);
        opacity: 0.5;
        box-shadow:
            0 0 40px rgba(14, 165, 233, 0.18),
            0 0 80px rgba(14, 165, 233, 0.12),
            0 0 120px rgba(14, 165, 233, 0.08),
            inset 0 0 40px rgba(14, 165, 233, 0.12);
    }

    40% {
        transform: scale(1.02);
        opacity: 0.55;
        box-shadow:
            0 0 50px rgba(14, 165, 233, 0.22),
            0 0 100px rgba(14, 165, 233, 0.15),
            0 0 150px rgba(14, 165, 233, 0.1),
            inset 0 0 50px rgba(14, 165, 233, 0.15);
    }

    60% {
        transform: scale(1.03);
        opacity: 0.6;
        box-shadow:
            0 0 60px rgba(14, 165, 233, 0.25),
            0 0 120px rgba(14, 165, 233, 0.18),
            0 0 180px rgba(14, 165, 233, 0.12),
            inset 0 0 60px rgba(14, 165, 233, 0.18);
    }

    80% {
        transform: scale(1.02);
        opacity: 0.55;
        box-shadow:
            0 0 50px rgba(14, 165, 233, 0.22),
            0 0 100px rgba(14, 165, 233, 0.15),
            0 0 150px rgba(14, 165, 233, 0.1),
            inset 0 0 50px rgba(14, 165, 233, 0.15);
    }
}

/* Logo Floating Animation */
@keyframes logoFloat {

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

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

/* Icon Container - Rotates the entire container */
.hero-icon-container {
    position: absolute;
    width: 350px;
    height: 350px;
    animation: iconRotation 20s linear infinite;
    z-index: 2;
    background: transparent;
}

/* Icon Rotation Animation */
@keyframes iconRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Simple Counter Rotation Animation for Icons */
@keyframes counterRotate {
    0% {
        transform: rotate(0deg);
    }

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

/* Individual Icon */
.hero-rotating-icon {
    width: 50px;
    height: 50px;
    background: #f06700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: counterRotate 20s linear infinite;
}

.hero-rotating-icon:hover {
    transform: scale(1.2);
    background: rgba(14, 165, 233, 0.9);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    z-index: 15;
}

.hero-rotating-icon img {
    width: 40px;
    height: 40px;
    padding: 5px;
    filter: brightness(0) invert(1);
    /* Makes SVG white */
    transition: filter 0.3s ease;
}

.hero-rotating-icon:hover img {
    filter: brightness(0) invert(1);
    /* Keeps SVG white on hover */
}

/* Icon Tooltip */
.hero-icon-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.tooltip-content {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    text-align: center;
    min-width: 120px;
}

.tooltip-title {
    font-weight: 600;
    color: #0ea5e9;
    margin-bottom: 2px;
    font-size: 12px;
}

.tooltip-subtitle {
    font-weight: 400;
    color: #ffffff;
    font-size: 10px;
    opacity: 0.9;
}

.hero-rotating-icon:hover .hero-icon-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Container continues rotating - no pause on hover */

/* Desktop Background Image for Large Screens - REMOVED */

/* Specific fix for 1920px screens - REMOVED */

/* High Resolution Support for Bigger Screens - 1920px and above - REMOVED */

/* Ultra-large screens media query - REMOVED */

/* Ultra-wide screens optimization - REMOVED */

/* Mobile Background Override - REMOVED */

/* Additional mobile breakpoints - REMOVED */

/* 480px mobile breakpoint - REMOVED */

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-logo-container {
        width: 300px;
        height: 300px;
    }

    .hero-central-logo {
        width: 240px;
        height: 240px;
    }

    .hero-central-logo img {
        width: 160px;
        height: 160px;
    }

    .hero-super-ultra-innermost-ring {
        width: 140px;
        height: 140px;
    }

    .hero-ultra-ultra-innermost-ring {
        width: 150px;
        height: 150px;
    }

    .hero-ultra-innermost-ring {
        width: 160px;
        height: 160px;
    }

    .hero-innermost-ring {
        width: 180px;
        height: 180px;
    }

    .hero-inner-ring {
        width: 220px;
        height: 220px;
    }

    .hero-glow-ring {
        width: 280px;
        height: 280px;
    }

    .hero-outer-ring {
        width: 340px;
        height: 340px;
    }

    .hero-icon-container {
        width: 280px;
        height: 280px;
    }

    .hero-rotating-icon {
        width: 40px;
        height: 40px;
    }

    .hero-rotating-icon img {
        width: 32px;
        height: 32px;
        padding: 4px;
    }

    .hero-icon-tooltip {
        font-size: 9px;
        padding: 8px 10px;
        min-width: 100px;
        bottom: -45px;
    }

    .tooltip-title {
        font-size: 10px;
    }

    .tooltip-subtitle {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .hero-logo-container {
        width: 250px;
        height: 250px;
    }

    .hero-central-logo {
        width: 220px;
        height: 220px;
    }

    .hero-central-logo img {
        width: 140px;
        height: 140px;
    }

    .hero-super-ultra-innermost-ring {
        width: 110px;
        height: 110px;
    }

    .hero-ultra-ultra-innermost-ring {
        width: 120px;
        height: 120px;
    }

    .hero-ultra-innermost-ring {
        width: 130px;
        height: 130px;
    }

    .hero-innermost-ring {
        width: 150px;
        height: 150px;
    }

    .hero-inner-ring {
        width: 180px;
        height: 180px;
    }

    .hero-glow-ring {
        width: 220px;
        height: 220px;
    }

    .hero-outer-ring {
        width: 260px;
        height: 260px;
    }

    .hero-icon-container {
        width: 220px;
        height: 220px;
    }

    .hero-rotating-icon {
        width: 35px;
        height: 35px;
    }

    .hero-rotating-icon img {
        width: 28px;
        height: 28px;
        padding: 3px;
    }

    .hero-icon-tooltip {
        font-size: 8px;
        padding: 6px 8px;
        min-width: 90px;
        bottom: -40px;
    }

    .tooltip-title {
        font-size: 9px;
    }

    .tooltip-subtitle {
        font-size: 7px;
    }
}


/* Simple CSS Reset for Background Issues */
/* Global Background System */
body {
    background: var(--hero-bg-gradient) no-repeat fixed center center;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Main Background Styles */
.gradient-bg {
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.3), #091624);

    /* Layout properties */
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

/* Global Section Background - REMOVED TO PREVENT CONFLICTS WITH INLINE STYLES */
.section-bg {
    position: relative;
}

/* Hero Section Complete Background System - REMOVED TO PREVENT CONFLICTS WITH INLINE STYLES */

/* About Section Background - REMOVED TO PREVENT CONFLICTS WITH INLINE STYLES */
.about-section {
    position: relative;
}

/* New Hero Section Styles */
.hero-gradient-bg {
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.2), rgba(14, 165, 233, 0.3), #091624);
}

.hero-logo-section {
    animation: heroLogoFloat 6s ease-in-out infinite;
}

/* Hero Ring Styles */
.hero-ring-1 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 0s;
}

.hero-ring-2 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.hero-ring-3 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-ring-4 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.hero-ring-5 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-ring-6 {
    animation: heroRingPulse 4s ease-in-out infinite;
    animation-delay: 2.5s;
}

.hero-main-ring {
    animation: heroMainRingPulse 3s ease-in-out infinite;
}

/* High DPI display optimization - REMOVED */

/* Ultra high DPI displays - REMOVED */

/* Enhanced Metallic 3D Text Effect - Ultra High Specificity */
h1 .metallic-text-3d,
.hero-headline .metallic-text-3d,
.metallic-text-3d {
    font-family: 'Montserrat', 'Poppins', 'Helvetica Neue', sans-serif !important;
    font-weight: 700 !important;
    position: relative !important;
    color: transparent !important;
    display: inline-block !important;

    /* Enhanced metallic gradient */
    background: var(--metallic-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;

    /* Enhanced 3D depth with metallic shadows */
    text-shadow: var(--metallic-shadow) !important;

    /* Smooth animation for polish */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: perspective(1000px) rotateX(5deg) !important;
}

/* Flight Search Results Styling */
#flight-results {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flight-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Loading spinner animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Form validation styles */
.form-input:invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input:valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Autocomplete suggestions styling */
#departure-suggestions,
#destination-suggestions {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.suggestion-item {
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background-color: rgba(249, 115, 22, 0.1) !important;
    transform: translateX(2px);
}

.suggestion-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.suggestion-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: none !important;
}

/* Custom scrollbar for suggestions */
#departure-suggestions::-webkit-scrollbar,
#destination-suggestions::-webkit-scrollbar {
    width: 6px;
}

#departure-suggestions::-webkit-scrollbar-track,
#destination-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#departure-suggestions::-webkit-scrollbar-thumb,
#destination-suggestions::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.5);
    border-radius: 3px;
}

#departure-suggestions::-webkit-scrollbar-thumb:hover,
#destination-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.7);
}


.metallic-text-3d:hover {
    /* Enhanced hover effect with more metallic shine */
    background: linear-gradient(135deg,
            #ffffff 0%,
            #f0f0f0 10%,
            #e0e0e0 20%,
            #d0d0d0 30%,
            #c0c0c0 40%,
            #b0b0b0 50%,
            #a0a0a0 60%,
            #909090 70%,
            #808080 80%,
            #707070 90%,
            #606060 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;

    text-shadow:
        /* Enhanced metallic highlight layers */
        0 1px 0 rgba(255, 255, 255, 1),
        0 2px 0 rgba(255, 255, 255, 0.8),
        0 3px 0 rgba(255, 255, 255, 0.6),
        0 4px 0 rgba(255, 255, 255, 0.4),
        0 5px 0 rgba(255, 255, 255, 0.2),
        /* Enhanced depth shadows */
        0 8px 16px rgba(0, 0, 0, 0.5),
        0 16px 32px rgba(0, 0, 0, 0.4),
        0 24px 48px rgba(0, 0, 0, 0.3),
        0 32px 64px rgba(0, 0, 0, 0.2),
        /* Enhanced metallic reflection */
        3px 3px 6px rgba(255, 255, 255, 0.3),
        -3px -3px 6px rgba(0, 0, 0, 0.4),
        /* Glow effect */
        0 0 20px rgba(255, 255, 255, 0.1) !important;

    transform: perspective(1000px) rotateX(0deg) scale(1.02) !important;
}

/* Clean Subheading Text */
.clean-subheading-text {
    color: #FFFFFF;
    font-family: 'Montserrat', 'Poppins', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.neon-glow {
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.8), 0 0 20px rgba(14, 165, 233, 0.6), 0 0 30px rgba(14, 165, 233, 0.4);
}

/* Footer Animation Styles */
.footer-logo-animation {
    animation: footerLogoFloat 3s ease-in-out infinite;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-animation:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.4));
}

.footer-text-animation {
    animation: footerTextGlow 4s ease-in-out infinite;
    transition: all 0.5s ease;
}

.footer-socials-animation {
    animation: footerSocialsSlide 0.8s ease-out forwards;
}

.footer-social-icon {
    animation: footerIconBounce 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
}

.footer-social-icon:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-social-icon:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-social-icon:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-copyright-animation {
    animation: footerCopyrightFade 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Footer Animation Keyframes */
@keyframes footerLogoFloat {

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

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

@keyframes footerTextGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(14, 165, 233, 0.2);
    }

    50% {
        text-shadow: 0 0 15px rgba(14, 165, 233, 0.4), 0 0 25px rgba(14, 165, 233, 0.2);
    }
}

@keyframes footerSocialsSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes footerIconBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }

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

@keyframes footerCopyrightFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particle Styles */
.particle {
    position: absolute;
    background: rgba(14, 165, 233, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

/* Aviation-themed Background - REMOVED */

/* Digital Grid Background - REMOVED */

/* gridPulse animation - REMOVED */

/* Shimmer Text Effect */
/* Shimmer text effect removed */

/* Hero Content Animations */

.hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-logo {
    animation-delay: 0.2s;
}

.hero-headline {
    animation-delay: 0.4s;
}

.hero-subheadline {
    animation-delay: 0.6s;
}

.hero-ctas {
    animation-delay: 0.8s;
}

.scroll-indicator {
    animation-delay: 1.2s;
}

/* Enhanced Button Animations */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.5s;
}

.cta-secondary:hover::before {
    left: 100%;
}

/* Timeline Line Animation */
.timeline-line {
    width: 0%;
    transition: width 2s ease-in-out;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-content>* {
        animation-duration: 0.6s;
    }
}

/* Utility Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lottie Animation Enhancements */
lottie-player {
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
    transition: all 0.3s ease;
}

lottie-player:hover {
    filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.6));
    transform: scale(1.05);
}

/* Lottie Fallback Styles */
.lottie-fallback {
    background: transparent;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced SVG Icon Animations */
.feature-card svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.feature-card:hover svg {
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.8));
    transform: rotate(5deg) scale(1.1);
}

/* Airplane Icon Specific Animation */
.airplane-icon {
    animation: airplaneFloat 4s ease-in-out infinite;
}

@keyframes airplaneFloat {

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

    25% {
        transform: translateY(-5px) rotate(1deg);
    }

    50% {
        transform: translateY(-10px) rotate(0deg);
    }

    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    lottie-player {
        animation: none !important;
    }

    .animate-float,
    .animate-pulse-slow,
    .airplane-icon {
        animation: none !important;
    }
}

/* Mobile Lottie Optimizations */
@media (max-width: 768px) {
    lottie-player {
        opacity: 0.5;
        filter: none;
    }

    .lottie-fallback {
        display: block;
    }
}

/* Ensure Tailwind text sizes work properly */
.text-4xl {
    font-size: 2.25rem !important;
    /* 36px */
    line-height: 2.5rem !important;
    /* 40px */
}

.text-5xl {
    font-size: 3rem !important;
    /* 48px */
    line-height: 1 !important;
}

.text-6xl {
    font-size: 3.75rem !important;
    /* 60px */
    line-height: 1 !important;
}

/* Ensure h2 elements have proper styling */
h2 {
    font-weight: 700 !important;
    color: white !important;
}

/* Enhanced styling for "The Future of Airlines" text */
.hero-headline .shimmer-text {
    padding: 0.5rem 0 !important;
    margin: 1rem 0 !important;
    display: block !important;
    text-align: center !important;
    letter-spacing: 0.05em !important;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.6), 0 0 40px rgba(105, 29, 247, 0.4) !important;
}

/* Better spacing for hero headline spans */
.hero-headline span {
    display: block !important;
    margin: 0.75rem 0 !important;
}

/* Enhanced video styling for About Section */
.about-section video {
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.about-section video:hover {
    transform: scale(1.02);
    filter: brightness(1.2) contrast(1.2) saturate(1.3);
}

/* Enhanced video container */
.about-section .video-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .video-container video {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.about-section .video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

.about-section .video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

/* Enhanced floating tech elements */
.about-section .tech-overlay {
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-section .tech-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-section .tech-overlay:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.about-section .tech-overlay:hover {
    transform: scale(1.15) rotate(2deg);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5), 0 0 60px rgba(105, 29, 247, 0.3);
}


/* Additional glow effects */
@keyframes techGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.3), 0 0 40px rgba(105, 29, 247, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.5), 0 0 60px rgba(105, 29, 247, 0.3);
    }
}

.about-section .tech-overlay {
    animation: techGlow 3s ease-in-out infinite;
}

/* Creative element specific animations */
@keyframes airplaneFloat {

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

    25% {
        transform: translateY(-3px) rotate(1deg);
    }

    50% {
        transform: translateY(-6px) rotate(0deg);
    }

    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

@keyframes blockchainPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

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

@keyframes neuralNetwork {

    0%,
    100% {
        opacity: 0.7;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    75% {
        opacity: 1;
    }
}

@keyframes satelliteSignal {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

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

/* Apply specific animations to creative elements */
.about-section .tech-overlay svg.animate-float {
    animation: airplaneFloat 4s ease-in-out infinite;
}

.about-section .tech-overlay .animate-pulse {
    animation: blockchainPulse 2s ease-in-out infinite;
}

.about-section .tech-overlay .neural-network {
    animation: neuralNetwork 3s ease-in-out infinite;
}

.about-section .tech-overlay .satellite-signal {
    animation: satelliteSignal 2.5s ease-in-out infinite;
}

/* Ultra-Creative Transition Animations */
@keyframes cloudFloat {

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

    25% {
        transform: translateX(10px) translateY(-5px);
    }

    50% {
        transform: translateX(20px) translateY(0px);
    }

    75% {
        transform: translateX(10px) translateY(5px);
    }
}

@keyframes landingLightSequence {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

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

@keyframes typewriter {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes techNodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

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

@keyframes runwayTakeoff {
    0% {
        left: -2.5rem;
        transform: translateY(-50%) rotate(90deg);
    }

    10% {
        left: 10%;
        transform: translateY(-50%) rotate(90deg);
    }

    20% {
        left: 25%;
        transform: translateY(-50%) rotate(90deg);
    }

    30% {
        left: 40%;
        transform: translateY(-50%) rotate(90deg);
    }

    40% {
        left: 55%;
        transform: translateY(-50%) rotate(90deg);
    }

    50% {
        left: 70%;
        transform: translateY(-50%) rotate(90deg);
    }

    60% {
        left: 85%;
        transform: translateY(-50%) rotate(90deg);
    }

    70% {
        left: 100%;
        transform: translateY(-50%) rotate(90deg);
    }

    80% {
        left: 115%;
        transform: translateY(-50%) rotate(90deg);
    }

    90% {
        left: 130%;
        transform: translateY(-50%) rotate(90deg);
    }

    100% {
        left: 145%;
        transform: translateY(-50%) rotate(90deg);
    }
}

/* Apply creative animations */
.transition-section .cloud-1 {
    animation: cloudFloat 8s ease-in-out infinite;
}

.transition-section .cloud-2 {
    animation: cloudFloat 10s ease-in-out infinite reverse;
}

.transition-section .cloud-3 {
    animation: cloudFloat 6s ease-in-out infinite;
}

.transition-section .cloud-4 {
    animation: cloudFloat 12s ease-in-out infinite;
}

.transition-section .landing-light {
    animation: landingLightSequence 2s ease-in-out infinite;
}

.transition-section .typewriter-text {
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 3s steps(40) infinite;
}

.transition-section .absolute.top-1\/6 {
    animation: techNodePulse 3s ease-in-out infinite;
}

.transition-section .runway-airplane {
    animation: runwayTakeoff 8s linear infinite;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInRotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-scale {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-rotate {
    animation: fadeInRotate 0.8s ease-out forwards;
    opacity: 0;
}

/* Staggered animations */
.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.animate-delay-500 {
    animation-delay: 0.5s;
}

.animate-delay-600 {
    animation-delay: 0.6s;
}



/* SUPER CREATIVE How It Works Animations */
@keyframes timelineNodeExplode {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(-360deg);
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }

    25% {
        opacity: 0.5;
        transform: scale(0.5) rotate(-180deg);
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.3) rotate(-90deg);
        box-shadow: 0 0 40px rgba(14, 165, 233, 0.8);
    }

    75% {
        opacity: 1;
        transform: scale(0.9) rotate(-45deg);
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }
}

@keyframes timelineLineFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left center;
    }

    50% {
        opacity: 0.5;
        transform: scaleX(0.5);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes stepTitleMorph {
    0% {
        opacity: 0;
        transform: translateY(30px) skewY(-5deg) scale(0.8);
        filter: blur(10px);
    }

    50% {
        opacity: 0.7;
        transform: translateY(15px) skewY(-2deg) scale(0.9);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewY(0deg) scale(1);
        filter: blur(0px);
    }
}

@keyframes stepDescriptionWave {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotateX(90deg);
        filter: hue-rotate(0deg);
    }

    25% {
        opacity: 0.3;
        transform: translateX(-25px) rotateX(45deg);
        filter: hue-rotate(90deg);
    }

    50% {
        opacity: 0.6;
        transform: translateX(0) rotateX(0deg);
        filter: hue-rotate(180deg);
    }

    75% {
        opacity: 0.8;
        transform: translateX(10px) rotateX(-10deg);
        filter: hue-rotate(270deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotateX(0deg);
        filter: hue-rotate(360deg);
    }
}

@keyframes stepIconOrbit {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.1) translateY(50px);
    }

    25% {
        opacity: 0.5;
        transform: rotate(90deg) scale(0.5) translateY(25px);
    }

    50% {
        opacity: 0.8;
        transform: rotate(180deg) scale(0.8) translateY(0px);
    }

    75% {
        opacity: 1;
        transform: rotate(270deg) scale(1.1) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: rotate(360deg) scale(1) translateY(0px);
    }
}

@keyframes stepGlowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
        border-color: rgba(107, 114, 128, 0.5);
    }

    25% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
        border-color: rgba(14, 165, 233, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(14, 165, 233, 0.6);
        border-color: rgba(14, 165, 233, 0.6);
    }

    75% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
        border-color: rgba(14, 165, 233, 0.4);
    }
}

@keyframes stepNumberCount {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5) rotate(-90deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* How It Works Animation Classes */
.animate-timeline-node {
    animation: timelineNodeExplode 1.5s ease-out forwards;
    opacity: 0;
}

.animate-timeline-line {
    animation: timelineLineFlow 2s ease-out forwards;
    opacity: 0;
}

.animate-step-title {
    animation: stepTitleMorph 1.2s ease-out forwards;
    opacity: 0;
}

.animate-step-description {
    animation: stepDescriptionWave 1.8s ease-out forwards;
    opacity: 0;
}

.animate-step-icon {
    animation: stepIconOrbit 2s ease-out forwards;
    opacity: 0;
}

.animate-step-glow {
    animation: stepGlowPulse 3s ease-in-out infinite;
}

.animate-step-number {
    animation: stepNumberCount 1s ease-out forwards;
    opacity: 0;
}

/* Step-specific delays */
.step-1-delay {
    animation-delay: 0.2s;
}

.step-2-delay {
    animation-delay: 0.6s;
}

.step-3-delay {
    animation-delay: 1.0s;
}

.step-4-delay {
    animation-delay: 1.4s;
}

.step-title-delay {
    animation-delay: 0.4s;
}

.step-description-delay {
    animation-delay: 0.8s;
}

.step-icon-delay {
    animation-delay: 0.3s;
}

/* CREATIVE Be Part of the Future Animations */
@keyframes communityTitleGlow {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        text-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(15px) scale(0.95);
        text-shadow: 0 0 8px rgba(14, 165, 233, 0.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: 0 0 12px rgba(14, 165, 233, 0.15);
    }
}

@keyframes communityDescriptionSlide {
    0% {
        opacity: 0;
        transform: translateX(-50px) skewX(-5deg);
        filter: blur(5px);
    }

    50% {
        opacity: 0.6;
        transform: translateX(-25px) skewX(-2deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
        filter: blur(0px);
    }
}

@keyframes formContainerFloat {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }

    50% {
        opacity: 0.8;
        transform: translateY(25px) scale(0.98);
        box-shadow: 0 0 10px rgba(14, 165, 233, 0.1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 0 15px rgba(14, 165, 233, 0.15);
    }
}

@keyframes formIconSpin {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }

    50% {
        opacity: 0.7;
        transform: rotate(-90deg) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes formTitleBounce {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.05);
    }

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

@keyframes formDescriptionFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: hue-rotate(0deg);
    }

    50% {
        opacity: 0.6;
        transform: translateY(8px);
        filter: hue-rotate(180deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: hue-rotate(360deg);
    }
}

@keyframes inputFieldGlow {
    0% {
        opacity: 0;
        transform: scale(0.95);
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
        box-shadow: 0 0 8px rgba(14, 165, 233, 0.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 12px rgba(14, 165, 233, 0.12);
    }
}

@keyframes submitButtonPulse {
    0% {
        opacity: 0;
        transform: scale(0.9) rotate(-5deg);
        box-shadow: 0 0 0 rgba(14, 165, 233, 0);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
    }
}

/* Background grid animation removed */

/* Be Part of the Future Animation Classes */
.animate-community-title {
    animation: communityTitleGlow 1.5s ease-out forwards;
    opacity: 0;
}

.animate-community-description {
    animation: communityDescriptionSlide 1.8s ease-out forwards;
    opacity: 0;
}

.animate-form-container {
    animation: formContainerFloat 2s ease-out forwards;
    opacity: 0;
}

.animate-form-icon {
    animation: formIconSpin 1.2s ease-out forwards;
    opacity: 0;
}

.animate-form-title {
    animation: formTitleBounce 1s ease-out forwards;
    opacity: 0;
}

.animate-form-description {
    animation: formDescriptionFade 1.5s ease-out forwards;
    opacity: 0;
}

.animate-input-field {
    animation: inputFieldGlow 1.8s ease-out forwards;
    opacity: 0;
}

.animate-submit-button {
    animation: submitButtonPulse 2.2s ease-out forwards;
    opacity: 0;
}

/* Background grid animation removed */

/* Community section delays */
.community-title-delay {
    animation-delay: 0.2s;
}

.community-description-delay {
    animation-delay: 0.4s;
}

.form-container-delay {
    animation-delay: 0.6s;
}

.form-icon-delay {
    animation-delay: 0.8s;
}

.form-title-delay {
    animation-delay: 1.0s;
}

.form-description-delay {
    animation-delay: 1.2s;
}

.input-field-delay {
    animation-delay: 1.4s;
}

.submit-button-delay {
    animation-delay: 1.6s;
}

/* Scroll Indicator Positioning */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

/* Mobile optimizations for floating elements */
@media (max-width: 768px) {

    /* Hide all floating elements on mobile to avoid issues */
    .about-section .tech-overlay {
        display: none !important;
    }

    /* Reduce video container padding on mobile */
    .about-section .video-container {
        padding: 0.5rem !important;
    }

    /* Adjust scroll indicator positioning on mobile */
    .scroll-indicator {
        bottom: 1.5rem;
    }
}

/* Fix date input padding consistency */
input[type="date"] {
    padding-right: 0.75rem !important;
    /* 12px to match px-3 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Ensure consistent input styling across all input types */
input[type="text"],
input[type="date"],
select {
    box-sizing: border-box;
    padding-left: 0.75rem !important;
    /* 12px to match px-3 */
    padding-right: 0.75rem !important;
    /* 12px to match px-3 */
}

/* Responsive text sizing for h2 elements */
@media (min-width: 640px) {
    .text-4xl {
        font-size: 3rem !important;
        /* 48px */
    }
}

@media (min-width: 1024px) {
    .text-4xl {
        font-size: 3.75rem !important;
        /* 60px */
    }
}

/* Enhanced Features Page Animations - REMOVED */

/* Feature Card Enhanced Hover Effects */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.6s ease;
    z-index: 1;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(14, 165, 233, 0.2),
        0 0 60px rgba(105, 29, 247, 0.1);
}


/* Feature Tag Animations */
.feature-card span {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: transparent;
    transition: left 0.5s ease;
}

.feature-card:hover span::before {
    left: 100%;
}

.feature-card:hover span {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


/* Features Section Background Enhancements - REMOVED */

/* featuresBackgroundFloat animation - REMOVED */

/* Mobile Optimizations for Features */
@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1rem;
    }

    .feature-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .feature-card span {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Features Section Scroll Animation */
.feature-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Feature Card Glow Effects */
.feature-card[class*="hover:border-neon-primary"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(14, 165, 233, 0.3),
        0 0 60px rgba(14, 165, 233, 0.1);
}

.feature-card[class*="hover:border-neon-secondary"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(105, 29, 247, 0.3),
        0 0 60px rgba(105, 29, 247, 0.1);
}

.feature-card[class*="hover:border-green-400"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(74, 222, 128, 0.3),
        0 0 60px rgba(74, 222, 128, 0.1);
}

.feature-card[class*="hover:border-emerald-400"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(52, 211, 153, 0.3),
        0 0 60px rgba(52, 211, 153, 0.1);
}

.feature-card[class*="hover:border-white"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
}

/* Theme Toggle Styles */
.theme-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-checkbox {
    display: none;
}

.theme-toggle-label {
    height: 40px;
    width: 80px;
    background-color: #ffffff;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 3px 2px rgba(255, 255, 255, 1),
        inset 0 0 10px 1px rgba(0, 0, 0, 0.488), 5px 10px 15px rgba(0, 0, 0, 0.096),
        inset 0 0 0 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px 2px rgba(255, 255, 255, 1),
        inset 0 0 10px 1px rgba(0, 0, 0, 0.488), 5px 10px 15px rgba(0, 0, 0, 0.096),
        inset 0 0 0 2px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}

.theme-toggle-label:hover {
    -webkit-transform: perspective(100px) rotateX(5deg) rotateY(-5deg);
    transform: perspective(100px) rotateX(5deg) rotateY(-5deg);
}

.theme-checkbox:checked~.theme-toggle-label:hover {
    -webkit-transform: perspective(100px) rotateX(-5deg) rotateY(5deg);
    transform: perspective(100px) rotateX(-5deg) rotateY(5deg);
}

.theme-checkbox:checked~.theme-toggle-label::before {
    left: 45px;
    background-color: #000000;
    background-image: linear-gradient(315deg, #000000 0%, #414141 70%);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.theme-toggle-label::before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background-color: #000000;
    background-image: linear-gradient(130deg,
            #757272 10%,
            #ffffff 11%,
            #726f6f 62%);
    left: 6px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3),
        5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 5px 5px 5px rgba(0, 0, 0, 0.3);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

/* Mobile theme toggle adjustments */
.mobile-theme-toggle .theme-toggle-label {
    height: 50px;
    width: 100px;
}

.mobile-theme-toggle .theme-toggle-label::before {
    height: 35px;
    width: 35px;
    left: 8px;
}

.mobile-theme-toggle .theme-checkbox:checked~.theme-toggle-label::before {
    left: 57px;
}

/* Light Theme Variables */
:root {
    --brand-blue: #0139de;
    --brand-purple: #691df7;
    --brand-cyan: #0ba3da;
    --light-bg-primary: #ffffff;
    --light-bg-secondary: #f8fafc;
    --light-text-primary: #1a202c;
    --light-text-secondary: #4a5568;
    --light-border: #e2e8f0;
    --light-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Theme Variables (default) */
:root {
    --brand-blue: #0139de;
    --brand-purple: #691df7;
    --brand-cyan: #0ba3da;
    --dark-bg-primary: #0a0a0a;
    --dark-bg-secondary: #1a1a1a;
    --dark-text-primary: #ffffff;
    --dark-text-secondary: #a0aec0;
    --dark-border: #2d3748;
    --dark-shadow: rgba(0, 0, 0, 0.3);

    /* Light Theme Variables */
    --light-bg-primary: #f8fafc;
    --light-text-primary: #1a202c;
    --light-text-secondary: #4a5568;
    --light-border: #e2e8f0;
    --light-shadow: rgba(0, 0, 0, 0.1);
}

/* Light Theme Styles */
body.light-theme {
    background: var(--light-bg-primary);
    color: var(--light-text-primary);
}

body.light-theme #navbar {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--light-border);
}

body.light-theme #navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-border);
    box-shadow: 0 8px 32px var(--light-shadow);
}

body.light-theme .text-white {
    color: var(--light-text-primary) !important;
}

body.light-theme .text-white\/80 {
    color: var(--light-text-secondary) !important;
}

body.light-theme .bg-black\/95 {
    background-color: rgba(255, 255, 255, 0.95) !important;
}

body.light-theme .border-white\/10 {
    border-color: var(--light-border) !important;
}

body.light-theme .text-white\/60 {
    color: var(--light-text-secondary) !important;
}

/* Light theme for hero section */
body.light-theme .hero-section {
    background: linear-gradient(to bottom,
            #f8fafc 0%,
            #e2e8f0 30%,
            #cbd5e0 70%,
            #a0aec0 100%);
}

/* Light theme for other sections */
body.light-theme .about-section,
body.light-theme .brand-identity-section,
body.light-theme .how-it-works-section {
    background: linear-gradient(to bottom,
            #e2e8f0 0%,
            #cbd5e0 30%,
            #a0aec0 70%,
            #718096 100%);
}

body.light-theme .core-features-section,
body.light-theme .community-section {
    background: linear-gradient(to bottom,
            #cbd5e0 0%,
            #a0aec0 30%,
            #718096 70%,
            #4a5568 100%);
}