/* Marketing landing page + auth modal (úvodní prodejní stránka) */

html {
    scroll-behavior: smooth;
}

body.marketing-page {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    color: var(--text-primary) !important;
}

body.marketing-page p,
body.marketing-page li,
body.marketing-page .mkt-lead,
body.marketing-page .mkt-plan ul,
body.marketing-page .mkt-plan__price span,
body.marketing-page .mkt-legal__card p {
    color: var(--text-primary);
}

body.marketing-page .muted {
    color: var(--text-muted);
}

body.marketing-page .marketing-shell {
    display: block;
    min-height: 100vh;
    padding: 0;
    place-items: unset;
}

body.auth-modal-open {
    overflow: hidden;
}

.mkt-wrap {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

/* ==========================================================================
   Header (Sticky Frosted Glass)
   ========================================================================== */

.mkt-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(253, 251, 247, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mkt-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.25rem;
}

.mkt-logo {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.mkt-logo img {
    width: auto;
    max-height: 65px;
    display: block;
    transition: transform 0.2s ease;
}

.mkt-logo:hover img {
    transform: scale(1.02);
}

.mkt-logo:link,
.mkt-logo:visited {
    color: var(--text-primary);
    text-decoration: none;
}

.mkt-nav {
    display: none;
    flex: 1;
    justify-content: center;
    gap: 0.5rem;
}

.mkt-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.mkt-nav a:hover {
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

.mkt-header__actions {
    display: none;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.mkt-header__login {
    background: transparent;
    border-color: var(--border-soft);
}

.mkt-header__login:hover {
    background: color-mix(in srgb, var(--bg-color) 60%, #fff);
}

.mkt-nav-toggle {
    margin-left: auto;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--border-soft);
    border-radius: 0.75rem;
    background: #fff;
    font: inherit;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
}

.mkt-nav-toggle:hover {
    border-color: var(--primary-color);
}

.mkt-nav-mobile {
    display: grid;
    gap: 0.75rem;
    padding: 0.5rem 1rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-color);
}

.mkt-nav-mobile a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
}

.mkt-nav-mobile a:hover {
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.mkt-hero {
    display: grid;
    gap: 2.5rem;
    padding: 3rem 0 2.5rem;
}

.mkt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.05);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    width: fit-content;
}

.mkt-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: mkt-pulse 2s infinite ease-in-out;
}

@keyframes mkt-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.4);
    }
}

.mkt-hero__copy h1 {
    margin: 0.5rem 0 1.25rem;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(2.25rem, 5.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.mkt-lead {
    font-size: 1.18rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 38rem;
    margin: 0 0 1.75rem;
}

.mkt-hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.mkt-hero .actions .button {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
}

.mkt-hero .actions .button.secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border-color: var(--border-soft);
}

.mkt-hero .actions .button.secondary:hover {
    background: #fbf9f6;
    border-color: color-mix(in srgb, var(--primary-color) 40%, var(--border-soft));
}

.mkt-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.mkt-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: color-mix(in srgb, var(--bg-color) 60%, #fff);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-soft);
}

/* ==========================================================================
   Hero Bento Grid Visual (Interactive SaaS Preview)
   ========================================================================== */

.mkt-hero__visual {
    position: relative;
}

.mkt-bento--hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mkt-bento__item {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-bento__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.mkt-bento__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mkt-bento__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: color-mix(in srgb, var(--primary-color) 12%, #fff);
    color: var(--primary-color);
    flex-shrink: 0;
}

.mkt-bento__title {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-right: auto;
}

.mkt-bento__chip {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #065f46;
}

.mkt-bento__status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 0.35rem;
}

.mkt-bento__chip--neutral {
    background: color-mix(in srgb, var(--bg-color) 80%, #ebe6dc);
    color: var(--text-primary);
}

.mkt-bento__chip--blue {
    background: #eff6ff;
    color: #1e40af;
}

.mkt-bento__feature-box {
    background: color-mix(in srgb, var(--bg-color) 60%, #fff);
    border: 1px dashed var(--border-soft);
    border-radius: 0.85rem;
    padding: 0.85rem 0.95rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 4.5rem;
}

.mkt-bento__feature-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.mkt-bento__feature-sub {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.mkt-bento__live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: #065f46;
    background: #ecfdf5;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}

.mkt-bento__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: mkt-pulse 1.5s infinite ease-in-out;
}

.mkt-bento__item--wide {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--primary-color) 8%, #ffffff) 100%);
    border-color: color-mix(in srgb, var(--primary-color) 35%, var(--border-soft));
}

.mkt-bento__vault {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.mkt-bento__vault-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-btn);
}

.mkt-bento__vault-info {
    flex: 1;
}

.mkt-bento__vault-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.mkt-bento__vault-head strong {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.mkt-bento__enc-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: color-mix(in srgb, var(--primary-color) 15%, #ffffff);
    color: var(--primary-color);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 25%, transparent);
}

.mkt-bento__vault-desc {
    margin: 0;
    font-size: 0.825rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* ==========================================================================
   Sections General & Headers
   ========================================================================== */

.mkt-section {
    padding: 4rem 0;
}

.mkt-section--alt {
    background: color-mix(in srgb, var(--bg-color) 70%, #f3efe7);
}

.mkt-section__head {
    max-width: 42rem;
    margin-bottom: 2.25rem;
}

.mkt-section__head h2 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 0.85rem;
    color: var(--text-primary);
}

.mkt-section__head p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Services / Stack Replacement Cards
   ========================================================================== */

.mkt-compare {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.mkt-compare__card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mkt-compare__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: color-mix(in srgb, var(--primary-color) 35%, var(--border-soft));
}

.mkt-compare__badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mkt-compare__tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: color-mix(in srgb, var(--bg-color) 80%, #ebe6dc);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid var(--border-soft);
}

.mkt-compare__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--primary-color) 10%, #fff);
    color: var(--primary-color);
}

.mkt-compare__card h3 {
    margin: 0 0 0.5rem;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mkt-compare__card p {
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.mkt-compare__list {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
}

.mkt-compare__note {
    margin-top: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    text-align: center;
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */

.mkt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.mkt-steps li {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mkt-steps li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.mkt-steps__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mkt-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 16%, transparent);
}

.mkt-steps__icon {
    color: var(--text-muted);
}

.mkt-steps h3 {
    margin: 0 0 0.5rem;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mkt-steps p {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ==========================================================================
   Video Section
   ========================================================================== */

.mkt-video__placeholder {
    border: 1px dashed var(--border-soft);
    border-radius: 1.5rem;
    background: #ffffff;
    padding: 3rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.mkt-video__play-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color) 15%, #ffffff);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(74, 124, 89, 0.2);
    transition: transform 0.2s ease;
}

.mkt-video__placeholder:hover .mkt-video__play-icon {
    transform: scale(1.1);
}

.mkt-video__placeholder p {
    font-size: 1.05rem;
    max-width: 30rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Pricing Plans
   ========================================================================== */

.mkt-plans {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    align-items: stretch;
}

.mkt-plan {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.35rem;
    padding: 1.85rem 1.6rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mkt-plan:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.mkt-plan h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mkt-plan ul {
    margin: 0.5rem 0 1.25rem;
    padding: 0;
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mkt-plan ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.925rem;
    line-height: 1.45;
    color: var(--text-primary);
    position: relative;
}

.mkt-plan__check {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color) 12%, #ffffff);
    margin-top: 0.05rem;
}

.mkt-plan__feature-name {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

.mkt-plan ul li.has-tooltip {
    cursor: help;
}

.feature-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    color: var(--primary-color, #4a7c59);
    background: color-mix(in srgb, var(--primary-color, #4a7c59) 12%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--primary-color, #4a7c59) 30%, transparent);
    margin-left: 0.35rem;
    cursor: help;
    padding: 0;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.15rem;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.feature-info-icon svg {
    display: block;
    width: 0.625rem;
    height: 0.625rem;
    pointer-events: none;
}

.feature-info-icon:hover,
.has-tooltip:hover .feature-info-icon {
    background: var(--primary-color, #4a7c59);
    color: #ffffff;
    border-color: var(--primary-color, #4a7c59);
    transform: scale(1.12);
}

/* ==========================================================================
   Modern SaaS Tooltip (nahrazuje výchozí prohlížečový title)
   ========================================================================== */

.has-tooltip {
    position: relative;
    cursor: help;
}

.has-tooltip[data-tooltip]::before,
.has-tooltip[data-tooltip]::after {
    position: absolute;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 120;
}

/* Bublina tooltipu */
.has-tooltip[data-tooltip]::after {
    content: attr(data-tooltip);
    bottom: calc(100% + 9px);
    transform: translate(-50%, 4px);
    background: #1e293b;
    color: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 0.55rem 0.85rem;
    border-radius: 0.65rem;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.4), 0 4px 10px rgba(15, 23, 42, 0.2);
    white-space: normal;
    width: max-content;
    max-width: min(20rem, calc(100vw - 3rem));
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Šipka tooltipu */
.has-tooltip[data-tooltip]::before {
    content: '';
    bottom: calc(100% + 3px);
    transform: translate(-50%, 4px);
    border: 6px solid transparent;
    border-top-color: #1e293b;
}

/* Zobrazení při najetí myší nebo klávesnicovém fokusu */
.has-tooltip[data-tooltip]:hover::before,
.has-tooltip[data-tooltip]:hover::after,
.has-tooltip[data-tooltip]:focus-within::before,
.has-tooltip[data-tooltip]:focus-within::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mkt-plan .button {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.mkt-plan__price {
    margin: 0;
}

.mkt-plan__price strong {
    display: block;
    font-size: 2.25rem;
    color: var(--text-primary);
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.mkt-plan__price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: block;
}

/* Featured Plan (Silver) */
.mkt-plan--featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 45px -10px rgba(74, 124, 89, 0.22), 0 0 0 1px var(--primary-color);
    background: #ffffff;
}

.mkt-plan__badge {
    position: absolute;
    top: -0.75rem;
    right: 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-btn);
}

/* ==========================================================================
   Why Us & Trust
   ========================================================================== */

.mkt-why {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.mkt-why article {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.25rem;
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mkt-why article:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.mkt-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--primary-color) 12%, #ffffff);
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.mkt-why h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mkt-why p {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.mkt-faq details {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.1rem;
    padding: 1.15rem 1.35rem;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.mkt-faq details[open] {
    border-color: color-mix(in srgb, var(--primary-color) 40%, var(--border-soft));
    background: color-mix(in srgb, var(--bg-color) 45%, #ffffff);
    box-shadow: var(--shadow-card);
}

.mkt-faq summary {
    cursor: pointer;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.mkt-faq summary::-webkit-details-marker {
    display: none;
}

.mkt-faq summary::after {
    content: "›";
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.mkt-faq details[open] summary::after {
    transform: rotate(90deg);
}

.mkt-faq details p {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */

.mkt-cta {
    padding: 1.5rem 0 4rem;
}

.mkt-cta__box {
    background: linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--primary-color) 8%, #ffffff) 100%);
    border: 1px solid color-mix(in srgb, var(--primary-color) 25%, var(--border-soft));
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.mkt-cta__box h2 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.85rem;
    color: var(--text-primary);
}

.mkt-cta__box p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.mkt-cta__box .button {
    font-size: 1rem;
    padding: 0.85rem 1.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.mkt-footer {
    border-top: 1px solid var(--border-soft);
    padding: 2.5rem 0 3rem;
    background: color-mix(in srgb, var(--bg-color) 60%, #fff);
}

.mkt-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.mkt-footer strong {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mkt-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.mkt-footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.925rem;
    transition: color 0.15s ease;
}

.mkt-footer__links a:hover {
    color: var(--primary-color);
}

.mkt-footer__btn {
    border: 0;
    background: none;
    padding: 0;
    color: var(--primary-color);
    font: inherit;
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ==========================================================================
   Auth Modal (Login / Register Dialog)
   ========================================================================== */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.auth-modal[hidden] {
    display: none !important;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 28rem);
    max-height: min(92vh, 44rem);
    overflow: auto;
    margin: 0;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.auth-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.auth-modal__close:hover {
    background: color-mix(in srgb, var(--border-soft) 60%, #fff);
    color: var(--text-primary);
}

.auth-modal__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin: 0 0 1.5rem;
    padding: 0.3rem;
    background: color-mix(in srgb, var(--bg-color) 75%, #ebe6dc);
    border-radius: 0.9rem;
    max-width: 92%;
}

.auth-modal__tab {
    border: 0;
    border-radius: 0.7rem;
    padding: 0.65rem 0.5rem;
    background: transparent;
    font: inherit;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-modal__tab.is-active {
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(45, 55, 72, 0.08);
    font-weight: 800;
}

.auth-modal__heading {
    margin: 0 0 0.85rem;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.auth-modal p.error,
.auth-modal .error[role="alert"] {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #b42318;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0.75rem 0 1rem 0;
    text-align: left;
}

.auth-modal p.error::before,
.auth-modal .error[role="alert"]::before {
    content: "";
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    background-color: #d92d20;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center / contain;
}

.auth-modal .field .error {
    display: block;
    color: #b42318;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 0.35rem;
    background: transparent;
    border: none;
    padding: 0;
}

.auth-modal .field .error::before {
    content: none !important;
}

.auth-modal .notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    margin: 0.75rem 0 1rem 0;
    text-align: left;
}

.auth-modal__panel .button {
    width: 100%;
    padding: 0.8rem 1rem;
}

.auth-modal__panel .sso-actions .button {
    width: 100%;
}

.auth-modal .field input {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-soft);
    transition: all 0.15s ease;
}

.auth-modal .field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 16%, transparent);
    outline: none;
}

.auth-modal__forgot {
    margin: 0.5rem 0 0;
    text-align: center;
    font-size: 0.875rem;
}

.auth-modal__forgot a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: color 0.15s ease;
}

.auth-modal__forgot a:hover {
    color: var(--primary-color);
}

.legal-consent {
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0.85rem 0 0;
    color: var(--text-muted);
}

.legal-consent a {
    text-decoration: underline;
    color: var(--primary-color);
}

.legal-doc-dialog {
    width: min(100vw - 1rem, 56rem);
    height: min(100vh - 1rem, 90vh);
    max-width: none;
    max-height: none;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.legal-doc-dialog::backdrop {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
}

.legal-doc-dialog__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
}

.legal-doc-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--border-soft);
}

.legal-doc-dialog__header h2 {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.legal-doc-dialog__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.legal-doc-dialog__page-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 0.12em;
    white-space: nowrap;
}

.legal-doc-dialog__close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 0.5rem;
    padding: 0.25rem;
    transition: color 0.15s ease;
}

.legal-doc-dialog__close:hover {
    color: var(--text-primary);
}

.mkt-legal {
    padding: 2.5rem 0 3.5rem;
}

.mkt-legal__card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 1.35rem;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    box-shadow: var(--shadow-card);
    line-height: 1.65;
}

.mkt-legal__card h1 {
    margin-top: 0;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
}

.mkt-legal__card h2 {
    margin-top: 2rem;
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.mkt-legal__card p {
    color: var(--text-primary);
}

.legal-doc-dialog__body {
    padding: 1.35rem;
    overflow: auto;
    flex: 1;
}

@media (min-width: 1100px) {

    .mkt-nav,
    .mkt-header__actions {
        display: flex;
    }

    .mkt-nav-toggle,
    .mkt-nav-mobile {
        display: none !important;
    }

    .mkt-hero {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
        padding: 4.5rem 0 3.5rem;
    }
}

/* ==========================================================================
   Flash Banner (např. po odhlášení)
   ========================================================================== */

.mkt-flash-banner {
    background: #ecfdf5;
    border-bottom: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.mkt-flash-banner__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mkt-flash-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mkt-flash-banner__text {
    flex: 1;
}

.mkt-flash-banner__close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: #065f46;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.mkt-flash-banner__close:hover {
    opacity: 1;
}