:root {
    --mkt-primary: #1b4f72;
    --mkt-primary-dark: #15405c;
    --mkt-text: #1a2330;
    --mkt-muted: #5b6775;
    --mkt-bg: #f4f7fa;
    --mkt-surface: #ffffff;
    --mkt-border: #d7e0e8;
    --mkt-focus: #1b4f72;
    --mkt-success: #2d7a4f;
    --mkt-radius: 1rem;
    --mkt-max: 74rem;
    --mkt-shadow: 0 18px 48px rgba(26, 35, 48, 0.12);
    --mkt-shadow-soft: 0 10px 28px rgba(26, 35, 48, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body.mkt-body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--mkt-text);
    background:
        radial-gradient(1200px 420px at 12% -8%, rgba(27, 79, 114, 0.07), transparent 58%),
        radial-gradient(900px 380px at 92% 8%, rgba(45, 122, 79, 0.05), transparent 52%),
        var(--mkt-bg);
    line-height: 1.6;
    overflow-x: clip;
}

html[dir="rtl"] body.mkt-body {
    font-family: Cairo, "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.7;
}

html[dir="rtl"] .mkt-kicker {
    letter-spacing: 0.04em;
    text-transform: none;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-weight: 700;
    line-height: 1.35;
}

html[dir="rtl"] .mkt-hero h1 {
    font-weight: 800;
}

img {
    max-width: 100%;
    height: auto;
}

.mkt-skip {
    position: absolute;
    inset-inline-start: 0.75rem;
    top: -3rem;
    z-index: 30;
    background: var(--mkt-primary);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: var(--mkt-radius);
}

.mkt-skip:focus {
    top: 0.75rem;
}

.mkt-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--mkt-border);
    backdrop-filter: blur(12px);
}

.mkt-header-inner {
    max-width: var(--mkt-max);
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.mkt-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--mkt-text);
    text-decoration: none;
    font-weight: 700;
}

.mkt-mark {
    display: block;
}

.mkt-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mkt-nav-toggle-label {
    margin-inline-start: auto;
    cursor: pointer;
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    padding: 0.4rem 0.7rem;
    background: var(--mkt-surface);
}

.mkt-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
}

.mkt-nav-toggle:checked ~ .mkt-nav,
.mkt-nav-toggle:focus-visible ~ .mkt-nav {
    display: flex;
}

.mkt-nav-item,
.mkt-lang,
.mkt-cta {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--mkt-radius);
}

.mkt-nav-item--disabled,
.mkt-cta--inactive {
    color: var(--mkt-muted);
    cursor: not-allowed;
}

.mkt-lang {
    color: var(--mkt-primary);
    text-decoration: underline;
    font-weight: 600;
}

.mkt-cta {
    background: var(--mkt-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.mkt-cta:hover {
    background: var(--mkt-primary-dark);
}

.mkt-cta--inactive {
    background: #8aa3b5;
    color: #fff;
}

.mkt-main {
    max-width: var(--mkt-max);
    margin: 0 auto;
    padding: 3.25rem 1.25rem 4.5rem;
}

.mkt-main:focus {
    outline: none;
}

.mkt-hero {
    padding-bottom: 0.5rem;
}

.mkt-hero-copy {
    max-width: 42rem;
    margin-bottom: 2.25rem;
}

.mkt-hero h1 {
    font-size: clamp(1.9rem, 4.4vw, 2.85rem);
    line-height: 1.18;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.mkt-kicker {
    margin: 0 0 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--mkt-primary);
    font-weight: 700;
}

.mkt-lead {
    font-size: 1.12rem;
    color: var(--mkt-muted);
    max-width: 40rem;
    margin: 0 0 0.35rem;
}

.mkt-hero-einvoice {
    margin: 1.1rem 0 1.35rem;
}

.mkt-hero-einvoice-line {
    margin: 0;
    font-size: 1rem;
    color: var(--mkt-muted);
    max-width: 40rem;
}

.mkt-hero-einvoice-marks {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.65rem 0 0;
}

.mkt-hero-einvoice-marks img {
    display: block;
    height: 1.75rem;
    width: auto;
    max-width: 8.5rem;
    object-fit: contain;
}

.mkt-cta-hint {
    font-size: 0.9rem;
    color: var(--mkt-muted);
}

.mkt-hero-frame {
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    border-radius: 1.15rem;
    border: 1px solid var(--mkt-border);
    background: var(--mkt-surface);
    box-shadow: var(--mkt-shadow);
    animation: mkt-rise 0.7s ease 0.12s both;
}

.mkt-hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.mkt-hero-shot {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

@keyframes mkt-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.mkt-footer {
    background: var(--mkt-surface);
    border-top: 1px solid var(--mkt-border);
}

.mkt-footer-grid {
    max-width: var(--mkt-max);
    margin: 0 auto;
    padding: 2.25rem 1.25rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1.25rem;
}

.mkt-footer h2 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.mkt-footer-note {
    margin: 0;
    color: var(--mkt-muted);
    font-size: 0.9rem;
}

.mkt-legal {
    max-width: 46rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
    overflow-wrap: anywhere;
}

.mkt-legal-header h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
}

.mkt-legal-meta {
    margin: 0 0 1rem;
    color: var(--mkt-muted);
    font-size: 0.95rem;
}

.mkt-legal .mkt-lead {
    margin: 0 0 1.75rem;
}

.mkt-legal-section {
    margin: 0 0 1.5rem;
}

.mkt-legal-section h2 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
}

.mkt-legal-section p {
    margin: 0 0 0.75rem;
    color: var(--mkt-text);
}

.mkt-legal-section p:last-child {
    margin-bottom: 0;
}

a:focus-visible,
button:focus-visible,
.mkt-nav-item:focus-visible,
.mkt-cta:focus-visible,
.mkt-nav-toggle-label:focus-within,
.mkt-skip:focus-visible {
    outline: 2px solid var(--mkt-focus);
    outline-offset: 2px;
}

@media (min-width: 56rem) {
    .mkt-nav-toggle-label {
        display: none;
    }

    .mkt-nav {
        display: flex;
        width: auto;
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.2rem;
    }
}

a.mkt-nav-item {
    color: var(--mkt-primary);
    text-decoration: none;
    font-weight: 600;
}

a.mkt-nav-item:hover {
    background: rgba(27, 79, 114, 0.06);
}

.mkt-trial,
.mkt-compare {
    margin-top: 2.75rem;
}

.mkt-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.15rem;
    margin-top: 2rem;
    align-items: stretch;
}

.mkt-plan-card,
.mkt-trial {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    padding: 1.4rem 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--mkt-shadow-soft);
}

.mkt-plan-card h2,
.mkt-plan-card h3 {
    margin: 0 0 0.4rem;
}

.mkt-plan-card .mkt-cta {
    margin-top: auto;
    align-self: flex-start;
}

.mkt-plan-card--featured {
    border-color: rgba(27, 79, 114, 0.45);
    box-shadow: var(--mkt-shadow);
    position: relative;
}

.mkt-price-amount {
    font-size: 1.9rem;
    font-weight: 700;
}

.mkt-price-period,
.mkt-price-year,
.mkt-annual-note,
.mkt-plan-position {
    color: var(--mkt-muted);
}

.mkt-limits {
    padding-inline-start: 0;
    list-style: none;
    margin: 0.75rem 0 1.1rem;
}

.mkt-limits li {
    position: relative;
    padding-inline-start: 1.35rem;
    margin: 0.35rem 0;
}

.mkt-limits li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--mkt-success);
    font-weight: 700;
}

.mkt-table-wrap {
    overflow-x: auto;
}

.mkt-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--mkt-surface);
    border-radius: var(--mkt-radius);
}

.mkt-table th,
.mkt-table td {
    border-bottom: 1px solid var(--mkt-border);
    padding: 0.7rem 0.8rem;
    text-align: start;
}

.mkt-check {
    color: var(--mkt-success);
    font-weight: 700;
    font-size: 1.05rem;
}

.mkt-module,
.mkt-why,
.mkt-einvoice,
.mkt-home-pricing,
.mkt-close {
    margin-top: 5.25rem;
    scroll-margin-top: 5.25rem;
}

.mkt-module h2,
.mkt-why h2,
.mkt-einvoice h2,
.mkt-home-pricing h2,
.mkt-close h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0 0 0.65rem;
}

.mkt-module {
    display: grid;
    gap: 1.35rem;
}

.mkt-module--band {
    margin-inline: -0.35rem;
    padding: 1.75rem 1rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
    border: 1px solid rgba(215, 224, 232, 0.8);
}

.mkt-module-visual {
    min-width: 0;
}

.mkt-carousel {
    margin-top: 0;
}

.mkt-carousel-stage {
    position: relative;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid var(--mkt-border);
    background: var(--mkt-surface);
    box-shadow: var(--mkt-shadow);
}

.mkt-einvoice {
    text-align: center;
}

.mkt-einvoice .mkt-lead {
    margin-inline: auto;
}

.mkt-einvoice-marks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    margin: 2rem auto 0;
    max-width: 40rem;
}

.mkt-einvoice-mark {
    margin: 0;
    width: min(100%, 18rem);
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: 1.15rem;
    box-shadow: var(--mkt-shadow);
    padding: 1.5rem 1.35rem 1.15rem;
    text-align: center;
}

.mkt-einvoice-logo {
    display: block;
    width: 12rem;
    height: 4.75rem;
    max-width: 100%;
    margin: 0 auto 0.85rem;
    object-fit: contain;
    object-position: center;
}

.mkt-einvoice-mark figcaption {
    font-weight: 600;
    font-size: 0.95rem;
}

.mkt-pricing-more {
    margin-top: 1.4rem;
}

.mkt-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.mkt-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .mkt-reveal,
    .mkt-hero-frame {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

.mkt-benefits {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.mkt-benefits li {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius);
    padding: 1.2rem 1.15rem 1.15rem;
    box-shadow: var(--mkt-shadow-soft);
}

.mkt-benefits h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.mkt-benefits p {
    margin: 0;
    color: var(--mkt-muted);
    font-weight: 400;
}

.mkt-benefit-mark {
    display: block;
    width: 2rem;
    height: 0.28rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: var(--mkt-primary);
}

.mkt-carousel-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

html[dir="rtl"] .mkt-carousel-img {
    transform: translateX(-10px);
}

.mkt-carousel-img.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.mkt-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.mkt-carousel-btn {
    min-width: 2.15rem;
    min-height: 2.15rem;
    border: 1px solid var(--mkt-border);
    border-radius: 999px;
    background: var(--mkt-surface);
    color: var(--mkt-muted);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.mkt-carousel-btn:hover {
    color: var(--mkt-text);
    border-color: #b7c4ce;
}

.mkt-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.mkt-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--mkt-border);
    cursor: pointer;
}

.mkt-carousel-dot.is-active {
    width: 1.15rem;
    border-radius: 999px;
    background: var(--mkt-primary);
}

.mkt-close {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #163e5b, #1b4f72);
    color: #fff;
}

.mkt-close h2 {
    color: #fff;
}

.mkt-close .mkt-cta {
    background: #fff;
    color: var(--mkt-primary);
}

.mkt-close .mkt-cta:hover {
    background: #edf3f7;
}

@media (min-width: 40rem) {
    .mkt-benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .mkt-einvoice-marks {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .mkt-einvoice-mark:first-child {
        transform: translateY(-0.85rem);
    }

    .mkt-einvoice-mark:last-child {
        transform: translateY(1.15rem);
    }
}

@media (min-width: 56rem) {
    .mkt-module {
        grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 1fr);
        align-items: center;
        gap: 2.5rem;
    }

    .mkt-module--flip .mkt-module-copy {
        order: 2;
    }

    .mkt-module--flip .mkt-module-visual {
        order: 1;
    }

    .mkt-module--flip {
        grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.38fr);
    }

    .mkt-module--band {
        margin-inline: -1.5rem;
        padding: 2.35rem 1.75rem;
    }
}
