/* Contact Us (post 220) consolidated styles.
 * Extracted from inline <style> blocks during Phase 1C.
 */

/* =================================================================
   Block 1 - extracted from post 220 (contact-us)
   ================================================================= */
/* --- Hide the real CF7 form (the retro terminal UI proxies into it) --- */
        .traxx-hidden-form {
            display: none !important;
        }

        /* Defense-in-depth honeypot hide: even if a bot ignores
           the parent display:none, this field is off-screen,
           non-tabbable from the user's perspective, and has no
           visible target. Real visitors never see it. */
        .traxx-honeypot {
            position: absolute !important;
            left: -10000px !important;
            top: auto !important;
            width: 1px !important;
            height: 1px !important;
            overflow: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* --- Brand & Theme Variables --- */
        :root {
            --traxx-bg: #000000; 
            --traxx-text: #cbd5e1;
            --traxx-cyan: #00d2ff;
            --traxx-blue-dark: #0284c7; 
            --traxx-yellow: #ffc400;
            --traxx-gradient: linear-gradient(90deg, var(--traxx-blue-dark) 0%, var(--traxx-cyan) 100%);
            
            /* Hyper-Realistic 90s Computer Colors */
            --pc-base: #dcd7cb;
            --pc-highlight: #f4f0e6;
            --pc-shadow1: #c4bfae;
            --pc-shadow2: #a39e8e;
            --pc-bezel: #2a2c2e;
            --pc-bezel-glow: #3f4245;
            
            /* CRT Screen Colors */
            --term-bg: #051005;
            --term-green: #33ff33;
            --term-green-dim: #1ea81e;
            --term-glow: 0 0 4px rgba(51, 255, 51, 0.4);
            --term-font: 'Fira Code', monospace;
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            background-color: var(--traxx-bg);
            color: var(--traxx-text);
            overflow-x: hidden;
        }

        /* --- Grid Layout & Animations --- */
        .contact-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 80px 20px 100px 20px;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 50px;
            align-items: center;
            overflow: visible;
        }

        .contact-container .page-content,
        .contact-container .computer-workspace {
            position: relative;
            z-index: 2;
        }

        @keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes slideInRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
        .slide-left { animation: slideInLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
        .slide-right { animation: slideInRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

        /* --- Left Column: Content --- */
        .page-content h1 {
            color: #ffffff;
            font-size: clamp(40px, 5vw, 56px);
            margin: 0 0 10px 0;
            letter-spacing: -2px;
            font-weight: 900;
            text-transform: uppercase;
        }

        .traxx-divider {
            width: 60px;
            height: 4px;
            background: var(--traxx-gradient);
            margin: 20px 0;
            border-radius: 2px;
        }

        .page-content h3 {
            color: #ffffff;
            font-size: clamp(18px, 2.5vw, 22px);
            margin: 0 0 20px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 800;
        }

        .page-content p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: #cbd5e1;
            margin-bottom: 40px;
        }

        .contact-info-list { list-style: none; padding: 0; margin: 0; }
        .contact-info-list li { font-size: 1.1rem; color: #ffffff; margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-weight: 600; }
        .contact-info-list i { color: var(--traxx-yellow); font-size: 20px; width: 25px; text-align: center; }

        /* --- Right Column: 3D Computer Setup --- */
        .computer-workspace {
            perspective: 1500px;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .retro-setup {
            width: 100%;
            max-width: 600px;
            position: relative;
            transform: rotateY(-12deg) rotateX(4deg);
            transform-style: preserve-3d;
            transition: transform 0.4s ease;
        }
        .retro-setup:hover { transform: rotateY(-8deg) rotateX(2deg); }

        /* 1. Realistic Monitor Housing */
        .monitor-housing {
            background: linear-gradient(135deg, var(--pc-highlight) 0%, var(--pc-base) 50%, var(--pc-shadow1) 100%);
            width: 100%;
            border-radius: 20px 20px 15px 15px;
            padding: 30px 30px 45px 30px;
            box-sizing: border-box;
            box-shadow: 
                inset 2px 2px 5px rgba(255,255,255,0.8),
                inset -5px -5px 15px rgba(0,0,0,0.2),
                20px 30px 50px rgba(0,0,0,0.9);
            position: relative;
            z-index: 2;
        }

        .monitor-badge {
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Inter', sans-serif;
            font-weight: 800;
            font-size: 10px;
            color: #222;
            letter-spacing: 1.5px;
            background: linear-gradient(to bottom, #e2e2e2, #999999);
            padding: 3px 10px;
            border-radius: 2px;
            border: 1px solid #777;
            box-shadow: 1px 1px 2px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.7);
            text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
        }

        /* 2. Inner Plastic Bezel */
        .monitor-bezel {
            background: linear-gradient(135deg, var(--pc-bezel-glow) 0%, var(--pc-bezel) 100%);
            border-radius: 12px;
            padding: 25px;
            box-shadow: inset 0 0 25px rgba(0,0,0,1), 0 2px 1px rgba(255,255,255,0.3);
            position: relative;
        }

        /* 3. Curved CRT Screen */
        .crt-screen {
            background-color: var(--term-bg);
            border-radius: 10px;
            height: 350px; 
            position: relative;
            overflow: hidden;
            box-shadow: inset 0 0 50px rgba(0,0,0,1);
            padding: 25px;
            box-sizing: border-box;
            font-family: var(--term-font);
            color: var(--term-green);
            text-shadow: var(--term-glow);
            transition: all 0.2s ease;
        }

        .crt-screen::before {
            content: "";
            position: absolute;
            top: 0; left: 0; bottom: 0; right: 0;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            background-size: 100% 4px, 6px 100%;
            z-index: 10;
            pointer-events: none;
            border-radius: 50% / 10%;
        }
        .crt-screen::after {
            content: "";
            position: absolute;
            top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 40%);
            pointer-events: none;
            z-index: 11;
        }

        /* 4. Monitor Base */
        .monitor-base {
            background: linear-gradient(to right, var(--pc-shadow1), var(--pc-shadow2));
            width: 200px;
            height: 30px;
            clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
            margin: -5px auto 0 auto;
            position: relative;
            z-index: 1;
            border-bottom: 2px solid var(--pc-shadow2);
        }

        /* 5. Horizontal Desktop Tower */
        .desktop-tower {
            background: linear-gradient(to bottom, var(--pc-highlight) 0%, var(--pc-base) 15%, var(--pc-shadow1) 100%);
            width: 108%;
            height: 100px;
            border-radius: 4px;
            margin: -2px 0 0 -4%;
            position: relative;
            z-index: 0;
            box-shadow: 25px 35px 50px rgba(0,0,0,0.9), inset 1px 1px 2px rgba(255,255,255,0.5);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 40px;
            box-sizing: border-box;
            border-bottom: 4px solid var(--pc-shadow2);
            border-right: 3px solid var(--pc-shadow2);
        }

        .tower-left { display: flex; gap: 30px; align-items: center; position: relative; width: 100%;}
        
        .tower-vents { display: flex; flex-direction: column; gap: 6px; position: relative; }
        .vent { width: 70px; height: 4px; background-color: #777; border-radius: 2px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.4); }
        
        .floppy-drive { width: 110px; height: 32px; background: #1a1a1a; border-radius: 3px; position: relative; border: 2px solid var(--pc-shadow1); border-top-color: var(--pc-shadow2); box-shadow: inset 0 2px 5px rgba(0,0,0,1); }
        .floppy-slot { position: absolute; top: 12px; left: 10px; width: 75px; height: 3px; background-color: #000; box-shadow: inset 0 1px 2px rgba(0,0,0,1); }
        .floppy-led { position: absolute; bottom: 4px; left: 10px; width: 6px; height: 3px; background-color: #1ea81e; opacity: 0.4;}
        .floppy-eject { position: absolute; bottom: 3px; right: 8px; width: 12px; height: 6px; background-color: var(--pc-base); border-radius: 1px; box-shadow: 1px 1px 2px rgba(0,0,0,0.5);}

        .oem-badge { background-color: #004385; color: #ffffff; font-family: 'Arial Black', sans-serif; font-size: 10px; font-weight: bold; letter-spacing: 1px; padding: 3px 8px; border-radius: 2px; border: 1px solid #002244; box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), 1px 1px 3px rgba(0,0,0,0.4); text-transform: uppercase; background-image: repeating-linear-gradient(to bottom, transparent, transparent 1px, rgba(0,0,0,0.2) 1px, rgba(0,0,0,0.2) 2px); }

        /* Power Panel */
        .power-button-area { z-index: 20; cursor: pointer; }
        .power-panel { background: var(--pc-shadow1); padding: 8px 15px; border-radius: 4px; box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5), inset -1px -1px 2px rgba(255,255,255,0.5); display: flex; align-items: center; gap: 12px; }
        .power-button { width: 24px; height: 24px; background: linear-gradient(135deg, var(--pc-highlight), var(--pc-base)); border-radius: 50%; border: 1px solid var(--pc-shadow2); box-shadow: 2px 2px 4px rgba(0,0,0,0.4), inset -2px -2px 4px rgba(0,0,0,0.2); transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
        .power-button i { font-size: 10px; color: #777; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 0.15s; }
        .power-button.pressed { transform: scale(0.9) translateY(1px); box-shadow: inset 3px 3px 6px rgba(0,0,0,0.6); }
        .power-led { width: 8px; height: 8px; background-color: var(--term-green); border-radius: 50%; box-shadow: 0 0 8px var(--term-green); transition: background-color 0.1s, box-shadow 0.1s; }
        .power-led.is-off { background-color: #222 !important; box-shadow: inset 1px 1px 3px rgba(0,0,0,0.8) !important; animation: none !important; }

        /* --- Terminal Formatting & UI Scrollbar --- */
        .terminal-content { font-family: var(--term-font); color: var(--term-green); font-size: 13px; height: 100%; display: flex; flex-direction: column; position: relative; z-index: 15; }
        
        .term-history { 
            overflow-y: auto; 
            overflow-x: hidden;
            flex-grow: 1; 
            display: flex; 
            flex-direction: column; 
            gap: 6px; 
            padding-bottom: 10px; 
            padding-right: 5px;
        }
        
        /* Custom UI Retro Scrollbar */
        .term-history::-webkit-scrollbar { width: 6px; display: block; }
        .term-history::-webkit-scrollbar-track { background: rgba(51, 255, 51, 0.05); border-radius: 3px; }
        .term-history::-webkit-scrollbar-thumb { background: rgba(51, 255, 51, 0.3); border-radius: 3px; }
        .term-history::-webkit-scrollbar-thumb:hover { background: rgba(51, 255, 51, 0.6); }

        /* FIXED: Force long unbreakable strings (like filenames) to wrap and not break the flexbox width */
        .term-line { 
            line-height: 1.5; 
            white-space: pre-wrap;
            overflow-wrap: anywhere; 
            word-break: break-word; 
        }

        .sys-msg { color: var(--traxx-yellow); text-shadow: 0 0 5px rgba(255, 196, 0, 0.5); font-weight: bold; }
        .sys-err { color: #ff3333; text-shadow: 0 0 5px rgba(255, 51, 51, 0.6); font-weight: bold; }

        .input-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            padding: 6px 10px;
            flex-wrap: wrap;
            background: rgba(51, 255, 51, 0.04);
            border: 1px solid rgba(51, 255, 51, 0.35);
            border-radius: 3px;
            box-shadow:
                inset 0 0 6px rgba(51, 255, 51, 0.12),
                0 0 4px rgba(51, 255, 51, 0.15);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }
        .input-wrapper:focus-within {
            background: rgba(51, 255, 51, 0.08);
            border-color: var(--term-green);
            box-shadow:
                inset 0 0 8px rgba(51, 255, 51, 0.2),
                0 0 8px rgba(51, 255, 51, 0.4);
        }
        .term-prompt { font-weight: 700; white-space: nowrap; color: var(--traxx-yellow); text-shadow: 0 0 5px rgba(255, 196, 0, 0.5); }

        .term-input { background: transparent; border: none; color: var(--term-green); font-family: var(--term-font); font-size: 13px; flex-grow: 1; min-width: 100px; outline: none; text-shadow: var(--term-glow); caret-color: var(--term-green); }
        .term-input:disabled { opacity: 0.8; }

        .cli-controls { display: flex; gap: 15px; margin-top: 15px; border-top: 1px dashed rgba(255, 196, 0, 0.4); padding-top: 10px; }
        .cli-btn { color: var(--term-bg); background-color: var(--traxx-yellow); padding: 2px 10px; cursor: pointer; font-weight: 700; transition: all 0.2s; box-shadow: 0 0 5px rgba(255, 196, 0, 0.4); }
        .cli-btn:hover { background-color: #fff; box-shadow: 0 0 10px rgba(255, 196, 0, 0.8); }
        .cli-btn.disabled { opacity: 0.2; pointer-events: none; background-color: transparent; color: var(--traxx-yellow); border: 1px solid var(--traxx-yellow); box-shadow: none; }

        /* --- THE HARDWARE FAILURE --- */
        .crack-overlay { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 100 0 L 120 60 L 80 120 L 160 200 L 140 280 L 220 340 M 80 120 L 20 140 M 160 200 L 260 180 L 340 240' stroke='%23ffffff' stroke-width='1.5' fill='none' opacity='0.7'/%3E%3Cpath d='M 102 0 L 122 60 L 82 120 L 162 200 L 142 280 L 222 340 M 82 120 L 22 140 M 162 200 L 262 180 L 342 240' stroke='%23000000' stroke-width='2.5' fill='none' opacity='0.9'/%3E%3C/svg%3E"); background-size: cover; z-index: 50; pointer-events: none; }
        .smoke-particle { position: absolute; bottom: 10px; left: 20px; width: 45px; height: 45px; background: radial-gradient(circle, rgba(200,200,200,0.8) 0%, rgba(150,150,150,0.4) 60%, transparent 100%); border-radius: 50%; filter: blur(10px); opacity: 0; z-index: -1; pointer-events: none; }
        @keyframes billow { 0% { transform: translateY(0) scale(1); opacity: 0.9; } 100% { transform: translateY(-350px) scale(5); opacity: 0; } }

        /* Pause Animations Class (Triggered on Hover) */
        .retro-setup.pause-animations .monitor-housing { animation-play-state: paused !important; }

        .is-broken .monitor-housing { animation: shake 0.3s infinite; }
        .is-broken .crt-screen { background-color: #1a0000 !important; }
        .is-broken .crt-screen * { color: #ff3333 !important; text-shadow: 0 0 6px rgba(255, 51, 51, 0.8) !important; }
        .is-broken .crack-overlay { display: block; }
        .is-broken .power-led { background-color: #ff3333; box-shadow: 0 0 10px #ff3333; animation: pulse-red 0.5s infinite; }
        
        /* Red Scrollbar during Kernel Panic */
        .is-broken .term-history::-webkit-scrollbar-track { background: rgba(255, 51, 51, 0.05); }
        .is-broken .term-history::-webkit-scrollbar-thumb { background: rgba(255, 51, 51, 0.3); }
        .is-broken .term-history::-webkit-scrollbar-thumb:hover { background: rgba(255, 51, 51, 0.6); }

        @keyframes shake { 0% { transform: translate(1px, 1px) rotate(0deg); } 25% { transform: translate(-1px, -2px) rotate(-1deg); } 50% { transform: translate(-2px, 0px) rotate(1deg); } 75% { transform: translate(2px, 1px) rotate(0deg); } 100% { transform: translate(1px, -1px) rotate(-1deg); } }
        @keyframes pulse-red { 0% { opacity: 1; } 50% { opacity: 0.2; } 100% { opacity: 1; } }
        .flash-off { animation: turn-off 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
        @keyframes turn-off { 0% { transform: scale(1, 1); filter: brightness(1); } 50% { transform: scale(1, 0.001); filter: brightness(10); } 100% { transform: scale(0, 0.001); filter: brightness(0); background-color: #000; } }

        @media (max-width: 900px) {
            .contact-container {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 40px 16px 60px;
            }
            .page-content {
                padding-right: 0;
                text-align: center;
            }
            .page-content p { margin-inline: auto; }
            .contact-info-list { display: inline-block; text-align: left; }
            .traxx-divider { margin-inline: auto; }
            .retro-setup { transform: none !important; }
            .retro-setup:hover { transform: none !important; }
        }
        @media (max-width: 600px) {
            .contact-container {
                padding: 28px 14px 48px;
                gap: 28px;
            }
            .page-content h1 { font-size: clamp(32px, 9vw, 44px); letter-spacing: -1px; }
            .page-content h3 { font-size: clamp(15px, 4vw, 18px); }
            .page-content p { font-size: 1rem; margin-bottom: 24px; }
            .contact-info-list li { font-size: 1rem; gap: 12px; }
            .retro-setup { max-width: 100%; }
            .desktop-tower { width: 100%; margin: -2px auto 0 auto; height: 80px; padding: 0 20px; }
            .monitor-base { width: 140px; }
            .monitor-housing { border-radius: 15px 15px 10px 10px; padding: 20px; }
            .crt-screen { height: 320px; padding: 15px; }
            .tower-left { gap: 15px; }
            .oem-badge { display: none; }
            .terminal-content { font-size: 12px; }
            .input-wrapper { padding: 5px 8px; }
            .term-input { font-size: 12px; min-width: 80px; }
        }
        @media (max-width: 380px) {
            .crt-screen { height: 280px; padding: 12px; }
            .monitor-housing { padding: 14px; }
            .desktop-tower { padding: 0 12px; height: 70px; }
            .floppy-drive { width: 90px; }
            .floppy-slot { width: 60px; }
            .tower-vents { display: none; }
            .terminal-content { font-size: 11px; }
        }
