* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #0e1117;
    --bg-card: #151922;
    --border: #242a36;
    --accent: #4f7cff;
    --gold: 212, 175, 55;
    --text-main: #e6e8ee;
    --text-muted: #9aa3b2;
}

/* ===== BODY + GOLD LINE ===== */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
}

/* Zlaté linky */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    /* DŮLEŽITÉ – musí být pod obsahem */

    background:
        linear-gradient(45deg,
            transparent 49.8%,
            rgba(var(--gold), 0.6) 50%,
            transparent 50.2%),
        linear-gradient(45deg,
            transparent 46.8%,
            rgba(var(--gold), 0.35) 47%,
            transparent 47.2%);

    opacity: 0.25;
    animation: goldPulse 10s ease-in-out infinite;
}

/* Pomalý sofistikovaný pulz */
@keyframes goldPulse {
    0% {
        opacity: 0.18;
    }

    50% {
        opacity: 0.32;
    }

    100% {
        opacity: 0.18;
    }
}

/* Zajistí, že obsah je nad animací */
nav,
header,
section,
footer {
    position: relative;
    z-index: 2;
}

/* ===== LAYOUT ===== */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */

nav {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);

    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);

    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 10px;
    flex-wrap: wrap;   

}

.logo {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-right: 40px;
    /* Přidá prostor mezi logo a menu */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    /* Větší mezera mezi položkami */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ===== HERO ===== */

header {
    padding: 60px 0 40px 0;
    background: radial-gradient(circle at 70% 40%, rgba(79, 124, 255, 0.08), transparent 60%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
    align-items: center;
}

.hero-text h1 {
    font-size: 34px;
    margin-bottom: 18px;
}

.hero-text p {
    margin-bottom: 22px;
    color: var(--text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    max-width: 260px;
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(79, 124, 255, 0.15);
}

.image-frame img {
    width: 100%;
    border-radius: 6px;
}

.hero-highlight {
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

/* ===== SECTIONS ===== */

section {
    padding: 60px 0;
}

.section-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 8px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

h2 {
    font-size: 22px;
    margin-bottom: 18px;
}

p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

/* ===== UX METRICS ===== */

.ux-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.metric {
    font-size: 16px;
    font-weight: 600;
}

.metric-before {
    color: #ff6b6b;
}

.metric-arrow {
    margin: 0 8px;
    color: var(--text-muted);
}

.metric-after {
    color: var(--accent);
}

/* ===== WORKFLOW ===== */

.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.workflow-before,
.workflow-after {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 6px;
}

.workflow-before h3 {
    color: #ff6b6b;
}

.workflow-after h3 {
    color: var(--accent);
}

.workflow-grid pre {
    font-family: monospace;
    font-size: 13px;
    white-space: pre-wrap;
}

/* ===== PROCESS ===== */

.process-list {
    margin-left: 18px;
    margin-bottom: 16px;
}

.process-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* ===== CONTACT ===== */

.contact-card {
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.contact-form input,
.contact-form textarea {
    text-align: left;
}

.contact-direct {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.contact-direct p:first-child {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    background: #0e1117;
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 4px;
}

/* ===== BUTTON ===== */

.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 11px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 124, 255, 0.35);
}

/* ===== FOOTER ===== */

footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    section {
        padding: 40px 0;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ux-metrics {
        flex-direction: column;
        gap: 10px;
    }

}

/* ===== SUCCESS CARD ===== */

.success-card {
    display: none;
    margin-top: 20px;
    padding: 30px;
    background: #0a0d13;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.6s ease forwards;
}

.success-card h3 {
    margin-bottom: 10px;
    color: #4ade80;
}

.success-card.show {
    display: block;
}

.form-message {
    margin-top: 15px;
    font-weight: 600;
}

.form-message.error {
    color: #ff6b6b;
}

/* klikací kontakt bez podtržení */

.contact-direct a {
    color: var(--text-main);
    text-decoration: none;
    transition: 0.2s ease;
}

.contact-direct a:hover {
    color: var(--accent);
}

.metric span {
    transition: all 0.3s ease;
}

.counter {
    font-size: 20px;
    font-weight: 700;
}

.trust {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.calculator {
    padding: 80px 0;
    background: var(--bg-card);
    text-align: center;
}

.calc-box {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-box input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.calc-box button {
    margin-top: 10px;
    padding: 12px;
    background: #ff7a18;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.calc-result {
    margin-top: 20px;
}

.hero-layout {
    grid-template-columns: 1fr;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:768px) {

    .hero-text {
        text-align: center;
    }

}

@media (max-width:768px) {

    .nav-links {
        gap: 16px;
        font-size: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

}

@media (max-width:768px) {

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

}

body {
    outline: 3px solid red;
}