/* --- Global Reset & Variables --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    scroll-behavior: smooth; 
    -webkit-tap-highlight-color: transparent; /* Removes flashing on mobile touches */
}
:root { 
    --bg-dark: #000000; 
    --bg-card: #080808; 
    --text-main: #ffffff; 
    --text-muted: #666666; 
    --border: #1a1a1a; 
    --border-hover: #333333; 
    --vh: 1vh; /* Variable patch for mobile browser address bar calculation flaws */
}
body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; width: 100%; }
body.no-scroll { overflow: hidden; position: fixed; width: 100%; }

.interactive-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, #151515 0%, var(--bg-dark) 60%); z-index: -3; }
#audioParticles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; z-index: -1; }

h1 { font-size: calc(2.8rem + 2vw); font-weight: 700; letter-spacing: -2px; margin-bottom: 20px; line-height: 1.1; }
h2 { font-size: calc(1.8rem + 1vw); font-weight: 600; margin-bottom: 15px; line-height: 1.2; }
p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; }

.gradient-text { background: linear-gradient(270deg, #ffffff 0%, #555555 50%, #ffffff 100%); background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: textGradientPulse 6s ease infinite; }
@keyframes textGradientPulse { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Navigation & Logo Layout */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); height: 75px; }
.logo-container { display: flex; flex-direction: column; align-items: flex-start; z-index: 1002; cursor: pointer; }
.shine-text { font-family: 'Rockwell', 'Courier New', Courier, serif; font-size: 2.2rem; font-weight: 900; letter-spacing: 2px; line-height: 0.9; background: linear-gradient(120deg, #555 0%, #fff 25%, #fff 75%, #555 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: sweepShine 4s linear infinite; }
@keyframes sweepShine { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.logo-sub { font-family: 'Rockwell', 'Courier New', Courier, serif; font-size: 0.65rem; font-weight: 600; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.5px; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 35px; }
.nav-links a, .cart-icon { color: var(--text-main); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; cursor: pointer; padding: 10px 0; display: inline-block; }
.nav-links a:hover, .cart-icon:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Buttons & Touch-Ready Controls */
.glass-btn { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.glass-btn:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-3px); box-shadow: 0 0 25px rgba(255, 255, 255, 0.3); }
.cta-btn { display: inline-flex; padding: 16px 35px; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; border-radius: 4px; text-decoration: none; text-align: center; }
.nav-auth { padding: 8px 18px; border-radius: 4px; text-decoration: none;}

/* Profile Components */
.nav-auth-item { position: relative; }
.avatar-circle { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; color: #fff; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; }

/* Hamburger Menu Switch */
.burger { display: none; cursor: pointer; z-index: 1002; padding: 10px; margin-right: -10px; }
.burger div { width: 25px; height: 2px; background-color: var(--text-main); margin: 6px 0; transition: all 0.3s ease; }

/* Hero Frame Positioning */
.discover-anim { animation: floatPulse 3s ease-in-out infinite; }
@keyframes floatPulse { 0% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(255,255,255,0.1); } 50% { transform: translateY(-6px) scale(1.02); box-shadow: 0 0 25px rgba(255, 255, 255, 0.3); } 100% { transform: translateY(0) scale(1); box-shadow: 0 0 10px rgba(255,255,255,0.1); } }
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 24px 60px; }
.hero-tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: #fff; text-shadow: 0 0 10px #fff; margin-bottom: 15px; display: block; line-height: 1.4; }
.hero p { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Marquee Pipeline */
.marquee-container { display: flex; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); width: 100%; }
.marquee-content { flex-shrink: 0; display: flex; min-width: 100%; white-space: nowrap; animation: scrollMarquee 25s linear infinite; font-size: 0.75rem; letter-spacing: 3px; font-weight: 600; color: #777; }
.marquee-content span { margin-right: 40px; }
@keyframes scrollMarquee { from { transform: translateX(0%); } to { transform: translateX(-100%); } }

/* Architecture Product Cards */
.products { display: flex; flex-direction: column; align-items: center; padding: 100px 24px; text-align: center; width: 100%; }
.section-title { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 50px; color: #fff; line-height: 1.3; }
.product-grid { display: flex; justify-content: center; width: 100%; max-width: 480px; margin: 0 auto; }
.product-card { position: relative; overflow: hidden; background: rgba(10,10,10,0.4); backdrop-filter: blur(10px); padding: 35px 24px; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); text-align: left; width: 100%; }
.product-card:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-5px); box-shadow: 0 0 35px rgba(255,255,255,0.2); }

.status-ribbon { position: absolute; top: 15px; right: 15px; padding: 5px 12px; background: rgba(255,255,255,0.1); border: 1px solid #fff; color: #fff; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; border-radius: 2px; z-index: 5; }
.card-pricing-footer { display: flex; gap: 15px; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.strike-val { font-size: 0.95rem; color: #555; text-decoration: line-through; }
.promo-val { font-size: 1.35rem; color: #fff; font-weight: bold; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.product-image { width: 100%; height: 240px; background: rgba(0,0,0,0.3); margin-bottom: 25px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; }
.monitor-detail { width: 110px; height: 165px; background: #050505; border: 1px solid #1c1c1c; position: relative; transition: transform 0.6s; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); }
.monitor-detail::before { content: ''; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 74px; height: 74px; background: #000; border: 1px solid #222; border-radius: 50%; }
.monitor-detail::after { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; background: #000; border: 1px solid #222; border-radius: 50%; }
.product-card h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 500; letter-spacing: 1px; }

/* Overlaid Systems & Adaptive Containers */
.auth-modal, .product-modal, .checkout-portal, .profile-modal, .cart-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: calc(var(--vh, 1vh) * 100); display: flex; align-items: center; justify-content: center; z-index: 3000; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; padding: 16px; }
.auth-modal.active, .product-modal.active, .checkout-portal.active, .profile-modal.active, .cart-modal.active { opacity: 1; pointer-events: auto; }
.modal-overlay, .p-modal-overlay, .checkout-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.glass-panel { position: relative; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 2px solid rgba(255, 255, 255, 0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.7); border-radius: 12px; z-index: 2; width: 100%; display: flex; flex-direction: column; }
.modal-content { max-width: 440px; padding: 40px 24px; max-height: calc(100vh - 40px); max-height: calc((var(--vh, 1vh) * 100) - 40px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.p-modal-content { max-width: 950px; max-height: calc(100vh - 40px); max-height: calc((var(--vh, 1vh) * 100) - 40px); overflow: hidden; border-radius: 12px; }

/* Large Close Handles for Mobile Touch Accuracy */
.close-btn, .p-close-btn { position: absolute; top: 12px; right: 16px; font-size: 2.2rem; line-height: 1; color: rgba(255,255,255,0.4); cursor: pointer; z-index: 10; padding: 8px; transition: color 0.3s; }
.close-btn:hover, .p-close-btn:hover { color: #fff; }

/* In-Modal Text Frameworks */
.pricing-tier-box { margin-bottom: 20px; padding: 15px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; }
.p-price-strike { font-size: 0.9rem; color: #555; text-decoration: line-through; margin-bottom: 5px; }
.p-price-promo { font-size: 1.45rem; color: #fff; font-weight: bold; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.highlight-tag { font-size: 0.7rem; padding: 3px 8px; background: #fff; color: #000; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.dispatch-warning-box, .dispatch-notice { padding: 15px; background: rgba(255,255,255,0.03); border-left: 2px solid #fff; font-size: 0.85rem; color: #aaa; line-height: 1.5; }

/* Form Control Optimization */
.input-group { position: relative; margin-bottom: 25px; }
.input-group input { width: 100%; padding: 12px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1rem; outline: none; transition: 0.3s; border-radius: 0; }
.input-group label { position: absolute; top: 12px; left: 0; color: #888; pointer-events: none; transition: all 0.3s ease; font-size: 1rem; }
.input-group input:focus ~ label, .input-group input:valid ~ label { top: -14px; font-size: 0.8rem; color: #fff; }
.input-group input:focus { border-bottom-color: #fff; }
.glass-select { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 12px; border-radius: 4px; outline: none; min-height: 44px; font-size: 0.95rem; -webkit-appearance: none; appearance: none; }

.p-modal-body { display: flex; width: 100%; height: 100%; overflow: hidden; }
.p-modal-left { flex: 1; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,0.1); padding: 40px; }
.p-modal-right { flex: 1.2; padding: 45px 35px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.p-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px; color: #aaa; display: block; margin-bottom: 8px; }
.p-desc { font-size: 0.95rem; margin-bottom: 20px; }
.p-specs-box { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 25px;}
.p-specs-box h3, .profile-section h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin-bottom: 15px; }
.p-specs-box li { font-size: 0.85rem; color: #ccc; margin-bottom: 12px; display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 6px; gap: 10px; }
.p-specs-box li span { text-align: left; color: #888; }
.p-specs-box li strong { text-align: right; font-weight: normal; color: #fff; }

/* Structural Dynamic Checkouts */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px;}
.data-list { list-style: none; max-height: 140px; overflow-y: auto; }
.data-list li { background: rgba(255,255,255,0.03); padding: 12px; margin-bottom: 10px; border-radius: 4px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.08); line-height: 1.4; }
.cart-items { max-height: 260px; overflow-y: auto; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; -webkit-overflow-scrolling: touch;}
.cart-item { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 14px 0; font-size: 0.95rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: bold; border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 15px;}

.checkout-content { width: 100%; max-width: 880px; max-height: calc(100vh - 40px); max-height: calc((var(--vh, 1vh) * 100) - 40px); overflow-y: auto; padding: 45px 35px; -webkit-overflow-scrolling: touch; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.checkout-left h2 { font-size: 1.8rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; margin-bottom: 25px; }
.order-summary { background: rgba(0,0,0,0.25); padding: 24px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.order-item, .order-total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: #bbb; gap: 10px; }
.order-total { margin-top: 20px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.2); color: #fff; font-weight: bold; font-size: 1.15rem; }
.row-inputs { display: flex; gap: 16px; } .row-inputs .input-group { flex: 1; }

.philosophy { padding: 100px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); }
.philosophy-content { max-width: 650px; margin: 0 auto; }
.footer { padding: 80px 24px 40px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 50px; text-align: left; }
.footer-col h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 3px; color: #fff; margin-bottom: 20px; }
.social-links { list-style: none; } .social-links li { margin-bottom: 12px; } .social-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.social-links a:hover { color: #fff; }
.feedback-form { display: flex; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 5px; align-items: center;}
.feedback-form input { background: transparent; border: none; color: #fff; font-size: 0.95rem; outline: none; flex: 1; padding: 8px 0; }
.copyright { text-align: center; font-size: 0.75rem; color: #555; letter-spacing: 1px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }

.fade-in, .slide-up { opacity: 0; transform: translateY(20px); transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); } 
.fade-in.appear, .slide-up.appear { opacity: 1; transform: translateY(0); }

/* --- High-Fidelity Mobile and Tablet Adaptive Queries --- */
@media screen and (max-width: 850px) {
    h1 { font-size: 2.5rem; letter-spacing: -1px; }
    .navbar { height: 65px; padding: 10px 20px; }
    .logo-main { font-size: 1.7rem; }
    
    /* Navigation Drawer configuration */
    .nav-links { 
        position: fixed; 
        right: 0; 
        top: 0; 
        height: 100vh; 
        height: calc(var(--vh, 1vh) * 100);
        width: 280px; 
        background: rgba(5, 5, 5, 0.96); 
        backdrop-filter: blur(25px); 
        -webkit-backdrop-filter: blur(25px);
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
        justify-content: flex-start; 
        padding: 100px 40px;
        transform: translateX(100%); 
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
        z-index: 1001; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.nav-active { transform: translateX(0); } 
    .nav-links li { margin: 15px 0; width: 100%; } 
    .nav-links a, .cart-icon { font-size: 1rem; width: 100%; display: block; }
    .nav-auth-item { margin-top: 15px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); }
    .burger { display: block; }
    
    /* Active Burger Toggle State */
    .burger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .burger.toggle .line2 { opacity: 0; }
    .burger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

    /* Modal Layout Collapse Strategy */
    .p-modal-content, .checkout-content { max-height: calc(100vh - 30px); max-height: calc((var(--vh, 1vh) * 100) - 30px); border-radius: 8px; }
    .p-modal-body { flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .p-modal-left { min-height: 220px; padding: 30px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .p-modal-img-frame .monitor-detail { transform: scale(1.1); }
    .p-modal-right { padding: 30px 20px; overflow-y: visible; }
    
    .checkout-grid, .profile-grid { grid-template-columns: 1fr; gap: 24px; } 
    .checkout-content { padding: 35px 20px; }
    .checkout-left h2 { font-size: 1.5rem; margin-bottom: 20px; }
}

@media screen and (max-width: 480px) {
    h1 { font-size: 2.1rem; }
    .hero { padding-top: 90px; }
    .product-card { padding: 25px 16px; }
    .modal-content { padding: 35px 16px; }
    .p-modal-right { padding: 25px 16px; }
    .checkout-content { padding: 35px 16px; }
    .row-inputs { flex-direction: column; gap: 0; }
    .p-price-promo { font-size: 1.25rem; }
}