/* TaaS Marketing Pages — CloudSigma Brand Design System
   Matches StatusPage / OmniSupport design language
   Uses portal.css CSS custom properties for light/dark theme support
   ─────────────────────────────────────────────────────── */

/* ── Nav logo (shared: navbar + footer) ── */
.mkt-nav-logo {
    height: 28px;
    width: auto;
    display: block;
}
/* Slightly larger variant used on landing page nav + footer */
.mkt-nav-logo-lg {
    height: 36px;
    width: auto;
    display: block;
}
/* Product name — aligned to bottom of logo */
.mkt-nav-product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1;
    align-self: flex-end;
    padding-bottom: 1px;
    margin-top: auto;
    letter-spacing: -0.01em;
}
/* Footer product name — same bottom-alignment on dark bg */
.mkt-footer .fs-6.text-white {
    align-self: flex-end;
    padding-bottom: 1px;
}
.mkt-footer .d-flex.align-items-center {
    align-items: flex-end !important;
}
/* Hero btn-light: ensure dark text even in gradient hero */
[data-bs-theme="light"] .mkt-hero .btn-light {
    background: #fff;
    color: #333;
    border-color: #fff;
}
[data-bs-theme="light"] .mkt-hero .btn-light:hover {
    background: rgba(255,255,255,0.9);
    color: #111;
}
/* CTA box buttons — slightly smaller than btn-lg */
.mkt-cta .btn-lg {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
}

/* ── Eyebrow label ── */
.mkt-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cs-green);
}
[data-bs-theme="light"] .mkt-hero .mkt-eyebrow {
    color: rgba(255,255,255,0.85);
}

/* ── Hero card (right-hand panel inside the gradient hero) ── */
.mkt-hero-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #fff;
    backdrop-filter: blur(4px);
}
[data-bs-theme="dark"] .mkt-hero-card {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.12);
}
.mkt-hero-card h2,
.mkt-hero-card strong {
    color: #fff;
}
/* Code block inside hero card */
.mkt-hero-code {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    overflow-x: auto;
}
.mkt-hero-code code {
    color: rgba(255, 255, 255, 0.9);
    background: none;
}

/* ── Surface card (hero panel, feature detail cards) ── */
.mkt-surface {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
[data-bs-theme="light"] .mkt-hero .mkt-surface {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
[data-bs-theme="light"] .mkt-hero .mkt-surface h2,
[data-bs-theme="light"] .mkt-hero .mkt-surface strong,
[data-bs-theme="light"] .mkt-hero .mkt-surface div {
    color: #fff;
}
[data-bs-theme="dark"] .mkt-hero .mkt-surface {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

/* ── Feature cards ── */
.mkt-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mkt-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-bs-theme="dark"] .mkt-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.mkt-feature-card > i.bi {
    display: block;
    font-size: 1.75rem;
    color: var(--cs-green);
    margin-bottom: 0.75rem;
}
.mkt-feature-card h3 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}
.mkt-feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ── Step cards ── */
.mkt-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}
.mkt-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cs-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}
.mkt-step-card h3 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}
.mkt-step-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ── Model / pricing table (mkt-table) ── */
.mkt-table thead th {
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    white-space: nowrap;
}
.mkt-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-primary);
    vertical-align: middle;
}
.mkt-table tbody tr:hover {
    background: rgba(0, 169, 79, 0.03);
}
[data-bs-theme="dark"] .mkt-table tbody tr:hover {
    background: rgba(0, 169, 79, 0.06);
}

/* ── Navigation ── */
/* .mkt-nav is the class used in all templates; .mkt-navbar kept for back-compat */
.mkt-nav,
.mkt-navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s;
    padding: 0.5rem 0;
}
.mkt-nav.scrolled,
.mkt-navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
[data-bs-theme="dark"] .mkt-nav.scrolled,
[data-bs-theme="dark"] .mkt-navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.mkt-nav .navbar-brand,
.mkt-navbar .navbar-brand {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.mkt-nav .navbar-brand img,
.mkt-navbar .navbar-brand img {
    height: 28px;
    width: auto;
}
.mkt-nav .nav-link,
.mkt-navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.mkt-nav .nav-link:hover,
.mkt-nav .nav-link.active,
.mkt-navbar .nav-link:hover,
.mkt-navbar .nav-link.active {
    color: var(--cs-green);
    background: rgba(0, 169, 79, 0.08);
}
[data-bs-theme="dark"] .mkt-nav .nav-link:hover,
[data-bs-theme="dark"] .mkt-nav .nav-link.active,
[data-bs-theme="dark"] .mkt-navbar .nav-link:hover,
[data-bs-theme="dark"] .mkt-navbar .nav-link.active {
    background: rgba(0, 169, 79, 0.12);
}

/* ── Hero Section ── */
.mkt-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}
/* Green to blue gradient matching statuspage.cloudsigma.com */
[data-bs-theme="light"] .mkt-hero {
    background: linear-gradient(135deg, #00853F 0%, #00A94F 50%, #3B82F6 100%);
    color: #fff;
}
[data-bs-theme="dark"] .mkt-hero {
    background: linear-gradient(135deg, #0d1a14 0%, #111820 50%, #1a1d23 100%);
}
/* Override text colors in hero for light theme with gradient */
[data-bs-theme="light"] .mkt-hero h1,
[data-bs-theme="light"] .mkt-hero h2,
[data-bs-theme="light"] .mkt-hero h3,
[data-bs-theme="light"] .mkt-hero .display-4,
[data-bs-theme="light"] .mkt-hero .lead {
    color: #fff !important;
}
[data-bs-theme="light"] .mkt-hero .text-secondary {
    color: rgba(255,255,255,0.85) !important;
}
[data-bs-theme="light"] .mkt-hero .mkt-stat strong,
[data-bs-theme="light"] .mkt-hero .mkt-stat span {
    color: #fff;
}
[data-bs-theme="light"] .mkt-hero .btn-outline-secondary {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
[data-bs-theme="light"] .mkt-hero .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.mkt-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(0, 169, 79, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.mkt-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-heading);
}
.mkt-hero .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
}
@media (max-width: 768px) {
    .mkt-hero { padding: 3rem 0 2.5rem; }
    .mkt-hero h1 { font-size: 2rem; }
}

/* ── Page Header (non-hero pages) ── */
.mkt-page-header {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--border-color);
}
[data-bs-theme="light"] .mkt-page-header {
    background: linear-gradient(135deg, #f8faf9 0%, #f0f4f2 100%);
}
[data-bs-theme="dark"] .mkt-page-header {
    background: linear-gradient(135deg, #111613 0%, #151a18 100%);
}
.mkt-page-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-heading);
}
.mkt-page-header .lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ── Section Labels ── */
.mkt-section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cs-green);
    margin-bottom: 0.75rem;
}

/* ── Sections ── */
.mkt-section {
    padding: 4rem 0;
}
.mkt-section-alt {
    padding: 4rem 0;
    background: var(--bg-surface);
}
.mkt-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}
.mkt-section p.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
}
@media (max-width: 768px) {
    .mkt-section, .mkt-section-alt { padding: 2.5rem 0; }
}

/* ── Cards ── */
.mkt-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mkt-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-bs-theme="dark"] .mkt-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.mkt-card .mkt-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(0, 169, 79, 0.1);
    color: var(--cs-green);
}
.mkt-card .mkt-card-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.mkt-card .mkt-card-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}
.mkt-card .mkt-card-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.mkt-card .mkt-card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.mkt-card .mkt-card-icon.teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}
.mkt-card h5 {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-heading);
}
.mkt-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ── Pricing Cards ── */
.mkt-pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mkt-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-bs-theme="dark"] .mkt-pricing-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.mkt-pricing-card.featured {
    border-color: var(--cs-green);
    box-shadow: 0 0 0 1px var(--cs-green);
}
.mkt-pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
}
.mkt-pricing-card .price small {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.mkt-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mkt-pricing-card ul li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mkt-pricing-card ul li .bi-check-circle-fill {
    color: var(--cs-green);
    flex-shrink: 0;
}

/* ── Model Table ── */
.mkt-model-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.mkt-model-table thead th {
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    white-space: nowrap;
}
.mkt-model-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-primary);
    vertical-align: middle;
}
.mkt-model-table tbody tr:hover {
    background: rgba(0, 169, 79, 0.03);
}
[data-bs-theme="dark"] .mkt-model-table tbody tr:hover {
    background: rgba(0, 169, 79, 0.06);
}

/* ── Step-by-step / Timeline ── */
.mkt-steps .mkt-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.mkt-steps .mkt-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cs-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.mkt-steps .mkt-step-content h5 {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}
.mkt-steps .mkt-step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ── CTA Section ──
   Rendered as a rounded card inside <section><div class="container">.
   Uses a dark green gradient that works in both light and dark themes. */
.mkt-cta {
    padding: 3rem 2.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #00874A 0%, #005c33 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.mkt-cta-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.mkt-cta-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.mkt-cta-body {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
}
.mkt-cta .btn {
    font-weight: 600;
    padding: 0.625rem 1.5rem;
}
.mkt-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.mkt-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}
/* Legacy .mkt-cta text overrides for other pages that still use the old pattern */
.mkt-cta h2 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.mkt-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}
.mkt-cta .mkt-eyebrow {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Footer ── */
.mkt-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}
[data-bs-theme="light"] .mkt-footer {
    background: #1a1d23;
    color: rgba(255, 255, 255, 0.7);
}
[data-bs-theme="dark"] .mkt-footer {
    background: #0d0f12;
    color: rgba(255, 255, 255, 0.5);
}
.mkt-footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.mkt-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.mkt-footer a:hover {
    color: var(--cs-green);
}
.mkt-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Badges ── */
.mkt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.mkt-badge.green {
    background: rgba(0, 169, 79, 0.12);
    color: #00A94F;
}
.mkt-badge.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}
.mkt-badge.orange {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

/* ── Buttons (CloudSigma brand) ── */
.btn-cs-green {
    background: var(--cs-green);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s, transform 0.1s;
}
.btn-cs-green:hover {
    background: #00874A;
    color: #fff;
    transform: translateY(-1px);
}
.btn-cs-outline {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    font-weight: 600;
    border-radius: 8px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-cs-outline:hover {
    border-color: var(--cs-green);
    color: var(--cs-green);
}

/* ── Code Blocks ── */
.mkt-code {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    color: var(--text-primary);
}
.mkt-code .comment { color: var(--text-secondary); }
.mkt-code .string { color: var(--cs-green); }
.mkt-code .keyword { color: #8b5cf6; }

/* ── Stat Cards ── */
.mkt-stat {
    text-align: center;
    padding: 0.75rem 0.5rem;
}
/* Named sub-classes */
.mkt-stat .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--cs-green);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: block;
}
.mkt-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}
/* Template pattern: <strong> + <span> inside .mkt-stat */
.mkt-stat strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}
.mkt-stat span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}
/* In light-theme hero, override to white */
[data-bs-theme="light"] .mkt-hero .mkt-stat strong,
[data-bs-theme="light"] .mkt-hero .mkt-stat span {
    color: #fff;
}

/* ── Region Flags ── */
.mkt-region-flag {
    font-size: 1.1rem;
    margin-right: 0.25rem;
}

/* ── Theme toggle for marketing pages ── */
.mkt-theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s, border-color 0.2s;
}
.mkt-theme-toggle:hover {
    color: var(--cs-green);
    border-color: var(--cs-green);
}

/* ── API Docs specific ── */
.mkt-api-sidebar {
    position: sticky;
    top: 80px;
}
.mkt-api-sidebar .nav-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border-left: 2px solid transparent;
}
.mkt-api-sidebar .nav-link.active {
    color: var(--cs-green);
    background: rgba(0, 169, 79, 0.08);
    border-left-color: var(--cs-green);
}
.mkt-endpoint-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.mkt-method-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.mkt-method-badge.get { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.mkt-method-badge.post { background: rgba(0, 169, 79, 0.15); color: #00A94F; }
.mkt-method-badge.put { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.mkt-method-badge.delete { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* ── Accordion (FAQ, etc.) ── */
.mkt-accordion .accordion-button {
    background: var(--bg-card);
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    box-shadow: none;
}
.mkt-accordion .accordion-button:not(.collapsed) {
    color: var(--cs-green);
    background: var(--bg-card);
}
.mkt-accordion .accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.mkt-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ── Responsive helpers ── */
@media (max-width: 992px) {
    .mkt-api-sidebar { position: static; margin-bottom: 2rem; }
}

/* ── Dark theme button text fixes ── */
[data-bs-theme="dark"] .mkt-hero .btn-success,
[data-bs-theme="dark"] .mkt-hero .btn-light,
[data-bs-theme="dark"] .mkt-cta .btn-success,
[data-bs-theme="dark"] .mkt-cta .btn-outline-light,
[data-bs-theme="dark"] .btn-success.btn-sm {
    color: #fff !important;
}
[data-bs-theme="dark"] .btn-outline-success {
    color: #fff !important;
    border-color: #00A94F;
}
[data-bs-theme="dark"] .btn-outline-success:hover {
    background: #00A94F;
    color: #fff !important;
}
/* Generic: any green-text link/button in dark theme should be white */
[data-bs-theme="dark"] .mkt-feature-card .btn-outline-secondary,
[data-bs-theme="dark"] .mkt-surface .btn-outline-secondary,
[data-bs-theme="dark"] .mkt-step-card .btn-outline-secondary {
    color: #fff;
}

/* ── Smaller hero buttons (all marketing pages) ── */
.mkt-hero .btn-lg {
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
}

/* ── Nav logo: use same size as footer (36px already set by mkt-nav-logo-lg) ── */
/* Already correct — mkt-nav-logo-lg is 36px */

/* ── Theme toggle button in nav ── */
.mkt-theme-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    transition: color 0.2s, border-color 0.2s;
}
.mkt-theme-btn:hover {
    color: var(--cs-green);
    border-color: var(--cs-green);
}
