﻿:root {
    --bg-deep: #050505; 
    --bg-surface: #121212; 
    --border-cold: #2a2a2a; 
    --text-core: #ffffff; 
    --text-muted: #888888; 
    --accent-toxic: #22c55e; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

@media (min-width: 1400px) {
    body {
        padding-right: 350px !important;
    }
}

h1, h2, h3, .price, .neon-text {
    color: var(--text-core);
}

.neon-green {
    color: var(--accent-toxic);
}

/* MASTER-CONTAINMENT & GRID-ENFORCEMENT */
main.hero {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

/* Glass panel elements */
.glass-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-cold);
    border-radius: 6px;
    box-shadow: none;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Form inputs & Sliders */
input[type=range] {
    accent-color: var(--accent-toxic);
}

/* ROI HIGHLIGHTING */
.roi-highlight {
    color: var(--accent-toxic);
    font-weight: 800;
    font-size: 1.1em;
}

/* KARTEN-ÄSTHETIK */
.pricing {
    margin-top: 3rem;
}
.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-cold);
    border-radius: 6px;
    box-shadow: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-cold);
    padding-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--accent-toxic);
}

.ppp-tag {
    font-size: 0.8rem;
    background: var(--bg-deep);
    border: 1px solid var(--border-cold);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    vertical-align: middle;
    color: var(--text-muted);
}

/* PSYCHOLOGISCHER ANKER */
.pricing-card.premium {
    border-color: var(--accent-toxic);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1); 
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-toxic);
    color: var(--bg-deep);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
}

.buy-btn {
    background: var(--accent-toxic);
    color: var(--bg-deep);
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}
.buy-btn:hover {
    opacity: 0.9;
}

@media (min-width: 1024px) {
    .pricing {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        align-items: stretch;
    }
    .pricing-card {
        margin-bottom: 0;
    }
}

/* Terminals & Code blocks */
.code-window {
    background: #000;
    border-color: var(--border-cold);
}
.code-window pre {
    color: var(--text-muted);
}

/* CSS CHECKBOX HACK FOR TECH-RADAR TOGGLE */
.tech-radar-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}
.tech-radar-toggle label {
    cursor: pointer;
    color: var(--text-muted);
}
#radar-toggle:not(:checked) ~ #tech-radar-overlay {
    display: none !important;
}

#tech-radar-overlay, .iron-dome-terminal {
    position: fixed;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-cold);
    border-radius: 6px;
    z-index: 99;
}

#tech-radar-overlay {
    top: 60px;
    right: 20px;
    padding: 1.5rem;
}
#tech-radar-overlay ul {
    list-style: none;
}
#tech-radar-overlay li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iron-dome-terminal {
    bottom: 20px;
    right: 20px;
}
.terminal-header {
    padding: 1rem;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-cold);
    font-family: monospace;
    color: var(--text-core);
    border-radius: 6px 6px 0 0;
}
.terminal-body {
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    height: 150px;
    overflow-y: auto;
}

/* HUD POPOVERS & TRIGGERS */
.b2b-help-trigger {
    background: transparent;
    border: 1px solid var(--border-cold);
    color: var(--text-muted);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.2s;
}

.b2b-help-trigger:hover {
    border-color: var(--accent-toxic);
    color: var(--accent-toxic);
}

.b2b-hud-console {
    margin: auto auto 2rem auto;
    border: none;
    padding: 1.5rem;
    background-color: var(--bg-surface);
    opacity: 1;
    border: 1px solid var(--border-cold);
    max-width: 600px;
    width: 90%;
    border-radius: 6px;
    color: var(--text-core);
    border-top: 2px solid var(--accent-toxic);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

[popover]::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.neon-btn {
    background: var(--accent-toxic);
    color: var(--bg-deep);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

dialog {
    margin: auto;
    color: var(--text-muted);
}
dialog::backdrop {
    background: rgba(0,0,0,0.8);
}
/* V15 OMNI-CORE: Fluid Design & Logical Properties */
body {
    padding-inline: clamp(1rem, 5vw, 3rem);
    min-block-size: 100svh;
}
.glass-panel {
    margin-block-end: clamp(1rem, 3vh, 3rem);
}
/* EAA 2025 FIX: sr-only statt display: none */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
#radar-toggle:focus-visible ~ .tech-radar-toggle label {
    outline: 2px solid var(--accent-toxic);
    outline-offset: 4px;
    border-radius: 4px;
}

/* @STARTING-STYLE: Das 5.000-Euro-Feeling für Popovers */
.b2b-hud-console {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, display 0.3s ease-out allow-discrete;
    opacity: 0;
    transform: translateY(10px);
}
.b2b-hud-console:popover-open {
    opacity: 1;
    transform: translateY(0);
}
@starting-style {
    .b2b-hud-console:popover-open {
        opacity: 0;
        transform: translateY(10px);
    }
}

[popover]::backdrop {
    transition: background-color 0.3s ease-out, backdrop-filter 0.3s ease-out, display 0.3s ease-out allow-discrete;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}
[popover]:popover-open::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}
@starting-style {
    [popover]:popover-open::backdrop {
        background: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
    }
}
