:root {
    --bg-top: #0f172a;
    --bg-mid: #1d4ed8;
    --bg-bottom: #d96211;

    --card-bg: rgba(15, 23, 42, 0.96);
    --card-border: rgba(148, 163, 184, 0.5);

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;

    --accent: #38bdf8;
    --accent-strong: #0ea5e9;
    --accent-soft: rgba(56, 189, 248, 0.25);

    --radius-lg: 20px;
    --radius-md: 999px;
}

/* základ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, #0ea5e9 0, transparent 55%),
        radial-gradient(circle at top right, #6366f1 0, transparent 55%),
        linear-gradient(to bottom, var(--bg-mid) 0, var(--bg-bottom) 70%);
}

.page-gradient {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.3), transparent 60%);
}

.main-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* hlavička */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ec4899, #6366f1, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.06em;
}

.brand-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

/* navigace */

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.85;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 8px;
}

/* tlačítka */

.btn {
    border-radius: var(--radius-md);
    padding: 8px 18px;
    font-size: 14px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
}

.btn-primary.disabled {
    opacity: 0.6;
    cursor: default;
}

.btn:hover:not(.disabled) {
    filter: brightness(1.05);
}

/* hero sekce */

.hero {
    margin-top: 56px;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 18px 0;
    font-weight: 800;
}

.hero-lead {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-main);
    max-width: 40rem;
}

/* karta s ukázkovou úlohou */

.demo-card {
    margin-top: 28px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    padding: 24px 24px 20px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.75),
        0 0 0 1px rgba(15, 23, 42, 0.8);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
}

.demo-pill {
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 4px 12px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.demo-body {
    font-size: 15px;
    line-height: 1.6;
}

.demo-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Jak FABOT pracuje */

.section {
    margin-top: 56px;
    max-width: 720px;
}

.section h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
}

.section-lead {
    margin: 0 0 18px 0;
    font-size: 15px;
    color: var(--text-main);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 15px;
}

.step-title {
    font-weight: 600;
}

/* registrační stránka */

.register-main {
    margin-top: 72px;
    max-width: 560px;
}

.register-title {
    margin: 0 0 16px 0;
    font-size: 28px;
}

.register-label {
    font-size: 15px;
    margin-bottom: 8px;
}

.register-input {
    width: 100%;
    max-width: 320px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.25);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
}

.register-input::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.register-input:focus {
    border-color: var(--accent-strong);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

.register-consent {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.register-consent a {
    color: #d1d5db;
    text-decoration: underline;
}

.register-actions {
    margin-top: 18px;
}

/* zpráva po odeslání */

.register-success {
    margin-top: 16px;
    font-size: 14px;
    color: #bbf7d0;
}

/* patička */

.footer {
    margin-top: 64px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* responsivita */

@media (max-width: 720px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .nav {
        gap: 10px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 40px;
    }

    .demo-card {
        padding: 20px 18px 18px;
    }

    .section {
        margin-top: 42px;
    }

    .register-main {
        margin-top: 56px;
    }
}
