/* 
  SKYEORA CUSTOM DESIGN SYSTEM
  Refactored by Senior Frontend Architect
*/

/* Core Design Tokens - Strict 3-Color Combination (Blue, Gold, White) */
:root {
    --primary-gold: #fbd04d;
    /* Logo Golden */
    --gold-glow: rgba(251, 208, 77, 0.25);
    --deep-dark: #020617;
    /* Base Dark */
    --royal-blue: #002D62;
    /* Logo Blue */
    --card-bg: rgba(0, 45, 98, 0.25);
    /* Translucent Blue */
    --border-color: rgba(251, 208, 77, 0.15);
    /* Golden Border */
    --text-headline: #FFFFFF;
    /* Pure White */
    --text-body: #FFFFFF;
    /* Pure White */
    --accent-blue: #002D62;
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Base resets & layout */
body {
    background-color: var(--deep-dark);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* Background Infrastructure */
.bg-master {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% -20%, #002D62 0%, transparent 75%),
        radial-gradient(circle at 50% 120%, rgba(251, 208, 77, 0.18) 0%, transparent 70%),
        radial-gradient(circle at 10% 40%, rgba(0, 45, 98, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(0, 45, 98, 0.3) 0%, transparent 40%),
        #010510;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#antigravity-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --- NAVIGATION SYSTEM --- */
.nav-wrapper {
    position: fixed;
    top: 2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 4000;
}

.nav-command-pill {
    background: rgba(10, 28, 108, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(251, 208, 77, 0.2);
    border-radius: 100px;
    padding: 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 50px -12px rgba(5, 48, 219, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    min-width: 65px;
    max-width: 65px;
    white-space: nowrap;
}

#header-logo-link {
    display: flex;
    align-items: center;
    width: 45px;
    min-width: 45px;
    overflow: visible;
}

.nav-command-pill.expanded {
    max-width: 1000px;
    padding-right: 2rem;
    gap: 1.5rem;
}

.nav-link-modern {
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-gold);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 60%;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: #FFFFFF !important;
}

/* --- DROPDOWN SYSTEM --- */
.nav-menu-list li {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(10, 28, 108, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(251, 208, 77, 0.2);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 140px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    z-index: 5000;
    margin-top: 5px;
}

.nav-menu-list li:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
    padding: 0 0.25rem;
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    color: white !important;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 8px;
    justify-content: center;
}

.nav-dropdown-menu li a:hover {
    background: rgba(251, 208, 77, 0.1);
    color: var(--primary-gold) !important;
    transform: translateX(5px);
}

.nav-dropdown-menu li a i {
    font-size: 0.8rem;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.nav-dropdown-menu li a:hover i {
    transform: scale(1.2);
    color: var(--primary-gold);
}

.btn-launch-app {
    background: #FFFFFF;
    color: var(--royal-blue) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Glass & Card System */
.glass-card,
.feature-card-detailed,
.plan-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glass-card::after,
.feature-card-detailed::after,
.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.glass-card:hover,
.feature-card-detailed:hover,
.plan-card:hover {
    border-color: rgba(251, 208, 77, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Typography Helpers */
h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gold-text {
    color: var(--primary-gold);
}

.hero-title-mega {
    font-size: clamp(2.2rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    position: relative;
    text-align: center;
}

.char {
    display: inline-block;
    opacity: 0;
}

.typing-cursor {
    display: inline-block;
    width: 12px;
    height: 1.2em;
    background: var(--primary-gold);
    vertical-align: middle;
    margin-left: 5px;
    box-shadow: 0 0 15px var(--primary-gold);
    animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
    50% {
        opacity: 0;
    }
}

/* Stylus Spark effect */
.stylus-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px 5px var(--primary-gold);
    pointer-events: none;
    z-index: 100;
}

/* Components */
.btn-premium-gold {
    background: var(--primary-gold);
    color: var(--royal-blue);
    padding: 18px 42px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px -5px rgba(251, 208, 77, 0.3);
}

.btn-premium-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 18px 42px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-premium-outline:hover {
    background: var(--primary-gold);
    color: var(--royal-blue);
}

/* Table Design */
.table-premium {
    background: rgba(13, 16, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    color: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium th {
    background: rgba(251, 208, 77, 0.1);
    color: var(--primary-gold);
    padding: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border-color);
}

.table-premium td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Icons & Stats */
.card-icon-wrapper,
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-size: 1.5rem;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.plan-card:hover .stat-circle {
    border-color: var(--primary-gold);
    background: rgba(251, 208, 77, 0.05);
}

/* Lists */
.pricing-list {
    list-style: none;
    padding: 0;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.roadmap-phase {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.phase-li {
    list-style: none;
    padding-left: 0;
}

.phase-li li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.phase-li li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Loader & Footer */
#loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: radial-gradient(circle at center, #002D62 0%, #010510 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}

.loader-brand {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5em;
    opacity: 0;
}

.loader-counter {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.7;
}

.footer-premium {
    background: rgba(0, 45, 98, 0.1);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-top: 1px solid rgba(251, 208, 77, 0.15);
    padding: 120px 0 60px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 208, 77, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-gold);
    margin-bottom: 2.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.social-link-footer {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link-footer:hover {
    background: var(--primary-gold);
    color: var(--royal-blue);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(251, 208, 77, 0.2);
}

.newsletter-box {
    display: flex;
    gap: 10px;
    background: rgba(0, 45, 98, 0.2);
    border: 1px solid var(--primary-gold);
    padding: 8px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.newsletter-box:focus-within {
    border-color: rgba(251, 208, 77, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.newsletter-box input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    flex: 1;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-box button {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: var(--primary-gold);
    color: var(--royal-blue);
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.newsletter-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(251, 208, 77, 0.4);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .nav-wrapper {
        padding: 0 1rem;
        top: 1rem;
    }

    .nav-command-pill {
        padding: 0.6rem 0.8rem;
        border-color: rgba(251, 208, 77, 0.2);
    }

    .nav-command-pill.expanded {
        max-width: 100%;
        width: 100%;
        gap: 0.75rem;
    }

    .nav-menu-list {
        display: none !important;
    }

    .nav-command-pill.mobile-open {
        border-radius: 28px;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        max-width: 100% !important;
        height: auto;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(251, 208, 77, 0.1);
    }

    #header-logo-link {
        position: static !important;
        transform: none !important;
        left: unset !important;
        margin: 0 !important;
    }
}

.mobile-nav-content {
    display: none;
    padding-top: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-nav-content::-webkit-scrollbar {
    width: 3px;
}

.mobile-nav-content::-webkit-scrollbar-thumb {
    background: rgba(251, 208, 77, 0.2);
    border-radius: 10px;
}

.nav-command-pill.mobile-open .mobile-nav-content {
    display: block;
}

/* Fix for mobile menu transition speed */
.nav-command-pill.mobile-open {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Mobile Header Buttons */
.btn-mobile-outline-sq,
.btn-mobile-icon-sq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.btn-mobile-outline-sq {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-mobile-icon-sq {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
}

.btn-mobile-outline-sq:hover,
.btn-mobile-icon-sq:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

.mobile-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.8rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03);
        transition: all 0.3s ease;
    }

    .mobile-toggle:active {
        background: rgba(251, 208, 77, 0.2);
        transform: scale(0.9);
    }

    .mobile-nav-content .nav-link-modern {
        font-size: 0.9rem;
        padding: 1rem;
        text-align: center;
        border-radius: 15px;
        margin-bottom: 0.4rem;
        background: rgba(255, 255, 255, 0.02);
        letter-spacing: 0.2em;
    }

    .mobile-nav-content .nav-link-modern::after {
        display: none;
    }

    .mobile-nav-content .nav-link-modern.active {
        background: rgba(251, 208, 77, 0.1);
        color: var(--primary-gold) !important;
        border: 1px solid rgba(251, 208, 77, 0.2);
    }

    /* Mobile Language Dropdown Fix */
    .mobile-nav-content .lang-dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        max-height: 250px !important;
        overflow-y: auto !important;
        background: rgba(1, 5, 16, 0.5) !important;
        border: 1px solid rgba(251, 208, 77, 0.1) !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .mobile-nav-content .lang-item,
    .mobile-nav-content .dropdown-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem;
        background: transparent !important;
    }

    .mobile-nav-content .lang-item:active,
    .mobile-nav-content .lang-item.active {
        background: rgba(251, 208, 77, 0.08) !important;
    }

    .mobile-nav-content .lang-dropdown-menu::-webkit-scrollbar {
        width: 3px;
    }

    .mobile-nav-content .lang-dropdown-menu::-webkit-scrollbar-thumb {
        background: rgba(251, 208, 77, 0.2);
        border-radius: 10px;
    }
}

/* Centered Loader Logo */
.loader-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    perspective: 1200px;
    width: 120px;
    height: 120px;
}

.premium-coin {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 30px rgba(251, 208, 77, 0.2));
}

.coin-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 40%,
            #fff 50%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    z-index: 15;
    pointer-events: none;
}

/* Absolute Precision Loader */
#loader {
    z-index: 5000 !important;
    /* Above everything */
    background: radial-gradient(circle at center, #002D62 0%, #010510 100%);
}

.loader-logo-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin-bottom: 0 !important;
}

.loader-brand {
    position: absolute;
    top: calc(50% + 100px);
    left: 50%;
    transform: translateX(-50%);
}

.loader-counter {
    position: absolute;
    top: calc(50% + 160px);
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Layout Fix */
.hero-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding-top: 20px;
}

.hero-pretitle {
    display: block;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-body);
    opacity: 0.7;
}

.stat-container-premium {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 5rem;
    padding: 3.5rem 2rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.stat-box-premium {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-box-premium:hover {
    transform: translateY(-8px) scale(1.05);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff 30%, #999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.stat-label-premium {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary-gold);
    font-weight: 700;
}

.section-headline {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Feature Card Enhancements */
.feature-card-detailed {
    padding: 3rem 2rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.feature-card-detailed:hover {
    border-color: var(--primary-gold) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 20px rgba(251, 208, 77, 0.05);
}

.feature-card-detailed:hover .card-icon-wrapper {
    background: var(--primary-gold);
    color: var(--royal-blue);
    transform: translateY(-5px) rotateY(180deg);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(251, 208, 77, 0.05);
    border: 1px solid rgba(251, 208, 77, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.card-title-lg {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.card-description {
    opacity: 0.5;
    line-height: 1.6;
}

/* --- COMPREHENSIVE RESPONSIVENESS (MOBILE-FIRST FIXES) --- */

@media (max-width: 1200px) {
    .stat-container-premium {
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-container {
        padding-top: 140px !important;
        padding-bottom: 60px;
    }

    .hero-title-mega {
        font-size: clamp(2.8rem, 8vw, 4rem);
    }

    .stat-container-premium {
        gap: 2.5rem;
        padding: 2.5rem 1.5rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding-top: 130px !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .stat-container-premium {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        border-radius: 24px;
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label-premium {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .section-headline {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 120px !important;
    }

    .hero-title-mega {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .stat-container-premium {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .btn-premium-gold,
    .btn-premium-outline {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
    }

    .gap-4 {
        gap: 1.25rem !important;
    }
}

/* Fix for background infrastructure in index */
.hero-container {
    overflow: hidden;
}

#hero-3d-canvas {
    pointer-events: none;
}

/* Floating Language Dropdown Customization */
.floating-lang-widget {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.btn-lang-floating {
    background: rgba(13, 16, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 208, 77, 0.2);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(251, 208, 77, 0.1);
}

.btn-lang-floating:hover,
.btn-lang-floating:focus {
    background: rgba(26, 30, 38, 0.95);
    color: var(--primary-gold);
    border-color: rgba(251, 208, 77, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(251, 208, 77, 0.2);
}

.floating-lang-widget .lang-dropdown-menu {
    margin-top: 15px !important;
    transform-origin: top right;
}

@media (max-width: 768px) {
    .floating-lang-widget {
        top: 20px;
        right: 20px;
    }
}

.lang-dropdown-menu {
    background: var(--deep-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 0.5rem 0 !important;
    margin-top: 15px !important;
    min-width: 220px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lang-dropdown-header {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.lang-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.7rem 1.5rem !important;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 15px;
}

.lang-item:hover,
.lang-item:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.lang-item .fi {
    font-size: 1.4rem;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.lang-item .lang-name {
    font-size: 0.95rem;
    font-weight: 500;
    flex-grow: 1;
}

.lang-item.active {
    background: rgba(255, 255, 255, 0.03) !important;
}

.lang-check {
    color: #10B981;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.lang-item.active .lang-check {
    opacity: 1;
    transform: scale(1);
}



/* Google Translate Hidden Overlays */
.skiptranslate {
    display: none !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.VIpgJd-Zvi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

#google_translate_element {
    display: none !important;
}

/* --- SEARCH SYSTEM --- */
.btn-search-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-toggle:hover {
    background: var(--primary-gold);
    color: #002D62;
    border-color: var(--primary-gold);
}

.search-overlay-pill {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(1, 5, 16, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 208, 77, 0.1);
    border-radius: 30px;
    margin-top: 15px;
    padding: 2rem;
    display: none;
    z-index: 10;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-command-pill.search-active .search-overlay-pill {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.search-input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    text-align: center;
    transition: all 0.3s ease;
}

.search-input-group input:focus {
    border-color: var(--primary-gold);
    background: rgba(251, 208, 77, 0.05);
}

.search-arrows-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.search-label {
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.arrow-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.arrow-btn:hover {
    opacity: 1;
    color: var(--primary-gold);
    transform: scale(1.2);
}