/**
 * Fusely SaaS Design System & Global Styles
 */

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--fusely-font-sans, 'Inter', sans-serif);
    color: var(--fusely-text, #334155);
    background-color: var(--fusely-card-bg, #ffffff);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img, svg, picture {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

a {
    color: var(--fusely-primary, #1E60F0);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--fusely-primary-hover, #154ECC);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--fusely-heading, #0F172A);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--fusely-text, #334155);
}

.text-gradient {
    background: linear-gradient(135deg, #1E60F0 0%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-orange {
    color: var(--fusely-orange, #FF733B) !important;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--fusely-radius-pill, 9999px);
    background: rgba(30, 96, 240, 0.08);
    color: var(--fusely-primary, #1E60F0);
}

.badge-tag.orange {
    background: rgba(255, 115, 59, 0.1);
    color: var(--fusely-orange, #FF733B);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.fusely-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.fusely-section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .fusely-section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.fusely-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--fusely-radius-pill, 9999px);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    line-height: 1.2;
}

.fusely-btn-primary {
    background-color: var(--fusely-primary, #1E60F0);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(30, 96, 240, 0.28);
}

.fusely-btn-primary:hover {
    background-color: var(--fusely-primary-hover, #154ECC);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 96, 240, 0.36);
}

.fusely-btn-secondary {
    background-color: #ffffff;
    color: var(--fusely-heading, #0F172A) !important;
    border-color: var(--fusely-border, #E2E8F0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fusely-btn-secondary:hover {
    border-color: var(--fusely-primary, #1E60F0);
    color: var(--fusely-primary, #1E60F0) !important;
    transform: translateY(-2px);
}

.fusely-btn-outline {
    background-color: transparent;
    color: var(--fusely-heading, #0F172A);
    border-color: var(--fusely-border, #E2E8F0);
}

.fusely-btn-outline:hover {
    border-color: var(--fusely-primary, #1E60F0);
    color: var(--fusely-primary, #1E60F0);
}

.fusely-btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.fusely-btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.fusely-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    height: 76px;
    display: flex;
    align-items: center;
}

.fusely-site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    background-color: rgba(255, 255, 255, 0.98);
    height: 68px;
}

.fusely-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fusely-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fusely-brand-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.fusely-brand-logo .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fusely-heading, #0F172A);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fusely-brand-logo .brand-text .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--fusely-primary, #1E60F0);
    display: inline-block;
}

.fusely-main-nav {
    display: flex;
    align-items: center;
}

.fusely-nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.fusely-nav-menu li {
    position: relative;
}

.fusely-nav-menu a {
    color: var(--fusely-text, #334155);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fusely-nav-menu a:hover,
.fusely-nav-menu .current-menu-item > a {
    color: var(--fusely-primary, #1E60F0);
}

/* Dropdown Menu */
.fusely-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-md, 14px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    list-style: none;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1010;
}

.fusely-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fusely-nav-menu .sub-menu li a {
    padding: 8px 14px;
    border-radius: var(--fusely-radius-sm, 8px);
    display: block;
    font-size: 0.88rem;
    color: var(--fusely-text, #334155);
}

.fusely-nav-menu .sub-menu li a:hover {
    background: var(--fusely-light, #F8FAFC);
    color: var(--fusely-primary, #1E60F0);
}

.fusely-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Toggle */
.fusely-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #F8FAFC;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: 10px;
    cursor: pointer;
    color: var(--fusely-heading, #0F172A);
    transition: all 0.2s ease;
    padding: 0;
}

.fusely-mobile-toggle:hover {
    background: #EDF2F7;
    color: var(--fusely-primary, #1E60F0);
    border-color: rgba(30, 96, 240, 0.3);
}

@media (max-width: 1200px) {
    .fusely-nav-menu {
        gap: 18px;
    }
    .fusely-nav-actions .fusely-nav-erp {
        display: none;
    }
}

@media (max-width: 991px) {
    .fusely-main-nav {
        display: none;
    }
    .fusely-mobile-toggle {
        display: inline-flex;
    }
    .fusely-nav-actions .fusely-nav-phone {
        display: none;
    }
    .fusely-site-header {
        height: 68px;
    }
}

@media (max-width: 576px) {
    .fusely-site-header {
        height: 62px;
    }
    .fusely-brand-logo img {
        height: 28px !important;
    }
    .fusely-nav-actions {
        gap: 8px;
    }
    .fusely-nav-actions .fusely-nav-cta {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    .fusely-mobile-toggle {
        width: 38px;
        height: 38px;
    }
}

/* Mobile Navigation Drawer */
.fusely-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.16);
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.fusely-mobile-drawer.is-open {
    right: 0;
}

.fusely-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fusely-drawer-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.fusely-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--fusely-border, #E2E8F0);
    background: #ffffff;
    flex-shrink: 0;
}

.fusely-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #F1F5F9;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--fusely-text, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.fusely-drawer-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.fusely-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px;
}

.fusely-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--fusely-border, #E2E8F0);
    background: #F8FAFC;
    flex-shrink: 0;
}

.fusely-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fusely-mobile-menu li {
    list-style: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.fusely-mobile-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.fusely-mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fusely-heading, #0F172A);
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.fusely-mobile-menu a:hover {
    color: var(--fusely-primary, #1E60F0);
}

.fusely-sub-toggle {
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fusely-text-muted, #64748B);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fusely-sub-toggle:hover {
    background: rgba(30, 96, 240, 0.08);
    color: var(--fusely-primary, #1E60F0);
}

.fusely-sub-toggle svg {
    transition: transform 0.25s ease;
}

.fusely-mobile-menu li.is-expanded > .fusely-mobile-menu-row .fusely-sub-toggle svg {
    transform: rotate(180deg);
}

.fusely-mobile-menu .sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0 10px 14px;
    margin: 0;
    border-left: 2px solid rgba(30, 96, 240, 0.2);
}

.fusely-mobile-menu li.is-expanded > .sub-menu {
    display: block;
}

.fusely-mobile-menu .sub-menu li {
    border-bottom: none;
}

.fusely-mobile-menu .sub-menu a {
    padding: 8px 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--fusely-text, #334155);
}

/* ==========================================================================
   Hero Section & Interactive Orbit Showcase
   ========================================================================== */
.fusely-hero-section {
    position: relative;
    padding: 70px 0 90px 0;
    background: radial-gradient(circle at 80% 20%, rgba(30, 96, 240, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.05) 0%, rgba(255, 255, 255, 0) 40%);
    overflow: hidden;
}

.fusely-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .fusely-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.fusely-hero-content {
    max-width: 640px;
}

.fusely-hero-badge {
    margin-bottom: 20px;
}

.fusely-hero-title {
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
}

.fusely-hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--fusely-text-muted, #64748B);
    margin-bottom: 32px;
}

.fusely-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.fusely-hero-footnote {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--fusely-text-muted, #64748B);
}

.fusely-hero-footnote svg {
    color: var(--fusely-primary, #1E60F0);
    flex-shrink: 0;
}

/* Orbit Live Card */
.fusely-orbit-card {
    background: #ffffff;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-lg, 20px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
    padding: 28px;
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.fusely-orbit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fusely-border-light, #F1F5F9);
}

.fusely-orbit-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fusely-heading, #0F172A);
}

.fusely-orbit-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #10B981;
}

.fusely-orbit-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: fuselyPulse 2s infinite;
}

@keyframes fuselyPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    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); }
}

.fusely-orbit-circle-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 10px auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fusely-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(30, 96, 240, 0.25);
}

.fusely-orbit-ring.sm {
    width: 130px;
    height: 130px;
}

.fusely-orbit-ring.lg {
    width: 210px;
    height: 210px;
}

.fusely-orbit-hub {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E60F0 0%, #06B6D4 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(30, 96, 240, 0.35);
    z-index: 2;
}

.fusely-orbit-node {
    position: absolute;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-pill, 9999px);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fusely-heading, #0F172A);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    z-index: 3;
}

.fusely-orbit-node.top { top: 0; left: 50%; transform: translateX(-50%); }
.fusely-orbit-node.right { top: 50%; right: 0; transform: translateY(-50%); }
.fusely-orbit-node.bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.fusely-orbit-node.left { top: 50%; left: 0; transform: translateY(-50%); }

.fusely-orbit-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--fusely-light, #F8FAFC);
    padding: 14px;
    border-radius: var(--fusely-radius-md, 14px);
    text-align: center;
}

.fusely-stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--fusely-text-muted, #64748B);
    margin-bottom: 4px;
    font-weight: 500;
}

.fusely-stat-item .stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fusely-heading, #0F172A);
}

/* ==========================================================================
   Modules Grid
   ========================================================================== */
.fusely-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.fusely-module-card {
    background: #ffffff;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-md, 14px);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.fusely-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    border-color: rgba(30, 96, 240, 0.3);
}

.fusely-module-card.featured {
    border-color: var(--fusely-primary, #1E60F0);
    background: linear-gradient(180deg, rgba(30, 96, 240, 0.02) 0%, #ffffff 100%);
}

.fusely-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.fusely-module-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--fusely-radius-sm, 8px);
    background: rgba(30, 96, 240, 0.08);
    color: var(--fusely-primary, #1E60F0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.fusely-module-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.fusely-module-card p {
    font-size: 0.92rem;
    color: var(--fusely-text-muted, #64748B);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.fusely-module-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fusely-primary, #1E60F0);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Trust & Payment Partners
   ========================================================================== */
.fusely-partners-section {
    background: var(--fusely-light, #F8FAFC);
    border-top: 1px solid var(--fusely-border, #E2E8F0);
    border-bottom: 1px solid var(--fusely-border, #E2E8F0);
    padding: 40px 0;
}

.fusely-partners-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px 48px;
}

.fusely-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: 38px;
}

.fusely-partner-item:hover {
    opacity: 1;
    transform: scale(1.04);
}

.fusely-partner-item img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.fusely-faq-list {
    max-width: 840px;
    margin: 40px auto 0 auto;
}

.fusely-faq-item {
    border-bottom: 1px solid var(--fusely-border, #E2E8F0);
    padding: 20px 0;
}

.fusely-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fusely-heading, #0F172A);
    cursor: pointer;
    padding: 0;
    gap: 16px;
}

.fusely-faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--fusely-light, #F8FAFC);
    border: 1px solid var(--fusely-border, #E2E8F0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.fusely-faq-item.is-active .fusely-faq-icon {
    transform: rotate(45deg);
    background: var(--fusely-primary, #1E60F0);
    color: #ffffff;
    border-color: var(--fusely-primary, #1E60F0);
}

.fusely-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--fusely-text-muted, #64748B);
    font-size: 0.95rem;
    line-height: 1.6;
}

.fusely-faq-item.is-active .fusely-faq-answer {
    max-height: 400px;
    padding-top: 14px;
}

/* ==========================================================================
   Contact Form & Lead Capture
   ========================================================================== */
.fusely-contact-card {
    background: #ffffff;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-lg, 20px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    padding: 36px;
    max-width: 760px;
    margin: 0 auto;
}

.fusely-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .fusely-form-grid {
        grid-template-columns: 1fr;
    }
}

.fusely-form-group {
    margin-bottom: 20px;
}

.fusely-form-group.full-width {
    grid-column: 1 / -1;
}

.fusely-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fusely-heading, #0F172A);
    margin-bottom: 8px;
}

.fusely-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-sm, 8px);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--fusely-heading, #0F172A);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fusely-form-control:focus {
    outline: none;
    border-color: var(--fusely-primary, #1E60F0);
    box-shadow: 0 0 0 3px rgba(30, 96, 240, 0.15);
}

textarea.fusely-form-control {
    min-height: 120px;
    resize: vertical;
}

/* Module Pills Selection */
.fusely-modules-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.fusely-module-pill {
    position: relative;
}

.fusely-module-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.fusely-module-pill label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid var(--fusely-border, #E2E8F0);
    border-radius: var(--fusely-radius-pill, 9999px);
    background: var(--fusely-light, #F8FAFC);
    color: var(--fusely-text, #334155);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fusely-module-pill input[type="checkbox"]:checked + label {
    background: rgba(30, 96, 240, 0.08);
    border-color: var(--fusely-primary, #1E60F0);
    color: var(--fusely-primary, #1E60F0);
    font-weight: 600;
}

.fusely-form-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: var(--fusely-radius-sm, 8px);
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.fusely-form-feedback.is-success {
    display: block;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.fusely-form-feedback.is-error {
    display: block;
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.fusely-site-footer {
    background: #0B1120;
    color: #94A3B8;
    padding-top: 80px;
    border-top: 1px solid #1E293B;
}

.fusely-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

@media (max-width: 991px) {
    .fusely-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
        padding-bottom: 40px;
    }
    .fusely-footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .fusely-site-footer {
        padding-top: 50px;
    }
    .fusely-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 36px;
    }
    .fusely-footer-brand {
        grid-column: span 1;
    }
    .fusely-footer-desc {
        max-width: 100%;
        margin-bottom: 16px;
    }
    .fusely-footer-title {
        font-size: 1.05rem;
        margin-bottom: 14px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .fusely-footer-menu li {
        margin-bottom: 6px;
    }
    .fusely-footer-menu li a {
        display: inline-block;
        padding: 5px 0;
        font-size: 0.94rem;
    }
    .fusely-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 20px 0;
    }
    .fusely-footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px 18px;
    }
}

.fusely-footer-brand img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.fusely-footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #94A3B8;
    max-width: 320px;
    margin-bottom: 20px;
}

.fusely-footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.fusely-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fusely-footer-menu li {
    margin-bottom: 10px;
}

.fusely-footer-menu a {
    color: #94A3B8;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.fusely-footer-menu a:hover {
    color: #ffffff;
}

.fusely-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: #94A3B8;
}

.fusely-footer-contact-item a {
    color: #94A3B8;
}

.fusely-footer-contact-item a:hover {
    color: #ffffff;
}

.fusely-footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 24px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
}

.fusely-footer-legal-links {
    display: flex;
    gap: 20px;
}

.fusely-footer-legal-links a {
    color: #94A3B8;
}

.fusely-footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Book a Demo Modal
   ========================================================================== */
.fusely-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.fusely-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.fusely-modal-card {
    background: #ffffff;
    border-radius: var(--fusely-radius-lg, 20px);
    width: 100%;
    max-width: 580px;
    padding: 32px;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    transform: translateY(20px);
    transition: transform 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.fusely-modal-backdrop.is-open .fusely-modal-card {
    transform: translateY(0);
}

.fusely-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--fusely-text-muted, #64748B);
}

/* ==========================================================================
   WordPress & Elementor Integration Rules
   ========================================================================== */
.elementor-page .fusely-page-content {
    padding: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1240px;
}

/* Standard WP post content */
.fusely-post-article {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.fusely-post-header {
    margin-bottom: 30px;
}

.fusely-post-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--fusely-text-muted, #64748B);
    margin-bottom: 16px;
}

.fusely-post-body {
    font-size: 1.05rem;
    line-height: 1.75;
}

.fusely-post-body p {
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Flagship SaaS Hero & Workstation Mockup Styles
   ========================================================================== */
.fusely-hero-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.fusely-beacon-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(30, 96, 240, 0.08);
    border: 1px solid rgba(30, 96, 240, 0.2);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fusely-primary, #1E60F0);
    margin-bottom: 24px;
}

.fusely-beacon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: fusely-pulse 2s infinite;
}

@keyframes fusely-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.fusely-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 28px;
    margin-top: 28px;
    font-size: 0.88rem;
    color: var(--fusely-text-muted, #64748B);
    font-weight: 500;
}

.fusely-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fusely-trust-item svg {
    color: #10B981;
    flex-shrink: 0;
}

/* Modern SaaS Workstation Mockup Frame */
.fusely-workstation-wrapper {
    position: relative;
    max-width: 1080px;
    margin: 48px auto 0 auto;
}

.fusely-workstation-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(30, 96, 240, 0.18) 0%, rgba(6, 182, 212, 0.12) 40%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.fusely-workstation-window {
    position: relative;
    z-index: 2;
    background: #0F172A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.fusely-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #1E293B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fusely-window-dots {
    display: flex;
    gap: 7px;
}

.fusely-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.fusely-window-dots span:nth-child(1) { background: #EF4444; }
.fusely-window-dots span:nth-child(2) { background: #F59E0B; }
.fusely-window-dots span:nth-child(3) { background: #10B981; }

.fusely-window-address {
    font-size: 0.78rem;
    font-family: monospace;
    color: #94A3B8;
    background: rgba(15, 23, 42, 0.6);
    padding: 3px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fusely-window-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #34D399;
    font-weight: 600;
}

.fusely-window-body {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #0B1120;
    color: #F8FAFC;
    min-height: 400px;
}

@media (max-width: 860px) {
    .fusely-window-body {
        grid-template-columns: 1fr;
    }
}

.fusely-pos-pane {
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fusely-erp-pane {
    padding: 24px;
    background: #0F172A;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Floating Glass Badges */
.fusely-floating-pill {
    position: absolute;
    z-index: 4;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--fusely-heading, #0F172A);
    animation: fusely-float 6s ease-in-out infinite;
}

.fusely-floating-pill.pill-top-left {
    top: -24px;
    left: -20px;
}

.fusely-floating-pill.pill-bottom-right {
    bottom: -22px;
    right: -20px;
    animation-delay: -3s;
}

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

@media (max-width: 768px) {
    .fusely-floating-pill {
        display: none;
    }
}
