* {
    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;
}


html {
    scroll-behavior: smooth;

}

/* 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 */
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {

    content: "";
    position: absolute;

    bottom: -4px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--accent);

    transition: width 0.25s ease;

}

.nav-links a:hover::after {

    width: 100%;

}

/* ===== 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;
    scroll-margin-top: 120px;
    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);
}

#form-anchor {
    scroll-margin-top: 120px;
}

/* ===== 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 ===== */
/* ===== FORM CARD ===== */

.contact-form {

    max-width: 420px;
    margin: 40px auto;

    padding: 28px;

    background: #0b0f16;
    border: 1px solid #2b3240;
    border-radius: 12px;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(79, 124, 255, 0.08);

    display: flex;
    flex-direction: column;
    gap: 14px;

}

.contact-form button {

    margin-top: 10px;

}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-card {
    text-align: center;
}



.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;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
}

.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* ===== FORM INPUT ===== */

.contact-form input,
.contact-form textarea {

    background: #070b12;
    border: 1px solid #2b3240;
    padding: 12px;

    border-radius: 6px;

    color: #e6e8ee;
    /* ← DŮLEŽITÉ */

    transition: all 0.2s ease;

}

.contact-form input:focus,
.contact-form textarea:focus {

    outline: none;
    border-color: var(--accent);

    box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.2);

}


/* ===== BUTTON ===== */

.btn-primary {

    background: linear-gradient(135deg,
            #4f7cff,
            #3a5fe0);

    color: white;
    padding: 12px 26px;

    border-radius: 6px;
    border: none;

    font-weight: 600;
    letter-spacing: 0.3px;

    cursor: pointer;

    transition: all 0.2s ease;

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(79, 124, 255, 0.35);

}

.form-trust {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

.problem-check {
    max-width: 500px;
    margin: 40px auto;
    text-align: left;
}


.problem-check h2 {
    text-align: center;
    margin-bottom: 20px;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.problem-item input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}


/* ===== 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;
}

/* ===== TARGET / PRO KOHO JE PROFIDAT ===== */

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.target-item {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 6px;
}

.target-item h3 {
    margin-bottom: 8px;
    color: var(--accent);
}


/* ===== PROBLEM SECTION ===== */

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.problem-grid .problem-item {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 6px;
}


/* ===== FEATURES / CO ZÍSKÁTE ===== */

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 6px;
}

.feature-item h3 {
    color: var(--accent);
    margin-bottom: 8px;
}


/* ===== RESULT / VÝSLEDEK ===== */

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.result-item {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 6px;
}

.result-item strong {
    color: var(--accent);
}


/* ===== EXAMPLE / JAK TO FUNGUJE ===== */

.example-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.example-step {
    background: #0a0d13;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 6px;
}

.example-step h3 {
    color: var(--accent);
    margin-bottom: 8px;
}


/* ===== CALC NOTE ===== */

.calc-note {
    font-size: 14px;
    margin-top: 10px;
    color: var(--text-muted);
}

/* ===== CALCULATOR RESULT ===== */

.calc-result {
    margin-top: 20px;
    text-align: center;
}

.calc-result h3 {
    font-size: 22px;
    color: var(--accent);
    margin-top: 6px;
    font-weight: 700;
}

#result {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 6px;
}


/* ===== MOBILE ADJUSTMENTS ===== */

@media (max-width: 768px) {

    .target-grid,
    .problem-grid,
    .features-grid,
    .result-grid,
    .example-steps {
        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;
    }

}


@media (max-width:768px) {

    .problem-check {
        padding: 0 10px;
    }

    .problem-item {
        font-size: 14px;
    }

}

input,
textarea,
button {
    position: relative;
    z-index: 5;
}