/* AD-946 (R5, 2026-10-27): pismo Archivo jako prezentace a e-shop (driv Space Grotesk, AD-650). U nas (OFL 1.1,
   fonts/OFL-Archivo.txt), stejne soubory a @font-face jako assets/css/presentation.css. */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/archivo-variable-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('/fonts/archivo-variable-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg-color: #0F172A;
    /* Tmavá / tech */
    --text-primary: #F8FAFC;
    /* Světlá / čistota */
    --text-muted: #64748B;
    /* V2 L7 (2026-10-12): drobny text ovladacich prvku - kontrast 6,96 : 1 na --bg-color (--text-muted ma jen 3,75 : 1). */
    --text-secondary: #94A3B8;
    --accent: #F97316;
    --accent-muted: #64748B;
    /* Laser orange */
    --accent-glow: rgba(249, 115, 22, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tech grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(248, 250, 252, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 250, 252, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

/* Glowing laser orb */
.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    animation: pulse 6s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    margin-right: -0.2em;
    /* Compensate for last letter tracking */
    text-shadow: 0 0 20px rgba(248, 250, 252, 0.1);
}

.logo .accent {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

.logo .accent-muted {
    color: var(--accent-muted);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
}

.divider {
    width: 30px;
    height: 3px;
    background-color: var(--accent);
    margin: 0 auto 3.5rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.message {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 4rem;
    line-height: 1.3;
    max-width: 800px;
    letter-spacing: -0.01em;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color);
    background-color: var(--accent);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
}

.social-link:hover::before {
    left: 150%;
}

.social-link:hover {
    box-shadow: 0 8px 25px var(--accent-glow);
    transform: translateY(-3px);
    background-color: #fb8736;
}

.social-link svg {
    margin-right: 12px;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    display: flex;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.5);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(248, 250, 252, 0.1);
}

.lang-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn:focus {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--bg-color);
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .logo {
        font-size: clamp(1.8rem, 9vw, 3rem);
        letter-spacing: 0.15em;
        margin-right: -0.15em;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .message {
        font-size: 1.25rem;
        margin-bottom: 3rem;
        line-height: 1.4;
    }

    .social-link {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .glow-orb {
        width: 150vw;
        height: 150vw;
    }

    .lang-switcher {
        top: 1rem;
        right: 1rem;
        padding: 0.25rem;
    }

    .lang-btn {
        font-size: 0.8rem;
    }
}

/* AD-650 (2026-10-10): lista souhlasu s cookies a odkaz „Nastaveni cookies“. */
.consent-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 56rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(100, 116, 139, 0.45);
    border-radius: 0.75rem;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.consent-bar[hidden] {
    display: none;
}

.consent-text {
    flex: 1 1 22rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-text a {
    color: var(--accent);
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
}

.consent-btn {
    font: inherit;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(100, 116, 139, 0.6);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.consent-btn--primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #0F172A;
    font-weight: 700;
}

.consent-settings {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 10;
    font: inherit;
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: underline;
    cursor: pointer;
}

/* AD-711 J19 (2026-10-11): tlacitko je v HTML skryte, odkryje ho az script.js.
   V2 L7 (2026-10-12): script.js ho skryje i pri otevrene liste (na uzkem displeji by ho lista zakryla). */
.consent-settings[hidden] {
    display: none;
}

/* V2 V-I4 (2026-10-12): staticky odkaz na cookies.html - viditelny i bez JS; pri otevrene liste ho script.js skryje. */
.site-footer {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 10;
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}

.site-footer[hidden] {
    display: none;
}

.site-footer a {
    color: var(--text-secondary);
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--text-primary);
}

/* AD-711 J17 (2026-10-11): cookies.html - informace o cookies primo na mini-webu. */
body.policy {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
}

.policy-content {
    position: relative;
    z-index: 10;
    max-width: 46rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 3rem;
    line-height: 1.6;
}

.policy-content section + section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 116, 139, 0.45);
}

.policy-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.policy-content h2 {
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin: 1.75rem 0 0.5rem;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 0.75rem;
}

.policy-content ul {
    padding-left: 1.25rem;
}

.policy-content a {
    color: var(--accent);
}

.policy-content code {
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

.policy-table {
    overflow-x: auto;
    margin: 0.5rem 0 1rem;
}

.policy-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.policy-table th,
.policy-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.45);
}

.policy-todo {
    border: 2px dashed var(--accent);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: var(--accent);
}

.policy-back {
    display: inline-block;
    margin-top: 1rem;
}
