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

:root{
    --bg: #0a0d0f;
    --panel: #10161a;
    --panel-2: #0d1215;
    --line: #1e2a2f;
    --text: #d7dbd8;
    --text-dim: #7c8b8f;
    --amber: #00fff5;
    --amber-dim: #7a5514;
    --green: #3e59eb;
}

*{ box-sizing: border-box; }

body{
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    line-height: 1.5;
}

/* subtle scanline atmosphere */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.012) 0px,
        rgba(255,255,255,0.012) 1px,
        transparent 1px,
        transparent 3px
    );
    z-index: 999;
}

header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,13,15,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.navbar{
    max-width: 1100px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    color: var(--text);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.logo span{ color: var(--amber); }

.nav-links{
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a{
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    transition: color .2s;
}

.nav-links a:hover{ color: var(--amber); }

main{
    max-width: 1100px;
    margin: auto;
    padding: 48px 24px 20px;
}

/* HERO */
.hero{
    padding: 10px 0 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}

.hero-eyebrow{
    font-family: 'IBM Plex Mono', monospace;
    color: var(--amber);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.dot{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
    animation: pulse 2s infinite;
}

@keyframes pulse{
    0%,100%{ opacity: 1; }
    50%{ opacity: .35; }
}

h1{
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 600;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

h1 .cursor{
    display: inline-block;
    width: 0.55ch;
    background: var(--green);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink{ 50%{ opacity: 0; } }

.hero p.lede{
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 0 26px;
}

.sources{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.source-tag{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 3px;
}

.source-tag::before{
    content: "● ";
    color: var(--green);
}

/* TERMINAL WINDOW around the tool */
section.tool{
    margin-bottom: 20px;
}

.tool-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tool-header h2{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.tool-header p{
    color: var(--text-dim);
    font-size: 0.92rem;
    margin: 6px 0 0;
}

.terminal{
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}

.terminal-bar{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: var(--panel-2);
    border-bottom: 1px solid var(--line);
}

.terminal-bar .tdot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #33393d;
}

.terminal-title{
    margin-left: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
}

iframe{
    width: 100%;
    height: 800px;
    border: none;
    display: block;
    background: #0d1215;
}

footer{
    margin-top: 60px;
    padding: 26px 24px;
    text-align: center;
    border-top: 1px solid var(--line);
}

footer a{
    color: var(--text-dim);
    margin: 0 12px;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    transition: color .2s;
}

footer a:hover{ color: var(--amber); }

/* COOKIE BANNER */
#cookie-banner{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--panel);
    border-top: 1px solid var(--line);
    padding: 18px 24px;
    z-index: 1001;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

#cookie-banner p{
    margin: 0;
    color: var(--text-dim);
    font-size: 0.88rem;
    max-width: 640px;
}

#cookie-banner a{ color: var(--amber); }

#cookie-banner button{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    padding: 9px 16px;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: .2s;
}

#cookie-banner button:first-of-type{
    background: var(--amber);
    color: #171208;
    border-color: var(--amber);
    font-weight: 600;
}

#cookie-banner button:hover{ filter: brightness(1.15); }

/* IMPRESSUM PAGE */
.legal{
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal h1{
    font-size: 1.8rem;
}

.legal h2{
    font-family: 'IBM Plex Mono', monospace;
    color: var(--amber);
    font-size: 1rem;
    margin-top: 34px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
}

.legal p{ color: var(--text-dim); }
.legal a{ color: var(--amber); }

@media (max-width: 640px){
    iframe{ height: 600px; }
}

@media (prefers-reduced-motion: reduce){
    .dot, h1 .cursor{ animation: none; }
}
