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

:root {
    --bg-quantum: #020617;
    --bg-space-dark: #030712;
    --bg-panel: rgba(8, 20, 48, 0.82);
    --neon-cyan: #00f3ff;
    --neon-blue: #0099ff;
    --neon-green: #00ffaa;
    --neon-glow: 0 0 25px rgba(0, 243, 255, 0.6);
    --neon-glow-lg: 0 0 45px rgba(0, 243, 255, 0.8), 0 0 90px rgba(0, 243, 255, 0.3);
    --border-cyan: rgba(0, 243, 255, 0.45);
    --text-cyan: #e0f2fe;
    --text-muted: #7dd3fc;
}

* {
    box-sizing: border-box;
}

html, body {
    background-color: #020617 !important;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(0, 243, 255, 0.22) 0%, transparent 70%),
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 100% 100%, 36px 36px, 36px 36px !important;
    color: #e0f2fe !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    min-height: 100vh;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Global Print Disable for General Visitors */
@media print {
    body:not(.pro-tier-active) {
        display: none !important;
    }
}

/* Subscription Modal Styles */
.sub-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.9); backdrop-filter: blur(8px);
    display: none; justify-content: center; align-items: center; z-index: 9999;
}
.sub-modal-content {
    background: var(--bg-panel); border: 2px solid var(--neon-cyan); border-radius: 16px;
    padding: 30px; width: 90%; max-width: 800px; text-align: center;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}
.sub-tier-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px;
}
.sub-tier-card {
    background: rgba(2, 6, 23, 0.8); border: 1px solid rgba(0, 243, 255, 0.3); border-radius: 12px;
    padding: 20px; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column;
}
.sub-tier-card:hover { transform: translateY(-5px); }
.sub-tier-card.free { opacity: 0.7; pointer-events: none; }
.sub-tier-card.pro { border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0, 255, 170, 0.2); }
.sub-tier-card.elite { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
.tier-name { font-family: 'Orbitron'; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.tier-price { font-size: 24px; font-weight: 900; margin-bottom: 15px; }
.tier-features { font-size: 12px; color: #cbd5e1; text-align: left; margin-bottom: 20px; flex: 1; }
.btn-select-tier { background: rgba(0, 243, 255, 0.1); border: 1px solid var(--neon-cyan); color: var(--neon-cyan); padding: 10px; border-radius: 8px; font-family: 'Orbitron'; font-weight: 800; cursor: pointer; }
.sub-tier-card.pro .btn-select-tier { background: linear-gradient(135deg, var(--neon-green), #059669); color: #020617; border: none; }
.sub-tier-card.elite .btn-select-tier { background: linear-gradient(135deg, #f59e0b, #d97706); color: #020617; border: none; }
.btn-close-modal { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #ef4444; font-size: 24px; cursor: pointer; }

h1, h2, h3, h4, .cyber-title {
    font-family: 'Orbitron', 'Outfit', sans-serif !important;
    color: #00f3ff !important;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.6), 0 0 30px rgba(0, 243, 255, 0.3) !important;
    letter-spacing: 1px !important;
}

.card, .panel, .module, .console-card, .container, .disclosure, .wrapper .card {
    background: rgba(8, 20, 48, 0.82) !important;
    border: 1px solid rgba(0, 243, 255, 0.45) !important;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.22), inset 0 0 15px rgba(0, 243, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    color: #e0f2fe !important;
    position: relative;
}

/* 25th Century HUD Corner Bracket Clip Effect */
.card::before, .console-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-top: 2px solid #00f3ff;
    border-left: 2px solid #00f3ff;
    box-shadow: 0 0 10px #00f3ff;
    pointer-events: none;
}

.card::after, .console-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-bottom: 2px solid #00f3ff;
    border-right: 2px solid #00f3ff;
    box-shadow: 0 0 10px #00f3ff;
    pointer-events: none;
}

/* Cyber Neon Buttons */
button, .btn, .btn-red, .btn-navy, input[type="submit"] {
    background: linear-gradient(135deg, #00f3ff 0%, #0088ff 100%) !important;
    color: #020617 !important;
    border: 1px solid #00f3ff !important;
    font-family: 'Orbitron', 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: 30px !important;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    background: linear-gradient(135deg, #00ffaa 0%, #00f3ff 100%) !important;
    color: #020617 !important;
    box-shadow: 0 0 40px rgba(0, 255, 170, 0.8), 0 0 80px rgba(0, 243, 255, 0.4) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

input, select, textarea {
    background: rgba(3, 10, 28, 0.9) !important;
    border: 1px solid rgba(0, 243, 255, 0.4) !important;
    color: #e0f2fe !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #00f3ff !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5), inset 0 0 10px rgba(0, 243, 255, 0.2) !important;
}