:root {
    --bg: #0b0f1a;
    --bg-soft: #121829;
    --surface: #1a2138;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8ecf6;
    --muted: #9aa4c0;
    --accent: #6c8cff;
    --accent-2: #8a5cff;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(1100px, 100% - 48px);
    margin-inline: auto;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.logo span:last-child {
    color: var(--accent);
}

.logo-mark {
    color: var(--accent-2);
    margin-right: 2px;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--text);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(108, 140, 255, 0.35);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
}

.btn-ghost {
    color: var(--muted);
    border: 1px solid var(--border);
}

/* --- Hero --- */
.hero {
    padding: 96px 0 80px;
    background:
        radial-gradient(800px 400px at 80% -10%, rgba(108, 140, 255, 0.25), transparent 60%),
        radial-gradient(600px 300px at 10% 20%, rgba(138, 92, 255, 0.2), transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.lead-pre {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 520px;
    margin-bottom: 12px;
}

.lead {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Hero visual --- */
.hero-visual {
    display: flex;
    justify-content: center;
}

.screen {
    width: min(380px, 100%);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.screen-bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.screen-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface);
}

.screen-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.screen-tile {
    border-radius: 10px;
    padding: 28px 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.tile-video { background: linear-gradient(135deg, #33427a, #6c8cff); }
.tile-image { background: linear-gradient(135deg, #3b2f6e, #8a5cff); }
.tile-text  { background: linear-gradient(135deg, #1f2a44, #2f3b5e); }
.tile-script { background: linear-gradient(135deg, #0f2d2a, #1f6b63); }

/* --- Sections --- */
.features, .how {
    padding: 80px 0;
}

.features {
    background: var(--bg-soft);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    text-align: center;
}

.section-sub {
    color: var(--muted);
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 140, 255, 0.4);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* --- Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    margin-bottom: 16px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* --- Pricing --- */
.pricing {
    padding: 80px 0;
    background: var(--bg-soft);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 140, 255, 0.4);
}

.price-card.featured {
    border-color: rgba(108, 140, 255, 0.6);
    box-shadow: 0 20px 60px rgba(108, 140, 255, 0.15);
}

.price-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.price-card .tag {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.price-card ul {
    list-style: none;
    margin: 20px 0 24px;
    display: grid;
    gap: 10px;
}

.price-card ul li {
    color: var(--muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-card ul li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.price-card .btn {
    margin-top: auto;
    text-align: center;
}

.price-note {
    text-align: center;
    color: var(--muted);
    margin-top: 32px;
    font-size: 0.95rem;
}

.price-note a {
    color: var(--accent);
    text-decoration: none;
}

.price-note a:hover {
    text-decoration: underline;
}

/* --- Contact --- */
.contact {
    padding: 80px 0;
}

.contact-inner {
    text-align: center;
}

.contact .btn {
    margin-top: 8px;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    background: var(--bg-soft);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--text);
}

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 16px 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.cookie-banner-inner {
    width: min(1100px, 100% - 48px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
    max-width: 720px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* --- Přepínač jazyka --- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    padding: 3px;
}

.lang-switch button {
    border: none;
    background: transparent;
    color: var(--muted, #6b7280);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.2;
}

.lang-switch button.active {
    background: var(--primary, #4f46e5);
    color: #fff;
}

/* --- Tlačítka jako <button> --- */
button.btn {
    font: inherit;
    cursor: pointer;
    border: none;
}

button.btn-primary {
    border: none;
}

/* --- Modální okno (poptávkový formulář) --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.modal-close:hover {
    color: var(--text);
    border-color: var(--accent);
}

.modal-dialog h2 {
    text-align: left;
    margin-bottom: 8px;
    padding-right: 40px;
}

.modal-sub {
    color: var(--muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* --- Formulář --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.form-status {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.form-status.success {
    background: rgba(46, 160, 90, 0.15);
    border: 1px solid rgba(46, 160, 90, 0.5);
    color: #8be0a8;
}

.form-status.error {
    background: rgba(220, 80, 80, 0.15);
    border: 1px solid rgba(220, 80, 80, 0.5);
    color: #f2a3a3;
}

/* --- FAQ --- */
.faq {
    padding: 80px 0;
    background: var(--bg-soft);
}

.faq-list {
    max-width: 760px;
    margin: 32px auto 0;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 20px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 18px 0;
    list-style: none;
    position: relative;
    padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-item p {
    color: var(--muted);
    padding: 0 0 18px;
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .main-nav {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
