@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap");

:root {
    --bg: #050a07;
    --bg-2: #070f0b;
    --panel: rgba(8, 16, 12, 0.86);
    --panel-strong: rgba(8, 16, 12, 0.94);
    --line: rgba(80, 255, 170, 0.2);
    --line-strong: rgba(80, 255, 170, 0.4);
    --text: #e7fff1;
    --muted: rgba(206, 255, 227, 0.55);
    --accent: #2dff9b;
    --accent-2: #b8ff3e;
    --accent-3: #11e4b3;
    --glow: rgba(45, 255, 155, 0.35);
    --danger: #ff4d6d;
}

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

body {
    font-family: "Space Grotesk", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 32px 24px 80px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(36, 255, 160, 0.18), transparent 45%),
        radial-gradient(circle at 78% 18%, rgba(20, 180, 140, 0.18), transparent 52%),
        radial-gradient(circle at 50% 75%, rgba(160, 255, 110, 0.14), transparent 55%),
        radial-gradient(circle at 86% 80%, rgba(12, 110, 90, 0.2), transparent 55%);
    filter: blur(0.5px);
    animation: drift 18s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(90, 255, 170, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(24, 160, 120, 0.1) 1px, transparent 1px);
    background-size: 48px 48px, 96px 96px;
    background-position: 0 0, 24px 24px;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(24px, -18px); }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(transparent, rgba(60, 255, 180, 0.25), transparent);
    z-index: 4;
    animation: scan 9s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { top: -2%; }
    100% { top: 102%; }
}

.shell {
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 20px;
    background: var(--panel-strong);
    border: 1px solid var(--line-strong);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(35, 255, 170, 0.08);
    backdrop-filter: blur(16px);
}

.hero-tag {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.hero-mark {
    font-size: clamp(2.6rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 0.95;
    color: transparent;
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 60%, #dfffd0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 35px rgba(40, 255, 180, 0.35), 0 0 12px rgba(40, 255, 180, 0.2);
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 30px rgba(40, 255, 180, 0.35); }
    50% { text-shadow: 0 0 50px rgba(40, 255, 180, 0.55); }
}

.hero-text {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(45, 255, 155, 0.9), rgba(18, 180, 125, 0.95));
    color: #04110b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(45, 255, 155, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 22px rgba(0, 0, 0, 0.5), 0 0 18px rgba(45, 255, 155, 0.5);
}

.btn.ghost {
    background: rgba(7, 18, 13, 0.7);
    border-color: rgba(45, 255, 155, 0.35);
    color: var(--text);
    box-shadow: inset 0 0 16px rgba(45, 255, 155, 0.1);
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(45, 255, 155, 0.35);
    background: rgba(12, 24, 18, 0.8);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-panel {
    padding: 18px;
    border-radius: 16px;
    background: rgba(8, 18, 13, 0.8);
    border: 1px solid rgba(45, 255, 155, 0.25);
    box-shadow: inset 0 0 22px rgba(25, 255, 170, 0.08);
}

.panel-title {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.panel-grid {
    display: grid;
    gap: 12px;
}

.panel-card {
    background: rgba(4, 12, 8, 0.7);
    border: 1px solid rgba(45, 255, 155, 0.2);
    border-radius: 12px;
    padding: 14px;
}

.panel-card span {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.panel-card strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.panel-card strong.status-ok {
    color: #2dff9b;
    text-shadow: 0 0 12px rgba(45, 255, 155, 0.4);
}

.panel-card strong.status-warn {
    color: #ffd96a;
    text-shadow: 0 0 12px rgba(255, 217, 106, 0.35);
}

.panel-card strong.status-bad {
    color: #ff8aa1;
    text-shadow: 0 0 12px rgba(255, 77, 109, 0.35);
}

.panel-card.pulse {
    box-shadow:
        0 0 0 rgba(45, 255, 155, 0.6),
        inset 0 0 22px rgba(25, 255, 170, 0.12);
    animation: pulseGlow 1.6s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow:
            0 0 0 rgba(45, 255, 155, 0.55),
            inset 0 0 22px rgba(25, 255, 170, 0.12);
    }
    50% {
        box-shadow:
            0 0 22px rgba(45, 255, 155, 0.35),
            inset 0 0 30px rgba(25, 255, 170, 0.16);
    }
    100% {
        box-shadow:
            0 0 0 rgba(45, 255, 155, 0.55),
            inset 0 0 22px rgba(25, 255, 170, 0.12);
    }
}

.mono {
    font-family: "IBM Plex Mono", monospace;
}

code {
    background: rgba(3, 10, 7, 0.8);
    padding: 2px 6px;
    border-radius: 6px;
    color: #9affcc;
    font-family: "IBM Plex Mono", monospace;
}

.spark {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(75, 255, 170, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: particle-float linear infinite;
    box-shadow: 0 0 10px rgba(45, 255, 155, 0.6);
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-110vh) translateX(var(--x-drift));
        opacity: 0;
    }
}

@media (max-width: 900px) {
    body { padding: 24px 18px 64px; }
    .hero { grid-template-columns: 1fr; }
    .hero-mark { text-align: center; }
    .hero-tag { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-chips { justify-content: center; }
}

@media (max-width: 520px) {
    .btn { width: 100%; }
    .hero { padding: 22px; }
}
