@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    color: #1E293B;
}

.font-display {
    font-family: 'Poppins', system-ui, sans-serif;
}

.gradient-primary {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #001A3D 0%, #1E293B 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.smooth-transition {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.12);
}

.text-glow {
    text-shadow: 0 0 24px rgba(0, 102, 204, 0.25);
}

/* Mobile menu — legacy id hook (luxury-mobile-menu handles styling) */
#mobile-menu:not(.luxury-mobile-menu) {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#mobile-menu:not(.luxury-mobile-menu).open {
    max-height: 480px;
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 45;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

@media (min-width: 768px) {
    .whatsapp-float {
        bottom: 24px;
    }
}

/* Exit intent modal */
#exit-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#exit-modal.show {
    opacity: 1;
    visibility: visible;
}

/* Sticky CTA */
.sticky-cta {
    padding-bottom: 72px;
}

@media (min-width: 768px) {
    .sticky-cta {
        padding-bottom: 0;
    }
}

/* FAQ details */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary span.toggle-icon {
    transform: rotate(45deg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Prose for long-form content */
.prose-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #001A3D;
    margin: 2rem 0 1rem;
}

.prose-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E293B;
    margin: 1.5rem 0 0.75rem;
}

.prose-content p {
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.prose-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #64748B;
    margin-bottom: 1rem;
}

.prose-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Luxury UI — dark hero mesh (features, pricing, how-it-works) */
.hero-mesh {
    position: relative;
    overflow: hidden;
}

.icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box--primary {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.28);
}

.icon-box--soft {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #0066CC;
    border: 1px solid rgba(0, 102, 204, 0.12);
}

.icon-box svg, .icon-inline {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

.icon-box svg {
    width: 26px;
    height: 26px;
}

.icon-box--primary .icon-inline {
    color: #fff;
}

.icon-box--soft .icon-inline {
    color: #0066CC;
}

/* Filled icons (star) */
svg.icon-filled {
    fill: currentColor;
    stroke: none;
}

/* Plan & comparison table icons */
.plan-feature svg,
.cmp-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.plan-feature svg {
    stroke: currentColor;
    fill: none;
}

.cmp-icon svg {
    stroke: currentColor;
    fill: none;
}

svg[data-icon="star"],
svg.icon-star {
    fill: currentColor;
    stroke: none;
}

.luxury-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #28A745);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.luxury-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 102, 204, 0.2);
}

.luxury-card:hover::before { opacity: 1; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pill--primary {
    background: rgba(0, 102, 204, 0.1);
    color: #0066CC;
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.dash-mock {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.dash-mock__bar {
    background: linear-gradient(135deg, #001A3D 0%, #1E293B 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-mock__kpi {
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.dash-mock__kpi strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #001A3D;
    font-family: 'Poppins', sans-serif;
}

.dash-mock__kpi span {
    font-size: 0.7rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.module-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #64748B;
    margin-bottom: 6px;
}

.module-list li svg {
    width: 16px;
    height: 16px;
    color: #28A745;
    flex-shrink: 0;
    margin-top: 2px;
}

.stat-chip strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #001A3D;
}

.stat-chip span { font-size: 0.75rem; color: #64748B; }

.template-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
    margin: 2px;
}

/* Pricing */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.billing-toggle button {
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748B;
    transition: all 0.25s ease;
}

.billing-toggle button.active {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.pricing-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.1);
}

.pricing-card--featured {
    background: linear-gradient(160deg, #001A3D 0%, #003366 55%, #0066CC 100%);
    border: none;
    color: #fff;
    box-shadow: 0 32px 64px rgba(0, 102, 204, 0.35);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.pricing-card--featured .text-muted { color: rgba(255, 255, 255, 0.75); }

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #001A3D;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.plan-feature svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .plan-feature svg { color: #0066CC; }
.pricing-card--featured .plan-feature svg { color: #93C5FD; }

.cmp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
}

.cmp-table th,
.cmp-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    vertical-align: middle;
}

.cmp-table thead th {
    background: linear-gradient(135deg, #001A3D 0%, #1E293B 100%);
    color: #fff;
    font-weight: 600;
    position: sticky;
    top: 64px;
    z-index: 1;
}

.cmp-table thead th:first-child { border-radius: 12px 0 0 0; }
.cmp-table thead th:last-child { border-radius: 0 12px 0 0; }

.cmp-table .cmp-cat td {
    background: #F1F5F9;
    font-weight: 700;
    color: #001A3D;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cmp-table .cmp-col-popular {
    background: rgba(0, 102, 204, 0.04);
}

.cmp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.cmp-icon--yes { color: #28A745; }
.cmp-icon--no { color: #CBD5E1; }

[data-billing="yearly"] .price-monthly { display: none; }
[data-billing="monthly"] .price-yearly { display: none; }

/* Dark highlight section */
.section-dark {
    background: linear-gradient(135deg, #001A3D 0%, #1E293B 100%);
    color: #F8FAFC;
}

.section-dark .section-dark__muted { color: #94A3B8; }

.section-dark .luxury-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
}

.section-dark .luxury-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.section-dark .module-list li { color: #94A3B8; }

.section-dark .icon-box--soft {
    background: rgba(0, 102, 204, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
    color: #93C5FD;
}

.section-dark .badge-pill--primary {
    background: rgba(59, 130, 246, 0.15);
    color: #93C5FD;
    border-color: rgba(59, 130, 246, 0.25);
}

/* Module jump nav */
.module-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.module-jump a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.module-jump a:hover {
    color: #0066CC;
    border-color: rgba(0, 102, 204, 0.3);
    background: #EFF6FF;
}

/* Brand logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo__img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.brand-logo__icon {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

@media (max-width: 639px) {
    .brand-logo__img { height: 36px; max-width: 150px; }
}

.brand-logo--footer .brand-logo__img {
    height: 40px;
    max-width: 200px;
    filter: none;
    opacity: 1;
}

.brand-logo--footer {
    gap: 8px;
}

.brand-logo--footer .brand-logo__icon {
    height: 32px;
    width: 32px;
}

/* Brand green — matches "bill" in logo */
.gradient-success {
    background: linear-gradient(135deg, #28A745 0%, #20903A 100%);
}

.btn-trial {
    background: linear-gradient(135deg, #28A745 0%, #20903A 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
    transition: all 0.3s ease;
}

.btn-trial:hover {
    box-shadow: 0 10px 28px rgba(40, 167, 69, 0.45);
    transform: translateY(-1px);
}

.icon-check-green { color: #28A745; }

.badge-pill--success {
    background: rgba(40, 167, 69, 0.1);
    color: #28A745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   LUXURY THEME — Site-wide premium design system
   ═══════════════════════════════════════════════════════════════ */

.luxury-body {
    background: #FAFBFD;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 102, 204, 0.06) 0, transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(40, 167, 69, 0.03) 0, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium navigation — luxury brand header */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-header__bar {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-header--scrolled .luxury-header__bar {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(0, 102, 204, 0.08);
    box-shadow: 0 4px 40px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.luxury-header__bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, rgba(0, 102, 204, 0.5) 35%, rgba(40, 167, 69, 0.5) 65%, transparent 95%);
    pointer-events: none;
}

.luxury-header__container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .luxury-header__container {
        height: 5rem;
        padding: 0 2rem;
    }
}

.luxury-header__brand {
    flex-shrink: 0;
    padding: 0.25rem 0;
}

.luxury-header__brand .brand-logo__img {
    height: 44px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.luxury-header__brand:hover .brand-logo__img {
    transform: scale(1.03);
}

.luxury-header--scrolled .luxury-header__brand .brand-logo__img {
    height: 40px;
}

/* Center nav links */
.luxury-header__menu {
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.luxury-header__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
    border-radius: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.luxury-header__link:hover {
    color: #001A3D;
    background: rgba(0, 102, 204, 0.05);
}

.luxury-header__link.nav-active {
    color: #0066CC;
    background: rgba(0, 102, 204, 0.08);
}

.luxury-header__link.nav-active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, #28A745);
    border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__chevron {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown__chevron,
.nav-dropdown.is-open .nav-dropdown__chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}

.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger {
    color: #001A3D;
    background: rgba(0, 102, 204, 0.08);
}

.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    padding: 0;
    background: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 48px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.28s;
    z-index: 60;
    overflow: hidden;
}

.nav-dropdown__panel--wide {
    min-width: 340px;
    max-width: 360px;
}

.nav-dropdown__panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    z-index: 1;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem 0.625rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
}

.nav-dropdown__header-title {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94A3B8;
}

.nav-dropdown__header-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0066CC;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-dropdown__header-link:hover {
    color: #004C99;
    text-decoration: underline;
}

.nav-dropdown__list {
    padding: 0.375rem;
    max-height: min(70vh, 420px);
    overflow-y: auto;
}

.nav-dropdown__list::-webkit-scrollbar {
    width: 5px;
}

.nav-dropdown__list::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.2);
    border-radius: 4px;
}

.nav-dropdown__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.625rem 0.75rem;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown__item + .nav-dropdown__item {
    margin-top: 2px;
}

.nav-dropdown__item:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.07) 0%, rgba(40, 167, 69, 0.04) 100%);
}

.nav-dropdown__item.nav-active {
    background: rgba(0, 102, 204, 0.09);
}

.nav-dropdown__item.nav-active .nav-dropdown__icon {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.nav-dropdown__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
    padding-top: 1px;
}

.nav-dropdown__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #0066CC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-dropdown__item:hover .nav-dropdown__icon {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.22);
}

.nav-dropdown__icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.nav-dropdown__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #001A3D;
    letter-spacing: -0.01em;
    text-transform: none;
    line-height: 1.35;
}

.nav-dropdown__desc {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
}

/* Header CTA buttons */
.luxury-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-nav-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #001A3D;
    border: 1px solid rgba(0, 26, 61, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.btn-nav-ghost:hover {
    border-color: rgba(0, 102, 204, 0.3);
    color: #0066CC;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, #28A745 0%, #20903A 100%);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.luxury-header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.8);
    color: #001A3D;
    transition: all 0.25s ease;
}

.luxury-header__toggle:hover {
    border-color: rgba(0, 102, 204, 0.2);
    background: #fff;
}

.luxury-header__toggle svg {
    width: 22px;
    height: 22px;
}

/* Mobile menu */
.luxury-mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.luxury-mobile-menu.open {
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.luxury-mobile-menu__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem 1.5rem;
}

.luxury-mobile-menu__section {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.luxury-mobile-menu__section:last-child {
    border-bottom: none;
}

.luxury-mobile-menu__label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94A3B8;
    padding: 0.5rem 0.75rem;
}

.luxury-mobile-menu a {
    display: block;
    padding: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1E293B;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.luxury-mobile-menu a:hover,
.luxury-mobile-menu a.nav-active {
    color: #0066CC;
    background: rgba(0, 102, 204, 0.06);
}

.luxury-mobile-menu__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
}

.luxury-mobile-menu__cta .btn-nav-ghost,
.luxury-mobile-menu__cta .btn-nav-cta {
    justify-content: center;
    width: 100%;
    padding: 0.875rem;
}

/* Legacy nav compat */
.luxury-nav {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 32px rgba(15, 23, 42, 0.06);
}

.luxury-nav a[data-nav] {
    position: relative;
    padding-bottom: 2px;
}

.luxury-nav a[data-nav]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, #28A745);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.luxury-nav a[data-nav]:hover::after,
.luxury-nav a[data-nav].nav-active::after {
    width: 100%;
}

/* Inner page heroes — dark premium banner */
.page-hero,
.seo-hero,
.hero-mesh {
    color: #fff;
    background: linear-gradient(165deg, #000000 0%, #0b1120 42%, #111827 100%);
}

.page-hero {
    padding-top: 9rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.seo-hero {
    padding-top: 9rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.seo-hero::before,
.hero-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 78%);
}

.page-hero::after,
.seo-hero::after,
.hero-mesh::after {
    content: '';
    position: absolute;
    top: -18%;
    right: -8%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero > *,
.seo-hero > *,
.hero-mesh > * {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.seo-hero h1,
.hero-mesh h1,
.page-hero .text-secondary,
.seo-hero .text-secondary,
.hero-mesh .text-secondary {
    color: #fff;
}

.page-hero .text-muted,
.seo-hero .text-muted,
.hero-mesh .text-muted {
    color: rgba(255, 255, 255, 0.72);
}

.page-hero .badge-pill--primary,
.seo-hero .badge-pill--primary,
.hero-mesh .badge-pill--primary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #bfdbfe;
}

.seo-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.65);
}

.seo-hero .breadcrumb a {
    color: #93c5fd;
}

.seo-hero .breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.88);
}

.seo-hero .breadcrumb__sep {
    color: rgba(255, 255, 255, 0.28);
}

.page-hero .border-primary,
.seo-hero .border-primary,
.hero-mesh .border-primary {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.page-hero .border-primary:hover,
.seo-hero .border-primary:hover,
.hero-mesh .border-primary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.page-hero h1 {
    letter-spacing: -0.025em;
}

/* Section backgrounds */
.section-pearl {
    background: linear-gradient(180deg, #F4F7FB 0%, #EEF2F7 100%);
    position: relative;
}

.section-pearl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(at 50% 0%, rgba(0, 102, 204, 0.04) 0, transparent 50%);
    pointer-events: none;
}

.section-white {
    background: #fff;
    position: relative;
}

.section-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.12), transparent);
}

/* Section headings — decorative accent line */
.luxury-body section .text-center > h2.font-display::after,
.luxury-body section .text-center > h2.font-display.text-secondary::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #28A745);
    border-radius: 2px;
    margin: 1rem auto 0;
}

.luxury-body section h2.font-display,
.luxury-body section h1.font-display {
    letter-spacing: -0.025em;
}

/* Enhanced luxury cards */
.luxury-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.luxury-card:hover {
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0, 102, 204, 0.08);
}

/* Testimonial cards */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: rgba(0, 102, 204, 0.08);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    border-color: rgba(0, 102, 204, 0.15);
}

/* FAQ accordion */
.luxury-faq {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.luxury-faq:hover {
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.luxury-faq[open] {
    border-color: rgba(0, 102, 204, 0.25);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.08);
}

.luxury-faq summary {
    font-weight: 600;
    color: #001A3D;
}

/* Premium CTA band */
.luxury-cta {
    position: relative;
    overflow: hidden;
}

.luxury-cta--premium {
    background: linear-gradient(135deg, #003D7A 0%, #0066CC 42%, #004C99 100%);
}

.luxury-cta__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.luxury-cta__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.luxury-cta__blob--a {
    width: 420px;
    height: 420px;
    top: -20%;
    left: -8%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.luxury-cta__blob--b {
    width: 380px;
    height: 380px;
    bottom: -25%;
    right: -6%;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.35) 0%, transparent 70%);
}

.luxury-cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}

.luxury-cta__inner {
    position: relative;
    z-index: 1;
}

.luxury-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.luxury-cta__title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.luxury-cta__accent {
    width: 56px;
    height: 4px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff 0%, #28A745 100%);
}

.luxury-cta__desc {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.luxury-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.luxury-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.luxury-cta__btn--primary {
    background: #fff;
    color: #0066CC;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.luxury-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    background: #F8FAFC;
}

.luxury-cta__btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.luxury-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.luxury-cta__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
}

.luxury-cta__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.luxury-cta__trust span::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328A745' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.luxury-cta__related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8125rem;
}

.luxury-cta__related-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.luxury-cta__related a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-decoration: none;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.luxury-cta__related a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.luxury-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255, 255, 255, 0.1) 0, transparent 50%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(40, 167, 69, 0.12) 0, transparent 50%);
    pointer-events: none;
}

.luxury-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.luxury-cta > *:not(.luxury-cta__bg) {
    position: relative;
    z-index: 1;
}

.luxury-cta .btn-cta-white {
    background: #fff;
    color: #0066CC;
    font-weight: 600;
    border-radius: 14px;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.luxury-cta .btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Premium footer */
.luxury-footer {
    background: linear-gradient(180deg, #001A3D 0%, #0F172A 100%) !important;
    position: relative;
    overflow: hidden;
}

.luxury-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #28A745, #0066CC);
}

.luxury-footer::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0, transparent 70%);
    pointer-events: none;
}

.luxury-footer > * {
    position: relative;
    z-index: 1;
}

.luxury-footer a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

.luxury-footer a:hover {
    color: #93C5FD !important;
    opacity: 1 !important;
}

.luxury-footer h4 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

/* Form inputs */
.luxury-input,
.luxury-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    font-size: 0.9375rem;
    color: #001A3D;
    transition: all 0.25s ease;
}

.luxury-input:focus,
.luxury-textarea:focus {
    outline: none;
    border-color: rgba(0, 102, 204, 0.4);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.luxury-form-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.luxury-btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.luxury-btn-submit.sm\:w-auto,
.luxury-btn-submit[style*="width"] {
    width: auto;
}

.luxury-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

/* Team / profile card */
.team-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #28A745);
}

/* Stat chips — premium */
.stat-chip {
    padding: 0.75rem 1rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Hero mesh — shares dark inner-hero styles above */

/* Glass effect upgrade */
.glass-effect {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

/* Legal / prose pages */
.prose-luxury {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.prose-luxury h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #001A3D;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.prose-luxury h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #001A3D;
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.prose-luxury p, .prose-luxury li {
    color: #64748B;
    line-height: 1.75;
}

/* Map placeholder */
.map-luxury {
    background: linear-gradient(145deg, #EEF2F7 0%, #E2E8F0 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Pricing preview featured card on homepage */
.pricing-preview-featured {
    background: linear-gradient(160deg, #001A3D 0%, #003366 55%, #0066CC 100%);
    border: none;
    border-radius: 24px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 32px 64px rgba(0, 102, 204, 0.35);
    transform: scale(1.03);
    position: relative;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-preview-featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 40px 72px rgba(0, 102, 204, 0.4);
}

.pricing-preview-featured p,
.pricing-preview-featured span.opacity-90,
.pricing-preview-featured span.opacity-75 {
    color: rgba(255, 255, 255, 0.88);
}

.pricing-preview-featured ul li {
    color: rgba(255, 255, 255, 0.92);
}

.pricing-preview-featured ul li svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #4ADE80;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 767px) {
    .pricing-preview-featured {
        transform: none;
    }
    .pricing-preview-featured:hover {
        transform: translateY(-4px);
    }
}

/* UI helpers — separators & comparison icons */
.ui-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 0.45em;
    vertical-align: middle;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
}

.ui-arrow {
    display: inline-block;
    margin-left: 0.15em;
}

.cmp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

.cmp-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.cmp-icon--yes { color: #28A745; }
.cmp-icon--no { color: #EF4444; }

.compare-premium td .cmp-icon--yes,
.compare-premium td.col-highlight .cmp-icon--yes {
    color: #16A34A;
}

.cmp-table-wrap {
    -webkit-overflow-scrolling: touch;
}

/* Prevent clipped headings & badges on small screens */
.hero-headline,
.luxury-cta__title,
.page-hero h1 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-mini-cards {
    min-width: 0;
}

.luxury-cta__eyebrow,
.hero-badge {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.hero-badge .ui-dot {
    background: #0066CC;
    opacity: 0.45;
}

/* Contrast: never use primary blue text on blue backgrounds */
.luxury-cta a.text-primary,
.gradient-primary a.text-primary:not(.luxury-cta__btn):not(.luxury-cta__related a),
.luxury-cta .text-primary {
    color: #fff !important;
}

.section-pearl .text-center > h2.font-display,
.section-white .text-center > h2.font-display {
    overflow: visible;
    padding-bottom: 0.25rem;
}

.nav-dropdown__header-link {
    color: #0066CC;
}

.nav-dropdown__header-link:hover {
    color: #004C99;
}

/* Button refinements */
.btn-trial {
    border-radius: 12px;
    letter-spacing: 0.01em;
}

.luxury-body .border-2.border-primary {
    border-radius: 14px;
}

/* Exit intent modal card */
.exit-modal-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.2);
    position: relative;
}

.exit-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #28A745);
    border-radius: 24px 24px 0 0;
}

/* Comparison table wrapper */
.cmp-table-wrap {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

/* Blog category tag */
.tag-luxury {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.06) 100%);
    color: #0066CC;
    border: 1px solid rgba(0, 102, 204, 0.15);
}

/* ═══ Premium SaaS Enhancements ═══ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.trust-bar {
    background: linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.25rem 0;
}
.trust-bar__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
.trust-stat { text-align: center; }
.trust-stat strong {
    display: block; font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800;
    color: #001A3D; letter-spacing: -0.02em; line-height: 1.2;
}
.trust-stat span { font-size: 0.8125rem; color: #64748B; font-weight: 500; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1rem; }
.trust-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
    background: #fff; border: 1px solid rgba(0, 102, 204, 0.12); border-radius: 999px;
    font-size: 0.75rem; font-weight: 600; color: #475569; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.trust-badge svg { width: 16px; height: 16px; color: #0066CC; stroke: currentColor; fill: none; }
.visual-showcase { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
    .visual-showcase { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.visual-showcase__img {
    width: 100%; height: auto; border-radius: 20px;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12); border: 1px solid rgba(226, 232, 240, 0.8);
}
.visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 640px) {
    .visual-grid { grid-template-columns: 1fr; }
}
.visual-grid__item {
    border-radius: 16px; overflow: hidden; border: 1px solid rgba(226, 232, 240, 0.8);
    background: #fff; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.visual-grid__item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08); }
.visual-grid__item img { width: 100%; height: auto; display: block; }
.visual-grid__caption { padding: 0.75rem 1rem; font-size: 0.8125rem; font-weight: 600; color: #001A3D; }

/* Showcase cards with inline SVG animations */
.section-heading-accent {
    width: 56px;
    height: 4px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, #0066CC 0%, #28A745 100%);
}
.showcase-card.reveal-on-scroll { transition-delay: var(--reveal-delay, 0ms); }
.showcase-card__visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F8FAFC 0%, #fff 100%);
    min-height: 220px;
}
.showcase-svg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.showcase-card__visual--gst {
    background: linear-gradient(180deg, #F0FDF4 0%, #fff 100%);
}

.showcase-row {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.showcase-card.is-animated .showcase-row { opacity: 1; transform: translateX(0); }

.showcase-badge {
    opacity: 0;
    transform: scale(0.92);
    transform-origin: center;
    transition: opacity 0.45s ease 0.35s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.showcase-card.is-animated .showcase-badge { opacity: 1; transform: scale(1); }

.showcase-bar {
    transform-box: fill-box;
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-card.is-animated .showcase-bar { transform: scaleY(1); }
.showcase-card.is-animated .showcase-bar:nth-of-type(1) { transition-delay: 0.1s; }
.showcase-card.is-animated .showcase-bar:nth-of-type(2) { transition-delay: 0.18s; }
.showcase-card.is-animated .showcase-bar:nth-of-type(3) { transition-delay: 0.26s; }
.showcase-card.is-animated .showcase-bar:nth-of-type(4) { transition-delay: 0.34s; }
.showcase-card.is-animated .showcase-bar:nth-of-type(5) { transition-delay: 0.42s; }
.showcase-card.is-animated .showcase-bar:nth-of-type(6) { transition-delay: 0.5s; }

.showcase-line {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.showcase-card.is-animated .showcase-line { stroke-dashoffset: 0; }

.showcase-dot {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.35s ease 1.2s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) 1.2s;
}
.showcase-card.is-animated .showcase-dot { opacity: 1; transform: scale(1); }

.showcase-pulse {
    animation: none;
}
.showcase-card.is-animated .showcase-pulse {
    animation: showcasePulse 2.5s ease-in-out infinite;
}

@keyframes showcasePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}
.compare-premium { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.875rem; }
.compare-premium thead th {
    padding: 1rem 1.25rem; background: linear-gradient(135deg, #001A3D 0%, #1E293B 100%);
    color: #fff; font-weight: 600; text-align: left;
}
.compare-premium thead th:first-child { border-radius: 16px 0 0 0; }
.compare-premium thead th:last-child { border-radius: 0 16px 0 0; }
.compare-premium thead th.col-highlight {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%); text-align: center;
}
.compare-premium td { padding: 0.875rem 1.25rem; border-bottom: 1px solid rgba(226, 232, 240, 0.8); vertical-align: middle; }
.compare-premium td:not(:first-child) { text-align: center; }
.compare-premium td.col-highlight { background: rgba(0, 102, 204, 0.04); text-align: center; font-weight: 600; color: #001A3D; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: #64748B; margin-bottom: 1.5rem; }
.breadcrumb a { color: #0066CC; font-weight: 500; }
.breadcrumb [aria-current="page"] { color: #475569; font-weight: 600; }
.breadcrumb__sep { color: #CBD5E1; }
.sticky-desktop-cta {
    position: fixed; bottom: 24px; right: 24px; z-index: 44;
    display: none; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 768px) { .sticky-desktop-cta { display: flex; } }
.sticky-desktop-cta a {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem;
    border-radius: 14px; font-size: 0.8125rem; font-weight: 700;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15); transition: transform 0.25s ease;
}
.sticky-desktop-cta a:hover { transform: translateY(-2px); }
.sticky-desktop-cta .cta-trial { background: linear-gradient(135deg, #28A745, #20903A); color: #fff; }
.sticky-desktop-cta .cta-demo { background: #fff; color: #0066CC; border: 1px solid rgba(0, 102, 204, 0.2); }
.skip-link {
    position: absolute; top: -100px; left: 1rem; z-index: 100;
    padding: 0.75rem 1.25rem; background: #001A3D; color: #fff; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; opacity: 0.7; }
.logo-strip__item { font-family: 'Poppins', sans-serif; font-size: 0.875rem; font-weight: 700; color: #94A3B8; }
.laptop-frame {
    position: relative; padding: 1rem;
    background: linear-gradient(145deg, #E2E8F0, #CBD5E1);
    border-radius: 20px; box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
}
.laptop-frame img { border-radius: 8px; display: block; width: 100%; }

/* ═══ Premium Hero (Homepage) ═══ */
.hero-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #F8FAFC 0%, #EFF6FF 38%, #F0FDF4 72%, #F8FAFC 100%);
}

.hero-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-premium__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: heroBlobFloat 14s ease-in-out infinite;
}

.hero-premium__blob--blue {
    width: 520px;
    height: 420px;
    top: -8%;
    left: -6%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.22) 0%, rgba(0, 102, 204, 0.06) 55%, transparent 72%);
}

.hero-premium__blob--green {
    width: 480px;
    height: 400px;
    bottom: 4%;
    right: -4%;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.18) 0%, rgba(40, 167, 69, 0.05) 55%, transparent 72%);
    animation-delay: -5s;
}

.hero-premium__blob--mint {
    width: 360px;
    height: 320px;
    top: 42%;
    right: 18%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0.04) 60%, transparent 75%);
    animation-delay: -9s;
}

.hero-premium__dots {
    position: absolute;
    top: 6%;
    right: 4%;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.18) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.45;
    mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
}

@keyframes heroBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -16px) scale(1.03); }
    66% { transform: translate(-10px, 10px) scale(0.98); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0066CC;
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.15);
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #001A3D;
}

.hero-headline__accent {
    color: #28A745;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.9375rem 1.75rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.hero-btn--primary {
    background: linear-gradient(135deg, #28A745 0%, #20903A 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(40, 167, 69, 0.35);
}

.hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(40, 167, 69, 0.45);
}

.hero-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-btn--outline {
    background: #fff;
    color: #0066CC;
    border: 2px solid rgba(0, 102, 204, 0.25);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.hero-btn--outline:hover {
    border-color: #0066CC;
    background: rgba(0, 102, 204, 0.04);
    transform: translateY(-2px);
}

.hero-btn__play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-btn__play svg {
    width: 12px;
    height: 12px;
    color: #0066CC;
    margin-left: 2px;
}

.hero-btn--nav {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn--nav .hero-btn__icon {
    width: 16px;
    height: 16px;
}

.hero-btn--nav:hover {
    transform: translateY(-1px);
}

.hero-btn--nav-full {
    width: 100%;
    justify-content: center;
}

.luxury-mobile-menu__cta .hero-btn--nav-full {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
}

/* Premium tax invoice showcase */
.showcase-card__visual--invoice {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f2744 100%);
    padding: 1.25rem;
}

.invoice-mock {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.invoice-mock__paid {
    animation: showcasePulse 2.5s ease-in-out infinite;
}

.hero-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 0.5rem;
}

@media (max-width: 640px) {
    .hero-mini-cards {
        grid-template-columns: 1fr;
    }
}

.hero-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.hero-mini-card strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #001A3D;
    line-height: 1.3;
}

.hero-mini-card span {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.35;
}

.hero-mini-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-mini-card__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.hero-mini-card__icon--blue {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #0066CC;
}

.hero-mini-card__icon--green {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    color: #28A745;
}

.hero-mini-card__icon--purple {
    background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
    color: #7C3AED;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.hero-visual__stage {
    position: absolute;
    inset: -8% -4%;
    pointer-events: none;
    z-index: 0;
}

.hero-visual__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88%;
    height: 72%;
    transform: translate(-50%, -48%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0%, rgba(239, 246, 255, 0.75) 35%, rgba(240, 253, 244, 0.35) 58%, transparent 78%);
    filter: blur(2px);
}

.hero-visual__glow--soft {
    width: 110%;
    height: 90%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.08) 0%, rgba(40, 167, 69, 0.05) 45%, transparent 70%);
    filter: blur(24px);
    opacity: 0.9;
}

.hero-visual__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 56px rgba(15, 23, 42, 0.12));
    animation: heroImageFloat 5s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (min-width: 1024px) {
    .hero-visual__img {
        max-width: 100%;
    }
}

.hero-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .hero-trust-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.hero-trust-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-trust-item__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.hero-trust-item__icon--blue { color: #0066CC; }
.hero-trust-item__icon--green { color: #28A745; }

.hero-trust-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #001A3D;
    line-height: 1.2;
}

.hero-trust-item span {
    display: block;
    font-size: 0.75rem;
    color: #64748B;
    margin-top: 2px;
}

/* ═══ Luxury Blog Page ═══ */
.blog-luxury__intro {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.blog-luxury__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 2.5rem;
}

.blog-filters__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.blog-filters__pill:hover,
.blog-filters__pill.is-active {
    color: #0066CC;
    border-color: rgba(0, 102, 204, 0.25);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 102, 204, 0.04) 100%);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.12);
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

@media (min-width: 768px) {
    .blog-featured {
        grid-template-columns: 1.05fr 1fr;
    }
}

.blog-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
}

.blog-featured__visual {
    position: relative;
    min-height: 16rem;
    background: linear-gradient(145deg, #001A3D 0%, #003366 45%, #0066CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-featured__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}

.blog-featured__visual-icon {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.blog-featured__visual-icon svg {
    width: 42px;
    height: 42px;
}

.blog-featured__badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #28A745 0%, #16A34A 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
}

.blog-featured__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .blog-featured__body {
        padding: 2.5rem 2.75rem;
    }
}

.blog-featured__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: #64748B;
}

.blog-featured__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-featured__meta svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
}

.blog-featured__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #001A3D;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.blog-featured__excerpt {
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0066CC;
    transition: gap 0.25s ease;
}

.blog-read-link:hover {
    gap: 0.75rem;
}

.blog-read-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    overflow: hidden;
    position: relative;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 32px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease;
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 0 1px rgba(0, 102, 204, 0.15), 0 32px 64px rgba(0, 102, 204, 0.12);
    transition: opacity 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 204, 0.18);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.blog-card:hover::after {
    opacity: 1;
}

.blog-card__visual {
    position: relative;
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.blog-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 25%, transparent 78%);
    pointer-events: none;
    z-index: 1;
}

.blog-card__visual::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 68%);
    top: -40%;
    right: -20%;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__visual::after {
    transform: scale(1.15) translate(-8px, 8px);
}

.blog-card__visual--gst {
    background: linear-gradient(145deg, #001A3D 0%, #003366 48%, #0066CC 100%);
    color: #93C5FD;
}

.blog-card__visual--accounting {
    background: linear-gradient(145deg, #052E16 0%, #14532D 48%, #16A34A 100%);
    color: #86EFAC;
}

.blog-card__visual--inventory {
    background: linear-gradient(145deg, #431407 0%, #9A3412 48%, #EA580C 100%);
    color: #FDBA74;
}

.blog-card__visual--growth {
    background: linear-gradient(145deg, #1E1B4B 0%, #4C1D95 48%, #7C3AED 100%);
    color: #C4B5FD;
}

.blog-card__visual--tax {
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 48%, #334155 100%);
    color: #CBD5E1;
}

.blog-card__read-time {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-card__visual-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.25) inset;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.blog-card:hover .blog-card__visual-icon {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.blog-card__visual-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
}

.blog-card__body {
    padding: 1.375rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(180deg, #fff 0%, #FAFBFD 100%);
}

.blog-card__tag {
    margin-bottom: 0.875rem;
}

.blog-card__tag.tag-luxury {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.09) 0%, rgba(0, 102, 204, 0.04) 100%);
    border: 1px solid rgba(0, 102, 204, 0.14);
    box-shadow: 0 1px 2px rgba(0, 102, 204, 0.06);
}

.blog-card[data-category="growth"] .blog-card__tag.tag-luxury {
    color: #6D28D9;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1) 0%, rgba(109, 40, 217, 0.04) 100%);
    border-color: rgba(109, 40, 217, 0.18);
}

.blog-card[data-category="accounting"] .blog-card__tag.tag-luxury {
    color: #15803D;
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.1) 0%, rgba(21, 128, 61, 0.04) 100%);
    border-color: rgba(21, 128, 61, 0.18);
}

.blog-card[data-category="inventory"] .blog-card__tag.tag-luxury {
    color: #C2410C;
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.1) 0%, rgba(194, 65, 12, 0.04) 100%);
    border-color: rgba(194, 65, 12, 0.18);
}

.blog-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #001A3D;
    line-height: 1.4;
    margin-bottom: 0.625rem;
    letter-spacing: -0.015em;
}

.blog-card__title a {
    color: inherit;
    transition: color 0.2s ease;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #0066CC;
}

.blog-card__excerpt {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 0.75rem;
    color: #94A3B8;
}

.blog-card__footer .blog-read-link {
    padding: 0.4rem 0.875rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0066CC;
    background: rgba(0, 102, 204, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.12);
    transition: all 0.25s ease;
}

.blog-card__footer .blog-read-link:hover {
    gap: 0.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.28);
}

.blog-card__footer .blog-read-link svg {
    width: 14px;
    height: 14px;
}

.blog-sidebar__widget {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.blog-sidebar__widget + .blog-sidebar__widget {
    margin-top: 1.5rem;
}

.blog-sidebar__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #001A3D;
    margin-bottom: 1rem;
}

.blog-sidebar__search {
    position: relative;
}

.blog-sidebar__search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94A3B8;
    stroke: currentColor;
    fill: none;
    pointer-events: none;
}

.blog-sidebar__search input {
    padding-left: 2.75rem;
}

.blog-topic-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blog-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background: #F8FAFC;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.blog-topic-list a:hover {
    color: #0066CC;
    background: rgba(0, 102, 204, 0.06);
    border-color: rgba(0, 102, 204, 0.12);
}

.blog-topic-list a span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    background: #fff;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
}

.blog-sidebar-cta {
    background: linear-gradient(160deg, #001A3D 0%, #003366 55%, #0066CC 100%);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.blog-sidebar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.blog-sidebar-cta > * {
    position: relative;
    z-index: 1;
}

.blog-sidebar-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-sidebar-cta p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.blog-sidebar-cta .btn-trial {
    display: block;
    text-align: center;
    width: 100%;
}

.blog-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 204, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.blog-category-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #0066CC;
    border: 1px solid rgba(0, 102, 204, 0.12);
}

.blog-category-card__icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
}

.blog-category-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #001A3D;
    margin-bottom: 0.25rem;
}

.blog-category-card p {
    font-size: 0.75rem;
    color: #94A3B8;
}

.blog-newsletter {
    position: relative;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, #0066CC 0%, #28A745 50%, #0066CC 100%);
    box-shadow: 0 24px 56px rgba(0, 102, 204, 0.15);
}

.blog-newsletter__inner {
    background: #fff;
    border-radius: 21px;
    padding: 2.5rem 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .blog-newsletter__inner {
        padding: 3rem;
    }
}

.blog-newsletter__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(40, 167, 69, 0.08) 100%);
    color: #0066CC;
}

.blog-newsletter__icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0066CC;
    background: #fff;
    border: 2px solid rgba(0, 102, 204, 0.25);
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: #0066CC;
    color: #fff;
    border-color: #0066CC;
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.25);
}

.blog-card.reveal-on-scroll,
.blog-featured.reveal-on-scroll,
.blog-category-card.reveal-on-scroll,
.blog-sidebar__widget.reveal-on-scroll {
    transition-delay: var(--reveal-delay, 0ms);
}

.blog-featured__title a {
    color: inherit;
    transition: color 0.2s ease;
}

.blog-featured__title a:hover {
    color: #0066CC;
}
