:root {
    --mkt-accent: #3b82f6;
    --mkt-accent-2: #6366f1;
    --mkt-bg: #ffffff;
    --mkt-bg-soft: #f8fafc;
    --mkt-text: #0f172a;
    --mkt-text-muted: #64748b;
    --mkt-border: #e2e8f0;
    --mkt-card-bg: #ffffff;
}

:root[data-bs-theme="dark"] {
    --mkt-bg: #0b1220;
    --mkt-bg-soft: #0f172a;
    --mkt-text: #e5e7eb;
    --mkt-text-muted: #94a3b8;
    --mkt-border: #1e293b;
    --mkt-card-bg: #111c33;
}

.theme-toggle__dark, .theme-toggle__light { line-height: 1; }
:root[data-bs-theme="light"] .theme-toggle__light { display: none; }
:root[data-bs-theme="dark"]  .theme-toggle__dark  { display: none; }

.mkt-body {
    background: var(--mkt-bg);
    color: var(--mkt-text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.mkt-logo { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; }
.mkt-logo img { width: 100%; height: 100%; object-fit: contain; }
.mkt-logo-sm { width: 28px; height: 28px; }

.mkt-nav {
    background: color-mix(in srgb, var(--mkt-bg) 88%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--mkt-border);
}
.mkt-nav .nav-link { color: var(--mkt-text-muted); font-weight: 500; }
.mkt-nav .nav-link:hover { color: var(--mkt-text); }
.mkt-cta-btn { border: 0; background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2)); font-weight: 600; }

.mkt-theme-toggle {
    border: 1px solid var(--mkt-border); border-radius: 999px;
    width: 34px; height: 34px; display: inline-grid; place-items: center;
    color: var(--mkt-text-muted); background: transparent;
}
.mkt-theme-toggle:hover { color: var(--mkt-text); border-color: var(--mkt-accent); }

/* ---------- Hero ---------- */
.mkt-hero {
    position: relative;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--mkt-accent) 18%, transparent), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, color-mix(in srgb, var(--mkt-accent-2) 14%, transparent), transparent 60%);
}
.mkt-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.mkt-hero .lead { color: var(--mkt-text-muted); font-size: 1.15rem; max-width: 620px; }
.mkt-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8rem; font-weight: 600; color: var(--mkt-accent);
    background: color-mix(in srgb, var(--mkt-accent) 12%, transparent);
    border-radius: 999px; padding: .35rem .8rem; margin-bottom: 1.25rem;
}
.mkt-hero-actions .btn { padding: .7rem 1.5rem; font-weight: 600; }
.mkt-hero-note { color: var(--mkt-text-muted); font-size: .85rem; }

.mkt-hero-card {
    border-radius: 1.25rem;
    border: 1px solid var(--mkt-border);
    background: var(--mkt-card-bg);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .25);
    overflow: hidden;
}
.mkt-hero-card-header {
    background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2));
    color: #fff; padding: 1rem 1.25rem;
}
.mkt-stat { border: 1px solid var(--mkt-border); border-radius: .75rem; padding: .9rem 1rem; }
.mkt-stat .val { font-size: 1.3rem; font-weight: 700; }
.mkt-stat .lbl { color: var(--mkt-text-muted); font-size: .78rem; }

/* ---------- Feature grid ---------- */
.mkt-section { padding: 5rem 0; }
.mkt-section-soft { background: var(--mkt-bg-soft); }
.mkt-section-title { font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mkt-section-sub { color: var(--mkt-text-muted); max-width: 620px; }

.mkt-feature-card {
    height: 100%; border-radius: 1rem; border: 1px solid var(--mkt-border);
    background: var(--mkt-card-bg); padding: 1.6rem; transition: transform .15s ease, box-shadow .15s ease;
}
.mkt-feature-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .35); }
.mkt-feature-icon {
    width: 46px; height: 46px; border-radius: .75rem;
    display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2));
    margin-bottom: 1rem;
}
.mkt-feature-card h3 { font-size: 1.05rem; font-weight: 700; }
.mkt-feature-card p { color: var(--mkt-text-muted); font-size: .92rem; margin-bottom: 0; }

/* ---------- Workflow steps ---------- */
.mkt-step {
    display: flex; gap: 1rem; align-items: flex-start;
}
.mkt-step-num {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px;
    display: grid; place-items: center; font-weight: 700;
    background: color-mix(in srgb, var(--mkt-accent) 14%, transparent); color: var(--mkt-accent);
}
.mkt-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.mkt-step p { color: var(--mkt-text-muted); font-size: .92rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.mkt-cta-band {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2));
    color: #fff; padding: 3rem 2rem; text-align: center;
}
.mkt-cta-band h2 { font-weight: 800; }
.mkt-cta-band .btn-light { font-weight: 700; padding: .7rem 1.75rem; }

.mkt-footer { border-top: 1px solid var(--mkt-border); background: var(--mkt-bg-soft); }

/* ---------- Pricing ---------- */
.mkt-price-card {
    height: 100%; border-radius: 1.1rem; border: 1px solid var(--mkt-border);
    background: var(--mkt-card-bg); padding: 2rem; position: relative;
    display: flex; flex-direction: column;
}
.mkt-price-card-featured {
    border-color: var(--mkt-accent);
    box-shadow: 0 20px 45px -20px color-mix(in srgb, var(--mkt-accent) 45%, transparent);
}
.mkt-price-badge {
    position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2));
    color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px;
}
.mkt-price-plan { font-size: 1.2rem; font-weight: 800; margin-bottom: .15rem; }
.mkt-price-tagline { color: var(--mkt-text-muted); font-size: .85rem; margin-bottom: 1.25rem; }
.mkt-price-amount { margin-bottom: 1.5rem; }
.mkt-price-amount .val { font-size: 2.2rem; font-weight: 800; }
.mkt-price-amount .period { color: var(--mkt-text-muted); font-size: .9rem; margin-left: .25rem; }
.mkt-price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.mkt-price-list li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .9rem; padding: .4rem 0; color: var(--mkt-text);
}
.mkt-price-list li i { color: var(--mkt-accent); }

/* ---------- Full-width (corner to corner) ---------- */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
.mkt-wide { width: 100%; padding-inline: clamp(1rem, 4vw, 4.5rem); }
.mkt-hero { padding: 4.5rem 0 4rem; }
.mkt-hero h1 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.mkt-hero .lead { max-width: 640px; }
.mkt-section-sub.mx-auto { margin-inline: auto; }
.mkt-cta-band { padding: 4rem 2rem; }
@media (min-width: 1200px) { .mkt-feature-card { padding: 2rem; } }

/* ---------- Screenshot frames ---------- */
.mkt-hero-shot { position: relative; }
.mkt-frame {
    border-radius: 1rem; overflow: hidden; background: var(--mkt-card-bg);
    border: 1px solid var(--mkt-border);
    box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .45);
}
.mkt-hero-shot .mkt-frame { transform: perspective(1800px) rotateY(-5deg) rotateX(1deg); transition: transform .4s ease; }
.mkt-hero-shot:hover .mkt-frame { transform: none; }
.mkt-frame img { display: block; width: 100%; height: auto; }
.mkt-frame-bar {
    display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem;
    background: var(--mkt-bg-soft); border-bottom: 1px solid var(--mkt-border);
}
.mkt-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.mkt-frame-bar i:nth-child(2) { background: #f59e0b; }
.mkt-frame-bar i:nth-child(3) { background: #22c55e; }
.mkt-frame-bar span {
    margin-left: .75rem; font-size: .72rem; color: var(--mkt-text-muted);
    background: var(--mkt-bg); border: 1px solid var(--mkt-border); border-radius: 999px; padding: .1rem .8rem;
}
.mkt-frame-lg { max-width: 1500px; margin-inline: auto; }

.mkt-float {
    position: absolute; display: flex; align-items: center; gap: .7rem;
    background: var(--mkt-card-bg); border: 1px solid var(--mkt-border); border-radius: .9rem;
    padding: .7rem 1rem; box-shadow: 0 18px 40px -16px rgba(15,23,42,.4);
    animation: mktBob 5s ease-in-out infinite;
}
.mkt-float strong { display: block; font-size: .85rem; }
.mkt-float small { color: var(--mkt-text-muted); font-size: .72rem; }
.mkt-float-ic { width: 36px; height: 36px; border-radius: .6rem; display: grid; place-items: center; color: #fff; }
.mkt-float-a { left: -1.5rem; bottom: 2.5rem; }
.mkt-float-b { right: 1rem; top: -1.25rem; animation-delay: -2.5s; }
@keyframes mktBob { 50% { transform: translateY(-8px); } }
@media (max-width: 991px) {
    .mkt-hero-shot .mkt-frame { transform: none; }
    .mkt-float-a { left: .5rem; } .mkt-float-b { right: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .mkt-float { animation: none; } html { scroll-behavior: auto; } }

.mkt-logos { border-block: 1px solid var(--mkt-border); background: var(--mkt-bg-soft); padding: 1rem 0; }
.mkt-logos span { color: var(--mkt-text-muted); font-weight: 600; font-size: .9rem; }
.mkt-logos i { color: var(--mkt-accent); margin-right: .35rem; }

.mkt-tabs { gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; }
.mkt-tabs button {
    border: 1px solid var(--mkt-border); background: var(--mkt-card-bg); color: var(--mkt-text-muted);
    border-radius: 999px; padding: .5rem 1.2rem; font-weight: 600; font-size: .9rem;
}
.mkt-tabs button i { margin-right: .4rem; }
.mkt-tabs button.active { background: linear-gradient(135deg, var(--mkt-accent), var(--mkt-accent-2)); color: #fff; border-color: transparent; }

.mkt-nav > .mkt-wide { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }
.mkt-hero h1 { font-size: clamp(2rem, 3.3vw, 3.4rem); }

/* ---------- Legal pages & footer links ---------- */
.mkt-legal-head { padding: 3.5rem 0 2.5rem; background: var(--mkt-bg-soft); border-bottom: 1px solid var(--mkt-border); }
.mkt-legal-head h1 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.mkt-legal-head p { color: var(--mkt-text-muted); }
.mkt-legal h2 { font-size: 1.25rem; font-weight: 700; margin: 2.2rem 0 .75rem; scroll-margin-top: 80px; }
.mkt-legal p { color: var(--mkt-text-muted); line-height: 1.75; }
.mkt-legal .lead { color: var(--mkt-text); font-size: 1.1rem; }
.mkt-legal a, .mkt-footer-links a:hover { color: var(--mkt-accent); }
.mkt-legal-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; }
.mkt-legal-toc a { color: var(--mkt-text-muted); text-decoration: none; padding: .3rem .6rem; border-left: 2px solid var(--mkt-border); }
.mkt-legal-toc a:hover { color: var(--mkt-accent); border-color: var(--mkt-accent); }
.mkt-footer-links a { color: var(--mkt-text-muted); text-decoration: none; font-size: .9rem; }

/* ---------- Contact ---------- */
.mkt-contact-form { background: var(--mkt-card-bg); border: 1px solid var(--mkt-border); border-radius: 1rem; padding: 1.75rem; }
.mkt-contact-form .form-label { font-weight: 600; font-size: .88rem; }
.mkt-contact-item { display: flex; gap: 1rem; align-items: center; background: var(--mkt-card-bg); border: 1px solid var(--mkt-border); border-radius: 1rem; padding: 1rem 1.2rem; }
.mkt-contact-item h3 { font-size: .95rem; font-weight: 700; margin: 0; }
.mkt-contact-item p { margin: 0; color: var(--mkt-text-muted); font-size: .9rem; word-break: break-word; }
.mkt-contact-ok { display: flex; gap: 1rem; align-items: center; padding: 2rem; border-radius: 1rem; border: 1px solid #22c55e; background: color-mix(in srgb, #22c55e 10%, var(--mkt-card-bg)); }
.mkt-contact-ok i { font-size: 2.2rem; color: #22c55e; }
.mkt-contact-ok h3 { font-weight: 800; font-size: 1.2rem; }

/* Blog & landing pages */
.mkt-crumbs { font-size: .85rem; color: var(--mkt-text-muted); margin-bottom: .75rem; }
.mkt-crumbs a { color: var(--mkt-text-muted); text-decoration: none; }
.mkt-crumbs a:hover { color: var(--mkt-accent); }
.mkt-meta { color: var(--mkt-text-muted); font-size: .9rem; }
.mkt-post-card { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border: 1px solid var(--mkt-border); border-radius: 1rem; background: var(--mkt-bg); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.mkt-post-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .35); color: inherit; }
.mkt-post-card h2, .mkt-post-card h3 { font-size: 1.15rem; font-weight: 700; margin: .5rem 0; }
.mkt-post-card p { color: var(--mkt-text-muted); font-size: .93rem; flex: 1; }
.mkt-tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--mkt-accent); }
.mkt-article h2 { font-size: 1.4rem; font-weight: 700; margin: 2.2rem 0 .75rem; scroll-margin-top: 80px; }
.mkt-article h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.mkt-article p, .mkt-article li { color: var(--mkt-text-muted); line-height: 1.8; font-size: 1.02rem; }
.mkt-article li { margin-bottom: .35rem; }
.mkt-article a { color: var(--mkt-accent); }
.mkt-article table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: .95rem; }
.mkt-article th, .mkt-article td { border: 1px solid var(--mkt-border); padding: .55rem .75rem; text-align: left; color: var(--mkt-text-muted); }
.mkt-article th { background: var(--mkt-bg-soft); color: var(--mkt-text); }
.mkt-note { border-left: 4px solid var(--mkt-accent); background: var(--mkt-bg-soft); padding: 1rem 1.25rem; border-radius: .5rem; margin: 1.5rem 0; font-size: .95rem; color: var(--mkt-text-muted); }
.mkt-inline-cta { margin: 2.5rem 0; padding: 1.75rem; border-radius: 1rem; background: var(--mkt-bg-soft); border: 1px solid var(--mkt-border); }
.mkt-inline-cta h3 { margin-top: 0; }
