@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Luckiest+Guy&family=Permanent+Marker&family=Inter:wght@400;600;800&display=swap');

/* ============================================================
   MORALES PLUMBING — Global Design System
   ============================================================ */
:root {
    --primary:      #ff8c00;
    --secondary:    #39ff14;
    --accent:       #00f3ff;
    --bg-dark:      #000000;
    --glass-bg:     rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text:         #ffffff;
    --text-muted:   #a0a0a0;
    --logo-cyan:    #ff8c00;
    --logo-gold:    #39ff14;
    --neon-cyan: #00f5ff;
    --neon-purple: #a855f7;
    --neon-orange: #ff8c00;
    --neon-lime: #39ff14;
    --dark-bg: #030712;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
    font-size: 1.15rem;
}

.graffiti-text {
    font-family: 'Permanent Marker', cursive !important;
    font-size: 1.25em;
    letter-spacing: 1px;
    display: inline-block;
    transform: rotate(-2deg);
    text-shadow: 0 0 15px var(--neon-lime);
}

.graffiti-violet {
    font-family: 'Permanent Marker', cursive !important;
    font-size: 1.3em;
    letter-spacing: 2px;
    display: inline-block;
    transform: rotate(-3deg);
    color: #fff; /* Texto base blanco/claro */
    text-shadow: 0 0 8px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 30px var(--neon-purple);
    -webkit-text-fill-color: initial; /* Para sobreescribir el gradient de .brand-name si se combinan */
    background: none;
}

.graffiti-3d-metallic {
    font-family: 'Black Ops One', cursive !important;
    text-transform: uppercase;
    font-weight: 900;
    display: inline-block;
    position: relative;
    /* Chrome/Silver Gradient */
    background: linear-gradient(to bottom, 
        #d1d5db 0%, 
        #f9fafb 20%, 
        #9ca3af 40%, 
        #4b5563 60%, 
        #1f2937 80%, 
        #000000 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 3D Extrusion using multiple drop-shadows */
    filter: 
        drop-shadow(1px 1px 0px #333) 
        drop-shadow(2px 2px 0px #222) 
        drop-shadow(3px 3px 0px #111) 
        drop-shadow(0 0 10px rgba(0,243,255,0.4));
    transform: skew(-10deg, -2deg);
    letter-spacing: -2px;
    line-height: 1;
}

.graffiti-3d-gold {
    /* Gold Metallic Gradient */
    background: linear-gradient(to bottom, 
        #bf953f 0%, 
        #fcf6ba 20%, 
        #b38728 40%, 
        #fbf5b7 60%, 
        #aa771c 80%, 
        #3d2b00 100%
    );
    filter: 
        drop-shadow(1px 1px 0px #3d2b00) 
        drop-shadow(2px 2px 0px #221a00) 
        drop-shadow(3px 3px 0px #110d00) 
        drop-shadow(0 0 15px rgba(255,140,0,0.5));
}

/* ============================================================
   BACKGROUND IMAGE
   ============================================================ */
#space-background {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: url('assets/logo_portada.webp') no-repeat center center / cover;
    opacity: 0.54;
    pointer-events: none;
}

.layer {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 20px  30px, #eee, transparent),
        radial-gradient(2px 2px at 40px  70px, #fff, transparent),
        radial-gradient(2px 2px at 50px 160px, #ddd, transparent),
        radial-gradient(2px 2px at 90px  40px, #fff, transparent),
        radial-gradient(2px 2px at 130px 80px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    pointer-events: none;
}

.layer-1 { animation: drift 60s linear infinite; }
.layer-2 { animation: drift 40s linear infinite; opacity: 0.15; background-size: 300px 300px; }
.layer-3 { animation: drift 20s linear infinite; opacity: 0.08; background-size: 500px 500px; }

@keyframes drift {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   WARP-SPEED CANVAS — Full screen center effect
   ============================================================ */
#warp-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* ============================================================
   EYE VIDEO — Left ~25% of screen
   ============================================================ */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 26%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    opacity: 0.42;
    filter: saturate(1.6) contrast(1.3) hue-rotate(10deg);
    pointer-events: none;
    display: block;
}

/* Gradient fade from video into dark center */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.7) 65%,
        rgba(0,0,0,0.98) 100%);
    z-index: 4;
    pointer-events: none;
}

/* ============================================================
   LOGO VIDEO — Bottom Right (moved up 10%)
   ============================================================ */
#logo-video {
    position: fixed;
    bottom: 10vh;
    right: 0;
    width: clamp(150px, 24vw, 350px);
    height: auto;
    object-fit: contain;
    z-index: 5;
    opacity: 0.82;
    border-top-left-radius: 24px;
    filter: drop-shadow(0 0 40px rgba(255,140,0,0.35));
    pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.9rem 4%;
    z-index: 1000;
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border-bottom: 2px solid rgba(0, 245, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 245, 255, 0.15);
    background: rgba(0, 5, 10, 0.75);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
}

/* Eye video embedded in navbar */
.nav-eye-video {
    height: 52px;
    width: auto;
    aspect-ratio: auto;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0.78;
    filter: saturate(1.8) contrast(1.2) hue-rotate(10deg);
    border: 1px solid rgba(0,229,255,0.35);
    box-shadow: 0 0 14px rgba(0,229,255,0.3);
    flex-shrink: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nav-eye-video { display: none; }
}

/* ============================================================
   HAMBURGER BUTTON — Mobile only
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(0,245,255,0.08);
    border: 1px solid rgba(0,245,255,0.3);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
    flex-shrink: 0;
    transition: background 0.3s;
}
.hamburger:hover { background: rgba(0,245,255,0.18); }
.ham-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
/* Animated X when open */
.hamburger.is-open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay (dark backdrop) */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 990;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-nav-overlay.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .mobile-nav-overlay { display: block; }

    /* Slide-in nav drawer from right */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80vw, 300px);
        height: 100dvh;
        background: rgba(5, 10, 25, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0,245,255,0.2);
        /* CRITICAL FIX: always display:flex on mobile — hide via position, not display */
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 5rem 2.5rem 2.5rem;
        gap: 2rem;
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        pointer-events: none;
        visibility: hidden;
        transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0.35s;
    }
    .nav-links.nav-open {
        right: 0;
        pointer-events: auto;
        visibility: visible;
        transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0s;
    }
    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .nav-links a.nav-portal-btn {
        padding: 10px 16px;
        font-size: 1rem;
    }
    
    /* Mobile Dropdown Overrides */
    .dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 20px;
        min-width: 100%;
    }
    
    /* Reorder nav elements on mobile */
    nav { gap: 1rem; }
    .lang-selector { gap: 4px; }
}

/* ============================================================
   SKIP NAVIGATION — Accessibility for keyboard users
   ============================================================ */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-cyan);
    color: #000;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 0 0 12px 12px;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.3s;
    white-space: nowrap;
}
.skip-link:focus { top: 0; }

/* ============================================================
   REDUCED MOTION — Respect user accessibility preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    #warp-canvas { display: none; }
    .layer { animation: none; }
    .page-section.active { animation: none; opacity: 1; transform: none; }
    .hero-badge { animation: none; }
    .neon-name { animation: none; }
}

/* ============================================================
   CONTRAST IMPROVEMENTS — WCAG AA compliance lift
   ============================================================ */
/* Slightly brighten muted text for better contrast on dark backgrounds */
:root {
    --text-muted: #b8b8b8; /* was #a0a0a0, now ~4.5:1 contrast ratio */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--logo-cyan);
    padding: 2px;
    background: #000;
    box-shadow: 0 0 18px var(--logo-cyan);
    object-fit: cover;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Rajdhani', 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--neon-orange) 0%, var(--neon-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tag {
    font-size: 0.55rem;
    color: var(--neon-lime);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* 3D NEON EFFECT */
    text-shadow: 
        0px 1px 0px rgba(0, 245, 255, 0.4),
        0px 2px 0px rgba(0, 245, 255, 0.3),
        0px 3px 0px rgba(0, 245, 255, 0.2),
        0px 4px 5px rgba(0,0,0,0.8);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    /* 3D NEON GLOW ON HOVER */
    text-shadow: 
        0px 1px 0px #fff,
        0px 2px 0px var(--neon-cyan),
        0px 3px 0px var(--primary),
        0px 4px 10px var(--neon-cyan),
        0px 0px 20px var(--neon-cyan),
        0px 0px 40px var(--primary);
    transform: translateY(-3px) scale(1.05);
}

.nav-links a.nav-portal-btn {
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.15);
    transition: all 0.3s ease;
}

.nav-links a.nav-portal-btn:hover {
    color: #000;
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
    text-shadow: none;
}

.lang-selector {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ============================================================
   DROPDOWN MENUS (For Nav Links and Languages)
   ============================================================ */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: rgba(5, 10, 20, 0.95);
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.nav-dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}
.dropdown-content a {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    white-space: normal;
    width: 100%;
    border-bottom: 1px solid rgba(0,245,255,0.1);
}
.dropdown-content a:last-child { border-bottom: none; }

.dropdown-content a span.desc {
    font-size: 0.55rem;
    color: #00e5ff;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    margin-top: 5px;
    text-shadow: none;
    opacity: 0.8;
}
.dropdown-content a:hover span.desc {
    color: #fff;
    opacity: 1;
}

.dropdown-content a:hover {
    background: rgba(0, 245, 255, 0.15);
    border-left: 3px solid var(--neon-cyan);
}

/* Lang Dropdown */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}
.lang-dropdown-wrapper:hover .lang-dropdown-content {
    display: flex;
    flex-direction: column;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(5, 10, 20, 0.95);
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.8);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 8px;
    z-index: 1000;
}
.lang-dropdown-content .lang-btn {
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
    padding-left: 10px;
    font-size: 0.75rem;
}
.lang-dropdown-content .lang-btn:last-child {
    margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE FIXES — Cross-device audit 2026-07-05
   ============================================================ */

/* Scroll offset so sticky header doesn't hide section titles */
.page-section {
    scroll-margin-top: 90px;
}

/* Language selector: shrink on tablet, wrap on tiny screens */
@media (max-width: 1024px) {
    .lang-selector {
        gap: 4px;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.58rem;
    }
}

@media (max-width: 768px) {
    /* Nav: allow room for hamburger + lang selector */
    nav {
        flex-wrap: nowrap;
        /* DO NOT add overflow:hidden — it would clip the fixed drawer */
    }
    .lang-selector {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 130px;
    }
    .lang-selector::-webkit-scrollbar { display: none; }
    .lang-btn {
        padding: 3px 5px;
        font-size: 0.55rem;
        flex-shrink: 0;
    }

    /* Podcast grid: single column on tablet */
    .podcast-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .podcast-group {
        padding: 1.2rem;
    }
    .pod-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Language selector: allow horizontal scroll, hide scrollbar */
    .lang-selector {
        max-width: 110px;
    }
    /* Hero buttons: full width on smallest screens */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions button,
    .hero-actions .btn-primary-glow,
    .hero-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.page-section {
    min-height: 100vh;
    padding: 110px 6% 80px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    background: transparent;
}

.page-section.active {
    display: flex;
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

/* ============================================================
   HERO — 3-column grid layout
   ============================================================ */
.hero-layout {
    display: flex;
    width: 100%;
    min-height: 80vh;
    align-items: flex-start; /* Move to top */
    justify-content: flex-start; /* Move to left */
    position: relative;
    z-index: 10;
    padding-top: 15vh; /* Push down a bit from header */
}

/* Center content — pushed to left and reduced */
.hero-container {
    flex: 0 0 25%; /* Reduce to 25% */
    min-width: 350px;
    display: flex;
    overflow: hidden;
    word-wrap: break-word;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
    transform-origin: top left;
    transform: scale(0.85); /* Reduce overall size */
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 1024px) {
    .hero-left  { flex: 0 0 20%; }
    .hero-right { flex: 0 0 18%; }
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        padding: 100px 1rem 60px;
    }
    .hero-left, .hero-right { display: none; }
    .hero-container { max-width: 100%; padding: 0; }
}

.hero-badge {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid #00ff99;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 800;
    color: #00ff99;
    margin-bottom: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse-border 2.5s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(255, 140, 0, 0); }
}

/* ---- HERO TITLE — Logo-style 3D typography ---- */
.hero-title {
    font-family: 'Black Ops One', 'Rajdhani', cursive, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 0.95;
    margin-bottom: 1.8rem;
    user-select: none;
}

.title-line {
    display: block;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    /* Explicit Orange — overrides any gradient inheritance */
    color: var(--neon-orange) !important;
    background: none !important;
    -webkit-text-fill-color: var(--neon-orange) !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-shadow:
        0 0 25px rgba(255,140,0,0.9),
        0 0 70px rgba(255,140,0,0.45),
        0 2px 0 #442200,
        0 4px 0 #221100,
        0 6px 12px rgba(0,0,0,0.7);
    paint-order: stroke fill;
    -webkit-text-stroke: 2px rgba(100,50,0,0.7);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-line--accent {
    color: #f5a623 !important;
    background: none !important;
    -webkit-text-fill-color: #f5a623 !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    text-shadow:
        0 0 25px rgba(245,166,35,0.9),
        0 0 70px rgba(245,166,35,0.45),
        0 2px 0 #3d2800,
        0 4px 0 #1a1000,
        0 6px 12px rgba(0,0,0,0.7);
    -webkit-text-stroke: 2px rgba(100,60,0,0.7);
    animation: titleGlowGold 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: brightness(1); }
    to   { filter: brightness(1.25) drop-shadow(0 0 30px rgba(255,140,0,0.6)); }
}

@keyframes titleGlowGold {
    from { filter: brightness(1); }
    to   { filter: brightness(1.25) drop-shadow(0 0 30px rgba(245,166,35,0.6)); }
}

.hero-desc {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.6);
    font-weight: 600;
    margin: 0 0 2rem;
    max-width: 100%;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stat {
    font-size: 0.65rem;
    color: #bbf8d8;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.stat .glow {
    color: #00ff99;
    font-weight: 800;
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    margin-bottom: 4px;
    text-shadow: 0 0 15px rgba(0, 255, 153, 0.8);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline {
    padding: 0.85rem 2rem;
    border: 1.5px solid rgba(0,229,255,0.5);
    border-radius: 50px;
    color: rgba(0,229,255,0.85);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-outline:hover {
    background: rgba(0,229,255,0.1);
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0,229,255,0.3);
}

.btn-primary-glow {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-lime));
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255,140,0,0.4);
    transition: 0.3s;
}

.btn-primary-glow:hover {
    transform: scale(1.06);
    box-shadow: 0 0 50px rgba(57,255,20,0.65);
}

.btn-assistant {
    padding: 1rem 2rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-assistant:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* ============================================================
   CARDS / GLASS
   ============================================================ */
.diy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.diy-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.diy-icon-wrapper {
    height: 180px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.diy-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.diy-card:hover .diy-icon-wrapper img {
    transform: scale(1.1);
}

.diy-content {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.diy-content h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.diy-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.diy-content button {
    align-self: flex-start;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: 0.4s;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 2.5rem;
    width: 100%;
}

.project-card-3d {
    text-align: left;
    overflow: hidden;
    position: relative;
}

.card-visual {
    height: 280px;
    overflow: hidden;
}

.card-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body { padding: 2rem; }

.card-tag {
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.card-features {
    list-style: none;
    margin: 1.2rem 0;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.card-features li {
    font-size: 0.68rem;
    background: rgba(255,255,255,0.05);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.8rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn-link {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: underline;
}

.btn-action {
    padding: 0.75rem 1.4rem;
    background: var(--secondary);
    color: #000;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.78rem;
}

/* Coming Soon overlay & badge */
.card-visual { position: relative; }
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
}
.coming-soon-overlay span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--logo-gold);
    text-shadow: 0 0 15px rgba(245,166,35,0.8);
    border: 1.5px solid rgba(245,166,35,0.5);
    padding: 6px 18px;
    border-radius: 4px;
}
.card-coming-soon { opacity: 0.82; }
.badge-coming {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--logo-gold);
    border: 1px solid rgba(245,166,35,0.5);
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(245,166,35,0.08);
}


/* ============================================================
   ORION ECOSYSTEM
   ============================================================ */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.eco-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.eco-card-img {
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.eco-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.eco-card:hover .eco-card-img img {
    transform: scale(1.1);
}

.eco-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.eco-card-content h3 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.eco-card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.eco-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.btn-eco-link {
    padding: 0.7rem 1.4rem;
    background: var(--neon-cyan);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-eco-link:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--neon-cyan);
}

.expand-btn {
    padding: 0.7rem 1.4rem;
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.expand-btn:hover, .expand-btn.open {
    background: rgba(0, 245, 255, 0.1);
}

/* Sub-tab Details */
.app-detail-tab {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s;
    background: rgba(0, 0, 0, 0.4);
    padding: 0 1.8rem;
}

.app-detail-tab.active {
    max-height: 600px;
    padding: 1.8rem;
    border-top: 1px solid var(--glass-border);
}

.app-detail-tab p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.close-detail {
    background: transparent;
    border: none;
    color: var(--neon-orange);
    text-decoration: underline;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section titles */
.section-title { margin-bottom: 3rem; text-align: center; }
.section-title h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0,229,255,0.4);
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,229,255,0.12);
}

.service-card .icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

/* ============================================================
   MANIFESTO / ABOUT  — Premium Brand Layout v2
   ============================================================ */
.manifesto-container {
    width: 100%;
    max-width: 840px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.manifesto-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(0, 245, 255, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(255, 140, 0, 0.05) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ── HEADER ─────────────────────────────────────────────── */
.manifesto-header {
    text-align: center;
    margin-bottom: 2.8rem;
    position: relative;
    z-index: 1;
}

.manifesto-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00f5ff 0%, #e8f4fd 45%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 16px rgba(0, 245, 255, 0.3));
}

.manifesto-header::after {
    content: '';
    display: block;
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f5ff 30%, #ff8c00 70%, transparent);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    opacity: 0.8;
}

/* ── CONTENT GRID — stacked vertical on all sizes ──────── */
.manifesto-content {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: relative;
    z-index: 1;
}

/* ── INDIVIDUAL BLOCKS ──────────────────────────────────── */
.m-block {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0 2rem;
    align-items: start;
    padding: 2rem 2.2rem;
    border-radius: 14px;
    background: rgba(8, 14, 32, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.m-block::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}

.m-block:first-child::before { background: linear-gradient(180deg, #00f5ff, rgba(0, 245, 255, 0.2)); }
.m-block:last-child::before  { background: linear-gradient(180deg, #ff8c00, rgba(255, 140, 0, 0.2)); }

.m-block:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 245, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
    .m-block {
        grid-template-columns: 1fr;
        gap: 0.8rem 0;
        padding: 1.5rem;
    }
    .manifesto-container { padding: 2rem 1.2rem; }
}

/* ── LABEL (MISIÓN / VISIÓN) ────────────────────────────── */
.m-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.15rem;
    line-height: 1.3;
}

.m-title::before {
    content: '◆';
    font-size: 0.55em;
    flex-shrink: 0;
    opacity: 0.9;
}

.m-block:first-child .m-title {
    color: #4dd9e8;
    text-shadow: 0 0 12px rgba(0, 245, 255, 0.45);
}

.m-block:last-child .m-title {
    color: #ffaa44;
    text-shadow: 0 0 12px rgba(255, 140, 0, 0.45);
}

/* ── BODY TEXT ──────────────────────────────────────────── */
.m-block p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    font-weight: 400;
    line-height: 1.9;
    /* Warm off-white — maximum readability on dark bg */
    color: #d9e8f0;
    letter-spacing: 0.015em;
    margin: 0;
}

/* ============================================================
   TERMINAL / CONTACT
   ============================================================ */
.terminal-container {
    width: 100%;
    max-width: 800px;
    text-align: left;
    overflow: hidden;
}

.terminal-header {
    background: rgba(255,255,255,0.08);
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-header .dot:nth-child(1) { background: #ff5f56; }
.terminal-header .dot:nth-child(2) { background: #ffbd2e; }
.terminal-header .dot:nth-child(3) { background: #27c93f; }

.terminal-header .title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #888;
    margin-left: 10px;
}

.terminal-body { padding: 2.5rem; }

.contact-profile {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.profile-pic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.profile-details .name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.profile-details .role { color: var(--primary); font-weight: 600; }

.terminal-links { display: flex; flex-direction: column; gap: 1rem; }

.t-link {
    font-family: monospace;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.t-link:hover { color: #fff; padding-left: 10px; }

.neon-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    background: linear-gradient(90deg, #ff8c00, #39ff14); /* Orange to Neon Green */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.4));
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    from { filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.4)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.6)); }
}

/* ============================================================
   JOE ASSISTANT
   ============================================================ */
#joe-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.joe-trigger {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #003344, #001a22);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0,229,255,0.5), 0 0 0 2px rgba(0,229,255,0.4);
    border: 2px solid rgba(0,229,255,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.joe-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 0 45px rgba(0,229,255,0.7), 0 0 0 3px rgba(0,229,255,0.5);
}

.joe-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.joe-window {
    width: min(95vw, 400px);
    height: min(80vh, 550px);
    position: absolute;
    bottom: 90px;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    transform-origin: bottom right;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.assistant-hidden .joe-window {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.joe-header {
    padding: 1.1rem;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.joe-identity { display: flex; align-items: center; gap: 10px; }

.joe-avatar-small {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,229,255,0.5);
    box-shadow: 0 0 12px rgba(0,229,255,0.4);
}

.joe-status { font-size: 0.66rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.close-btn  { background: transparent; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }

.pulse {
    width: 8px; height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
    0%   { box-shadow: 0 0 0 0 rgba(245,166,35,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(245,166,35,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

.joe-messages {
    flex-grow: 1;
    padding: 1.3rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.msg { padding: 0.9rem 1rem; border-radius: 14px; font-size: 0.88rem; max-width: 86%; line-height: 1.5; }
.msg.bot  { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); align-self: flex-start; color: rgba(220,235,255,0.9); }
.msg.user { background: linear-gradient(135deg, var(--logo-cyan), #0099bb); align-self: flex-end; color: #000; font-weight: 600; }

/* Typing indicator (3 bouncing dots) */
.typing-indicator { display: flex; gap: 5px; padding: 1rem; align-items: center; }
.typing-indicator span {
    width: 8px; height: 8px;
    background: rgba(0,229,255,0.7);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%            { transform: scale(1.2); opacity: 1; }
}

.joe-input { padding: 1rem; display: flex; gap: 8px; }
.joe-input input {
    flex-grow: 1;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.75rem;
    color: #fff;
    outline: none;
    font-size: 0.85rem;
}
.joe-input input:focus { border-color: var(--primary); }
.joe-input button {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.1rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    color: #000;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 3.5rem 8% 2rem;
    background: rgba(0,0,0,0.85);
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer-wrap p   { font-size: 0.78rem; color: var(--text-muted); }
.footer-wrap .legal { font-size: 0.58rem; margin-top: 0.8rem; opacity: 0.45; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
    .title-line { font-size: clamp(3rem, 9vw, 5.5rem); }

    #bg-video { width: 30%; }
    .video-overlay { width: 50%; }

    #logo-video { width: clamp(150px, 32vw, 340px); }

    .hero-container {
        padding-left: 32vw;
        padding-right: clamp(100px, 24vw, 220px);
    }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
    /* Eye video goes full-screen, very transparent */
    #bg-video {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        opacity: 0.18;
    }

    .video-overlay {
        width: 100%;
        background: linear-gradient(to bottom,
            rgba(0,0,0,0.2) 0%,
            rgba(0,0,0,0.85) 60%,
            rgba(0,0,0,0.98) 100%);
    }

    /* Logo video smaller, still bottom-right */
    #logo-video {
        width: clamp(100px, 40vw, 200px);
        opacity: 0.7;
    }

    /* Hero — full width, no side offsets */
    .hero-container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    .title-line { font-size: clamp(2.8rem, 13vw, 4.5rem); letter-spacing: 3px; }

    nav { flex-wrap: wrap; gap: 0.6rem; }
    .nav-links { display: none; } /* hamburger menu could be added later */

    .manifesto-content { grid-template-columns: 1fr; }

    .contact-profile { flex-direction: column; text-align: center; }

    .hero-stats { gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary-glow, .btn-assistant { width: 100%; max-width: 300px; text-align: center; }

    #joe-container { bottom: 15px; right: 15px; }
}

/* Small Mobile ≤ 400px */
@media (max-width: 400px) {
    .title-line { font-size: 2.4rem; letter-spacing: 2px; }
    header { padding: 0.7rem 3%; }
    .nav-logo { width: 40px; height: 40px; }
    .brand-name { font-size: 0.85rem; }
    .lang-btn { padding: 3px 6px; font-size: 0.58rem; }
    #logo-video { width: 35vw; }
}

/* ============================================================
   3D NEON EFFECTS — All hero text elements
   ============================================================ */

/* Description text */
.hero-desc {
    color: #d4f0ff !important;
    font-weight: 500;
    text-shadow:
        0 0 12px rgba(0,229,255,0.55),
        0 0 35px rgba(0,229,255,0.2),
        1px 2px 0 rgba(0,40,70,0.9),
        2px 4px 0 rgba(0,15,30,0.7);
}

/* Stat numbers — each a distinct neon color */
.stat:nth-child(1) .glow {
    color: #00ff99 !important;
    text-shadow:
        0 0 18px #00ff99,
        0 0 50px rgba(0,255,153,0.4),
        2px 3px 0 #003322,
        4px 6px 0 #001811;
}
.stat:nth-child(2) .glow {
    color: #bf5fff !important;
    text-shadow:
        0 0 18px #bf5fff,
        0 0 50px rgba(191,95,255,0.4),
        2px 3px 0 #1a0033,
        4px 6px 0 #0d0019;
}
.stat:nth-child(3) .glow {
    color: #ffdf00 !important;
    text-shadow:
        0 0 18px #ffdf00,
        0 0 50px rgba(255,223,0,0.4),
        2px 3px 0 #332a00,
        4px 6px 0 #1a1500;
}

/* Stat labels (Listo, Eco-Focus, Integrated) */
.stat > span:not(.glow) {
    color: rgba(180,240,255,0.92) !important;
    font-weight: 700;
    text-shadow:
        0 0 8px rgba(0,229,255,0.5),
        1px 1px 0 rgba(0,40,70,0.8);
}

/* Buttons — neon 3D style */
.btn-primary-glow {
    text-shadow:
        0 0 10px rgba(0,229,255,0.8),
        1px 1px 0 rgba(0,60,90,0.9);
    box-shadow:
        0 0 25px rgba(0,229,255,0.5),
        0 0 60px rgba(0,229,255,0.2),
        inset 0 1px 0 rgba(255,255,255,0.15),
        0 4px 0 rgba(0,60,90,0.8),
        0 6px 12px rgba(0,0,0,0.5);
    transform: translateY(-2px);
    border: 1px solid rgba(0,229,255,0.6);
}
.btn-primary-glow:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 35px rgba(0,229,255,0.7),
        0 0 80px rgba(0,229,255,0.3),
        0 6px 0 rgba(0,60,90,0.8),
        0 10px 20px rgba(0,0,0,0.5);
}
.btn-outline {
    text-shadow: 0 0 10px rgba(0,229,255,0.6), 1px 1px 0 rgba(0,40,70,0.9);
    box-shadow:
        0 0 18px rgba(0,229,255,0.25),
        0 3px 0 rgba(0,40,70,0.8),
        0 5px 10px rgba(0,0,0,0.4);
    transform: translateY(-2px);
}
.btn-outline:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 28px rgba(0,229,255,0.45),
        0 5px 0 rgba(0,40,70,0.8),
        0 8px 16px rgba(0,0,0,0.5);
}

/* ============================================================
   COPYRIGHT BADGE — Visible on screen & paid ads
   ============================================================ */
#copyright-badge {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: 40px;
    padding: 5px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    white-space: nowrap;
}
#copyright-badge span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(200,230,255,0.6);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
#copyright-badge strong {
    color: rgba(0,229,255,0.85);
    font-size: 0.62rem;
}

/* Copyright watermark overlay (shows on all pages including ads) */
.watermark-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-35deg);
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 800;
    color: rgba(0,229,255,0.045);
    letter-spacing: 6px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 9;
    white-space: nowrap;
    user-select: none;
}

/* ============================================================
   PRINT STYLES — Title at 1.5" physical size + copyright
   ============================================================ */
@media print {
    /* Hide animated/background elements */
    #space-background,
    #warp-canvas,
    #bg-video,
    .video-overlay,
    #logo-video,
    .nav-eye-video,
    #joe-container,
    .lang-selector,
    .watermark-notice,
    #copyright-badge,
    .hero-left,
    .hero-right { display: none !important; }

    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-family: 'Space Grotesk', Arial, sans-serif;
        margin: 0;
        padding: 0;
    }

    header {
        background: #fff !important;
        border-bottom: 2px solid #000;
        box-shadow: none !important;
        position: static !important;
        backdrop-filter: none !important;
    }

    /* Hero title — 1.5 inch physical size */
    .title-line {
        font-size: 1.5in !important;
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
        background: none !important;
        text-shadow: 2px 2px 0 #888888, 4px 4px 0 #bbbbbb !important;
        -webkit-text-stroke: 0 !important;
        display: block;
        line-height: 1.1;
    }

    .title-line--accent {
        color: #555555 !important;
        -webkit-text-fill-color: #555555 !important;
        text-shadow: 2px 2px 0 #999999 !important;
    }

    .hero-desc {
        color: #222222 !important;
        text-shadow: none !important;
        font-size: 11pt;
        margin-bottom: 18pt;
    }

    .hero-stats .stat .glow {
        color: #000 !important;
        text-shadow: none !important;
        font-size: 18pt;
    }

    .hero-stats .stat > span:not(.glow) {
        color: #333 !important;
        text-shadow: none !important;
        font-size: 8pt;
    }

    .hero-badge {
        border-color: #000 !important;
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .btn-primary-glow,
    .btn-outline {
        background: transparent !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
    }

    /* Print copyright notice — mandatory on all printed material */
    .print-copyright-block {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-top: 2px solid #000;
        padding: 8pt 12pt;
        font-size: 7pt;
        font-family: Arial, sans-serif;
        color: #000;
        background: #fff;
        text-align: center;
    }

    /* Watermark for print — diagonal text */
    .print-watermark {
        display: block !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-30deg);
        font-size: 60pt;
        font-weight: 900;
        color: rgba(0,0,0,0.06);
        pointer-events: none;
        letter-spacing: 8px;
        white-space: nowrap;
        font-family: 'Rajdhani', Arial, sans-serif;
        z-index: 99999;
    }

    /* Page setup */
    @page {
        size: letter;
        margin: 0.75in;
    }
}

/* Hide print-only elements on screen */
.print-copyright-block,
.print-watermark { display: none; }

/* Neon Name Highlight — Orange-Green Mix */
.neon-name {
    background: linear-gradient(90deg, #ff8c00 0%, #39ff14 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.6)) drop-shadow(0 0 15px rgba(57, 255, 20, 0.4));
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from { filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.6)) drop-shadow(0 0 15px rgba(57, 255, 20, 0.4)); }
    to   { filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.8)) drop-shadow(0 0 25px rgba(57, 255, 20, 0.6)); }
}

/* ============================================================
   FOOTER NEON LINKS
   ============================================================ */
.footer-link-neon {
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    background: rgba(0, 243, 255, 0.02);
    margin: 0.5rem;
}

.footer-link-neon:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-3px);
}
}

/* ============================================================
   ORION ECOSYSTEM GRID
   ============================================================ */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.eco-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(15, 23, 42, 0.6);
}

.eco-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.eco-card-img {
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.eco-card-img video, .eco-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.eco-card-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin: 0;
}

.eco-card-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.eco-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-eco-link {
    background: var(--neon-lime);
    color: #000;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
}

.btn-eco-link:hover {
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.expand-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.3s;
}

.expand-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* Detail Tabs (Collapsible) */
.app-detail-tab {
    display: none;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #fff;
}

.app-detail-tab.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.close-detail {
    background: var(--neon-orange);
    border: none;
    color: #000;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 800;
    margin-top: 1.5rem;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
}

.tech-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.spec-item {
    background: rgba(255,255,255,0.02);
    border-left: 3px solid var(--neon-cyan);
    padding: 1rem;
    border-radius: 0 12px 12px 0;
}

.spec-label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--neon-orange);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

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

/* ============================================================
   COMPANY CARD MODAL
   ============================================================ */
.company-card-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.company-card-modal.active {
    display: flex;
}

.company-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.2);
    position: relative;
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-header-img {
    width: 100%;
    height: 250px;
    background: url('assets/logo_portada.png') no-repeat center center / cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.card-header-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 1));
}

.card-logo {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    position: relative;
    z-index: 2;
    margin-right: 1.5rem;
    object-fit: contain;
    background: #000;
}

.card-info-main {
    position: relative;
    z-index: 2;
}

.card-info-main h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.card-content {
    padding: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: #fff;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
    cursor: pointer;
}

.social-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
    transform: translateY(-3px);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.nav-eye-video {
    cursor: pointer;
    transition: 0.5s;
    border-radius: 50%;
}

.nav-eye-video:hover {
    box-shadow: 0 0 25px var(--neon-cyan);
    transform: scale(1.1);
}

.footer-link-neon {
    color: var(--neon-orange);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 140, 0, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    transition: 0.3s;
    font-family: 'Orbitron', monospace;
    display: inline-block;
}

.footer-link-neon:hover {
    background: rgba(57, 255, 20, 0.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
    border-color: var(--neon-lime);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   GLOBAL FOOTER & BRANDING
   ============================================================ */
.site-footer {
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.95), #030712);
    border-top: 1px solid var(--glass-border);
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 10rem;
    backdrop-filter: blur(10px);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
}

.footer-nav a:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-lime);
    color: var(--neon-lime);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
    transform: translateY(-3px);
}

.footer-copyright-main {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    padding: 0 1rem;
}

.footer-copyright-branded {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-copyright-branded .year {
    color: var(--neon-orange);
    font-weight: 900;
    font-size: 1.1rem;
}

/* CONTACT GRID FOR FOOTER */
.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.footer-contact-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: 0.3s;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--glass-border);
}

.contact-label-footer {
    display: block;
    color: var(--neon-lime);
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.contact-value-footer {
    display: block;
    color: var(--neon-orange);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 1rem;
    }
    .footer-nav a {
        width: 100%;
    }
    .footer-security {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Adjustments for the contact modal */
.company-card .card-content {
    padding-bottom: 1rem;
}

/* ============================================================
   PRICE BOOK SPECIFIC STYLES
   ============================================================ */
.pb-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.pb-cover {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.cover-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    /* Metallic Pipe Texture with Hydraulic Connection Simulation */
    background: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 4px),
        linear-gradient(to bottom, #1a2a3a 0%, #bdc3c7 20%, #1a2a3a 40%, #bdc3c7 60%, #1a2a3a 80%, #bdc3c7 100%);
    background-size: 100% 100%, 100% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    /* Deep 3D Shadow for "Hydraulic Extrusion" */
    text-shadow: 
        0 1px 0 #000,
        0 2px 0 #111,
        0 3px 0 #222,
        0 4px 0 #333,
        0 5px 0 #444,
        0 6px 1px rgba(0,0,0,.5),
        0 10px 20px rgba(0,0,0,0.8);
    animation: flow3D 15s linear infinite;
}

@keyframes flow3D {
    from { background-position: 0% 0%, 0% 0%; }
    to { background-position: 0% 0%, 0% 100%; }
}

.cover-title-text {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    /* Copper/Bronze Polish */
    background: linear-gradient(135deg, #b87333 0%, #f5f5f5 50%, #b87333 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 
        0 1px 0 #5c3a1a,
        0 2px 0 #5c3a1a,
        0 3px 20px rgba(184, 115, 51, 0.5);
}

.cover-badge {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-lime));
    color: #000;
    font-weight: 900;
    border-radius: 2px;
    margin: 1.5rem 0;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    box-shadow: 15px 15px 0px rgba(255, 140, 0, 0.15);
    border: 2px solid rgba(0,0,0,0.1);
}

.pb-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.1), transparent);
    border-left: 8px solid var(--neon-cyan);
    padding: 1rem 3rem 1rem 2rem;
    margin-top: 1.5rem;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.pb-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.9);
    border-bottom: 2px solid var(--neon-cyan);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.pb-nav-btn {
    font-family: 'Orbitron', monospace;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 245, 255, 0.03);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pb-nav-btn:hover {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.pb-nav-icon {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--neon-cyan);
    background: #000;
    filter: brightness(1.2) contrast(1.1);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    background: rgba(255, 140, 0, 0.05);
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.4), inset 0 0 10px rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
}

.pb-hero-section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.prose-block {
    margin-top: 2rem;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.prose-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.pb-search-box {
    max-width: 600px;
    margin: 3rem auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.pb-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1rem;
    font-size: 1.1rem;
    outline: none;
}

.pb-search-btn {
    background: var(--neon-cyan);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 0 15px var(--neon-cyan);
}

.pb-category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 4rem;
    flex-wrap: wrap;
}

.pb-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
}

.pb-filter-btn.active, .pb-filter-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.pb-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    scroll-margin-top: 120px;
}

.pb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.pb-service-card {
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pb-service-card:hover {
    transform: translateY(-12px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 50px rgba(0, 245, 255, 0.2);
}

.pb-service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-service-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pb-category-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.pb-service-code {
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.pb-service-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.pb-service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pb-price-stack {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pb-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pb-price-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pb-price-value {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: var(--neon-lime);
}

.pb-price-value.standard {
    color: #fff;
}

.pb-info-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
    scroll-margin-top: 100px;
}

.pb-info-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    padding-bottom: 1rem;
}

.pb-info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.pb-info-section .glass {
    padding: 2.5rem;
    border-radius: 20px;
}

/* ============================================================
   DIY / FIX-IT HUB SECTION
   ============================================================ */
.diy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diy-card {
    padding: 25px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.diy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.4);
}

.diy-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary);
    box-shadow: inset 0 0 15px rgba(0, 245, 255, 0.2), 0 0 15px rgba(0, 245, 255, 0.2);
    overflow: hidden;
    padding: 10px;
}

.diy-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.5));
}

.diy-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.diy-content h3 {
    font-family: 'Black Ops One', cursive;
    color: var(--neon-cyan);
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.diy-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* ============================================================
   MULTIMEDIA SECTION: PODCASTS
   ============================================================ */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 120px; /* Prevent floating audio player overlap */
}

.podcast-group {
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Group header: logo + title row */
.group-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* CRITICAL: constrain logo size — was causing 1024px overflow on mobile */
.podcast-group .group-logo {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    filter: drop-shadow(0 0 6px rgba(0, 245, 255, 0.3));
}

.podcast-group h3[data-i18n="mp_podcasts_title"] {
    font-family: 'Black Ops One', cursive;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    letter-spacing: 1px;
}

.podcast-group h3[data-i18n="ep_podcasts_title"] {
    font-family: 'Black Ops One', cursive;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--neon-orange);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    letter-spacing: 1px;
}

.podcast-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pod-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border-left: 3px solid transparent;
}

.pod-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.pod-item:has(.deep-dive) { border-left-color: var(--neon-purple); }
.pod-item:has(.brief) { border-left-color: var(--neon-cyan); }
.pod-item:has(.critique), .pod-item:has(.debate) { border-left-color: var(--neon-orange); }

.pod-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pod-badge {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid currentColor;
    box-shadow: 2px 2px 0px #000;
    display: inline-block;
    transition: transform 0.2s ease;
}

.pod-badge:hover {
    transform: rotate(-2deg) scale(1.05);
}

.deep-dive { background: rgba(168, 85, 247, 0.2); color: var(--neon-purple); }
.brief { background: rgba(0, 245, 255, 0.2); color: var(--neon-cyan); }
.critique, .debate { background: rgba(255, 140, 0, 0.2); color: var(--neon-orange); }

.pod-lang {
    font-family: 'Black Ops One', cursive;
    font-size: 0.75rem;
    color: var(--neon-lime);
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 4px;
    padding: 1px 6px;
    width: fit-content;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.2);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.pod-info h4 {
    font-family: 'Permanent Marker', cursive;
    margin: 8px 0;
    font-size: 1.15rem;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.15);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.pod-item:hover .pod-info h4 {
    color: var(--neon-cyan);
    text-shadow: 0px 0px 10px rgba(0, 245, 255, 0.5);
}

.podcast-group:nth-of-type(2) .pod-item:hover .pod-info h4 {
    color: var(--neon-orange);
    text-shadow: 0px 0px 10px rgba(255, 140, 0, 0.5);
}

.pod-link {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #000000;
    background: var(--accent);
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 3px 3px 0px #000000;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 15px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.pod-link:hover {
    background: #ffffff;
    color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
}

.podcast-group:nth-of-type(2) .pod-link {
    background: var(--primary); /* Neon orange background for EP series */
}

.podcast-group:nth-of-type(2) .pod-link:hover {
    background: #ffffff;
}

/* Responsive Multimedia */
@media (max-width: 600px) {
    .pod-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pod-link {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .podcast-group {
        padding: 20px;
    }
}

/* ============================================================
   PRICE BOOK: GOOD / BETTER / BEST ACCORDIONS
   ============================================================ */
.pb-tier-details {
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    margin-top: 0.8rem;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pb-tier-details:hover {
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(10, 15, 30, 0.6);
}

.pb-tier-details[open] {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.pb-tier-summary {
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95em;
    color: var(--neon-cyan);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    letter-spacing: 1px;
}

.pb-tier-summary::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
}

.pb-tier-details[open] .pb-tier-summary::after {
    transform: rotate(180deg);
    color: var(--neon-cyan);
}

.pb-tier-summary::-webkit-details-marker {
    display: none;
}

.pb-tier-content {
    padding: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    font-size: 0.85em;
    color: #c0c0c0;
    line-height: 1.5;
}

.pb-tier-content p {
    margin: 0.5rem 0;
}

.pb-tier-content strong {
    color: #ffffff;
    font-weight: 600;
}

.pb-tier-price {
    margin-top: 1rem !important;
    font-size: 1.2em;
    color: var(--neon-orange);
    text-align: right;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

/* Tier specific coloring */
.tier-good .pb-tier-summary { color: #b0c4de; }
.tier-good[open] { border-color: #b0c4de; }
.tier-better .pb-tier-summary { color: var(--neon-cyan); }
.tier-best .pb-tier-summary { color: var(--neon-orange); }
.tier-best[open] { border-color: var(--neon-orange); box-shadow: 0 0 15px rgba(255, 140, 0, 0.15); }

/* ============================================================
   PERSISTENT AUDIO PLAYER BAR
   ============================================================ */
.persistent-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 15px 30px;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 245, 255, 0.25);
    box-shadow: 0 -10px 40px rgba(0, 245, 255, 0.12);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.persistent-audio-player.player-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Left Section: Meta details */
.player-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}

.player-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.player-lang {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1px 5px;
    border-radius: 3px;
}

.player-title-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.player-title-info h5 {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: inherit;
    font-weight: 600;
}

.player-series-lbl {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Center Section: Controls & Progress */
.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 2;
    max-width: 650px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-ctrl-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    font-size: 1.15rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.player-ctrl-btn:hover {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

.player-ctrl-btn.play-pause-main {
    background: var(--neon-cyan);
    color: #000;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

.player-ctrl-btn.play-pause-main:hover {
    background: #fff;
    color: #000;
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.player-timeline {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-lbl {
    font-size: 0.75rem;
    color: #a0aec0;
    min-width: 35px;
    text-align: center;
}

/* Sliders Styling (Custom Neon look) */
.player-slider, .vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.player-slider::-webkit-slider-thumb, .vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
    transition: transform 0.1s;
}

.player-slider::-webkit-slider-thumb:hover, .vol-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

/* Right Section: Volume & Dismiss */
.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
    min-width: 180px;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 120px;
}

.vol-icon {
    font-size: 0.9rem;
    color: #a0aec0;
}

.player-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #a0aec0;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 5px;
}

.player-close-btn:hover {
    color: var(--neon-orange);
}

/* Pod item active playing card effect */
.pod-item.playing-active {
    border-left-color: #10b981 !important; /* Cyber Green */
    background: rgba(16, 185, 129, 0.08) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.pod-item.playing-active .pod-link {
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

/* Custom styles for buttons so they align like links */
.pod-play-btn {
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pod-play-btn .play-icon {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.pod-play-btn:hover .play-icon {
    transform: scale(1.2);
}

/* Responsive player stacking */
@media (max-width: 768px) {
    .persistent-audio-player {
        padding: 12px 20px;
    }
    
    .player-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .player-left {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    
    .player-center {
        width: 100%;
        max-width: none;
    }
    
    .player-right {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }
}

/* Comic / Cartoon Decision Badge Styling */
.comic-choice {
    font-family: 'Luckiest Guy', 'Comic Neue', 'Comic Sans MS', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    color: var(--neon-cyan);
    background: rgba(10, 15, 30, 0.8);
    border: 2px solid #000;
    box-shadow: 3px 3px 0px #000, 0 0 15px rgba(0, 245, 255, 0.25);
    text-shadow: 1.5px 1.5px 0px #000, -1.5px -1.5px 0px #000, 1.5px -1.5px 0px #000, -1.5px 1.5px 0px #000;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    transform: rotate(-1.5deg);
    margin: 4px 6px;
    vertical-align: middle;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-choice:hover {
    transform: rotate(1deg) scale(1.05);
    box-shadow: 4px 4px 0px #000, 0 0 20px rgba(0, 245, 255, 0.4);
    cursor: pointer;
}

/* ── CLIENT PORTAL TABS & STYLES ── */
.portal-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0aec0;
    padding: 12px 18px;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    transition: all 0.3s ease;
    border-bottom: none;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-transform: uppercase;
    text-shadow: 
        0px 1px 0px rgba(0, 245, 255, 0.2),
        0px 2px 0px rgba(0, 245, 255, 0.1),
        0px 3px 5px rgba(0,0,0,0.8);
}

.portal-tab-desc {
    font-size: 0.6rem;
    font-family: 'Inter', sans-serif;
    color: #00e5ff;
    margin-top: 4px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: 0.3s;
    text-shadow: none;
    text-transform: none;
}

.portal-tab-btn:hover .portal-tab-desc,
.portal-tab-btn.active .portal-tab-desc {
    opacity: 1;
    height: 12px;
}

.portal-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-shadow: 
        0px 1px 0px #fff,
        0px 2px 0px var(--neon-cyan),
        0px 3px 0px var(--primary),
        0px 0px 15px var(--neon-cyan);
    transform: translateY(-2px);
}

.portal-tab-btn.active {
    background: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.4);
    color: #fff;
    border-bottom: 2px solid var(--neon-orange);
    text-shadow: 
        0px 1px 0px #fff,
        0px 2px 0px var(--neon-orange),
        0px 0px 20px var(--neon-orange);
}

.portal-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

/* Appointment & PQR Items */
.portal-item-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portal-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
}

.portal-item-card.appointment::before {
    background: var(--neon-lime);
}

.portal-item-card.pqr::before {
    background: var(--neon-orange);
}

.portal-item-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.portal-item-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.portal-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.portal-item-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-pending {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.badge-scheduled {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-lime);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.badge-completed {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

/* ============================================================
   CLIENT PORTAL MODAL & INTERACTIVE COMPONENTS
   ============================================================ */
.portal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.portal-modal.active {
    display: flex;
}

.portal-box {
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 20px;
    width: 95vw;
    max-width: 1100px;
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: visible;
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.2), inset 0 0 15px rgba(0, 245, 255, 0.05);
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

.portal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-header h2 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.45);
}

.portal-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.portal-body {
    flex: 1;
    overflow-y: visible;
    padding: 2rem;
}

.portal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.2);
}

.portal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.portal-close:hover {
    color: var(--neon-orange);
    transform: scale(1.1);
}

/* Form Styles */
.portal-form-group {
    margin-bottom: 1.5rem;
}

.portal-form-group label {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.portal-form-input, .portal-form-select, .portal-form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.portal-form-input:focus, .portal-form-select:focus, .portal-form-textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
}

.portal-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.portal-btn-primary {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.portal-btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.portal-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.portal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.portal-btn-danger {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.4);
    color: #f87171;
}

.portal-btn-danger:hover {
    background: rgba(220, 38, 38, 0.4);
    border-color: #ef4444;
    color: #fff;
    transform: translateY(-2px);
}

/* Membership Badges & Cards */
#membership-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    #membership-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.membership-tier-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.membership-tier-card.active-tier {
    border-color: var(--neon-lime);
    background: rgba(57, 255, 20, 0.04);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.membership-tier-card h3 {
    margin: 0 0 0.5rem 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.membership-status-badge {
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid currentColor;
}

.badge-free {
    color: #a0aec0;
    background: rgba(160, 174, 192, 0.1);
}

.badge-standard {
    color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.1);
}

.badge-premium {
    color: var(--neon-orange);
    background: rgba(255, 140, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

/* Price Preview Section */
.price-preview-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 1.5rem;
}

.price-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-preview-row.total {
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    font-size: 1.15rem;
    font-weight: bold;
}

.price-preview-val {
    font-family: 'Orbitron', monospace;
}

.price-preview-val.discount {
    color: var(--neon-lime);
}

.price-preview-val.final {
    color: var(--neon-lime);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.membership-limit-warning {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    text-align: center;
}



/* ========================================================= */
/* JOE AVATAR ANIMATIONS */
/* ========================================================= */
@keyframes joeBreatheIdle {
    0% { transform: scale(1) translateY(0px) rotate(0deg); filter: brightness(1) drop-shadow(0 0 5px rgba(0, 229, 255, 0.4)); }
    50% { transform: scale(1.03) translateY(-2px) rotate(1deg); filter: brightness(1.1) drop-shadow(0 0 15px rgba(0, 229, 255, 0.8)); }
    100% { transform: scale(1) translateY(0px) rotate(0deg); filter: brightness(1) drop-shadow(0 0 5px rgba(0, 229, 255, 0.4)); }
}

@keyframes joeActiveMic {
    0% { transform: scale(1) translateY(0px) skewX(0deg); box-shadow: 0 0 10px var(--neon-lime); filter: hue-rotate(0deg); }
    25% { transform: scale(1.1) translateY(-3px) skewX(2deg); box-shadow: 0 0 25px var(--neon-lime); filter: hue-rotate(-20deg); }
    50% { transform: scale(1.05) translateY(-1px) skewX(-2deg); box-shadow: 0 0 15px var(--neon-lime); filter: hue-rotate(0deg); }
    75% { transform: scale(1.1) translateY(-3px) skewX(2deg); box-shadow: 0 0 25px var(--neon-lime); filter: hue-rotate(20deg); }
    100% { transform: scale(1) translateY(0px) skewX(0deg); box-shadow: 0 0 10px var(--neon-lime); filter: hue-rotate(0deg); }
}

/* Idle animation for both small avatar and floating trigger */
.joe-trigger img, .joe-avatar-small {
    animation: joeBreatheIdle 4s infinite ease-in-out;
}

/* Listening animation applied dynamically via JS */
.joe-trigger.listening img, .joe-avatar-small.listening {
    animation: joeActiveMic 1.5s infinite ease-in-out !important;
}

/* Microphone button inside Joe Input */
.joe-mic-btn {
    background: none;
    border: none;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.joe-mic-btn:hover {
    color: var(--neon-lime);
    transform: scale(1.2);
}

.joe-mic-btn.active {
    color: var(--neon-lime);
    animation: joeActiveMic 1.5s infinite ease-in-out;
}



/* ========================================================= */
/* SEO & TRUST ELEMENTS */
/* ========================================================= */

.emergency-topbar {
    background: rgba(0, 15, 25, 0.8);
    color: #e0fbfc;
    text-align: center;
    padding: 4px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}
.emergency-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.emergency-call {
    color: var(--neon-cyan);
    text-decoration: none;
    background: transparent;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.emergency-call:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}
.phone-number {
    font-size: 1.1rem;
    font-weight: 800;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.trust-badge {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #e0fbfc;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.service-area-badge {
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #b0e0e6;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   2027 CAMPAIGN BANNER
   ============================================================ */
.campaign-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    background: linear-gradient(90deg, rgba(20, 5, 0, 0.95) 0%, rgba(50, 10, 0, 0.98) 50%, rgba(20, 5, 0, 0.95) 100%);
    border: 1px solid var(--neon-orange);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
    z-index: 10;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
}

.campaign-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.campaign-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.campaign-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.6);
}

@keyframes slideUpAlert {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .campaign-content { flex-direction: column; gap: 10px; }
    .campaign-text { font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════
   BOOKING PANEL — Slides in alongside Joe AI
═══════════════════════════════════════════════════════ */
.booking-panel {
    position: fixed;
    bottom: 100px;
    right: 420px; /* sits to the left of joe-container */
    width: 320px;
    max-height: 80vh;
    background: rgba(5, 10, 28, 0.97);
    border: 1px solid rgba(0, 245, 255, 0.35);
    border-radius: 18px;
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.15), 0 20px 60px rgba(0,0,0,0.7);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(0) scale(1);
    opacity: 1;
}

.booking-panel-hidden {
    transform: translateX(60px) scale(0.92);
    opacity: 0;
    pointer-events: none;
}

.booking-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 245, 255, 0.08);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    gap: 8px;
    flex-wrap: wrap;
}

.booking-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #00f5ff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.booking-panel-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.booking-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f5ff;
    animation: bkPulse 1.4s infinite;
    display: inline-block;
}

@keyframes bkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.booking-panel-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 50%;
    transition: all 0.2s;
    margin-left: auto;
}

.booking-panel-close:hover {
    color: #ff4444;
    background: rgba(255,68,68,0.1);
}

.booking-panel-body {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.booking-label {
    font-size: 0.68rem;
    font-family: 'Orbitron', monospace;
    color: rgba(0, 245, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 8px;
    color: #e2eff5;
    padding: 8px 10px;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: all 0.3s;
    box-sizing: border-box;
}

.booking-input.field-filled {
    border-color: rgba(57, 255, 20, 0.5);
    background: rgba(57, 255, 20, 0.06);
    color: #39ff14;
}

.booking-input.field-filling {
    border-color: rgba(0, 245, 255, 0.6);
    background: rgba(0, 245, 255, 0.07);
    animation: fieldFillPulse 0.6s ease;
}

@keyframes fieldFillPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 12px rgba(0, 245, 255, 0.4); }
    100% { transform: scale(1); }
}

.booking-textarea {
    resize: none;
    min-height: 56px;
}

.booking-progress {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.booking-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f5ff, #39ff14);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.booking-fields-label {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-family: 'Orbitron', monospace;
}

.booking-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, rgba(0,245,255,0.15), rgba(57,255,20,0.15));
    border: 1px solid rgba(57,255,20,0.4);
    border-radius: 10px;
    color: #39ff14;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: not-allowed;
    transition: all 0.3s;
    letter-spacing: 1px;
    opacity: 0.5;
}

.booking-submit-btn:not([disabled]) {
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 0 20px rgba(57,255,20,0.25);
    animation: readyPulse 2s infinite;
}

.booking-submit-btn:not([disabled]):hover {
    background: rgba(57,255,20,0.25);
    box-shadow: 0 0 30px rgba(57,255,20,0.5);
    transform: translateY(-2px);
}

@keyframes readyPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(57,255,20,0.25); }
    50% { box-shadow: 0 0 35px rgba(57,255,20,0.5); }
}

.booking-disclaimer {
    text-align: center;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .booking-panel {
        right: 10px;
        bottom: auto;
        top: 70px;
        width: calc(100vw - 20px);
        max-width: 380px;
    }
}
/* -- PUBLIC CONTACT SECTION -- */
.public-contact-section {
    padding: 4rem 10%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d0f12 100%);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info-col, .contact-form-col {
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.contact-info-col h2, .contact-form-col h2 {
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.contact-info-col p {
    color: #a0aec0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.contact-info-col .highlight {
    color: var(--neon-orange);
    font-weight: bold;
    font-size: 1.4rem;
}
.contact-social-grid {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.contact-social-grid .social-btn {
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.contact-social-grid .social-btn:hover {
    transform: translateY(-3px);
    background: rgba(0,0,0,0.8);
}
.c-form-group {
    margin-bottom: 1.2rem;
}
.c-form-group label {
    display: block;
    color: var(--neon-lime);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.c-form-group input, .c-form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}
.c-form-group input:focus, .c-form-group textarea:focus {
    border-color: var(--neon-cyan);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}
.c-submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}
.c-submit-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile Optimization for Joe Chat */
@media (max-width: 768px) {
    .joe-window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        z-index: 999999 !important;
        margin: 0 !important;
        transform-origin: bottom right !important;
    }
    
    .joe-messages {
        height: calc(100dvh - 140px) !important;
        flex-grow: 1 !important;
    }
    
    .joe-input {
        padding-bottom: 20px !important; /* padding for iOS home bar */
    }
}
