/* FakturaFlow - Framebite-inspired premium landing */

:root {
    --ink: #0c1222;
    --ink-soft: #1a2336;
    --muted: #5b657a;
    --line: #e6e9f0;
    --line-strong: #d5dae6;
    --surface: #ffffff;
    --surface-2: #f4f6fa;
    --surface-3: #eef1f7;
    --accent: #0066ca;
    --accent-soft: #e8f0ff;
    --good: #0d9f6e;
    --good-soft: #e6f7f1;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(12, 18, 34, 0.04), 0 12px 40px rgba(12, 18, 34, 0.08);
    --shadow-lg: 0 24px 60px rgba(12, 18, 34, 0.14);
    --font: "Inter", system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 72px;
    --hero-pin-height: min(72vh, 720px);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1296px, calc(100% - 60px));
    margin-inline: auto;
}

.full { width: 100%; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
    border: 1.5px solid transparent;
}

.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: var(--ink-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(12, 18, 34, 0.22);
}

.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn-outline:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--ink);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-ghost {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    padding: 8px 12px;
}
.btn-ghost:hover { color: var(--ink); }

/* --- Nav --- */
.nav-shell {
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    position: relative;
    z-index: 1;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--line);
    background: rgba(255, 255, 255, 0.96);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    position: relative;
    z-index: 3;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
}
img.logo-img {
    image-rendering: -webkit-optimize-contrast;
}
.logo-img.sm { height: 22px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: var(--nav-h);
    z-index: 2;
}
.nav-links > a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}
.nav-links > a:hover { color: var(--ink); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    position: relative;
    z-index: 3;
}

.nav-mobile-cta {
    display: none;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--ink);
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}
.mobile-toggle svg { width: 22px; height: 22px; }

/* --- Hero --- */
.hero {
    position: relative;
    padding: 48px 0 0;
    overflow: visible;
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(26, 107, 255, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 20%, rgba(13, 159, 110, 0.08), transparent 50%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 55%, #ffffff 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 980px;
    margin-inline: auto;
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 2px rgba(12, 18, 34, 0.04);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
    max-width: 100%;
}

.hero-badge-text {
    line-height: 1.25;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
    animation: badgePulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
    50% { box-shadow: 0 0 0 7px rgba(0, 102, 202, 0.08); }
}

.hero h1 {
    font-size: 88px;
    font-weight: 600;
    letter-spacing: -4px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-sticky-wrap {
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: sticky;
    top: var(--nav-h);
    z-index: 1;
    width: min(1296px, calc(100% - 60px));
    margin: 0 auto;
}

.hero-pin-track {
    height: var(--hero-pin-height);
    pointer-events: none;
}

.hero-shot {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-shot picture {
    display: block;
}

.hero-shot img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}

.preview-chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8dde8;
}
.preview-chrome span:nth-child(1) { background: #ff5f57; }
.preview-chrome span:nth-child(2) { background: #febc2e; }
.preview-chrome span:nth-child(3) { background: #28c840; }

.preview-url {
    margin-left: 12px;
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    background: var(--surface);
    border-radius: 6px;
    padding: 5px 12px;
    border: 1px solid var(--line);
}

/* --- Trust --- */
.trust-bar {
    position: relative;
    z-index: 3;
    margin-top: calc(-1 * var(--hero-pin-height));
    padding: 56px 0 64px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.trust-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    margin: 0;
    padding: 8px 28px;
    min-width: 0;
}

.trust-point > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-point strong {
    font-size: 0.975rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.3;
}

.trust-sub {
    font-size: 0.875rem;
    color: var(--muted);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.trust-ico {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
    opacity: 0.9;
}

.trust-divider {
    width: 1px;
    align-self: stretch;
    background: var(--line);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .trust-bar {
        padding: 48px 0 56px;
    }
    .trust-split {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .trust-divider {
        width: auto;
        height: 1px;
        margin: 8px 0;
    }
    .trust-point {
        padding: 12px 4px;
    }
}

/* --- Sections --- */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-head h2,
.faq-intro h2,
.cta-inner h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.section-lead {
    font-size: 1.0625rem;
    color: var(--muted);
}

.features {
    position: relative;
    z-index: 3;
    padding: 96px 0 72px;
    background: var(--surface);
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.feature-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.tile-visual {
    height: 180px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    display: grid;
    place-items: center;
    padding: 24px;
}

.tile-timer,
.tile-projects,
.tile-invoice {
    padding: 0;
    overflow: hidden;
    background: #eef2f7;
}

.timer-widget,
.tile-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
}

.tile-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.tile-copy { padding: 22px 22px 26px; }
.tile-copy h3 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.tile-copy p {
    font-size: 0.9375rem;
    color: var(--muted);
    margin-bottom: 14px;
}
.tile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tile-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--surface-2);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: 999px;
}

/* --- Stats --- */
.stats-strip {
    position: relative;
    z-index: 3;
    background: var(--ink);
    color: #fff;
    padding: 48px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stats-grid strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.stats-grid span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --- How --- */
.how {
    position: relative;
    z-index: 3;
    padding: 96px 0;
    background: var(--surface-2);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.step-num {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.step h3 {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* --- Preview --- */
.preview { padding: 96px 0; }

.preview-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.ptab {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    border: 1px solid transparent;
    transition: 0.2s;
}
.ptab:hover { color: var(--ink); }
.ptab.active {
    background: var(--ink);
    color: #fff;
}

.preview-frame {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}

.preview-canvas {
    position: relative;
    aspect-ratio: 3025 / 1651;
    background: #e8ecf2;
    overflow: hidden;
}
.preview-canvas.is-switching .preview-shot.is-active {
    animation: previewFade 0.35s var(--ease);
}
@keyframes previewFade {
    from { opacity: 0.35; transform: scale(0.992); }
    to { opacity: 1; transform: none; }
}

.preview-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: 0 0;
    display: none;
    background: #e8ecf2;
}
.preview-shot.is-active { display: block; }

.preview-canvas[data-fit="contain"] .preview-shot.is-active {
    object-fit: fill;
    object-position: 0 0;
}

.preview-hotspots {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}
.preview-hotspots.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.phs {
    position: absolute;
    box-sizing: border-box;
    border-radius: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.phs:hover,
.phs:focus-visible {
    background: rgba(0, 102, 202, 0.1);
    box-shadow: inset 0 0 0 1.5px rgba(0, 102, 202, 0.55);
    outline: none;
}
.phs.active {
    background: transparent;
    box-shadow: none;
}

.preview-label {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(12, 18, 34, 0.88);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    pointer-events: none;
    white-space: nowrap;
}
.preview-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3dd68c;
    box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.25);
}

/* --- Testimonials --- */
.testimonials {
    padding: 96px 0;
    background: var(--surface-2);
}
.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
blockquote {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
blockquote p {
    font-size: 1.1rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    color: var(--ink-soft);
}
blockquote footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
blockquote strong { font-size: 0.9375rem; }
blockquote span { font-size: 0.85rem; color: var(--muted); }

/* --- Pricing --- */
.pricing { padding: 96px 0; }

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin: 0 auto 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    width: fit-content;
    max-width: 100%;
}
.billing-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    transition: 0.2s;
}
.billing-btn:hover { color: var(--ink); }
.billing-btn.active {
    background: var(--ink);
    color: #fff;
}
.billing-save {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 102, 202, 0.12);
    color: var(--accent);
}
.billing-btn.active .billing-save {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.pricing-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    max-width: 900px;
    margin-inline: auto;
}

.price-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--surface-2);
    color: var(--muted);
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}
.plan-badge.dark {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

.price-top h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.price {
    margin-bottom: 24px;
}
.price strong {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.price span {
    font-size: 0.95rem;
    color: var(--muted);
}
.price-card.featured .price span { color: rgba(255, 255, 255, 0.55); }

.price-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}
.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
}
.price-card li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
}
.price-card.featured li svg { color: #7eb0ff; }

.price-card.featured .btn-dark {
    background: #fff;
    color: var(--ink);
}
.price-card.featured .btn-dark:hover {
    background: #f0f3f8;
}

.pricing-note {
    text-align: center;
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--muted);
}
.pricing-note a {
    color: var(--accent);
    font-weight: 600;
}
.pricing-note a:hover { text-decoration: underline; }

/* --- Compare page --- */
.page-compare { overflow-x: hidden; }

.compare-page {
    position: relative;
    padding: 48px 0 96px;
}

.compare-atmosphere {
    position: absolute;
    inset: 0 0 auto;
    height: 520px;
    background:
        radial-gradient(circle at 18% 30%, rgba(244, 114, 182, 0.12), transparent 28%),
        radial-gradient(circle at 42% 18%, rgba(99, 102, 241, 0.1), transparent 26%),
        radial-gradient(circle at 68% 28%, rgba(16, 185, 129, 0.1), transparent 24%),
        radial-gradient(circle at 82% 40%, rgba(0, 102, 202, 0.08), transparent 22%),
        linear-gradient(180deg, #fafbfd 0%, #ffffff 70%);
    pointer-events: none;
    z-index: 0;
}

.compare-wrap { position: relative; z-index: 1; }

.compare-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.compare-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 14px;
}
.compare-lead {
    font-size: 1.0625rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.compare-layout {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 8px;
}

.compare-spacer { min-height: 1px; }

.compare-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.compare-card-featured {
    border-color: var(--ink);
    box-shadow: var(--shadow);
}

.compare-card-top {
    background: var(--surface-2);
    padding: 12px 20px;
    border-bottom: 1px solid var(--line);
}
.compare-card-featured .compare-card-top {
    background: var(--ink);
    border-bottom-color: var(--ink);
}

.compare-chip {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted);
}
.compare-chip.accent {
    color: #fff;
}

.compare-card-body {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.compare-card-body h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.compare-summary {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 20px;
}
.compare-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 22px;
}
.compare-price strong {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.compare-price span {
    font-size: 0.95rem;
    color: var(--muted);
}
.compare-card-body .btn { margin-top: auto; }

.compare-table {
    margin-top: 12px;
    border-top: 1px solid var(--line);
}

.compare-section-label {
    padding: 28px 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.compare-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.1fr) 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.compare-row-head {
    padding-top: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.compare-cell {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.compare-cell.label {
    text-align: left;
    font-weight: 500;
    color: var(--ink);
}

.cmp-yes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--good);
    color: #fff;
}
.cmp-yes svg { width: 14px; height: 14px; }
.cmp-no {
    color: var(--line-strong);
    font-size: 1.25rem;
    font-weight: 500;
}
.cmp-limit {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #b45309;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 4px 10px;
    border-radius: 999px;
}
.compare-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.compare-back {
    text-align: center;
    margin-top: 40px;
}
.compare-back a {
    color: var(--muted);
    font-weight: 600;
}
.compare-back a:hover { color: var(--ink); }

.compare-row-cta {
    border-bottom: none;
    padding-top: 28px;
    align-items: stretch;
}
.compare-row-cta .compare-cell {
    display: flex;
    align-items: center;
}
.compare-row-cta .btn {
    width: 100%;
}

@media (max-width: 800px) {
    .compare-layout {
        grid-template-columns: 1fr;
    }
    .compare-spacer { display: none; }
    .compare-row-head { display: none; }
    .compare-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 14px 0;
    }
    .compare-cell.label {
        grid-column: 1 / -1;
        text-align: left;
        font-weight: 600;
        margin-bottom: 2px;
    }
}

/* --- FAQ --- */
.faq {
    padding: 96px 0;
    background: var(--surface-2);
}
.faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}
.faq-intro p { color: var(--muted); }
.faq-intro a {
    color: var(--accent);
    font-weight: 600;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p {
    padding: 0 20px 18px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* --- CTA --- */
.cta-band {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 120%, rgba(26, 107, 255, 0.35), transparent 55%),
        var(--ink);
    color: #fff;
    text-align: center;
}
.cta-inner h2 { color: #fff; }
.cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
    font-size: 1.0625rem;
}

/* --- Footer --- */
.footer {
    background: #080c16;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .logo { margin-bottom: 14px; }
.footer-brand p {
    font-size: 0.925rem;
    max-width: 300px;
    line-height: 1.65;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-cols h4 {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.footer-cols a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.55);
}
.footer-cols a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 0.85rem;
}
.socials { display: flex; gap: 12px; }
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
}
.socials a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.socials svg { width: 16px; height: 16px; }

/* --- Motion --- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* --- Responsive --- */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 70px;
        letter-spacing: -3px;
    }
}

@media (max-width: 960px) {
    .hero h1 {
        font-size: 56px;
        letter-spacing: -2.6px;
    }
    .feature-showcase,
    .steps,
    .quote-grid,
    .pricing-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid-2 {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .price-card.featured { transform: none; }
    .faq-layout { grid-template-columns: 1fr; gap: 28px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    :root {
        --hero-pin-height: min(55vh, 420px);
    }

    .nav-links,
    .nav-actions { display: none; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        height: auto;
        z-index: 200;
        background: #fff;
        padding: 8px 24px 0;
        gap: 2px;
        overflow: hidden;
        box-shadow: none;
        border-bottom: none;
    }
    .nav-links.open > a {
        padding: 14px 4px;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--ink);
        letter-spacing: -0.02em;
        border-bottom: 1px solid var(--line);
        white-space: normal;
    }
    .nav-links.open > a:last-of-type {
        border-bottom: none;
    }
    .nav-links.open .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding: 16px 0 calc(20px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--line);
        background: #fff;
        flex-shrink: 0;
    }
    .nav-links.open .nav-mobile-cta .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 14px 18px;
        font-size: 1rem;
    }
    .nav-links.open .nav-mobile-cta .btn-outline {
        background: #fff;
    }
    body.menu-open {
        overflow: hidden;
    }
    body.menu-open .navbar {
        background: #fff;
        border-bottom-color: var(--line);
    }
    .mobile-toggle { display: inline-flex; }

    .feature-showcase,
    .steps,
    .quote-grid,
    .pricing-grid,
    .stats-grid,
    .footer-cols {
        grid-template-columns: 1fr;
    }

    .hero { padding-top: 28px; overflow: visible; }
    .hero-shot { border-radius: 16px; }
    .hero-badge {
        font-size: 0.8125rem;
        padding: 7px 14px 7px 11px;
        gap: 8px;
        margin-bottom: 18px;
        white-space: nowrap;
    }
    .hero-badge-dot {
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 3px var(--accent-soft);
    }
    .preview-hotspots { display: none; }
    .preview-label { bottom: 12px; font-size: 0.75rem; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }

    .container { width: min(1296px, calc(100% - 40px)); }
    .hero-visual { width: min(1296px, calc(100% - 40px)); }
    .hero h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }
    .features, .how, .preview, .testimonials, .pricing, .faq { padding: 72px 0; }
    .cta-band { padding: 64px 0; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- Legal / contact pages --- */
.page-legal { overflow-x: hidden; }

.legal-page {
    padding: 48px 0 96px;
    background:
        radial-gradient(circle at 12% 0%, rgba(0, 102, 202, 0.06), transparent 32%),
        linear-gradient(180deg, #fafbfd 0%, #ffffff 42%);
}

.legal-wrap {
    max-width: 760px;
}

.legal-page h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 8px 0 16px;
}

.legal-lead {
    font-size: 1.0625rem;
    color: var(--muted);
    margin-bottom: 36px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 22px 22px 24px;
}

.contact-card h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--accent);
    font-weight: 600;
}

.contact-card .muted,
.legal-block .muted {
    color: var(--muted);
    font-size: 0.9375rem;
    margin-top: 8px;
}

.legal-block {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 24px 26px 28px;
    margin-bottom: 28px;
}

.legal-block h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-dl {
    display: grid;
    gap: 12px;
}

.contact-dl > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.contact-dl > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-dl dt {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-dl dd {
    font-weight: 600;
}

.contact-dl a { color: var(--accent); }

.legal-prose h2 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 28px 0 10px;
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose p,
.legal-prose li {
    color: var(--ink-soft);
    font-size: 0.975rem;
    margin-bottom: 10px;
}

.legal-prose ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0 0 12px;
}

.legal-prose a {
    color: var(--accent);
    font-weight: 500;
}

.legal-prose a:hover { text-decoration: underline; }

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.legal-nav a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
}

.legal-nav a:hover { text-decoration: underline; }

/* Contact form */
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    padding: 28px 28px 30px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.contact-panel-head {
    margin-bottom: 22px;
}

.contact-panel-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.contact-panel-head p {
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.contact-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    font-size: 0.975rem;
    color: var(--ink);
    background: var(--surface-2);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9aa3b5;
}

.contact-field input:hover,
.contact-field textarea:hover {
    border-color: #c5cad6;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 202, 0.12);
}

.contact-field textarea {
    resize: vertical;
    min-height: 132px;
    line-height: 1.5;
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.contact-consent {
    flex: 1;
    min-width: 200px;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.contact-consent a {
    color: var(--accent);
    font-weight: 600;
}

.contact-consent a:hover { text-decoration: underline; }

.contact-actions .btn {
    flex-shrink: 0;
    padding: 12px 22px;
}

.contact-actions .btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* honeypot — skryté pro lidi, dostupné pro boty */
.contact-hp {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.contact-alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.contact-alert-ok {
    background: var(--good-soft);
    color: #0a7a55;
    border: 1px solid #b6e6d4;
}

.contact-alert-err {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #f5c2c0;
}

@media (max-width: 720px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-dl > div { grid-template-columns: 1fr; gap: 4px; }
    .contact-row { grid-template-columns: 1fr; }
    .contact-panel { padding: 22px 18px 24px; }
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-actions .btn { width: 100%; }
}


/* Almanach podnikatele */
.almanach-wrap {
    max-width: 860px;
}

.almanach-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 36px;
}

.almanach-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 22px 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.almanach-category:hover {
    border-color: rgba(0, 102, 202, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.almanach-category h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}

.almanach-category p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    flex: 1;
}

.almanach-category-cta {
    margin-top: 6px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
}

.almanach-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.almanach-breadcrumb a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.almanach-breadcrumb a:hover {
    text-decoration: underline;
}

.almanach-breadcrumb span[aria-hidden="true"] {
    color: var(--line-strong);
}

.almanach-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.almanach-article {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.almanach-article:hover {
    border-color: rgba(0, 102, 202, 0.35);
    box-shadow: var(--shadow);
}

.almanach-article h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--ink);
}

.almanach-article p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.almanach-article-meta {
    display: block;
    margin-top: 10px;
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
}

.almanach-empty {
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.6);
    padding: 40px 24px;
    text-align: center;
    margin-bottom: 28px;
}

.almanach-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 0.975rem;
}

@media (max-width: 720px) {
    .almanach-categories {
        grid-template-columns: 1fr;
    }
}

.almanach-article-body {
    margin-bottom: 36px;
}

.almanach-cta {
    border: none;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(145deg, #0a7ae8 0%, var(--accent) 48%, #004fa0 100%);
    color: #fff;
    padding: 28px 28px 30px;
    margin-bottom: 36px;
    box-shadow: 0 14px 36px rgba(0, 102, 202, 0.28);
}

.almanach-cta h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    color: #fff;
}

.almanach-cta p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    max-width: 38rem;
}

.almanach-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
}

.almanach-cta .btn-dark {
    background: #fff;
    color: var(--accent);
}

.almanach-cta .btn-dark:hover {
    background: #f3f8ff;
    color: #004fa0;
    box-shadow: 0 10px 28px rgba(12, 18, 34, 0.18);
}

.almanach-cta .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.almanach-cta .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.almanach-cta .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
}

.almanach-cta .btn-ghost:hover {
    color: #fff;
}

.almanach-related h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.almanach-related {
    margin-bottom: 8px;
}

@media (max-width: 720px) {
    .almanach-cta { padding: 22px 18px 24px; }
    .almanach-cta-actions .btn { width: 100%; justify-content: center; }
}
