/* ============ MARKETING SITE — webkon.cz ============
   Self-contained, no shared CSS with the app. Brand color picked to
   match the app's --purple-600 (#5a84a8) so visual transitions between
   the marketing site and the app feel cohesive. */

:root {
    --brand:        #5a84a8;
    --brand-dark:   #4a6f8e;
    --brand-light:  #81a6c6;
    --brand-50:     #f0f5fa;
    --brand-100:    #dde9f2;

    --text:         #1f2937;
    --text-soft:    #475569;
    --text-muted:   #64748b;
    --text-faint:   #94a3b8;
    --bg:           #ffffff;
    --bg-soft:      #f8fafc;
    --bg-card:      #ffffff;
    --border:       #e2e8f0;
    --border-soft:  #f1f5f9;

    --success:      #16a34a;
    --warning:      #f59e0b;
    --danger:       #dc2626;

    --radius:       8px;
    --radius-lg:    12px;
    --radius-xl:    18px;

    --shadow-sm:    0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:       0 2px 4px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg:    0 8px 24px rgba(15, 23, 42, 0.08), 0 16px 48px rgba(15, 23, 42, 0.06);

    --container:    1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; transition: color 150ms; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: all 150ms ease;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}
.btn-outline:hover {
    background: var(--brand);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--text-soft);
    border-color: transparent;
}
.btn-ghost:hover { color: var(--brand); background: var(--brand-50); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 18px 36px; font-size: 1.0625rem; }

/* Arrow that pushes right on hover. Use on any button with .btn-arrow that
   contains a trailing <i class="fa-arrow-right">. The icon's parent is the
   button itself so the transition lives on the icon. */
.btn-arrow i {
    transition: transform 220ms ease;
}
.btn-arrow:hover i {
    transform: translateX(4px);
}

/* ============ HEADER ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}
.site-logo:hover { color: var(--text); }

.site-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    gap: 4px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.site-nav a {
    padding: 8px 14px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 150ms;
}
.site-nav a:hover { color: var(--brand); background: var(--brand-50); }
.site-nav a.active { color: var(--brand); background: var(--brand-50); }

.site-header-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.site-nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: border-color 150ms ease, color 150ms ease;
    align-items: center;
    justify-content: center;
}
.site-nav-toggle:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* Hamburger that morphs into a cross. Three spans stacked vertically; the
   top and bottom rotate to form the X while the middle fades out. The
   transitions are coordinated (top/bottom translate first, then rotate)
   so the lines glide together at the center before forming the X — feels
   much smoother than rotating the whole stack at once. */
.hamburger {
    position: relative;
    display: block;
    width: 18px;
    height: 14px;
}
.hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 200ms ease;
    transform-origin: center;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Open state — top span slides down to center then rotates 45°, bottom
   span slides up to center then rotates -45°, middle fades. The combined
   transitions on transform handle the slide+rotate in a single tween. */
.site-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.site-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0.4);
}
.site-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
    .site-header-inner {
        gap: 12px;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        animation: navDropIn 240ms ease-out;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 14px; }
    .site-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    /* On mobile we want logo on the left, then CTA + toggle hugging the right.
       The header-inner already uses space-between which puts the logo on
       one side and groups everything else on the other; the change is to
       drop the centered nav from the middle (it becomes the dropdown) so
       there's no empty space between logo and CTA. */
    .site-header-cta .btn { padding: 10px 16px; font-size: 0.875rem; }
}
@media (max-width: 480px) {
    .site-header-cta .btn { padding: 9px 13px; font-size: 0.8125rem; }
    .site-header-cta .btn i { display: none; }
    .site-header-inner { padding: 12px 16px; }
}

@keyframes navDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
    padding: 96px 0 64px;
    background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    color: var(--brand);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--brand-100);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--brand); }

.hero .lead {
    font-size: 1.0625rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--success); }

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.12), transparent 50%);
}
.hero-visual-placeholder {
    position: relative;
    color: rgba(255,255,255,0.85);
    text-align: center;
    padding: 24px;
    font-size: 0.875rem;
}
.hero-visual-placeholder i {
    display: block;
    font-size: 3.5rem;
    margin-bottom: 14px;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .hero { padding: 64px 0 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { aspect-ratio: 16 / 11; }
}

/* ============ SECTION FRAMING ============ */
.section {
    padding: 80px 0;
}
.section-soft {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text);
}
.section-header p {
    font-size: 1.0625rem;
    color: var(--text-soft);
    line-height: 1.65;
}

/* ============ FEATURE CARDS ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: left;
    transition: all 200ms ease;
}
.feature-card:hover {
    border-color: var(--brand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.feature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.feature-card p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* ============ FEATURE ROWS (alternating) ============ */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-row-text { order: 2; }

.feature-row-text h3 {
    font-size: 1.625rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    color: var(--text);
}
.feature-row-text p {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}
.feature-row-text ul {
    list-style: none;
    padding: 0;
}
.feature-row-text ul li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: 0.9375rem;
}
.feature-row-text ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--brand);
    font-size: 0.875rem;
}

.feature-row-visual {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--brand-50) 0%, white 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 3rem;
    overflow: hidden;
}

@media (max-width: 900px) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 64px;
    }
    .feature-row.reverse .feature-row-text { order: 0; }
}

/* ============ PRICING ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 200ms ease;
    position: relative;
}
.pricing-card.featured {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}
.pricing-card.featured::before {
    content: 'Doporučeno';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: white;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.pricing-card-tagline {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.pricing-price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.pricing-card ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border-soft);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--brand);
    font-size: 0.75rem;
}
.pricing-card .btn { width: 100%; }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============ "ALL FREE" REVEAL BANNER ============ */
.pricing-reveal {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    margin-top: 56px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.pricing-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 50%);
}
.pricing-reveal-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    position: relative;
}
.pricing-reveal h3 {
    font-size: 1.625rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    position: relative;
}
.pricing-reveal p {
    font-size: 1rem;
    opacity: 0.92;
    max-width: 580px;
    margin: 0 auto 22px;
    line-height: 1.65;
    position: relative;
}
.pricing-reveal .btn {
    background: white;
    color: var(--brand);
    border-color: white;
    position: relative;
}
.pricing-reveal .btn:hover {
    background: var(--bg-soft);
    color: var(--brand-dark);
    border-color: var(--bg-soft);
}

/* ============ FAQ ============ */
.faq-search {
    max-width: 760px;
    margin: 0 auto 24px;
    position: relative;
}
.faq-search input {
    width: 100%;
    padding: 14px 18px 14px 46px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg-card);
    color: var(--text);
    transition: all 180ms ease;
}
.faq-search input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(90, 132, 168, 0.12);
}
.faq-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    font-size: 0.9375rem;
    pointer-events: none;
}
.faq-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-faint);
    cursor: pointer;
    padding: 4px;
    font-size: 0.875rem;
    display: none;
}
.faq-search-clear.visible { display: block; }
.faq-search-clear:hover { color: var(--brand); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    display: none;
}
.faq-empty.visible { display: block; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 200ms ease;
}
.faq-item.hidden { display: none; }
.faq-item-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9375rem;
    transition: background 150ms;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
}
.faq-item-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand);
    font-size: 0.75rem;
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.faq-item.open .faq-item-question::after { transform: rotate(180deg); }
.faq-item-question:hover { background: var(--bg-soft); }
.faq-item.open .faq-item-question { background: var(--brand-50); }

.faq-item-body-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height 360ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-item-body-wrap {
    max-height: 600px;
}
.faq-item-body {
    padding: 4px 24px 22px;
    color: var(--text-soft);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.faq-item-body p { margin-bottom: 10px; }
.faq-item-body p:last-child { margin-bottom: 0; }
.faq-item-body ul { padding-left: 22px; margin: 8px 0; }
.faq-item-body ul li { margin-bottom: 4px; }
.faq-item-body a { color: var(--brand); font-weight: 500; }
.faq-item-body a:hover { text-decoration: underline; }
/* Hidden alt-titles for search — never visible to users */
.faq-alt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============ FINAL CTA ============ */
.final-cta {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.10), transparent 50%);
}
.final-cta-content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}
.final-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.final-cta p {
    font-size: 1.0625rem;
    opacity: 0.92;
    margin-bottom: 30px;
    line-height: 1.65;
}
.final-cta .btn {
    background: white;
    color: var(--brand);
    border-color: white;
}
.final-cta .btn:hover {
    background: var(--bg-soft);
    color: var(--brand-dark);
    border-color: var(--bg-soft);
}
.final-cta-trust {
    margin-top: 18px;
    font-size: 0.8125rem;
    opacity: 0.75;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 56px 0 24px;
    color: var(--text-soft);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.site-footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 14px;
}
.site-footer-col ul {
    list-style: none;
    padding: 0;
}
.site-footer-col ul li {
    margin-bottom: 8px;
}
.site-footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 150ms;
}
.site-footer-col ul li a:hover { color: var(--brand); }

.site-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-faint);
}

@media (max-width: 900px) {
    .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .site-footer-grid { grid-template-columns: 1fr; }
}

/* ============ SUB-PAGE LAYOUT ============ */
.page-hero {
    padding: 80px 0 48px;
    background: linear-gradient(180deg, var(--brand-50) 0%, var(--bg) 100%);
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    color: var(--text);
}
.page-hero p {
    font-size: 1.0625rem;
    color: var(--text-soft);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}
.page-hero p.pricing-headline {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 500;
}
.page-hero p.pricing-headline strong {
    color: var(--brand);
    font-weight: 800;
    font-size: 2rem;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 0.9375rem;
    line-height: 1.75;
}
.prose h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 24px;
    margin-bottom: 8px;
}
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--brand); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* ============ MIGRATION TOOLS GRID (used on /migrace) ============ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 32px auto 0;
}
.tools-grid-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-align: center;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
    cursor: default;
    position: relative;
}
.tools-grid-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    background: var(--brand-50);
    box-shadow: 0 6px 16px rgba(90, 132, 168, 0.18);
}
.tools-grid-item-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9375rem;
    margin-bottom: 4px;
    transition: color 220ms ease;
}
.tools-grid-item:hover .tools-grid-item-name {
    color: var(--brand-dark);
}
.tools-grid-item-format {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 700px) {
    .tools-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ ABOUT CARD ============ */
.about-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: start;
    box-shadow: var(--shadow-sm);
}
.about-card-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    border: 3px solid var(--brand-50);
}
.about-card-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
    letter-spacing: -0.01em;
}
.about-card-text p {
    color: var(--text-soft);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}
.about-card-text p:last-child { margin-bottom: 0; }
.about-card-text a { color: var(--brand); font-weight: 500; }
.about-card-text a:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .about-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 24px;
    }
    .about-card-photo {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ============ CONTACT CARD ============ */
.contact-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.contact-card h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--text-soft);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}
.contact-card .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-50);
    color: var(--brand-dark);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
}
.contact-card .contact-email:hover {
    background: var(--brand-100);
}

/* ============ CONTACT FORM (reusable component) ============ */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 36px 32px;
    box-shadow: var(--shadow-sm);
}
.contact-form h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.contact-form .form-intro {
    color: var(--text-soft);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.contact-form .form-field {
    display: block;
    margin-bottom: 14px;
}
.contact-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg-card);
    color: var(--text);
    transition: all 180ms ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(90, 132, 168, 0.12);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}
.contact-form .form-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-form .form-note {
    font-size: 0.75rem;
    color: var(--text-faint);
}
.contact-form .form-success,
.contact-form .form-error {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 18px;
}
.contact-form .form-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.contact-form .form-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
@media (max-width: 560px) {
    .contact-form { padding: 28px 24px 24px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ============ SCROLL FADE-IN ============ */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
