@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

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

body { 
    font-family: 'Space Mono', monospace; 
    background-color: #050505; 
    color: #e2e8f0; 
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

/* Cyberpunk Hacker Grid Background */
.cp-grid-bg {
    background-color: #050505;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Cyberpunk Panels & Cards */
.cp-panel { 
    background: rgba(10, 10, 10, 0.9); 
    border: 1px solid rgba(16, 185, 129, 0.25); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(12px); 
    transition: all 0.3s ease;
}

.cp-card { 
    background: rgba(0, 0, 0, 0.7); 
    border: 1px solid rgba(16, 185, 129, 0.2); 
    transition: all 0.2s ease-in-out; 
}

.cp-card:hover { 
    border-color: rgba(34, 211, 238, 0.5); 
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2); 
}

/* Glow & Accent Styles */
.neon-border-green { box-shadow: 0 0 10px rgba(16, 185, 129, 0.3), inset 0 0 5px rgba(16, 185, 129, 0.1); }
.neon-border-cyan { box-shadow: 0 0 10px rgba(34, 211, 238, 0.3), inset 0 0 5px rgba(34, 211, 238, 0.1); }
.neon-text-green { color: #34d399; text-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.neon-text-cyan { color: #22d3ee; text-shadow: 0 0 8px rgba(34, 211, 238, 0.6); }

/* Cyberpunk Input & Textarea Elements */
.cp-input { 
    background: rgba(0, 0, 0, 0.8); 
    border: 1px solid rgba(16, 185, 129, 0.3); 
    color: #6ee7b7; 
    font-family: 'Space Mono', monospace; 
    transition: all 0.2s ease-in-out; 
}

.cp-input:focus { 
    outline: none; 
    border-color: #22d3ee; 
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4); 
}

/* Glitch Button Animation */
.cp-btn { 
    position: relative; 
    overflow: hidden; 
    transition: all 0.2s ease; 
}

.cp-btn::before {
    content: attr(data-label); 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: inherit; 
    color: inherit; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    transition: 0.2s; 
    font-weight: inherit;
}

.cp-btn:hover::before { 
    opacity: 1; 
    animation: glitch-anim 0.3s cubic-bezier(.25, .46, .45, .94) both infinite; 
    background: rgba(16, 185, 129, 0.15); 
}

@keyframes glitch-anim {
    0% { transform: translate(0); } 
    20% { transform: translate(-2px, 1px); } 
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(2px, 1px); } 
    80% { transform: translate(1px, -1px); } 
    100% { transform: translate(0); }
}

/* Dynamic Pricing Pulse Animation */
.cp-cta { 
    background-color: #10b981; 
    color: #000; 
    font-weight: 700; 
}

.cp-cta:hover { 
    background-color: #34d399; 
}

.cp-cta.pulse-neon { 
    animation: pulse-green 1.5s infinite; 
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
    70% { box-shadow: 0 0 0 18px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Navigation Target Flash Animation */
@keyframes flash-highlight {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.25); }
    20% { box-shadow: 0 0 25px 5px rgba(16, 185, 129, 0.9); border-color: rgba(16, 185, 129, 1); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.25); }
}

.flash-active {
    animation: flash-highlight 1.5s ease-out;
}

/* Terminal Typewriter Effect */
.terminal-type { 
    display: inline-block;
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 2px solid #10b981; 
    animation: typing 2.5s steps(30, end) forwards, blink-caret .75s step-end infinite; 
    width: 0;
}

@keyframes typing { 
    from { width: 0; } 
    to { width: 100%; } 
}

@keyframes blink-caret { 
    from, to { border-color: transparent; } 
    50% { border-color: #10b981; } 
}

/* Chip Switchers */
.cp-chip-active { 
    background: rgba(16, 185, 129, 0.25); 
    border: 1px solid #10b981; 
    color: #34d399; 
    text-shadow: 0 0 6px rgba(52, 211, 153, 0.6); 
}

.cp-chip-inactive { 
    background: rgba(0, 0, 0, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.12); 
    color: #94a3b8; 
}

.cp-chip-inactive:hover { 
    border-color: rgba(34, 211, 238, 0.4); 
    color: #e2e8f0; 
}

/* Quiz Segmented Wheel Dial Styles */
.quiz-dial-container { 
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(0,0,0,0.9) 70%); 
    border: 2px solid rgba(16, 185, 129, 0.4); 
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2); 
}

.quiz-option-card { 
    background: rgba(10, 10, 10, 0.85); 
    border: 1px solid rgba(16, 185, 129, 0.2); 
    transition: all 0.25s ease; 
    cursor: pointer; 
}

.quiz-option-card:hover { 
    border-color: #22d3ee; 
    transform: translateY(-2px); 
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3); 
}

.quiz-option-card.selected { 
    background: rgba(16, 185, 129, 0.2); 
    border-color: #10b981; 
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); 
}

/* Mobile Horizontal Nav Scrollbar Hiding */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

/* Preview Area Scrollbar Customization */
.preview-scroll::-webkit-scrollbar { 
    width: 6px; 
}

.preview-scroll::-webkit-scrollbar-track { 
    background: rgba(0, 0, 0, 0.5); 
}

.preview-scroll::-webkit-scrollbar-thumb { 
    background: rgba(16, 185, 129, 0.4); 
    border-radius: 10px; 
}

.preview-scroll::-webkit-scrollbar-thumb:hover { 
    background: rgba(34, 211, 238, 0.6); 
}

/* Salon Dotted Leader Layout */
.dotted-leader { 
    flex-grow: 1; 
    border-bottom: 2px dotted rgba(16, 185, 129, 0.5); 
    margin: 0 12px; 
    position: relative; 
    top: -6px; 
    opacity: 0.6; 
}