/* =========================================================
   Aion Messaging — Public Marketing Site Custom Styles
   Built on Bootstrap 4 base
   ========================================================= */

:root {
    --primary: #FF6B35;
    --primary-dark: #e55a24;
    --secondary: #1A1A2E;
    --accent: #16213E;
    --text-dark: #1A1A2E;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --border: #e2e8f0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --white: #ffffff;
    --font: 'Sora', sans-serif;
    --shadow: 0 4px 24px rgba(26,26,46,0.08);
    --shadow-lg: 0 8px 48px rgba(26,26,46,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --header-border: #e2e8f0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sp-body { font-family: var(--font); color: var(--text-dark); font-weight: 400; background: var(--white); }
.sp-text-accent { color: var(--primary) !important; }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font); font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.25; }
h3 { font-size: 1.5rem; }
p  { line-height: 1.75; color: var(--text-muted); }

/* ── Site header (business / top bar + main nav) ─────────── */
.sp-site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--white);
    border-bottom: 1px solid var(--header-border);
    transition: box-shadow 0.2s ease;
}
.sp-site-header.is-compact {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.sp-header-utility {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8125rem;
}
.sp-header-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 36px;
    gap: 1rem;
}
.sp-header-utility a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.sp-header-utility a:hover {
    color: #fff;
    text-decoration: underline;
}
.sp-header-dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 0.5rem;
    vertical-align: middle;
}
.sp-header-utility i {
    margin-right: 0;
    opacity: 0.85;
}
.sp-icon-utility {
    opacity: 0.9;
    stroke: currentColor;
}
.sp-navbar {
    background: var(--white);
    padding: 0;
}
.sp-header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    gap: 0.5rem 1rem;
}
.sp-brand {
    text-decoration: none;
}
.sp-brand img {
    height: auto;
    max-height: 44px;
    width: auto;
    display: block;
}
.sp-footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.75rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-footer-logo-wrap img {
    height: auto;
    max-height: 42px;
    width: auto;
    display: block;
}
.sp-footer-brand-mark:hover .sp-footer-logo-wrap {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

/* Lucide-style inline SVG icons */
.sp-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.sp-icon-inline {
    color: var(--primary);
    margin-top: 0.1rem;
}
.sp-icon-external {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 0.15rem;
    opacity: 0.55;
}
.sp-nav-links .nav-link {
    color: #334155 !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem !important;
}
.sp-nav-links .nav-link:hover,
.sp-nav-links .nav-item.active > .nav-link {
    color: var(--primary) !important;
}
.sp-nav-links .dropdown-toggle::after {
    margin-left: 0.35em;
    vertical-align: 0.12em;
    transition: transform 0.2s ease;
}
.sp-nav-links .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}
.sp-dropdown-menu {
    --bs-dropdown-border-radius: 16px;
    --bs-dropdown-padding-x: 0.65rem;
    --bs-dropdown-padding-y: 0.65rem;
    --bs-dropdown-border-width: 0;
    --bs-dropdown-bg: #fff;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.06) !important;
    padding: 0.65rem !important;
    min-width: 300px;
    margin-top: 0.65rem !important;
    background: #fff !important;
}
.sp-dropdown-panel {
    overflow: hidden;
}
.sp-dropdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0.45rem 0.75rem 0.5rem;
    margin: 0;
}
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem !important;
    border-radius: 12px;
    white-space: normal !important;
    transition: background 0.15s ease;
}
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item:hover,
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item:focus {
    background: #f8fafc !important;
    color: var(--text-dark) !important;
}
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item.active,
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item.active:hover {
    background: rgba(255, 107, 53, 0.08) !important;
    color: var(--text-dark) !important;
}
.sp-dropdown-menu a.dropdown-item.sp-dropdown-item.active .sp-dropdown-title {
    color: var(--primary);
}
.sp-dropdown-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.sp-dropdown-icon .sp-icon {
    color: var(--primary);
}
.sp-dropdown-item:hover .sp-dropdown-icon,
.sp-dropdown-item.active .sp-dropdown-icon {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}
.sp-dropdown-text {
    flex: 1;
    min-width: 0;
    padding-top: 0.1rem;
}
.sp-dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.35;
}
.sp-dropdown-desc {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    margin-top: 0.15rem;
}
.sp-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.35rem 0.5rem;
}
.sp-dropdown-menu--mega {
    min-width: min(920px, calc(100vw - 2rem));
    padding: 0.85rem !important;
}
.sp-services-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}
.sp-services-mega-col .sp-dropdown-item {
    padding: 0.55rem 0.65rem !important;
}
.sp-services-mega-col .sp-dropdown-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-services-mega-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
    padding: 0.85rem 0.75rem 0.35rem;
    border-top: 1px solid #e2e8f0;
}
.sp-services-mega-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.sp-services-mega-link:hover {
    text-decoration: underline;
}
.sp-service-anchor {
    scroll-margin-top: 110px;
}
@media (max-width: 991px) {
    .sp-dropdown-menu--mega {
        min-width: 100%;
    }
    .sp-services-mega-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 992px) {
    .sp-nav-links .nav-item.dropdown:has(#navServices) {
        position: static;
    }
    .sp-nav-links .nav-item.dropdown:has(#navServices) .sp-dropdown-menu--mega {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}
.sp-nav-cta {
    gap: 0.5rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
}
@media (min-width: 992px) {
    .sp-nav-cta {
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        flex-direction: row !important;
        align-items: center;
    }
}
.sp-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.sp-btn-ghost:hover {
    border-color: #cbd5e1;
    color: var(--primary) !important;
    background: #f8fafc;
}
.sp-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    border: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sp-btn-solid:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    color: #fff !important;
}
.sp-nav-toggler-burger {
    border: 1px solid var(--border) !important;
    background: #fff !important;
    width: 42px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
}
.sp-nav-toggler-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
}
.sp-alerts-host {
    position: fixed;
    top: 96px;
    right: 20px;
    z-index: 9999;
    min-width: 280px;
    max-width: 400px;
}
@media (max-width: 767px) {
    .sp-alerts-host {
        top: 88px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
.sp-main {
    min-height: 40vh;
}

/* ── Inner marketing pages ───────────────────────────────── */
.sp-page-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
    padding: 2.25rem 0 2.5rem;
}
.sp-breadcrumb {
    margin-bottom: 1.25rem;
}
.sp-breadcrumb-bar {
    display: inline-flex;
    max-width: 100%;
    padding: 0.35rem 0.85rem 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.sp-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
    font-size: 0.8125rem;
    line-height: 1.2;
}
.sp-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}
.sp-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.1rem;
    color: #cbd5e1;
    list-style: none;
}
.sp-breadcrumb-chevron {
    color: currentColor;
    opacity: 0.85;
}
.sp-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease;
}
.sp-breadcrumb-link:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}
.sp-breadcrumb-home-icon {
    color: #94a3b8;
    flex-shrink: 0;
}
.sp-breadcrumb-link:hover .sp-breadcrumb-home-icon {
    color: var(--primary);
}
.sp-breadcrumb-muted {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    color: #94a3b8;
    font-weight: 500;
}
.sp-breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.16);
}
.sp-breadcrumb-current-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}
.sp-breadcrumb--dark .sp-breadcrumb-bar {
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sp-breadcrumb--dark .sp-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.28);
}
.sp-breadcrumb--dark .sp-breadcrumb-link {
    color: rgba(255, 255, 255, 0.72);
}
.sp-breadcrumb--dark .sp-breadcrumb-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.sp-breadcrumb--dark .sp-breadcrumb-home-icon {
    color: rgba(255, 255, 255, 0.55);
}
.sp-breadcrumb--dark .sp-breadcrumb-link:hover .sp-breadcrumb-home-icon {
    color: #fff;
}
.sp-breadcrumb--dark .sp-breadcrumb-muted {
    color: rgba(255, 255, 255, 0.48);
}
.sp-breadcrumb--dark .sp-breadcrumb-current {
    color: #fff;
    background: rgba(255, 107, 53, 0.18);
    border-color: rgba(255, 107, 53, 0.35);
}
.sp-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.sp-page-hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0;
}
.sp-prose {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}
.sp-prose h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.sp-prose h2:first-child {
    margin-top: 0;
}
.sp-prose ul {
    padding-left: 1.25rem;
}
.sp-prose-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.sp-prose code {
    background: #f1f5f9;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.sp-side-nav {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.sp-side-nav-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.sp-side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-side-nav li {
    margin-bottom: 0.35rem;
}
.sp-side-nav a {
    color: #475569;
    font-size: 0.9rem;
    text-decoration: none;
}
.sp-side-nav a:hover {
    color: var(--primary);
}

/* ── API docs sidebar nav ────────────────────────────────── */
.sp-docs-nav {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.sp-docs-nav-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.sp-docs-nav-group + .sp-docs-nav-group {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.sp-docs-nav-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.sp-docs-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.sp-docs-nav-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1.2;
}
.sp-docs-nav-tab:hover {
    color: var(--primary);
    border-color: rgba(255, 107, 53, 0.35);
    background: rgba(255, 107, 53, 0.08);
    text-decoration: none;
}
.sp-docs-nav-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.28);
}
.sp-docs-nav-note {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.sp-docs-nav-note code {
    background: #f1f5f9;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

/* API docs endpoint map + badges */
.sp-api-map {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0 1.25rem;
}
.sp-api-map-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.sp-api-map-row code {
    background: transparent;
    padding: 0;
    font-size: 0.88rem;
    color: var(--text-dark);
    word-break: break-all;
}
.sp-api-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.sp-api-method--get { background: #dcfce7; color: #166534; }
.sp-api-method--post { background: #ffedd5; color: #9a3412; }
.sp-api-map-status {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.sp-api-map-status--on { color: #15803d; }
.sp-api-map-status--off { color: #b45309; }
.sp-api-channel-notes {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.sp-api-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.45rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sp-api-badge--live {
    background: #dcfce7;
    color: #166534;
}
.sp-api-badge--setup {
    background: #fef3c7;
    color: #92400e;
}
.sp-help-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
}
.sp-help-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.sp-help-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-help-card li {
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
}
.sp-help-card a {
    color: #475569;
    text-decoration: none;
}
.sp-help-card a:hover {
    color: var(--primary);
}
.sp-help-faq .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.sp-help-faq .accordion-button {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-dark);
    background: #fff;
    box-shadow: none;
}
.sp-help-faq .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #fff8f5;
}
.sp-help-faq .accordion-body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
}
.sp-status-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sp-status-page {
    background: #e8edf3;
    padding-top: 0;
    padding-bottom: 4rem;
    margin-top: -1px;
}
.sp-status-shell {
    max-width: 920px;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}
.sp-status-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.25rem;
}
.sp-status-summary-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.sp-status-summary-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}
.sp-status-summary h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.2rem;
}
.sp-status-summary p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}
.sp-status-summary-action {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #dbe3ec;
    background: #f8fafc;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.sp-status-summary-action:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}
.sp-status-summary.sp-status-warn .sp-status-summary-dot {
    background: #eab308;
    box-shadow: 0 0 0 6px rgba(234, 179, 8, 0.18);
}
.sp-status-summary.sp-status-down .sp-status-summary-dot {
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.15);
}
.sp-status-panel {
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.35rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.sp-status-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.25rem 1rem;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 1rem;
}
.sp-status-panel-head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}
.sp-status-panel-head span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}
.sp-status-page .sp-status-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #e8edf3;
    border-left-width: 4px;
    border-left-color: #22c55e;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.sp-status-page .sp-status-item:hover {
    background: #fff;
    border-color: #dde4ec;
    border-left-color: #16a34a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.sp-status-item-main {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    min-width: 0;
}
.sp-status-page .sp-status-item.sp-status-warn {
    border-left-color: #eab308;
}
.sp-status-page .sp-status-item.sp-status-down {
    border-left-color: #ef4444;
}
.sp-status-footnote {
    margin: 1.5rem 0 0;
    padding: 0 0.25rem;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
}
.sp-status-footnote a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.sp-status-footnote a:hover {
    text-decoration: underline;
}
.sp-status-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.sp-status-item h3,
.sp-status-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text-dark);
}
.sp-status-item p {
    margin: 0;
    font-size: 0.92rem;
    color: #64748b;
}
.sp-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    margin-top: 0.45rem;
    flex-shrink: 0;
}
.sp-status-item.sp-status-warn .sp-status-dot {
    background: #eab308;
}
.sp-status-item.sp-status-down .sp-status-dot {
    background: #ef4444;
}
.sp-status-page .sp-status-label {
    flex-shrink: 0;
    margin-top: 0.15rem;
}
@media (max-width: 767px) {
    .sp-status-summary {
        padding: 1.15rem 1.2rem;
    }
    .sp-status-page .sp-status-item {
        flex-direction: column;
        align-items: stretch;
    }
    .sp-status-page .sp-status-label {
        align-self: flex-start;
    }
}

/* ── Hero Section ────────────────────────────────────────── */
.sp-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f3460 50%, var(--accent) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.sp-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
}
.sp-hero-page {
    min-height: auto;
    padding: 2.75rem 0 3.75rem;
    display: block;
    align-items: stretch;
}
.sp-hero-page .container {
    position: relative;
    z-index: 1;
}
.sp-hero-page .sp-breadcrumb {
    margin-bottom: 1.35rem;
}
.sp-hero-page h1 {
    margin-bottom: 0.85rem;
}
.sp-hero-page p {
    margin-bottom: 0;
}
.sp-hero-page.text-center p {
    max-width: 580px;
}
.sp-hero .badge-tag {
    display: inline-block;
    background: rgba(255,107,53,0.15);
    color: var(--primary);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.sp-hero h1 { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.sp-hero h1 span { color: var(--primary); }
.sp-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 500px; margin-bottom: 2rem; }
.sp-hero .btn-hero-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}
.sp-hero .btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,107,53,0.5);
    color: #fff;
    text-decoration: none;
}
.sp-hero .btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    transition: all 0.3s;
}
.sp-hero .btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}
.sp-hero .stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.sp-hero .stat-item h3 { color: #fff; font-weight: 700; font-size: 1.8rem; margin: 0; }
.sp-hero .stat-item p  { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }

/* ── Section Styles ──────────────────────────────────────── */
.sp-section { padding: 80px 0; }
.sp-section-title { margin-bottom: 3rem; }
.sp-section-title .overline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}
.sp-section-title h2 { font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.sp-section-title p  { color: var(--text-muted); max-width: 550px; margin: 0 auto; font-size: 1.05rem; }
.sp-bg-light { background: var(--bg-light); }
.sp-bg-dark  { background: var(--secondary); }

/* ── Feature Cards ───────────────────────────────────────── */
.sp-feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.sp-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--primary);
    transition: height 0.3s;
}
.sp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.sp-feature-card:hover::before { height: 100%; }
.sp-feature-card .icon {
    width: 56px; height: 56px;
    background: rgba(255,107,53,0.1);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-size: 1.5rem;
}
.sp-icon-feature {
    color: var(--primary);
}
.sp-feature-card h5 { font-weight: 600; margin-bottom: 0.75rem; color: var(--text-dark); }
.sp-feature-card p  { font-size: 0.92rem; margin: 0; }

/* ── Pricing Cards ───────────────────────────────────────── */
.sp-pricing-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    position: relative;
}
.sp-pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
}
.sp-pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 16px;
    border-radius: 50px;
}
.sp-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.sp-pricing-card .price-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.sp-pricing-card .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}
.sp-pricing-card .price sub { font-size: 1rem; font-weight: 500; }
.sp-pricing-card .price sup { font-size: 1.2rem; font-weight: 600; vertical-align: top; margin-top: 0.5rem; }
.sp-pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.sp-pricing-card ul li {
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sp-pricing-card ul li .check { color: var(--success); font-size: 0.85rem; }
.sp-pricing-card ul li .cross { color: var(--danger); font-size: 0.85rem; opacity: 0.4; }
.sp-pricing-card .btn-price {
    width: 100%;
    padding: 0.85rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transition: all 0.2s;
    text-decoration: none;
    display: block;
    text-align: center;
}
.sp-pricing-card.featured .btn-price {
    background: var(--primary);
    color: #fff;
}
.sp-pricing-card .btn-price:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

/* ── Pricing Country Tabs ────────────────────────────────── */
.sp-pricing-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.sp-pricing-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.sp-pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.sp-pricing-tab:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
}
.sp-pricing-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}
.sp-pricing-tab-flag {
    font-size: 1.1rem;
    line-height: 1;
}
.sp-pricing-panel {
    display: none;
    animation: spPricingFade 0.25s ease;
}
.sp-pricing-panel.active {
    display: block;
}
@keyframes spPricingFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Volume pricing table (replaces fake plan cards) ─────── */
.sp-pricing-volume-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.sp-pricing-volume-note {
    font-size: 0.92rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.sp-pricing-volume-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.sp-pricing-volume-table th,
.sp-pricing-volume-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}
.sp-pricing-volume-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sp-pricing-volume-table tbody tr:last-child td {
    border-bottom: none;
}
.sp-pricing-volume-table tbody tr:hover td {
    background: #fff8f5;
}
.sp-pricing-includes {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
}
.sp-pricing-includes-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
.sp-pricing-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.65rem 1.5rem;
}
.sp-pricing-includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.sp-pricing-includes-list .check {
    color: var(--success);
    margin-top: 0.15rem;
}

@media (max-width: 576px) {
    .sp-pricing-tabs {
        justify-content: flex-start;
        border-radius: 16px;
        min-width: max-content;
    }
    .sp-pricing-tab {
        font-size: 0.82rem;
        padding: 0.55rem 0.9rem;
    }
}

/* ── Code Block (API preview) ────────────────────────────── */
.sp-code-block {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
}
.sp-code-block pre {
    margin: 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85rem;
    color: #e6edf3;
    line-height: 1.7;
    background: transparent;
}
.sp-prose .sp-code-block pre,
.sp-prose .sp-code-block code {
    background: transparent;
    color: #e6edf3;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    white-space: pre;
}
.sp-code-block .token-keyword { color: #ff7b72; }
.sp-code-block .token-string  { color: #a5d6ff; }
.sp-code-block .token-key     { color: #79c0ff; }
.sp-code-block .token-value   { color: #f2cc60; }
.sp-code-block .token-comment { color: #8b949e; }

/* ── How It Works ────────────────────────────────────────── */
.sp-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}
.sp-step .step-num {
    width: 48px; height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.sp-step h5 { font-weight: 600; margin-bottom: 0.4rem; color: var(--text-dark); }
.sp-step p  { font-size: 0.92rem; margin: 0; }

/* ── CTA Section ─────────────────────────────────────────── */
.sp-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f3460 100%);
    padding: 80px 0;
    text-align: center;
}
.sp-cta h2 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.sp-cta p  { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── Footer ──────────────────────────────────────────────── */
.sp-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 0;
    margin-top: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.sp-footer-newsletter {
    padding: 2.5rem 0 0;
    background: transparent;
    border-bottom: none;
}
.sp-footer-newsletter-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 48%, #0f3460 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}
.sp-footer-newsletter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 107, 53, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 38%);
    pointer-events: none;
}
.sp-footer-newsletter-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem 2.5rem;
}
.sp-footer-newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.14);
    border: 1px solid rgba(255, 107, 53, 0.28);
    color: #ffb899;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.sp-footer-newsletter-badge .sp-icon {
    color: var(--primary);
}
.sp-footer-newsletter-copy h3 {
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.sp-footer-newsletter-copy p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(226, 232, 240, 0.82);
    max-width: 30rem;
    line-height: 1.6;
}
.sp-footer-newsletter-form {
    flex: 1 1 20rem;
    max-width: 26rem;
    width: 100%;
}
.sp-footer-newsletter-field {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-footer-newsletter-field .form-control {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    box-shadow: none;
}
.sp-footer-newsletter-field .form-control::placeholder {
    color: rgba(203, 213, 225, 0.65);
}
.sp-footer-newsletter-field .form-control:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
    outline: none;
}
.sp-footer-newsletter-field .btn-sp-primary {
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.sp-footer-newsletter-note {
    margin: 0.65rem 0 0 1rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.85);
}
.sp-footer-grid {
    padding: 2.75rem 0 2rem;
}
.sp-footer-brand-mark {
    display: inline-block;
    margin-bottom: 1.25rem;
    text-decoration: none;
}
.sp-footer-lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #cbd5e1;
    max-width: 24rem;
    margin-bottom: 1.25rem;
}
.sp-footer-contact-lines {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
}
.sp-footer-contact-lines li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}
.sp-footer-contact-lines i,
.sp-footer-contact-lines .sp-icon {
    margin-top: 0.12rem;
    flex-shrink: 0;
}
.sp-footer-follow {
    margin-bottom: 0.25rem;
}
.sp-footer-follow-label {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}
.sp-footer-contact-lines a {
    color: #e2e8f0;
    text-decoration: none;
}
.sp-footer-contact-lines a:hover {
    color: #fff;
    text-decoration: underline;
}
.sp-footer-heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 1rem;
}
.sp-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-footer-list li {
    margin-bottom: 0.45rem;
}
.sp-footer-list a {
    color: #cbd5e1;
    font-size: 0.875rem;
    text-decoration: none;
}
.sp-footer-list a:hover {
    color: #fff;
}
.sp-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.sp-footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.sp-footer-social .sp-icon {
    color: inherit;
}
.sp-footer-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.35rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.sp-footer-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.15rem 1rem;
    min-height: 100%;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.08);
}
.sp-footer-trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.sp-footer-trust-svg {
    display: block;
    color: var(--primary);
    margin: 0;
}
.sp-footer-trust-text {
    min-width: 0;
}
.sp-footer-trust-item i {
    color: var(--primary);
    font-size: 1.15rem;
    margin-top: 0;
    flex-shrink: 0;
}
.sp-footer-trust-item strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.sp-footer-trust-item span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
}
.sp-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.75rem;
}
.sp-footer-copy {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
    flex: 1 1 16rem;
}
.sp-footer-copy a {
    color: #94a3b8;
    text-decoration: none;
}
.sp-footer-copy a:hover {
    color: var(--primary);
}
.sp-footer-copy strong {
    color: #e2e8f0;
    font-weight: 600;
}
.sp-footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
}
.sp-footer-legal-nav a {
    color: #94a3b8;
    font-size: 0.8125rem;
    text-decoration: none;
}
.sp-footer-legal-nav a:hover {
    color: #fff;
}
.sp-footer-meta {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-sp-primary {
    background: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.btn-sp-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,53,0.35);
    color: #fff !important;
    text-decoration: none;
}

/* ── Contact page ────────────────────────────────────────── */
.sp-contact-page {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
}
.sp-contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: var(--shadow);
    height: 100%;
}
.sp-contact-form-head {
    margin-bottom: 1.75rem;
}
.sp-contact-form-head .overline {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.sp-contact-form-head h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.sp-contact-form-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.sp-contact-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}
.sp-contact-label span {
    color: var(--primary);
}
.sp-contact-form .form-control {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.sp-contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}
.sp-contact-submit {
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.95rem 1.25rem;
    border: none;
    cursor: pointer;
}
.sp-contact-form-note {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
.sp-contact-form-note a {
    color: var(--primary);
    text-decoration: none;
}
.sp-contact-form-note a:hover {
    text-decoration: underline;
}
.sp-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}
.sp-contact-response-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
}
.sp-contact-response-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-contact-response-card strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.sp-contact-response-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.sp-contact-info-stack {
    display: grid;
    gap: 0.75rem;
}
.sp-contact-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.sp-contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-contact-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.sp-contact-info-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.98rem;
}
.sp-contact-info-value a {
    color: inherit;
    text-decoration: none;
}
.sp-contact-info-value a:hover {
    color: var(--primary);
}
.sp-contact-info-note {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.sp-contact-quick-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem 1.25rem 1.1rem;
    box-shadow: var(--shadow-sm);
}
.sp-contact-quick-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.85rem;
}
.sp-contact-quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
.sp-contact-quick-links a {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sp-contact-quick-links a:hover {
    border-color: rgba(255, 107, 53, 0.35);
    background: rgba(255, 107, 53, 0.06);
}
.sp-contact-quick-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}
.sp-contact-quick-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .sp-contact-form-card {
        padding: 1.5rem;
    }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.sp-float { animation: float 4s ease-in-out infinite; }

/* ── Live / Coming soon badges ───────────────────────────── */
.sp-badge-live,
.sp-badge-soon {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}
.sp-badge-live {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}
.sp-badge-soon {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

/* ── Status page (dynamic) ───────────────────────────────── */
.sp-status-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}
.sp-status-label.sp-status-ok { background: rgba(34,197,94,0.12); color: #15803d; }
.sp-status-label.sp-status-warn { background: rgba(234,179,8,0.15); color: #a16207; }
.sp-status-label.sp-status-down { background: rgba(239,68,68,0.12); color: #b91c1c; }

.sp-career-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
    .sp-nav-links .dropdown-menu {
        position: static !important;
        float: none;
        transform: none !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        border: 1px solid var(--border);
        padding: 0.65rem;
        margin: 0.35rem 0 0.75rem 0.5rem;
        min-width: 0;
        width: calc(100% - 0.75rem);
    }
    .sp-side-nav {
        position: static;
    }
    .sp-docs-nav {
        position: static;
    }
    .sp-footer-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .sp-hero { padding: 60px 0 50px; min-height: auto; }
    .sp-hero .stats-row { gap: 1.5rem; flex-wrap: wrap; }
    .sp-hero .btn-hero-secondary { margin-left: 0; margin-top: 1rem; display: block; text-align: center; }
    .sp-section { padding: 50px 0; }
    .sp-footer-newsletter-card {
        padding: 1.5rem 1.25rem;
    }
    .sp-footer-newsletter-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .sp-footer-newsletter-form {
        max-width: none;
    }
    .sp-footer-newsletter-field {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
    }
    .sp-footer-newsletter-field .form-control,
    .sp-footer-newsletter-field .btn-sp-primary {
        width: 100%;
        border-radius: 12px;
    }
    .sp-footer-newsletter-note {
        margin-left: 0.25rem;
        text-align: center;
    }
    .sp-footer-trust {
        grid-template-columns: 1fr;
    }
    .sp-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .sp-footer-legal-nav {
        width: 100%;
    }
}
