/**
 * Sparta International — layout & structure only.
 * Uses existing theme classes/tokens; no palette or typography overrides.
 */

/* ===== Billing Toggle ===== */
.sparta-billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px 0 40px;
}
.billing-label {
    font-size: 15px;
    font-weight: 500;
    color: #888;
    transition: color 0.2s;
}
.billing-label.billing-active { color: #7c3aed; font-weight: 700; }
.sparta-save-badge {
    background: linear-gradient(90deg, #f50057, #7c4dff);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    padding: 2px 8px;
    vertical-align: middle;
    margin-left: 4px;
}
.sparta-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px; height: 28px;
    cursor: pointer;
}
.sparta-toggle-switch input { display: none; }
.sparta-toggle-knob {
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 28px;
    transition: background 0.3s;
}
.sparta-toggle-knob::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: transform 0.3s;
}
.sparta-toggle-switch input:checked ~ .sparta-toggle-knob {
    background: linear-gradient(90deg, #7c4dff, #f50057);
}
.sparta-toggle-switch input:checked ~ .sparta-toggle-knob::after {
    transform: translateX(24px);
}

/* ===== Product pricing group ===== */
.sparta-product-pricing-group {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}
.sparta-product-pricing-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0e6ff;
    flex-wrap: wrap;
}
.sparta-prod-icon-sm {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.sparta-prod-pricing-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0 0 4px;
}
.sparta-prod-cat-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7c3aed;
    background: #ede9fe;
    border-radius: 20px;
    padding: 2px 10px;
}
.sparta-prod-detail-link {
    font-size: 12px;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.sparta-prod-detail-link:hover { color: #f50057; text-decoration: none; }

/* ===== Plan card ===== */
.sparta-plan-card {
    background: #fff;
    border: 2px solid #f0e6ff;
    border-radius: 18px;
    padding: 28px 24px;
    height: 100%;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sparta-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(124,61,237,0.13);
    border-color: #a855f7;
}
.sparta-plan-card.sparta-pricing-featured {
    border-color: #7c3aed;
    background: linear-gradient(160deg, #faf5ff 0%, #f5f3ff 100%);
    box-shadow: 0 8px 32px rgba(124,61,237,0.12);
}
.sparta-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #7c4dff, #f50057);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 14px;
    white-space: nowrap;
}
.plan-tier-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #7c3aed;
    margin-bottom: 12px;
}
.plan-price {
    margin-bottom: 20px;
    line-height: 1;
}
.plan-price-num {
    font-size: 36px;
    font-weight: 800;
    color: #1e1b4b;
}
.plan-price-period {
    font-size: 13px;
    color: #888;
    font-weight: 400;
    margin-left: 2px;
}
.plan-price-custom {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(90deg, #7c4dff, #f50057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.plan-features {
    margin-bottom: 4px;
}
.plan-features li {
    font-size: 13px;
    color: #555;
    padding: 5px 0;
    border-bottom: 1px solid #f5f0ff;
    line-height: 1.5;
}
.plan-features li:last-child { border-bottom: none; }

/* ── Plan card layout: equal height flex column ── */
.sparta-plan-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.sparta-plan-card .btn { margin-top: auto !important; }

/* ── Setup charge line ── */
.plan-setup-charge {
    font-size: 12px;
    color: #7c3aed;
    background: #f5f0ff;
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 14px;
    line-height: 1.5;
}
.plan-setup-charge em { color: #999; font-style: normal; font-size: 11px; }

/* ── Renewal note ── */
.plan-renew-note {
    font-size: 11px;
    color: #999;
    margin-top: -10px;
    margin-bottom: 12px;
}

/* ── Billing period badges ── */
.plan-billing-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 2px 9px;
    margin-bottom: 10px;
}
.plan-billing-monthly { background: #e0f2fe; color: #0369a1; }
.plan-billing-yearly  { background: #dcfce7; color: #15803d; }

/* ── Product pricing group desc ── */
.sparta-prod-pricing-desc {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0;
    line-height: 1.5;
    max-width: 600px;
}

/* ── Billing note bar ── */
.plan-billing-note {
    font-size: 12.5px;
    color: #7c3aed;
    background: #f5f0ff;
    border-left: 3px solid #a855f7;
    border-radius: 0 8px 8px 0;
    padding: 8px 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ── Icon colour variants ── */
.sparta-prod-icon-blue     { background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important; }
.sparta-prod-icon-purple   { background: linear-gradient(135deg, #a855f7, #6366f1) !important; }
.sparta-prod-icon-midnight { background: linear-gradient(135deg, #6366f1, #312e81) !important; }
.sparta-prod-icon-pink     { background: linear-gradient(135deg, #ec4899, #f43f5e) !important; }

/* ===== End Pricing Page CSS ===== */

/* Client logo slider — uniform height, contain fit */
.partners-slider .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}
.partners-slider .logo-item img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partners-slider .logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.sparta-page {
    overflow-x: hidden;
}

/* Hide the preload-only nav once JS header is injected */
#sparta-header .sparta-logo-preload { display: none; }
#sparta-header:not(:has(header)) .sparta-logo-preload { display: block; }

/* Animated cursor ring — only on index.html and maintenance.html (not .sparta-page inner pages) */
#aimated-cursor {
    display: inline-block !important;
}
.sparta-page #aimated-cursor {
    display: none !important;
}

/* Custom arrow cursor + ring effect on desktop */
@media (min-width: 992px) {
    body, body * {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 3.21V20.8l4.55-4.58 3.36 7.46 1.9-.85-3.35-7.44H18L5.5 3.21z' fill='%23000'/%3E%3Cpath d='M5.5 3.21V20.8l4.55-4.58 3.36 7.46 1.9-.85-3.35-7.44H18L5.5 3.21z' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 5 3, auto !important;
    }
}

/* Cursor ring — works with both TweenMax (index.html) and rAF (inner pages).
   transform: none resets style.css default; NO !important so JS can override it. */
#cursor {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    transform: none;
    border: 2px solid #fff !important;
    mix-blend-mode: difference;
    transition: transform 0.18s ease, border-width 0.18s ease, opacity 0.18s ease, background-color 0.18s ease;
    will-change: transform, left, top;
}

/* Parent must not create a new stacking/isolation context */
#aimated-cursor {
    isolation: auto !important;
    mix-blend-mode: normal;
}

/* Sparta logo sizing — responsive */
.sparta-logo-img {
    height: 82px !important;   /* PC (≥1200px): ~50% larger than base 54px */
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain;
    display: block;
    background: transparent !important;
}

/* Laptop (992px – 1199px): ~40% increase */
@media (max-width: 1199px) {
    .sparta-logo-img {
        height: 76px !important;
        max-width: 280px !important;
    }
}

/* Tablet (768px – 991px): ~20% increase */
@media (max-width: 991px) {
    .sparta-logo-img {
        height: 65px !important;
        max-width: 240px !important;
    }
}

/* Mobile (< 768px): keep original compact size */
@media (max-width: 767px) {
    .sparta-logo-img {
        height: 48px !important;
        max-width: 200px !important;
    }
}

.sparta-page main {
    position: relative;
}

/* Inner pages: transparent navbar over hero; sticky gradient bar on scroll */
#sparta-header {
    position: relative;
    z-index: 100;
}

.sparta-page header:not(.header-appear) .navbar-top-default {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
    overflow: visible;
    height: auto;
    min-height: 90px;
    z-index: 102;
}

.sparta-page header.header-appear .navbar-top-default {
    height: 80px;
    min-height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    z-index: 103;
    background: #696969;
    -webkit-animation-name: animationFade;
    animation-name: animationFade;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.35);
}

.sparta-page header.header-appear .navbar-top-default.navbar-gradient {
    background: #696969;
}

.sparta-page header.header-appear .slider-social {
    top: 22px;
}

.sparta-page header.header-appear .fullnav-toggler {
    top: 15px;
}

.sparta-page .nav-holder.style-2 {
    -webkit-transition: opacity 0.4s ease-out, visibility 0.4s ease-out !important;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out !important;
}

.sparta-page .nav-holder.style-2:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.sparta-page .nav-holder.style-2.active {
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.92) !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
}

.sparta-page .page-title .pattern-layers {
    display: none;
}


/* ── Standard inner page hero ── */
.sparta-page .sparta-page-hero {
    margin: 0;
    padding: 0;
}

.sparta-page .sparta-page-hero .page-title {
    padding: 160px 0 80px !important;
    margin: 0 !important;
    text-align: center;
}


/* ── Product-detail hero ── */
.sparta-page .sparta-product-hero {
    padding-top: calc(8rem + 2rem);
}

.sparta-hero {
    padding-top: calc(9.5rem + 4rem);
    padding-bottom: 6.5rem;
    position: relative;
}

.sparta-hero .hero-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
}

.sparta-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1.25rem;
}

.sparta-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.sparta-mockup-panel {
    position: relative;
    padding: 1.5rem;
}

.sparta-mockup-panel img {
    width: 100%;
    height: auto;
}

.sparta-floating-card {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 140px;
}

.sparta-floating-card.top-right {
    top: 8%;
    right: 0;
}

.sparta-floating-card.bottom-left {
    bottom: 8%;
    left: 0;
}

/* Section headers */
.sparta-section-head {
    margin-bottom: 3rem;
}

.sparta-section-head.text-center {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo grid / clients */
.sparta-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.sparta-logo-grid .logo-item img {
    max-height: 42px;
    width: auto;
    margin: 0 auto;
    opacity: 0.85;
    filter: grayscale(100%);
}

.sparta-logo-grid .logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* ── Featured products diamond grid (index.html) ── */
.sparta-diamond-grid {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 0 3.5rem;
}

.sparta-diamond-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -38px;
}

.sparta-diamond-row:first-child {
    margin-top: 0;
}

.sparta-diamond-item {
    display: block;
    text-decoration: none !important;
    margin: 0 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sparta-diamond-item:hover {
    z-index: 3;
}

.sparta-diamond-shape {
    width: 156px;
    height: 156px;
    transform: rotate(45deg);
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sparta-diamond-item:hover .sparta-diamond-shape {
    transform: rotate(45deg) scale(1.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.sparta-diamond-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 142%;
    height: 142%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sparta-diamond-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sparta-diamond-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sparta-diamond-item:hover .sparta-diamond-overlay {
    opacity: 1;
}

.sparta-diamond-item:hover .sparta-diamond-inner img {
    opacity: 0.35;
    transform: scale(1.08);
}

.sparta-diamond-overlay .thumb-cat {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 0.45rem;
    display: inline-block;
    line-height: 1.6;
}

.sparta-diamond-overlay .thumb-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 0.55rem;
    line-height: 1.25;
    max-width: 120px;
}

.sparta-diamond-overlay .thumb-view-btn {
    display: inline-block;
    padding: 0.28rem 0.85rem;
    border: 1.5px solid #fff;
    border-radius: 30px;
    color: #fff !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, color 0.25s ease;
}

.sparta-diamond-item:hover .thumb-view-btn {
    background: #fff;
    color: #562fb7 !important;
}

@media (max-width: 767px) {
    .sparta-diamond-shape {
        width: 118px;
        height: 118px;
    }

    .sparta-diamond-row {
        margin-top: -28px;
    }

    .sparta-diamond-item {
        margin: 0 8px;
    }

    .sparta-diamond-overlay .thumb-name {
        font-size: 0.7rem;
        max-width: 90px;
    }
}

@media (max-width: 479px) {
    .sparta-diamond-shape {
        width: 96px;
        height: 96px;
    }

    .sparta-diamond-row {
        margin-top: -22px;
    }

    .sparta-diamond-item {
        margin: 0 5px;
    }

    .sparta-diamond-overlay .thumb-view-btn {
        font-size: 9px;
        padding: 0.2rem 0.6rem;
    }
}

/* Product cards */
.sparta-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.sparta-product-card .card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sparta-product-card .card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sparta-product-card .card-category {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.sparta-product-card .card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.sparta-product-card .feature-list {
    margin: 1rem 0 1.25rem;
    padding-left: 1.1rem;
}

.sparta-product-card .feature-list li {
    margin-bottom: 0.35rem;
    font-size: 15px;
}

.sparta-product-card .card-footer-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sparta-product-card .price-tag {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Mobile product swiper */
.sparta-products-swiper {
    padding-bottom: 2.5rem;
}

.sparta-products-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Case study cards */
.sparta-case-card {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.sparta-case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sparta-case-card .case-body {
    padding: 1.5rem;
}

.sparta-case-card .case-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sparta-case-card .case-metric {
    font-size: 14px;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* CTA band */
.sparta-cta-band {
    padding: 5rem 0;
}

.sparta-cta-band .cta-inner {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.sparta-cta-band .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

/* Footer grid */
.sparta-footer {
    padding: 4rem 0 2rem;
}

.sparta-footer .footer-col h6 {
    margin-bottom: 1.25rem;
    font-size: 16px;
}

.sparta-footer .footer-links li {
    margin-bottom: 0.5rem;
}

.sparta-footer .footer-links a:hover {
    opacity: 0.85;
}

.sparta-footer .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Page hero (inner pages) */
.sparta-page-hero .page-breadcrumb {
    justify-content: center;
}

/* Filter tabs */
.sparta-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.sparta-filter-tabs .filter-btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.sparta-filter-tabs .filter-btn.active {
    border-color: transparent;
}

.sparta-nav-toggler {
    position: relative;
    left: auto;
    top: auto;
    margin-left: auto;
    outline: none;
    border: none;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 0;
}

.sparta-nav-toggler .line {
    display: block;
    height: 2px;
    width: 24px;
    margin: 5px auto;
    background: #fff;
}

.sparta-search-wrap {
    max-width: 420px;
    margin: 0 auto 2rem;
}

/* Product detail */
.sparta-product-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.sparta-product-hero .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.sparta-feature-grid .process-wrapp {
    margin-bottom: 1.5rem;
}

.sparta-screenshots img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.sparta-pricing-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.sparta-pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.sparta-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.sparta-pricing-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.sparta-pricing-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 12px;
}

.sparta-faq .card {
    border: none;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.sparta-faq .card-header {
    background: #fff;
    border: none;
    padding: 0;
}

.sparta-faq .btn-link {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.sparta-faq .btn-link:hover,
.sparta-faq .btn-link:focus {
    text-decoration: none;
}

/* Careers job cards */
.sparta-job-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sparta-job-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 14px;
}

/* Tech stack */
.sparta-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.sparta-tech-grid .tech-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.sparta-tech-grid .tech-item i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Value cards */
.sparta-value-card {
    height: 100%;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.sparta-value-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Office location cards (contact page) */
.sparta-office-card {
    height: 100%;
    padding: 2rem 1.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #562fb7;
}

.sparta-office-card .office-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #562fb7;
    background: rgba(86, 47, 183, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.sparta-office-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
}

.sparta-office-card .office-company {
    color: #404854;
    font-size: 15px;
}

.sparta-office-card .para {
    line-height: 1.7;
}

/* ===================================================================
   CONTACT SECTION — animated gradient + blob + particle background
   =================================================================== */

/* Animated gradient fill */
section.contact-us#contact {
    background: linear-gradient(135deg, #1a0533 0%, #2d0b6b 25%, #4a148c 45%, #6a1b9a 60%, #d81b82 85%, #f50057 100%) !important;
    background-size: 400% 400% !important;
    -webkit-animation: contactBgShift 12s ease infinite !important;
    animation: contactBgShift 12s ease infinite !important;
    padding-top: 90px !important;
    padding-bottom: 90px !important;
    position: relative !important;
    overflow: visible !important;   /* must be visible so blobs aren't clipped */
}
@-webkit-keyframes contactBgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes contactBgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Blob overflow wrapper — clips blobs to section visually without clipping section children */
.contact-blob-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* Floating blobs */
.contact-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    -webkit-animation: contactFloatBlob 8s ease-in-out infinite;
    animation: contactFloatBlob 8s ease-in-out infinite;
}
.contact-blob-1 { width: 460px; height: 460px; background: #f50057; top: -140px; left: -140px; animation-delay: 0s; }
.contact-blob-2 { width: 380px; height: 380px; background: #2979ff; bottom: -120px; right: -120px; animation-delay: 3s; }
.contact-blob-3 { width: 280px; height: 280px; background: #e040fb; top: 30%; left: 6%;  animation-delay: 1.5s; }
.contact-blob-4 { width: 220px; height: 220px; background: #00e5ff; bottom: 15%; right: 10%; animation-delay: 4s; }

@-webkit-keyframes contactFloatBlob {
    0%,100% { -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); }
    50%     { -webkit-transform: translateY(-35px) scale(1.06); transform: translateY(-35px) scale(1.06); }
}
@keyframes contactFloatBlob {
    0%,100% { transform: translateY(0) scale(1); }
    50%     { transform: translateY(-35px) scale(1.06); }
}

/* Rising particle dots */
.contact-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.contact-particle {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    -webkit-animation: contactRise linear infinite;
    animation: contactRise linear infinite;
}
@-webkit-keyframes contactRise {
    0%   { -webkit-transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { -webkit-transform: translateY(-40px) scale(1.5); opacity: 0; }
}
@keyframes contactRise {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-40px) scale(1.5); opacity: 0; }
}

/* Content sits above all background layers */
section.contact-us#contact .container { position: relative; z-index: 3; }

/* Text colour overrides for dark background */
section.contact-us#contact .title,
section.contact-us#contact h2,
section.contact-us#contact h5,
section.contact-us#contact .sparta-map-label {
    color: #fff !important;
}
section.contact-us#contact .para,
section.contact-us#contact p {
    color: rgba(255,255,255,0.82) !important;
}
section.contact-us#contact a {
    color: #a5f3fc !important;
}
section.contact-us#contact a:hover {
    color: #fff !important;
}
section.contact-us#contact .main-color {
    color: #f9a8d4 !important;
}

/* Small inline map under each address */
.sparta-contact-map-sm {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    margin-top: 4px;
}
.sparta-contact-map-sm iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Map card — glassy panel */
section.contact-us#contact .sparta-contact-map {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ─────────────────── */

/* Contact page maps */
.sparta-contact-map-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.sparta-contact-map {
    height: 380px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    background: #e9e9e9;
}

.sparta-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sparta-map-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: #404854;
}

.sparta-contact-map-section h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #404854;
}

@media (max-width: 767px) {
    .sparta-contact-map {
        height: 280px;
    }
}

/* Industry cards */
.sparta-industry-card {
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Navbar active link for multi-page */
.navbar-top-default .navbar-nav .nav-link.active-page {
    opacity: 1;
    font-weight: 600;
}

/* Inner pages: cursor ring visible (same as index.html) */

@media (min-width: 992px) {
    .sparta-products-mobile {
        display: none;
    }

    .sparta-logo-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 575px) {
    .sparta-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════
   PRODUCTS MEGA MENU  — pink · purple · blue theme
═══════════════════════════════════════════ */

/* Navbar must not clip the dropdown */
nav.navbar-top-default {
    overflow: visible !important;
}
nav.navbar-top-default .container,
nav.navbar-top-default .navbar-collapse,
nav.navbar-top-default .navbar-nav {
    overflow: visible !important;
}

/* ===== Pricing Ribbon Hover Menu ===== */

.sparta-pricing-nav {
    position: static;
    display: inline-flex;
    align-items: center;
}

.sparta-pricing-nav > a .sparta-mega-caret {
    display: inline-block;
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.25s ease;
    vertical-align: middle;
}

.sparta-pricing-nav:hover > a .sparta-mega-caret {
    transform: rotate(180deg);
}

/* The ribbon dropdown */
.sparta-pricing-ribbon {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 96vw;
    max-width: 1100px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(40,0,80,0.18), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 9999;
    padding: 24px 28px 18px;
    margin-top: 0;
    /* top padding creates visual gap without a real gap the mouse can fall into */
    padding-top: 34px;
    animation: ribbonFadeIn 0.22s ease both;
}

/* Invisible bridge that fills the space between the nav link and the ribbon,
   keeping the hover state alive as the mouse moves down into the dropdown */
.sparta-pricing-ribbon::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

@keyframes ribbonFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.sparta-pricing-nav:hover .sparta-pricing-ribbon,
.sparta-pricing-ribbon:hover {
    display: block;
}

/* Scrollable track of product cards */
.sparta-pricing-ribbon-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #e0c8ff #f5f0ff;
}
.sparta-pricing-ribbon-track::-webkit-scrollbar { height: 4px; }
.sparta-pricing-ribbon-track::-webkit-scrollbar-track { background: #f5f0ff; border-radius: 4px; }
.sparta-pricing-ribbon-track::-webkit-scrollbar-thumb { background: #c084fc; border-radius: 4px; }

/* Each product tile */
.sparta-pricing-ribbon-item {
    flex: 0 0 auto;
    width: 140px;
}
.sparta-pricing-ribbon-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    background: #f8f4ff;
    border: 1.5px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    text-align: center;
}
.sparta-pricing-ribbon-item a:hover {
    background: #f0e6ff;
    border-color: #a855f7;
    transform: translateY(-3px);
}

.sparta-pri-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #7c3aed;
    transition: background 0.2s;
}
.sparta-pricing-ribbon-item a:hover .sparta-pri-icon {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    color: #fff;
}

.sparta-pri-name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1e1b4b;
    line-height: 1.3;
}

.sparta-pri-price {
    font-size: 10.5px;
    color: #7c3aed;
    font-weight: 500;
    background: #ede9fe;
    border-radius: 20px;
    padding: 2px 8px;
}

/* Footer bar */
.sparta-pricing-ribbon-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid #f0e6ff;
    margin-top: 12px;
}
.sparta-pricing-view-all {
    font-size: 12px;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.sparta-pricing-view-all:hover { color: #f50057; text-decoration: none; }

/* Hide ribbon on mobile */
@media (max-width: 991px) {
    .sparta-pricing-ribbon { display: none !important; }
    .sparta-mega-caret { display: none !important; }
}

/* ===== End Pricing Ribbon ===== */

/* Products nav parent wrapper */
.sparta-products-nav {
    position: static;
    display: inline-flex;
    align-items: center;
}

/* Caret */
.sparta-mega-caret {
    font-size: 9px !important;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.25s ease;
}
.sparta-products-nav:hover .sparta-mega-caret {
    transform: rotate(180deg);
}

/* ── Dropdown panel ── */
.sparta-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, #f033b5 0%, #7004bc 50%, #3264f5 100%) 1;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 28px 70px rgba(112, 4, 188, 0.18), 0 8px 24px rgba(50, 100, 245, 0.12);
    z-index: 9998;
    animation: megaFadeIn 0.22s ease forwards;
}

/* Invisible bridge for Products mega menu — keeps hover alive across the gap */
.sparta-mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

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

.sparta-products-nav:hover .sparta-mega-menu,
.sparta-mega-menu:hover {
    display: block;
}

/* Inner layout */
.sparta-mega-inner {
    display: flex;
    min-height: 320px;
}

/* ── LEFT: Featured Website card (pink → purple gradient) ── */
.sparta-mega-left {
    width: 270px;
    flex-shrink: 0;
    padding: 30px 26px;
    background: linear-gradient(160deg, #f033b5 0%, #7004bc 55%, #3264f5 100%);
    border-radius: 0 0 0 16px;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative circle */
.sparta-mega-left::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    bottom: -40px;
    right: -40px;
    pointer-events: none;
}

.sparta-mega-featured {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: #fff !important;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s;
}
.sparta-mega-featured:hover { opacity: 0.93; }

.mega-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 22px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mega-featured-icon {
    font-size: 42px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
    display: block;
}

.mega-featured-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.mega-featured-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 22px;
}

.mega-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 8px 18px;
    border-radius: 22px;
    width: fit-content;
    transition: background 0.2s, border-color 0.2s;
}
.sparta-mega-featured:hover .mega-featured-cta {
    background: rgba(255,255,255,0.38);
    border-color: rgba(255,255,255,0.7);
}

/* ── RIGHT: Products grid (white with pink/purple/blue accents) ── */
.sparta-mega-right {
    flex: 1;
    padding: 26px 30px 22px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0 0 16px 0;
}

/* Section label above grid */
.sparta-mega-right::before {
    content: 'All Products';
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #f033b5, #7004bc, #3264f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

.mega-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    flex: 1;
}

/* Individual product card */
.sparta-mega-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #333 !important;
    transition: background 0.15s, transform 0.15s;
    border: 1.5px solid transparent;
}
.sparta-mega-card:hover {
    background: linear-gradient(135deg, rgba(240,51,181,0.06) 0%, rgba(112,4,188,0.08) 50%, rgba(50,100,245,0.06) 100%);
    border-color: rgba(112,4,188,0.15);
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Icon — cycles through pink, purple, blue by nth-child */
.mega-card-icon {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}
.sparta-mega-card:nth-child(3n+1) .mega-card-icon { color: #f033b5; }
.sparta-mega-card:nth-child(3n+2) .mega-card-icon { color: #7004bc; }
.sparta-mega-card:nth-child(3n+3) .mega-card-icon { color: #3264f5; }

.mega-card-body { flex: 1; min-width: 0; }

.mega-card-cat {
    display: block;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 3px;
}
.sparta-mega-card:nth-child(3n+1) .mega-card-cat { color: #f033b5; }
.sparta-mega-card:nth-child(3n+2) .mega-card-cat { color: #7004bc; }
.sparta-mega-card:nth-child(3n+3) .mega-card-cat { color: #3264f5; }

.mega-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1030;
    margin: 0 0 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-card-desc {
    font-size: 11px;
    color: #999;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View all button */
.mega-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    width: fit-content;
    padding: 8px 20px;
    border-radius: 22px;
    color: #fff !important;
    background: linear-gradient(to right, #f033b5 0%, #7004bc 50%, #3264f5 100%);
    background-size: 200% auto;
    transition: background-position 0.35s ease, box-shadow 0.25s;
    box-shadow: 0 4px 14px rgba(112, 4, 188, 0.3);
}
.mega-view-all:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(240, 51, 181, 0.4);
    color: #fff !important;
}

/* Divider between left and right */
.sparta-mega-left + .sparta-mega-right {
    border-left: 1px solid #f0e6ff;
}

/* ── Slim footer (index.html) ── */
.sparta-slim-footer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    margin: 0;
    padding: 0 16px;
}
.sparta-slim-footer p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-align: center;
}

/* Hide on tablet & mobile */
@media (max-width: 991px) {
    .sparta-mega-menu  { display: none !important; }
    .sparta-mega-caret { display: none !important; }
}

/* ===================================================================
   ADMIN LOGIN BUTTON + MODAL
   =================================================================== */

/* ── Navbar admin icon button ── */
.sparta-admin-btn {
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    opacity: 0.85;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: relative;
    top: 0;
}
.sparta-admin-btn:hover {
    opacity: 1;
    background: rgba(255,255,255,0.12);
    transform: scale(1.1);
}

/* ── Modal overlay ── */
.sparta-admin-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.sparta-admin-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── Modal card ── */
.sparta-admin-modal {
    width: 100%;
    max-width: 420px;
    margin: 16px;
    background: linear-gradient(145deg, #0f0c29, #1a1040, #24243e);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.sparta-admin-modal-overlay.active .sparta-admin-modal {
    transform: translateY(0) scale(1);
}

/* ── Header band ── */
.sparta-admin-modal-head {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
    padding: 28px 30px 22px;
    text-align: center;
    position: relative;
}
.sparta-admin-modal-head img {
    height: 44px;
    width: auto;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}
.sparta-admin-modal-head h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}
.sparta-admin-modal-head p {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin: 4px 0 0;
}

/* ── Close button ── */
.sparta-admin-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.sparta-admin-modal-close:hover { background: rgba(255,255,255,0.3); }

/* ── Tabs ── */
.sparta-admin-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.sparta-admin-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 14px 8px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.sparta-admin-tab-btn.active {
    color: #fff;
    border-bottom-color: #ec4899;
}

/* ── Form body ── */
.sparta-admin-tab-pane { display: none; padding: 26px 30px 28px; }
.sparta-admin-tab-pane.active { display: block; }

.sparta-admin-field {
    margin-bottom: 16px;
}
.sparta-admin-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.sparta-admin-field input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}
.sparta-admin-field input:focus {
    background: rgba(255,255,255,0.1);
    border-color: #a855f7;
}
.sparta-admin-field input::placeholder { color: rgba(255,255,255,0.3); }

/* ── Extras row ── */
.sparta-admin-extras {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 12px;
}
.sparta-admin-extras label { color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sparta-admin-extras a { color: #a855f7; text-decoration: none; transition: color 0.2s; }
.sparta-admin-extras a:hover { color: #ec4899; }

/* ── Submit button ── */
.sparta-admin-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    margin-bottom: 8px;
}
.sparta-admin-submit:hover { opacity: 0.9; transform: translateY(-1px); }
.sparta-admin-submit:active { transform: translateY(0); }

/* ── Footer note ── */
.sparta-admin-modal-note {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    padding: 0 30px 20px;
    line-height: 1.6;
}
.sparta-admin-modal-note a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* ── Success flash ── */
.sparta-admin-success {
    display: none;
    text-align: center;
    padding: 30px 30px 28px;
}
.sparta-admin-success .success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #fff;
}
.sparta-admin-success h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sparta-admin-success p { color: rgba(255,255,255,0.55); font-size: 13px; }

/* ── Header scroll state: keep icon white ── */
.header-appear .sparta-admin-btn { color: #555; }
.header-appear .sparta-admin-btn:hover { color: #7c3aed; background: rgba(124,58,237,0.1); }

