:root {
    --neon-green: #baff29;
    --neon-glow: rgba(186, 255, 41, 0.4);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #030303;
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Modern Grid Background */
.bg-grid {
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

.neon-text {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-glow);
}

.neon-border {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-glow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    border-color: var(--neon-green);
    background: rgba(186, 255, 41, 0.03);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.btn-neon {
    background: var(--neon-green);
    color: #000;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    box-shadow: 0 0 30px var(--neon-glow);
    transform: translateY(-2px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Mouse Spotlight Effect */
#spotlight {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(186, 255, 41, 0.08) 0%, transparent 70%);
    position: fixed;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    left: 0;
    top: 0;
}

/* Mobile Nav Overlay */
#mobileMenu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    overflow-y: auto !important;
}

#mobileMenu.open {
    display: flex !important;
}

#mobileMenu > a,
#mobileMenu > a:link,
#mobileMenu > a:visited {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    text-align: center !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.4 !important;
    position: relative !important;
}

#mobileMenu > a:hover,
#mobileMenu > a:active {
    color: var(--neon-green) !important;
}

#mobileMenu > a.menu-cta,
#mobileMenu > a.menu-cta:link,
#mobileMenu > a.menu-cta:visited {
    margin-top: 1rem !important;
    padding: 14px 36px !important;
    background: #fff !important;
    color: #000 !important;
    border-radius: 9999px !important;
    font-size: 14px !important;
}

#mobileMenu > a.menu-cta:hover {
    background: var(--neon-green) !important;
}

#menuClose {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    background: none !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    padding: 8px !important;
    display: block !important;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
    width: 64px;
    height: 64px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.5;
    animation: pulse 2.2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1.0); opacity: 0.6; }
    70% { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 58px;
        height: 58px;
    }
    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION — Pure CSS (no Tailwind dependency for dynamic header)
   ═══════════════════════════════════════════════════════════════════ */
#mainNav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navInner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logoText {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    transition: color 0.2s;
}

#logoSub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-top: -2px;
    font-style: italic;
}

/* Desktop Nav Links */
#desktopNav {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

#desktopNav .nav-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

#desktopNav .nav-link:hover { color: var(--neon-green); }

#navCta {
    padding: 10px 28px;
    background: #fff;
    color: #000;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: all 0.2s;
}
#navCta:hover {
    background: var(--neon-green);
    transform: scale(1.05);
}

/* Hamburger Button */
#hamburgerBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    padding: 12px;
    margin-right: -8px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}
#hamburgerBtn:active { background: rgba(255,255,255,0.1); }

/* ── Desktop breakpoint: show nav links, hide hamburger ── */
@media (min-width: 1024px) {
    #navInner {
        padding: 0 3rem;
        height: 96px;
    }
    #logoText { font-size: 1.5rem; }
    #logoSub  { font-size: 0.875rem; }
    #desktopNav { display: flex; }
    #hamburgerBtn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE FIXES
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Typography scaling */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }

    /* Sections padding */
    section, main {
        padding-top: 140px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Glass cards responsive */
    .glass-card { border-radius: 20px; }
    .glass-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Grid fix */
    .grid { gap: 16px; }

    /* Rounded corners on mobile */
    [class*="rounded-[3"],
    [class*="rounded-[4"] {
        border-radius: 24px !important;
    }

    /* Prevent overflow */
    img, video, svg {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.6rem !important; }

    .btn-neon {
        padding: 14px 24px;
        font-size: 12px;
    }


}

@media (max-width: 768px) {
    #categoryMenu {
        gap: 0.875rem;
        padding-bottom: 0.75rem;
    }

    .category-item {
        min-width: 118px;
        flex-shrink: 0;
    }

    .category-circle {
        width: 92px;
        height: 92px;
    }

    .category-circle span {
        font-size: 0.68rem;
        padding: 0 0.35rem;
    }

    .modal-content {
        max-width: 100% !important;
        margin: 0 0.25rem;
        border-radius: 24px;
        grid-template-columns: 1fr !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-right-panel {
        padding: 1.5rem !important;
    }

    .modal-right-panel .flex.gap-8,
    .modal-right-panel .flex.gap-6 {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    #modalImage {
        min-height: 260px;
    }

    .modal-overlay {
        padding: 12px;
    }

    .payment-modal {
        padding: 20px;
    }

    .payment-modal .w-full.grid.grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .glass-card {
        min-width: 0;
        overflow: hidden;
    }

    .glass-card .p-8 {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .category-circle {
        width: 78px;
        height: 78px;
    }

    .category-circle span {
        font-size: 0.65rem;
    }

    .h-72 {
        min-height: 220px !important;
    }

    .btn-neon {
        width: 100%;
        padding: 14px 20px;
    }

    .size-pill {
        min-width: 100px;
        flex: 1 1 45%;
    }

    .payment-modal {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   GLOBAL TEXT OVERFLOW FIX
   ═══════════════════════════════════════════════════════════════════ */
* {
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, span, a, li, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Ensure footer and header placeholders are always visible */
#footer-placeholder,
#header-placeholder,
#whatsapp-placeholder {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
}

/* Footer responsive fix */
#footer-placeholder footer {
    width: 100% !important;
    display: block !important;
}

/* Glass panel (used on policy pages) */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC OVERFLOW & LAYOUT FIXES
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Prevent any horizontal overflow from page elements */
    .max-w-7xl, .max-w-5xl, .max-w-4xl {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Ensure grids don't overflow on mobile */
    .grid {
        max-width: 100% !important;
    }

    /* Fix hero text overflow */
    h1 {
        word-break: break-word !important;
        hyphens: auto !important;
    }

    /* Policy pages long text fix */
    .policy-content p,
    .policy-content li {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Footer grid fix for mobile */
    #footer-placeholder footer > div {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
