:root {
    --accent: #00f2ff;
    --bg: #05070a;
    --text: #cbd5e1;
    --terminal-bg: #0d1117;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Pozadí a efekty */
.glow-effect {
    position: fixed;
    top: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 255, 0.07), transparent 70%);
    z-index: -1;
    animation: flowBackground 15s linear infinite;
}

@keyframes flowBackground {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.03) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
}

.wrapper { max-width: 850px; width: 100%; padding: 60px 20px; }

/* Header & Logo */
.brand-container { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; }
.main-logo {
    width: 220px;          /* Menší, aby to nepůsobilo přeplácaně */
    height: 120px;         /* Musí být stejné jako šířka pro čtvercový obrázek */
    border-radius: 12px;
    object-fit: cover;     /* Vyplní prostor bez deformace */
    background: #000000;   /* Černý podklad pro tvé nové "reverzní" logo */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}
.main-logo:hover { transform: scale(1.05); animation: logoPulse 2s infinite ease-in-out; cursor: pointer; }

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 242, 255, 0.2); border-color: rgba(0, 242, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 242, 255, 0.6); border-color: rgba(0, 242, 255, 0.8); }
}

/* --- TVŮJ PŮVODNÍ STYL IKON (OPRAVENO) --- */
.icons { 
    display: flex; flex-wrap: wrap; gap: 35px; align-items: center; 
    background: rgba(255, 255, 255, 0.015); padding: 30px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05);
}

.item i, .custom-icon { 
    font-size: 2.2rem; 
    color: #fff; 
    opacity: 0.3; /* Tvůj původní stealth vzhled */
    filter: grayscale(1) brightness(1.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.custom-icon { width: 36px; height: 36px; object-fit: contain; }

.light-bg {
    background-color: #fff; padding: 6px; border-radius: 50%;
    filter: grayscale(1) contrast(0.8) !important;
}

/* Hover stav ikon - Přesně jak jsi to měl */
.item:hover i, .item:hover .custom-icon {
    color: var(--accent);
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.25) rotate(3deg);
}
.item:hover .light-bg { filter: none !important; opacity: 1; }

/* --- TERMINÁL S PEVNOU VÝŠKOU (OPRAVENO) --- */
.terminal-contact {
    background: var(--terminal-bg);
    border: 1px solid #30363d;
    padding: 35px;
    border-radius: 12px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin-top: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
}

#terminal-log {
    height: 380px; /* Fixní výška pro cca 15 řádků */
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 10px;
}

/* Stylový scrollbar pro terminál */
#terminal-log::-webkit-scrollbar { width: 5px; }
#terminal-log::-webkit-scrollbar-thumb { background: rgba(0, 242, 255, 0.3); border-radius: 3px; }
#terminal-log::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.terminal-input-row {
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    padding-top: 15px;
}

#terminal-input {
    background: transparent; border: none; color: var(--accent);
    font-family: inherit; font-size: 1rem; flex-grow: 1; outline: none;
}

#terminal-send {
    background: rgba(0, 242, 255, 0.1); border: 1px solid var(--accent);
    color: var(--accent); padding: 5px 15px; cursor: pointer; transition: 0.3s;
}
#terminal-send:hover { background: var(--accent); color: #000; }

/* Ostatní styly */
h1 { font-size: 2.8rem; color: #fff; margin-bottom: 30px; font-weight: 800; }
.story { font-size: 1.2rem; line-height: 1.8; margin-bottom: 50px; opacity: 0.9; }
.vision-card {
    background: rgba(255, 255, 255, 0.02); border-left: 4px solid var(--accent);
    padding: 35px; margin: 60px 0; border-radius: 0 15px 15px 0;
}
.label { color: var(--accent); margin-right: 15px; }
.cursor { color: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

footer { margin-top: 120px; padding-bottom: 50px; text-align: center; font-size: 0.8rem; opacity: 0.3; }