@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN TOKENS: Neon Fluidity
   ========================================== */
:root {
    --bg-base: #0B0F19; 
    --bg-surface: #131826;
    --text-primary: #F4F3ED;
    --text-muted: #8B9BB4;
    --neon-cyan: #00FFFF;
    --neon-purple: #B200FF;
    --neon-blue: #40E0D0;
    
    --glass-bg: rgba(19, 24, 38, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.12);
    
    --font-main: 'Jost', sans-serif;
    --header-height: 90px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   GLOBAL UTILS
   ========================================== */
.relative-z { position: relative; z-index: 10; }
.section-title { 
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; 
    margin-bottom: 60px; text-transform: uppercase; letter-spacing: 1px;
}
.neon-text { color: var(--text-primary); text-shadow: 0 0 10px rgba(0, 255, 255, 0.4); }
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 15px rgba(0, 255, 255, 0.3); }
.neon-purple { color: var(--neon-purple); text-shadow: 0 0 15px rgba(178, 0, 255, 0.3); }
.neon-blue { color: var(--neon-blue); text-shadow: 0 0 15px rgba(64, 224, 208, 0.3); }

/* Glassmorphism System */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

/* ==========================================
   AMBIENT BACKGROUND GLOW
   ========================================== */
.ambient-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    overflow: hidden; z-index: 0; pointer-events: none;
}
.glow-orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.3;
    animation: float 10s ease-in-out infinite alternate;
}
.orb-cyan { width: 50vw; height: 50vw; background: var(--neon-cyan); top: -10%; left: -10%; }
.orb-purple { width: 40vw; height: 40vw; background: var(--neon-purple); bottom: -20%; right: -10%; animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 10%) scale(1.1); } }

/* ==========================================
   HEADER
   ========================================== */
.uupm-header { height: var(--header-height); position: sticky; top: 0; z-index: 1000; }
.glass-header { background: rgba(11, 15, 25, 0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-border); }
.header-container { max-width: 1400px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; cursor: pointer; display: flex; align-items: center; gap: 8px;}
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link {
    text-decoration: none; color: var(--text-primary); font-weight: 500; font-size: 1rem;
    text-transform: uppercase; background: none; border: none; cursor: pointer;
    transition: var(--transition); position: relative; padding: 8px 0;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); transition: var(--transition);
}
.nav-link:hover { color: var(--neon-cyan); }
.nav-link:hover::after { width: 100%; }
.hamburger { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; min-width: 44px; min-height: 44px; }

.lang-switcher { display: flex; gap: 5px; margin-left: 20px; }
.lang-btn {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-muted);
    font-family: var(--font-main); font-weight: 500; font-size: 0.9rem; cursor: pointer;
    padding: 6px 12px; border-radius: 20px; transition: var(--transition);
}
.lang-btn:hover { color: var(--text-primary); border-color: var(--neon-cyan); }
.lang-btn.active {
    background: rgba(0, 255, 255, 0.1); color: var(--neon-cyan);
    border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* ==========================================
   HERO
   ========================================== */
.uupm-hero { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; padding: 60px 5%; }
.hero-grid { max-width: 1400px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 30px; background: linear-gradient(to right, #FFF, var(--neon-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: 1.2rem; font-weight: 300; max-width: 550px; margin-bottom: 40px; color: var(--text-muted); line-height: 1.6; }
.hero-checklist { list-style: none; margin-bottom: 40px; }
.check-item { font-size: 1.1rem; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; }
.check-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--neon-cyan); filter: drop-shadow(0 0 5px rgba(0,255,255,0.5)); margin-top: 2px; }

.btn-neon {
    display: inline-flex; justify-content: center; align-items: center; font-weight: 600; font-size: 1.1rem;
    text-transform: uppercase; text-decoration: none; cursor: pointer; transition: var(--transition);
    border-radius: 30px; letter-spacing: 1px; padding: 18px 40px; min-width: 44px; min-height: 44px;
}
.btn-neon.primary {
    background: transparent; color: var(--neon-cyan); border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2), inset 0 0 15px rgba(0, 255, 255, 0.1);
}
.btn-neon.primary:hover { background: var(--neon-cyan); color: var(--bg-base); box-shadow: 0 0 25px rgba(0, 255, 255, 0.5); transform: translateY(-2px); }

.photo-wrapper-neon { position: relative; width: 100%; max-width: 450px; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border); margin: 0 auto; }
.photo-glow { position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(0,0,0,0.8); border-radius: 20px; pointer-events: none; z-index: 3; }
.hero-photo-neon { width: 100%; height: 100%; object-fit: cover; filter: grayscale(80%) contrast(1.1) brightness(0.9); transition: var(--transition); }
.photo-wrapper-neon:hover .hero-photo-neon { filter: grayscale(0%) contrast(1) brightness(1); transform: scale(1.02); }

/* ==========================================
   PORTFOLIO
   ========================================== */
.uupm-portfolio { padding: 100px 5%; }
.portfolio-container { max-width: 1400px; margin: 0 auto; }
.portfolio-grid { display: grid; gap: 30px; }
.portfolio-card { padding: 50px; display: flex; align-items: center; cursor: pointer; }
.portfolio-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.card-glow-bg { position: absolute; top: 50%; left: 10%; width: 150px; height: 150px; border-radius: 50%; filter: blur(80px); opacity: 0; transition: var(--transition); z-index: 0; pointer-events: none; }
.portfolio-card:hover .card-glow-bg { opacity: 0.15; }
.cyan-glow { background: var(--neon-cyan); } .purple-glow { background: var(--neon-purple); } .blue-glow { background: var(--neon-blue); }
.card-number { font-size: clamp(4rem, 8vw, 6rem); font-weight: 700; line-height: 1; margin-right: 60px; z-index: 1; font-family: monospace; }
.card-content { display: flex; justify-content: space-between; align-items: center; width: 100%; z-index: 1; }
.card-label { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; color: var(--text-primary); transition: var(--transition); }
.card-arrow { width: 48px; height: 48px; color: var(--text-muted); transition: var(--transition); }
.portfolio-card:hover .card-label, .portfolio-card:hover .card-arrow { color: var(--text-primary); }
.portfolio-card:hover .card-arrow { transform: translate(5px, -5px); }

/* ==========================================
   SERVICES
   ========================================== */
.uupm-services { padding: 100px 5%; }
.services-container { max-width: 1400px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); }
.card-header { padding: 40px 40px 20px; }
.service-icon { width: 48px; height: 48px; margin-bottom: 24px; filter: drop-shadow(0 0 10px currentColor); }
.service-icon svg { width: 100%; height: 100%; }
.card-header h3 { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
.card-body { padding: 0 40px 40px; flex-grow: 1; display: flex; flex-direction: column; gap: 24px; }
.service-item { position: relative; padding-left: 20px; }
.service-item::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background-color: var(--neon-cyan); box-shadow: 0 0 5px var(--neon-cyan); }
.service-item h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.service-item p { font-size: 1rem; font-weight: 300; color: var(--text-muted); }
.card-footer { padding: 0 40px 40px; margin-top: auto; }
.btn-service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--neon-cyan); text-transform: uppercase; text-decoration: none; font-size: 1rem; transition: var(--transition); }
.btn-service-link::after { content: '→'; font-size: 1.2rem; transition: transform 0.3s ease; }
.btn-service-link:hover { color: var(--text-primary); text-shadow: 0 0 8px rgba(255,255,255,0.5); }
.btn-service-link:hover::after { transform: translateX(5px); }

/* ==========================================
   CONTACT
   ========================================== */
.uupm-contact { padding: 100px 5%; }
.contact-container { max-width: 1400px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; padding: 0; }
.contact-info { padding: 60px; border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; justify-content: center; }
.contact-title { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; line-height: 1; margin-bottom: 30px; }
.contact-text { font-size: 1.2rem; font-weight: 300; color: var(--text-muted); max-width: 500px; margin-bottom: 40px; }
.contact-socials { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.social-box {
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; color: var(--text-muted);
    border-bottom: 1px solid var(--glass-border); border-right: 1px solid var(--glass-border);
    transition: var(--transition); position: relative;
}
.social-box:nth-child(even) { border-right: none; }
.social-box:nth-child(3), .social-box:nth-child(4) { border-bottom: none; }
.social-box::before {
    content: ''; position: absolute; inset: 0; background: var(--neon-cyan); opacity: 0; transition: var(--transition); z-index: 0;
}
.social-box:hover { color: var(--bg-base); }
.social-box:hover::before { opacity: 1; box-shadow: 0 0 20px var(--neon-cyan); }
.social-box span { position: relative; z-index: 1; }

/* ==========================================
   FOOTER
   ========================================== */
.uupm-footer { padding: 60px 5% 30px; border-top: 1px solid var(--glass-border); background: var(--bg-surface); }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid var(--glass-border); flex-wrap: wrap; gap: 40px; }
.footer-brand { font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 15px; }
.footer-bottom { padding-top: 30px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================
   POP-UPS (Glassmorphism Modal)
   ========================================== */
.uupm-popup { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.uupm-popup.active { display: flex; }
.popup-overlay { position: absolute; inset: 0; background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(5px); }
.popup-content { 
    position: relative; width: 100%; max-width: 1200px; max-height: 90vh; 
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.popup-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; border-bottom: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); }
.popup-header h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.close-btn { background: transparent; color: var(--text-primary); border: 1px solid var(--glass-border); border-radius: 50%; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.close-btn:hover { background: rgba(255,255,255,0.1); color: var(--neon-cyan); border-color: var(--neon-cyan); }

/* Popup Layouts */
.dooh-layout { display: grid; grid-template-columns: 1.5fr 1fr; overflow-y: auto; }
.video-block { padding: 40px; border-right: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); }
.video-vertical { width: auto; max-width: 100%; height: auto; max-height: 70vh; aspect-ratio: 9/16; border-radius: 12px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.categories-block { padding: 40px; overflow-y: auto; }
.sidebar-title { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 20px; }
.category-item { border-bottom: 1px solid var(--glass-border); }
.category-trigger { width: 100%; text-align: left; padding: 20px 0; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: var(--text-primary); cursor: pointer; display: flex; justify-content: space-between; }
.category-dropdown { display: none; flex-direction: column; padding-bottom: 20px; }
.category-item.active .category-dropdown { display: flex; }
.category-item.active .toggle-icon { transform: rotate(45deg); color: var(--neon-cyan); }
.category-dropdown a { color: var(--text-muted); text-decoration: none; padding: 10px 0 10px 15px; font-size: 1rem; border-left: 2px solid transparent; transition: 0.2s; }
.category-dropdown a:hover { color: var(--neon-cyan); border-left-color: var(--neon-cyan); background: rgba(0,255,255,0.05); }

/* Mixed & Carousels */
.mixed-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 40px; overflow-y: auto; }
.gallery-item { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 4/3; }
.carousel-container { position: relative; width: 100%; max-width: 400px; margin: 40px auto; overflow: hidden; border-radius: 12px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.carousel-track { display: flex; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.carousel-slide { min-width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(11,15,25,0.8); color: var(--text-primary); border: 1px solid var(--glass-border); border-radius: 50%; width: 44px; height: 44px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); transition: var(--transition); }
.carousel-btn:hover { background: var(--neon-purple); border-color: var(--neon-purple); }
.carousel-btn.prev { left: 10px; } .carousel-btn.next { right: 10px; }

.legal-content { max-width: 800px; margin: 0 auto; }
.legal-text-body { padding: 40px; font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); overflow-y: auto; }
.legal-text-body h3 { color: var(--text-primary); margin-top: 20px; margin-bottom: 10px; }

/* ANIMATIONS (Scroll Reveal) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.reveal-slide-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.reveal-slide-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.reveal-slide-left.active, .reveal-slide-right.active { opacity: 1; transform: translateX(0); }

/* ==========================================
   RESPONSIVE DESIGN (Mobile First adjustments)
   ========================================== */
@media (max-width: 1024px) {
    .hamburger { display: block; }
    .nav-menu { 
        display: flex; flex-direction: column; position: absolute; top: var(--header-height); 
        left: 0; width: 100%; background: rgba(11, 15, 25, 0.95); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border); padding: 20px 5% 40px; gap: 20px;
        transform: translateY(-150%); transition: var(--transition); opacity: 0; pointer-events: none;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: all; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-checklist { text-align: left; display: inline-block; }
    .hero-actions { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-card { padding: 30px; flex-direction: column; align-items: flex-start; }
    .card-number { margin-bottom: 15px; }
    .card-content { flex-direction: row; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 40px 5%; text-align: center; }
    .contact-text { margin: 0 auto 40px; }
    .social-box { padding: 30px 0; }
    .dooh-layout { grid-template-columns: 1fr; }
    .video-block { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 20px; }
    .uupm-popup { padding: 20px; }
    .footer-grid { flex-direction: column; align-items: center; text-align: center; }
}