/**
 * ═══════════════════════════════════════════════════════════════════
 * ERP CORE — Beautiful, Tidy, and Coordinated SaaS Identity
 * ═══════════════════════════════════════════════════════════════════
 */

/* ─── Global Reset & Typography ─── */
body {
    background-color: #F8FAFC !important;
    color: #0F172A !important;
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-x: hidden;
}

/* ─── Modern SaaS Navbar ─── */
.navbar-merp {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03) !important;
    padding: 12px 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1030 !important;
}

.navbar-merp.is-solid {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04) !important;
    border-bottom-color: #E2E8F0 !important;
    padding: 9px 0 !important;
}

/* Brand Badge */
.navbar-brand-badge {
    background: rgba(27, 181, 164, 0.08);
    color: #1BB5A4;
    border: 1px solid rgba(27, 181, 164, 0.2);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* Nav Links */
.navbar-merp .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 7px 11px !important;
    border-radius: 9px;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
}

.navbar-merp .nav-link:hover {
    color: #1BB5A4 !important;
    background-color: #F1F5F9;
}

.navbar-merp .nav-link.active {
    color: #1BB5A4 !important;
    font-weight: 700 !important;
    background: rgba(27, 181, 164, 0.06);
}

.nav-chevron {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.dropdown:hover .nav-chevron,
.dropdown.show .nav-chevron {
    transform: rotate(180deg);
}

/* Video Pulse Link */
.nav-link-video {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.video-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.badge-mini-new {
    font-size: 0.66rem;
    background: rgba(27, 181, 164, 0.1);
    color: #1BB5A4;
    border: 1px solid rgba(27, 181, 164, 0.2);
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 700;
}

/* ─── Mega Menu Dropdown ─── */
.mega-dropdown {
    position: relative;
}

@media (min-width: 1200px) {
    .navbar-nav .dropdown:hover .mega-menu-box,
    .navbar-nav .dropdown.show .mega-menu-box {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .mega-menu-box {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* Compact scaling for laptops and medium screens */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-merp .nav-link {
        padding: 5px 7px !important;
        font-size: 0.81rem !important;
        gap: 3px;
    }
    .navbar-merp .nav-link i {
        font-size: 0.82rem;
    }
    .btn-nav-ghost, .btn-nav-cta {
        padding: 5px 10px !important;
        font-size: 0.79rem !important;
        gap: 4px;
    }
    .lang-switch-capsule a {
        padding: 2px 7px;
        font-size: 0.72rem;
    }
}

.mega-menu-box {
    width: 680px !important;
    max-width: 92vw;
    background: #FFFFFF !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.03) !important;
    padding: 20px 22px 14px !important;
    margin-top: 10px !important;
    animation: megaFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .mega-menu-box {
    right: 0 !important;
    left: auto !important;
}

[dir="ltr"] .mega-menu-box {
    left: 0 !important;
    right: auto !important;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-group-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748B;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-items-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mega-item:hover {
    background-color: #F8FAFC;
    border-color: #E2E8F0;
    transform: translateX(-2px);
}

[dir="ltr"] .mega-item:hover {
    transform: translateX(2px);
}

.mega-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mega-item:hover .mega-icon {
    transform: scale(1.08);
}

/* Sub-palette colors for mega icons */
.bg-blue-subtle { background: rgba(27, 181, 164, 0.1) !important; }
.bg-cyan-subtle { background: rgba(6, 182, 212, 0.1) !important; }
.bg-emerald-subtle { background: rgba(16, 185, 129, 0.1) !important; }
.bg-indigo-subtle { background: rgba(99, 102, 241, 0.1) !important; }
.bg-amber-subtle { background: rgba(245, 158, 11, 0.1) !important; }
.bg-slate-subtle { background: rgba(71, 85, 105, 0.1) !important; }

.text-cyan { color: #06B6D4 !important; }
.text-emerald { color: #10B981 !important; }
.text-indigo { color: #6366F1 !important; }
.text-amber { color: #F59E0B !important; }

.mega-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.mega-text span {
    display: block;
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.45;
}

.mega-menu-footer {
    background: #F8FAFC;
    margin: 14px -22px -14px;
    padding: 12px 22px;
    border-top: 1px solid #E2E8F0;
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mega-footer-note {
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 500;
}

.mega-footer-link {
    color: #1BB5A4 !important;
    font-weight: 700;
    font-size: 0.84rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.mega-footer-link:hover {
    color: #15998A !important;
    gap: 9px;
}

/* ─── Language Switcher Capsule ─── */
.lang-switch-capsule {
    display: inline-flex;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

.lang-switch-capsule a {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-switch-capsule a:hover {
    color: #0F172A;
}

.lang-switch-capsule a.active {
    background: #FFFFFF;
    color: #1BB5A4;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    font-weight: 700;
}

/* ─── Nav Action Buttons ─── */
.btn-nav-ghost {
    background: transparent !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    padding: 7px 14px !important;
    border-radius: 9px !important;
    border: 1px solid #E2E8F0 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-nav-ghost:hover {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #1BB5A4 !important;
    transform: translateY(-1px);
}

.btn-nav-cta {
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.84rem !important;
    padding: 7px 18px !important;
    border-radius: 9px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(27, 181, 164, 0.25) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(27, 181, 164, 0.45) !important;
    color: #FFFFFF !important;
}

.btn-nav-cta i {
    transition: transform 0.2s ease;
}

.btn-nav-cta:hover i {
    transform: translateX(-3px);
}

[dir="ltr"] .btn-nav-cta:hover i {
    transform: translateX(3px);
}

/* Compatibility alias */
.btn-nav-primary {
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(27, 181, 164, 0.25) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 181, 164, 0.35) !important;
    color: #FFFFFF !important;
}

.btn-nav-outline {
    background: transparent !important;
    color: #0F172A !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    border: 1px solid #E2E8F0 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-nav-outline:hover {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #1BB5A4 !important;
}

/* ─── Mobile Offcanvas Drawer ─── */
.custom-toggler {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-toggler:hover {
    background: #E2E8F0 !important;
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.toggler-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0F172A;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-nav-drawer {
    width: 340px !important;
    max-width: 86vw !important;
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15) !important;
    z-index: 1050 !important;
}

.mobile-nav-drawer .offcanvas-header {
    padding: 16px 20px;
}

.mobile-nav-drawer .offcanvas-body {
    padding: 20px !important;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: #1E293B;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    transition: all 0.2s ease;
}

.mobile-nav-link i {
    font-size: 1.15rem;
    color: #1BB5A4;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #F1F5F9;
    color: #1BB5A4;
}

.mobile-system-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #0F172A;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.mobile-system-item:hover {
    background: #F8FAFC;
    color: #1BB5A4;
}

.mobile-system-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ─── Hero Section (Hyper-Professional SaaS Hero) ─── */
.saas-hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 90px;
    background: radial-gradient(100% 70% at 50% 0%, rgba(219, 234, 254, 0.5) 0%, rgba(241, 245, 249, 0.3) 60%, #F8FAFC 100%), #F8FAFC;
    overflow: hidden;
}

/* Subtle Interactive Background Grid */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(203, 213, 225, 0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(203, 213, 225, 0.35) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient Glowing Light Orbs with Dynamic Drift */
.hero-ambient-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.65;
    mix-blend-mode: multiply;
}

.orb-primary {
    top: 50px;
    left: 50%;
    width: 650px;
    height: 380px;
    background: radial-gradient(circle, rgba(27, 181, 164, 0.22) 0%, rgba(59, 130, 246, 0.08) 60%, transparent 80%);
    transform: translateX(-50%);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

.orb-cyan {
    top: 100px;
    right: 15%;
    width: 420px;
    height: 320px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
    animation: orbFloatRight 12s ease-in-out infinite alternate;
}

.orb-indigo {
    top: 120px;
    left: 12%;
    width: 440px;
    height: 340px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
    animation: orbFloatLeft 14s ease-in-out infinite alternate;
}

@keyframes orbPulse {
    0% { transform: translateX(-50%) scale(0.95); opacity: 0.55; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

@keyframes orbFloatRight {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.12); }
}

@keyframes orbFloatLeft {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -20px) scale(1.1); }
}

.saas-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

/* ─── Hero Live Announcement Badge ─── */
.saas-hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 9999px;
    padding: 6px 18px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1E3A8A;
    box-shadow: 0 4px 16px -2px rgba(27, 181, 164, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.saas-hero-badge-live::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(27, 181, 164, 0.08), transparent);
    transform: translateX(-100%);
    animation: badgeShimmer 3.5s infinite;
}

@keyframes badgeShimmer {
    100% { transform: translateX(100%); }
}

.saas-hero-badge-live:hover {
    transform: translateY(-2px);
    border-color: #1BB5A4;
    box-shadow: 0 8px 24px -4px rgba(27, 181, 164, 0.2);
    color: #15998A;
}

.badge-live-beacon {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.beacon-dot {
    width: 7px;
    height: 7px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ─── Hero Dynamic Headline with Word Rotator ─── */
.saas-hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.1rem) !important;
    font-weight: 900 !important;
    line-height: 1.22 !important;
    color: #0F172A !important;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-rotator-container {
    display: inline-block;
    position: relative;
    height: 1.25em;
    vertical-align: bottom;
    overflow: hidden;
    min-width: 320px;
}

.hero-rotator-word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    white-space: nowrap;
}

.hero-rotator-word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-rotator-word.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.text-gradient {
    background: linear-gradient(135deg, #15998A 0%, #1BB5A4 40%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.saas-hero .lead {
    font-size: clamp(1.05rem, 1.8vw, 1.28rem) !important;
    line-height: 1.85 !important;
    color: #475569 !important;
    max-width: 760px;
    margin: 0 auto 36px;
    font-weight: 500;
}

/* ─── Hero Action Buttons with High-Impact Motion ─── */
.saas-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

/* Primary Shimmer Button */
.btn-saas-primary.btn-glow-sweep {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%);
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 1.02rem;
    padding: 15px 34px;
    border-radius: 14px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 28px -6px rgba(27, 181, 164, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-saas-primary.btn-glow-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: rotate(25deg) translateY(-100%);
    animation: buttonLightSweep 4s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes buttonLightSweep {
    0%, 40% { transform: rotate(25deg) translateY(-100%); }
    60%, 100% { transform: rotate(25deg) translateY(100%); }
}

.btn-saas-primary.btn-glow-sweep:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px -6px rgba(27, 181, 164, 0.55), 0 0 25px rgba(27, 181, 164, 0.35);
    color: #FFFFFF !important;
}

.btn-saas-primary i.bi-arrow-left,
.btn-saas-primary i.bi-arrow-right {
    transition: transform 0.25s ease;
}

[dir="rtl"] .btn-saas-primary:hover i.bi-arrow-left {
    transform: translateX(-4px);
}

[dir="ltr"] .btn-saas-primary:hover i.bi-arrow-right {
    transform: translateX(4px);
}

/* Secondary Intro Tour Trigger Button */
.btn-saas-secondary.btn-pulse-border {
    position: relative;
    background: #FFFFFF;
    color: #0F172A !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid #CBD5E1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-saas-secondary.btn-pulse-border:hover {
    background: #F8FAFC;
    border-color: #1BB5A4;
    color: #1BB5A4 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(27, 181, 164, 0.15);
}

.btn-saas-secondary .pulse-play-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(27, 181, 164, 0.1);
    color: #1BB5A4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-saas-secondary:hover .pulse-play-icon {
    background: #1BB5A4;
    color: #FFFFFF;
    transform: scale(1.1);
}

/* ─── Hero Trust Metric Chips ─── */
.saas-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 700;
    color: #475569;
}

.saas-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 6px 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.saas-trust-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    color: #0F172A;
}

.saas-trust-item i {
    color: #10B981;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ─── 3D Perspective Showcase with Dynamic Floating Widgets ───
   ═══════════════════════════════════════════════════════════════════ */
.hero-perspective-stage {
    margin-top: 55px;
    position: relative;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1400px;
    z-index: 5;
}

.hero-3d-card {
    position: relative;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 
        0 30px 80px -15px rgba(15, 23, 42, 0.18),
        0 10px 30px -5px rgba(15, 23, 42, 0.08),
        0 0 60px -10px rgba(27, 181, 164, 0.16);
    transform: rotateX(3.5deg) translateY(0);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-perspective-stage:hover .hero-3d-card {
    transform: rotateX(0deg) translateY(-8px);
    box-shadow: 
        0 40px 100px -15px rgba(15, 23, 42, 0.22),
        0 15px 40px -5px rgba(15, 23, 42, 0.12),
        0 0 80px -5px rgba(27, 181, 164, 0.25);
}

/* ─── Attention-Grabbing Floating Widgets ─── */
.hero-floating-widget {
    position: absolute;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.hero-floating-widget:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 25px 50px -10px rgba(27, 181, 164, 0.22);
}

/* Floating Widget 1: Revenue & Sales Growth (Top Right) */
.widget-sales-growth {
    top: -26px;
    inset-inline-end: -22px;
    min-width: 240px;
    animation: floatSlowA 6s ease-in-out infinite;
}

@keyframes floatSlowA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.widget-sales-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.widget-sales-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
}

.widget-growth-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.widget-sales-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.widget-sales-val small {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 700;
}

.widget-sparkline {
    margin-top: 6px;
    width: 100%;
    height: 32px;
}

/* Floating Widget 2: ZATCA Instant Clearance (Top Left) */
.widget-zatca-clearance {
    top: 48px;
    inset-inline-start: -24px;
    min-width: 250px;
    animation: floatSlowB 6.5s ease-in-out infinite 1s;
}

@keyframes floatSlowB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

.widget-zatca-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget-zatca-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -4px rgba(16, 185, 129, 0.4);
}

.widget-zatca-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
}

.widget-zatca-text span {
    display: block;
    font-size: 0.74rem;
    color: #059669;
    font-weight: 700;
}

/* Floating Widget 3: Live Realtime Cloud Sync Beacon (Bottom Center) */
.widget-cloud-beacon {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatSlowC 5s ease-in-out infinite 0.5s;
    padding: 8px 18px;
    border-radius: 9999px;
    white-space: nowrap;
}

@keyframes floatSlowC {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.widget-beacon-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #1E293B;
}

.beacon-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    animation: beaconPulse 1.8s infinite;
}

/* ─── Mockup Window Topbar ─── */
.mockup-window-bar {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 12px 20px;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mockup-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-close { background: #EF4444; }
.dot-min { background: #F59E0B; }
.dot-max { background: #10B981; }

.mockup-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 5px 14px;
    font-size: 0.8rem;
    color: #64748B;
    max-width: 380px;
    width: 100%;
}

.mockup-search-box kbd {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #CBD5E1;
    font-size: 0.68rem;
    padding: 1px 5px;
    border-radius: 4px;
    margin-inline-start: auto;
}

.mockup-bar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 700;
}

.mockup-live-clock {
    background: rgba(27, 181, 164, 0.08);
    color: #1BB5A4;
    padding: 3px 9px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.78rem;
}

/* ─── Mockup Window Content (Live SaaS Control Center) ─── */
.mockup-window-body {
    background: #FFFFFF;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

/* Interactive Tabs Bar */
.mockup-tabs-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px 0;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    overflow-x: auto;
}

.mockup-tab-btn {
    border: none;
    background: transparent;
    padding: 9px 16px;
    border-radius: 10px 10px 0 0;
    font-family: 'Cairo', sans-serif !important;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mockup-tab-btn:hover {
    color: #0F172A;
    background: rgba(255, 255, 255, 0.5);
}

.mockup-tab-btn.active {
    background: #FFFFFF;
    color: #1BB5A4;
    box-shadow: 0 -2px 6px rgba(15, 23, 42, 0.04);
    position: relative;
}

.mockup-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1BB5A4;
}

/* Live Dashboard Panels */
.mockup-panel-content {
    padding: 24px 24px 20px;
}

/* 4 Metrics Strip */
.mockup-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.mockup-kpi-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mockup-kpi-card:hover {
    transform: translateY(-2px);
    border-color: #1BB5A4;
    background: #FFFFFF;
    box-shadow: 0 8px 20px -4px rgba(27, 181, 164, 0.1);
}

.kpi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.kpi-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
}

.kpi-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.kpi-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 4px;
    line-height: 1.2;
}

.kpi-trend {
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.kpi-trend.up { color: #10B981; }
.kpi-trend.down { color: #EF4444; }

/* Dashboard Center Split: Chart + Stream */
.mockup-center-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    margin-bottom: 18px;
}

.mockup-chart-card,
.mockup-stream-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 16px 18px;
}

.card-inner-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0F172A;
}

/* Vector Analytics Bar Chart */
.analytics-chart-svg {
    width: 100%;
    height: 160px;
}

.chart-bar-group {
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.chart-bar-group:hover {
    opacity: 0.85;
}

/* Live Operations Stream Table */
.mockup-stream-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stream-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background 0.2s ease;
}

.stream-item:hover {
    background: #F1F5F9;
}

.stream-item-main {
    display: flex;
    align-items: center;
    gap: 9px;
}

.stream-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.stream-details strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.stream-details small {
    font-size: 0.7rem;
    color: #64748B;
}

.stream-item-end {
    text-align: end;
    flex-shrink: 0;
}

.stream-item-end strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0F172A;
}

/* Bottom Interactive Promo Banner on Window */
.mockup-tour-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    gap: 14px;
    border-radius: 0 0 24px 24px;
}

.banner-left-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    font-weight: 700;
}

.banner-spark-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1BB5A4 0%, #06B6D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(27, 181, 164, 0.4);
}

.btn-banner-action {
    background: #FFFFFF;
    color: #0F172A !important;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-banner-action:hover {
    background: #1BB5A4;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 181, 164, 0.35);
}

/* Responsive Rules for Hero */
@media (max-width: 992px) {
    .saas-hero {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    .mockup-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mockup-center-grid {
        grid-template-columns: 1fr;
    }
    .hero-floating-widget {
        display: none !important; /* Hide floating cards on small screens to prevent overlap */
    }
    .hero-3d-card {
        transform: none !important;
    }
    .hero-perspective-stage {
        perspective: none;
    }
}

@media (max-width: 768px) {
    .saas-hero-title {
        font-size: 2.1rem !important;
    }
    .hero-rotator-container {
        height: 2.3em;
        white-space: normal;
    }
    .hero-rotator-word {
        white-space: normal;
    }
    .mockup-window-bar .mockup-search-box {
        display: none;
    }
    .mockup-tour-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* ─── Metric Stats Strip ─── */
.saas-stats-section {
    padding: 60px 0;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.saas-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.saas-stat-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.saas-stat-card:hover {
    transform: translateY(-3px);
    border-color: #B8EBE4;
    box-shadow: 0 10px 20px -5px rgba(27, 181, 164, 0.08);
}

.saas-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #E6F7F5;
    color: #1BB5A4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 12px;
}

.saas-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 4px;
}

.saas-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748B;
}

/* ─── Integrated Systems Grid ─── */
.saas-section {
    padding: 90px 0;
}

.saas-section.alt-bg {
    background: #FFFFFF;
}

.saas-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.saas-section-pill {
    display: inline-block;
    padding: 4px 14px;
    background: #E6F7F5;
    color: #1BB5A4;
    border: 1px solid #B8EBE4;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.saas-section-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem) !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.saas-section-header p {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.7;
    margin: 0;
}

.saas-systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.saas-system-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.saas-system-card:hover {
    transform: translateY(-5px);
    border-color: #7DD4C8;
    box-shadow: 0 20px 35px -8px rgba(27, 181, 164, 0.12);
    color: inherit;
}

.saas-system-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #E6F7F5;
    color: #1BB5A4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.saas-system-card:hover .saas-system-icon-wrapper {
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%);
    color: #FFFFFF;
}

.saas-system-title {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.saas-system-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.saas-system-desc {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.saas-system-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-top: 1px dashed #E2E8F0;
    padding-top: 16px;
}

.saas-system-features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-system-features li i {
    color: #10B981;
    font-size: 0.85rem;
}

.saas-system-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1BB5A4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.saas-system-card:hover .saas-system-link {
    gap: 10px;
}

/* ─── Platform Pillars / Why ERP CORE ─── */
.saas-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.saas-pillar-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.saas-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1BB5A4, #06B6D4);
}

.saas-pillar-icon {
    font-size: 1.8rem;
    color: #1BB5A4;
    margin-bottom: 18px;
}

.saas-pillar-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.saas-pillar-card p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.75;
    margin: 0;
}

/* ─── ZATCA & Compliance Banner ─── */
.saas-compliance-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 20px;
    padding: 48px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.saas-compliance-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 181, 164, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.saas-compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.saas-compliance-title {
    font-size: 1.8rem !important;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF !important;
}

.saas-compliance-desc {
    font-size: 1rem;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 24px;
}

.saas-compliance-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.saas-compliance-checklist li {
    font-size: 0.9rem;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-compliance-checklist li i {
    color: #10B981;
    font-size: 1.1rem;
}

.saas-compliance-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.saas-compliance-badge-large {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

/* ─── Call to Action Banner ─── */
.saas-cta-section {
    padding: 80px 0;
}

.saas-cta-box {
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(27, 181, 164, 0.35);
}

.saas-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.saas-cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.saas-cta-box p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.saas-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: #FFFFFF !important;
    color: #15998A !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 14px 36px !important;
    border-radius: 12px !important;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
    background: #F8FAFC !important;
}

.btn-cta-outline-white {
    background: transparent !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 13px 32px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-outline-white:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* ─── Modern SaaS Footer ─── */
.site-footer {
    background: #0F172A !important;
    color: #94A3B8 !important;
    padding: 80px 0 32px !important;
    border-top: 1px solid #1E293B !important;
}

.site-footer a {
    color: #94A3B8 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.site-footer a:hover {
    color: #FFFFFF !important;
}

.site-footer h6 {
    color: #FFFFFF !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    margin-bottom: 20px !important;
}

.site-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-footer li {
    margin-bottom: 10px !important;
    font-size: 0.92rem;
}

.site-footer .footer-brand p {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #94A3B8;
    margin-top: 16px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1E293B;
    border: 1px solid #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1 !important;
}

.footer-social a:hover {
    background: #1BB5A4;
    border-color: #1BB5A4;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.footer-rule {
    height: 1px;
    background: #1E293B;
    margin: 48px 0 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748B;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 992px) {
    .saas-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .saas-systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .saas-pillars-grid {
        grid-template-columns: 1fr;
    }
    .saas-compliance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .saas-hero {
        padding-top: 100px;
    }
    .saas-stats-grid {
        grid-template-columns: 1fr;
    }
    .saas-systems-grid {
        grid-template-columns: 1fr;
    }
    .saas-window-bar {
        padding: 8px 12px;
    }
    .saas-window-status {
        display: none;
    }
    .saas-window-overlay {
        display: none;
    }
    .saas-cta-box {
        padding: 40px 20px;
    }
}

/* ─── Onboarding Walkthrough & Video Section ─── */
.saas-onboarding-section {
    padding: 90px 0;
    background: #FFFFFF;
    position: relative;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.saas-onboarding-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.saas-onboarding-video-card {
    background: #0F172A;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
    position: relative;
}

.saas-onboarding-video-header {
    background: #1E293B;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #F8FAFC;
    font-size: 0.88rem;
    font-weight: 700;
}

.saas-onboarding-video-header .video-header-dots {
    display: flex;
    gap: 6px;
}

.saas-onboarding-video-header .video-header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.saas-onboarding-video-header .video-header-dots .dot-r { background: #EF4444; }
.saas-onboarding-video-header .video-header-dots .dot-y { background: #F59E0B; }
.saas-onboarding-video-header .video-header-dots .dot-g { background: #10B981; }

.saas-onboarding-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0B1120;
}

.saas-onboarding-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.saas-onboarding-video-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 0.85rem;
}

.video-ctrl-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.video-ctrl-btn:hover {
    background: #1BB5A4;
    color: #FFFFFF;
}

.onboarding-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.onboarding-step-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.onboarding-step-card:hover {
    background: #FFFFFF;
    border-color: #1BB5A4;
    box-shadow: 0 8px 20px -4px rgba(27, 181, 164, 0.12);
    transform: translateX(-4px);
}

[dir="ltr"] .onboarding-step-card:hover {
    transform: translateX(4px);
}

.onboarding-step-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(27, 181, 164, 0.1);
    color: #1BB5A4;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.onboarding-step-card:hover .onboarding-step-num {
    background: #1BB5A4;
    color: #FFFFFF;
}

.onboarding-step-content h4 {
    font-size: 1rem !important;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.onboarding-step-content p {
    font-size: 0.88rem !important;
    color: #64748B;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .saas-onboarding-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   ERP CORE • العرض الافتتاحي التفاعلي بالسلايدات (قبل الدخول للموقع)
   Interactive Opening Onboarding Slides (Next & Prev Controls)
   ═══════════════════════════════════════════════════════════════════ */

body.intro-modal-open {
    overflow: hidden !important;
}

.erp-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.erp-intro-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.erp-intro-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.erp-intro-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.erp-intro-window {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 94vh;
    animation: introPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes introPopIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ─── Intro Topbar ─── */
.erp-intro-topbar {
    padding: 14px 24px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.erp-intro-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #0F172A;
    flex-shrink: 0;
}

.intro-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1BB5A4;
    box-shadow: 0 0 0 3px rgba(27, 181, 164, 0.2);
}

.intro-brand-tag {
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(27, 181, 164, 0.08);
    color: #1BB5A4;
    border: 1px solid rgba(27, 181, 164, 0.2);
    padding: 2px 8px;
    border-radius: 999px;
}

/* Progress Segments (5 parts) */
.erp-intro-progress-segments {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
}

.progress-segment {
    flex: 1;
    height: 4px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.segment-fill {
    display: block;
    height: 100%;
    background: #1BB5A4;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-segment.active .segment-fill {
    width: 100%;
    background: #1BB5A4;
}

.progress-segment.completed .segment-fill {
    width: 100%;
    background: #10B981;
}

.erp-intro-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-intro-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-intro-icon:hover,
.btn-intro-icon.active {
    background: #1BB5A4;
    color: #FFFFFF;
    border-color: #1BB5A4;
}

.btn-intro-skip {
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-intro-skip:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #CBD5E1;
}

/* ─── Slides Body ─── */
.erp-intro-body {
    overflow: hidden;
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 420px;
    max-height: 540px;
    background: #FFFFFF;
}

.erp-intro-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.erp-intro-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding: 32px 36px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    align-items: center;
}

.slide-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    width: 100%;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.slide-title {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 12px;
}

.slide-title-highlight {
    display: block;
    color: #1BB5A4;
}

.slide-desc {
    font-size: 0.95rem !important;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.slide-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slide-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E293B;
}

.slide-highlight-item i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ─── Slide Visual Cards (Mockups) ─── */
.slide-card-preview {
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px;
    color: #FFFFFF;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.35);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-badge {
    font-size: 0.78rem;
    color: #38BDF8;
    font-weight: 700;
}

.preview-version {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 999px;
    color: #94A3B8;
}

.preview-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.preview-module-tile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.preview-module-tile strong {
    font-size: 0.84rem;
    color: #F8FAFC;
}

.mod-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.preview-footer-stats {
    display: flex;
    gap: 10px;
}

.stat-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}

.stat-pill small {
    font-size: 0.7rem;
    color: #94A3B8;
}

.stat-pill strong {
    font-size: 0.88rem;
    color: #38BDF8;
}

/* Form Preview Mockup */
.form-preview {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

.form-preview .preview-header {
    border-bottom-color: #F1F5F9;
}

.form-preview .preview-badge {
    color: #0F172A;
    font-weight: 800;
}

.form-mockup-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-mockup-field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 4px;
}

.form-mockup-input {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-mockup-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ZATCA Preview Mockup */
.zatca-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4);
    animation: pulseDot 2s infinite;
}

.zatca-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 16px 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.zatca-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.zatca-node.highlight span {
    color: #34D399;
}

.zatca-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.arrow-line {
    width: 100%;
    height: 2px;
    background: #38BDF8;
    position: relative;
}

.arrow-tag {
    font-size: 0.66rem;
    color: #94A3B8;
}

.node-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.zatca-meta-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Accounts Preview */
.accounts-preview {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

.accounts-tree-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tree-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
}

.tree-node.parent {
    background: #F1F5F9;
    font-weight: 800;
}

.tree-node.child {
    padding-right: 24px;
    background: #F8FAFC;
    font-weight: 600;
    font-size: 0.8rem;
}

[dir="ltr"] .tree-node.child {
    padding-right: 12px;
    padding-left: 24px;
}

/* Invoice Preview */
.invoice-preview {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

.invoice-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px dashed #CBD5E1;
    margin-bottom: 10px;
}

.inv-brand strong {
    display: block;
    font-size: 0.95rem;
    color: #1BB5A4;
}

.inv-brand small {
    color: #64748B;
    font-size: 0.74rem;
}

.invoice-mini-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #CBD5E1;
    margin-bottom: 12px;
}

.inv-line-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
}

.inv-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #E2E8F0;
}

.total-price {
    color: #1BB5A4;
    font-size: 1.05rem;
}

.invoice-mini-qr-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

/* ─── Intro Footer ─── */
.erp-intro-footer {
    padding: 16px 28px;
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.intro-footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.btn-intro-nav {
    border: none;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-intro-prev {
    background: #FFFFFF;
    color: #334155;
    border: 1px solid #CBD5E1;
}

.btn-intro-prev:hover:not(:disabled) {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #94A3B8;
}

.btn-intro-prev:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-intro-next {
    background: linear-gradient(135deg, #1BB5A4 0%, #15998A 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(27, 181, 164, 0.3);
}

.btn-intro-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 181, 164, 0.45);
}

.btn-intro-next.btn-enter-mode {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

.btn-intro-next.btn-enter-mode:hover {
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.5) !important;
}

.intro-step-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #CBD5E1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot-btn.active {
    width: 28px;
    background: #1BB5A4;
}

.intro-footer-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #E2E8F0;
    font-size: 0.82rem;
    color: #64748B;
}

.btn-intro-direct-enter {
    background: none;
    border: none;
    color: #1BB5A4;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0;
    transition: color 0.2s ease;
}

.btn-intro-direct-enter:hover {
    color: #15998A;
    text-decoration: underline;
}

/* Responsive Overrides for Intro Modal */
@media (max-width: 768px) {
    .erp-intro-slide {
        padding: 20px 18px;
    }
    .slide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .slide-title {
        font-size: 1.3rem !important;
    }
    .slide-desc {
        font-size: 0.86rem !important;
    }
    .erp-intro-body {
        min-height: 480px;
        max-height: 60vh;
    }
    .btn-intro-nav {
        padding: 8px 14px;
        font-size: 0.84rem;
    }
    .intro-footer-sub {
        flex-direction: column;
        gap: 6px;
        align-items: center;
        text-align: center;
    }
}

/* In-Page Slide Indicators & Synchronized Cards */
.dot-ind {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #CBD5E1;
    display: inline-block;
    cursor: pointer;
    transition: all 0.25s ease;
}

.dot-ind.active {
    width: 22px;
    background: #1BB5A4;
}

.onboarding-step-card.active {
    background: #FFFFFF !important;
    border-color: #1BB5A4 !important;
    box-shadow: 0 10px 25px -4px rgba(27, 181, 164, 0.15) !important;
    transform: translateX(-4px);
}

[dir="ltr"] .onboarding-step-card.active {
    transform: translateX(4px);
}

.onboarding-step-card.active .onboarding-step-num {
    background: #1BB5A4 !important;
    color: #FFFFFF !important;
}


