/* =====================================================================
   SM BizSoft — Modern Landing Design System
   Brand: Accounting • Billing • Inventory • Software Solutions
   ===================================================================== */

:root {
    --brand: #6D28D9;          /* violet */
    --brand-2: #4F46E5;        /* indigo */
    --brand-3: #2563EB;        /* blue   */
    --accent: #00C2A8;         /* teal accent */
    --accent-warm: #FF8717;    /* amber accent */
    --ink: #0F172A;            /* heading text */
    --body: #475569;           /* body text */
    --muted: #64748B;
    --line: #E6E8F0;
    --bg-soft: #F6F7FB;
    --bg-soft-2: #F0EEFF;
    --white: #FFFFFF;
    --brand-grad: linear-gradient(135deg, #6D28D9 0%, #4F46E5 55%, #2563EB 100%);
    --brand-grad-soft: linear-gradient(135deg, #F4F0FF 0%, #EEF3FF 100%);
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
    --shadow: 0 16px 40px rgba(79, 70, 229, .10);
    --shadow-lg: 0 30px 70px rgba(79, 70, 229, .18);
    --radius: 16px;
    --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.smbiz {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.smbiz h1, .smbiz h2, .smbiz h3, .smbiz h4, .smbiz h5, .smbiz h6 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
}

.smbiz a { text-decoration: none; transition: .2s ease; }
.smbiz img { max-width: 100%; }
.smbiz section { position: relative; }

/* ---------- Utility ---------- */
.text-grad {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-soft { background: var(--bg-soft); }
.bg-soft-2 { background: var(--bg-soft-2); }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-2);
    background: var(--bg-soft-2);
    border: 1px solid #E2DcFb;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
}
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-grad {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-grad);
    color: #fff;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 12px 26px rgba(109, 40, 217, .32);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    cursor: pointer;
}
.btn-grad:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(109, 40, 217, .42); filter: brightness(1.05); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--brand-2);
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    border: 1.5px solid #E0DBF7;
    transition: .2s ease;
    cursor: pointer;
}
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn-light {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.16); color: #fff; font-weight: 600;
    padding: 13px 28px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45);
    backdrop-filter: blur(4px); transition: .2s ease;
}
.btn-light:hover { background:#fff; color: var(--brand); transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.smbiz-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease;
}
.smbiz-nav.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, .08); }
.smbiz-nav .navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.smbiz-nav .brand-logo { height: 38px; width: auto; }
.smbiz-nav .brand-name { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.smbiz-nav .brand-name b { color: var(--brand); }
.smbiz-nav .nav-link {
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 14px !important;
    position: relative;
}
.smbiz-nav .nav-link:hover, .smbiz-nav .nav-link.active { color: var(--brand) !important; }
.smbiz-nav .nav-link.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--brand-grad); border-radius: 2px;
}
.smbiz-nav .dropdown-menu {
    border: none; border-radius: 14px; box-shadow: var(--shadow);
    padding: 10px; margin-top: 10px;
}
.smbiz-nav .dropdown-item { border-radius: 10px; font-size: 14px; padding: 9px 14px; color: var(--body); }
.smbiz-nav .dropdown-item:hover { background: var(--bg-soft-2); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: radial-gradient(1100px 520px at 12% -10%, #EDE7FF 0%, transparent 55%),
                radial-gradient(900px 480px at 95% 0%, #E2EEFF 0%, transparent 55%),
                #FBFAFF;
    padding: 78px 0 96px;
    overflow: hidden;
}
.hero .blob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0;
}
.hero .blob-1 { width: 360px; height: 360px; background: #D7C8FF; top: -80px; right: -60px; }
.hero .blob-2 { width: 300px; height: 300px; background: #BFE0FF; bottom: -120px; left: -60px; }
/* Subtle engineered grid — hints at the "software" side of the brand */
.hero-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(109,40,217,.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(109,40,217,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(760px 520px at 78% 30%, #000 0%, transparent 72%);
            mask-image: radial-gradient(760px 520px at 78% 30%, #000 0%, transparent 72%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--brand-2);
    margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,194,168,.18); }
.hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 18px;
}
.hero .lead {
    font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 560px;
}
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.hero-points li i { color: var(--accent); background: rgba(0,194,168,.12); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-trust .stars { color: #FFB821; }
.hero-trust .trust-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero-trust .trust-text b { color: var(--ink); }
.trust-avatars { display: inline-flex; }
.trust-avatars .ta {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 700; color: #fff; border: 2px solid #fff; margin-left: -12px;
    box-shadow: var(--shadow-sm);
}
.trust-avatars .ta:first-child { margin-left: 0; }
.trust-avatars .ta:nth-child(1) { background: linear-gradient(135deg,#6D28D9,#4F46E5); }
.trust-avatars .ta:nth-child(2) { background: linear-gradient(135deg,#2563EB,#06B6D4); }
.trust-avatars .ta:nth-child(3) { background: linear-gradient(135deg,#00C2A8,#10B981); }
.trust-avatars .ta:nth-child(4) { background: linear-gradient(135deg,#FF8717,#F43F5E); }

/* ---------- Hero dashboard mockup ---------- */
/* Gradient border via padding-box/border-box (robust — no mask-composite) */
.hero-dash {
    position: relative; z-index: 1;
    border: 1.5px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(109,40,217,.9), rgba(37,99,235,.55) 45%, rgba(6,182,212,.4) 100%) border-box;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(79,70,229,.20), 0 2px 8px rgba(15,23,42,.06);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
    transition: transform .5s ease, box-shadow .5s ease;
}
.hero-visual:hover .hero-dash {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 90px rgba(79,70,229,.26), 0 3px 10px rgba(15,23,42,.08);
}
.hero-dash-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg,#fff,#FBFAFF);
}
.hd-dots { display: inline-flex; gap: 6px; }
.hd-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E1EF; }
.hd-dots i:nth-child(1){ background:#FF6058; } .hd-dots i:nth-child(2){ background:#FFBD2E; } .hd-dots i:nth-child(3){ background:#28C840; }
.hd-name { font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.hd-name i { color: var(--brand-2); }
.hd-live {
    margin-left: auto; font-size: 11.5px; font-weight: 700; color: #059669;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(16,185,129,.10); padding: 4px 10px; border-radius: 999px;
}
.hd-pulse { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: hdpulse 1.8s infinite; }
@keyframes hdpulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.45);} 70%{box-shadow:0 0 0 7px rgba(16,185,129,0);} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0);} }
.hero-dash-body { padding: 18px; }
.hd-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.hd-kpi {
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
    display: flex; flex-direction: column; gap: 3px;
}
.hd-kpi-label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hd-kpi-val { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hd-kpi-up { font-size: 11.5px; font-weight: 700; color: #059669; display: inline-flex; align-items: center; gap: 4px; }
.hd-chart-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.hd-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hd-chart-head span:first-child { font-size: 13px; font-weight: 700; color: var(--ink); }
.hd-chart-tag { font-size: 11px; font-weight: 600; color: var(--brand-2); background: var(--bg-soft-2); padding: 3px 10px; border-radius: 999px; }
.hd-chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.hd-bar {
    flex: 1; border-radius: 7px 7px 4px 4px; min-height: 8px;
    background: linear-gradient(180deg, #C7B8FF, #8B7BF0);
    transform-origin: bottom; animation: hdgrow 1s cubic-bezier(.2,.7,.3,1) both;
}
.hd-bar:nth-child(2){animation-delay:.08s} .hd-bar:nth-child(3){animation-delay:.16s}
.hd-bar:nth-child(4){animation-delay:.24s} .hd-bar:nth-child(5){animation-delay:.32s}
.hd-bar:nth-child(6){animation-delay:.40s} .hd-bar:nth-child(7){animation-delay:.48s}
.hd-bar-peak { background: var(--brand-grad); box-shadow: 0 8px 18px rgba(109,40,217,.35); }
@keyframes hdgrow { from { transform: scaleY(0); opacity:.4; } to { transform: scaleY(1); opacity:1; } }
.hero-chip-3 { top: 46%; right: 4px; margin-top: -22px; animation-delay: .8s; }
.hero-chip-3 i { background: linear-gradient(135deg,#0F172A,#334155); }
@media (max-width: 991px) {
    .hero-dash { transform: none; margin-top: 10px; }
    .hero-visual:hover .hero-dash { transform: none; }
}

/* Hero login card wrapper */
.hero-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border: 1px solid var(--line);
}
/* Make the legacy Livewire login/register box fluid inside modern cards */
.hero-form-card .login-box,
.popup .login-box { width: 100% !important; max-width: 100%; padding: 16px 18px; }

/* Hero visual with floating chips */
.hero-visual { perspective: 1000px; }
.hero-chip {
    position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 16px; box-shadow: var(--shadow-lg); animation: floaty 4s ease-in-out infinite;
}
.hero-chip i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 16px; }
.hero-chip b { display: block; font-size: 15px; color: var(--ink); line-height: 1.1; }
.hero-chip span { font-size: 12px; color: var(--muted); }
.hero-chip-1 { top: -14px; left: 2px; }
.hero-chip-1 i { background: linear-gradient(135deg,#10B981,#06B6D4); }
.hero-chip-2 { bottom: -14px; left: 24px; animation-delay: 1.5s; }
.hero-chip-2 i { background: linear-gradient(135deg,#7C3AED,#4F46E5); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 575px) { .hero-chip { display: none; } }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--brand-grad); color: #fff; }
.stats-strip .stat { text-align: center; padding: 14px 8px; }
.stats-strip .stat h3 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0; }
.stats-strip .stat p { margin: 4px 0 0; opacity: .85; font-size: 14px; }

/* ---------- Cards ---------- */
.feature-card, .service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover, .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.icon-badge {
    width: 60px; height: 60px; border-radius: 16px;
    display: grid; place-items: center; font-size: 24px; color: #fff;
    margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.ib-violet { background: linear-gradient(135deg,#7C3AED,#4F46E5); }
.ib-blue   { background: linear-gradient(135deg,#2563EB,#06B6D4); }
.ib-teal   { background: linear-gradient(135deg,#0EA5E9,#00C2A8); }
.ib-amber  { background: linear-gradient(135deg,#F59E0B,#FF6B6B); }
.ib-pink   { background: linear-gradient(135deg,#EC4899,#8B5CF6); }
.ib-green  { background: linear-gradient(135deg,#10B981,#06B6D4); }
.feature-card h4, .service-card h4 { font-size: 19px; margin-bottom: 10px; }
.feature-card p, .service-card p { font-size: 14.5px; margin: 0; color: var(--muted); }
.service-card .learn { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--brand-2); font-size: 14px; }
.service-card:hover .learn { gap: 10px; }

/* ---------- Split feature rows ---------- */
.split-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.split-img.bare { box-shadow: none; border: none; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--body); }
.check-list li i { color: var(--accent); margin-top: 4px; }
.check-list li b { color: var(--ink); }

/* ---------- Process steps ---------- */
.step-card { text-align: center; padding: 16px; position: relative; }
.step-num {
    width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 18px;
    display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #fff;
    background: var(--brand-grad); box-shadow: 0 12px 24px rgba(109,40,217,.28);
}
.step-card h4 { font-size: 17px; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Why / value badges ---------- */
.value-tile {
    display: flex; gap: 16px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; height: 100%; transition: .25s ease;
}
.value-tile:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.value-tile .vi { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; }
.value-tile h5 { font-size: 16px; margin: 0 0 6px; }
.value-tile p { font-size: 13.5px; margin: 0; color: var(--muted); }

/* ---------- Clients / logos (home strip — unchanged) ---------- */
.client-strip { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-logo {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 18px; color: #94A3B8; letter-spacing: -.02em;
    filter: grayscale(1); opacity: .7; transition: .3s ease; padding: 10px;
}
.client-logo i { font-size: 22px; }
.client-logo:hover { filter: grayscale(0); opacity: 1; color: var(--brand-2); }

/* ---------- Dedicated Clients page ---------- */
.clients-page .cp-hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1100px 520px at 12% -10%, #EDE7FF 0%, transparent 55%),
                radial-gradient(900px 480px at 95% 0%, #E2EEFF 0%, transparent 55%),
                #FBFAFF;
    padding: 72px 0 56px; text-align: center;
}
.clients-page .cp-hero .container { position: relative; z-index: 2; }
.cp-hero-title { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; margin: 16px auto 14px; max-width: 760px; color: var(--ink); }
.cp-hero-sub { color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto; }

.cp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 34px; }
.cp-stat { text-align: center; }
.cp-stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.cp-stat span { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.clients-section { padding: 72px 0; }

/* Toolbar — live search + result count */
.cp-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 22px;
}
.cp-search {
    position: relative; flex: 1 1 340px; max-width: 460px;
}
.cp-search > i {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 14px; pointer-events: none;
}
.cp-search input {
    width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    padding: 13px 44px 13px 44px; font-family: inherit; font-size: 14.5px; color: var(--ink);
    outline: none; transition: .25s ease; box-shadow: var(--shadow-sm);
}
.cp-search input::placeholder { color: #9AA4B8; }
.cp-search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.cp-search input::-webkit-search-cancel-button { display: none; }
.cp-search-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--bg-soft);
    color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: .2s ease;
}
.cp-search-clear:hover { background: var(--bg-soft-2); color: var(--brand-2); }
.cp-count { margin: 0; font-size: 13.5px; color: var(--muted); }
.cp-count b { color: var(--ink); font-weight: 700; }

/* Industry filter chips */
.cp-chips {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px;
    padding-bottom: 4px;
}
.cp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); background: #fff; color: var(--body);
    font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: -.01em;
    padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
    transition: .22s ease;
}
.cp-chip span {
    font-size: 11px; font-weight: 700; line-height: 1;
    background: var(--bg-soft); color: var(--muted);
    padding: 4px 7px; border-radius: 999px; transition: .22s ease;
}
.cp-chip[hidden] { display: none; }
.cp-chip:hover { color: var(--brand-2); border-color: var(--brand-2); transform: translateY(-2px); }
.cp-chip.active {
    background: var(--brand-grad); border-color: transparent; color: #fff;
    box-shadow: 0 10px 22px rgba(109,40,217,.28);
}
.cp-chip.active span { background: rgba(255,255,255,.22); color: #fff; }
.cp-morebtn {
    border: 1px dashed var(--line); background: transparent; color: var(--brand-2);
    font-family: inherit; font-size: 13px; font-weight: 700;
    padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
    transition: .22s ease;
}
.cp-morebtn:hover { border-color: var(--brand-2); background: var(--bg-soft-2); }

/* Fixed 4-across directory grid — wide cards so the full company name is
   always readable instead of being clamped/truncated. */
.cp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.cp-grid[hidden] { display: none; }
.cp-card {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: row; align-items: center;
    text-align: left; gap: 14px;
    background: linear-gradient(180deg, #fff 0%, #FCFCFF 100%);
    border: 1px solid var(--line); border-radius: 16px;
    padding: 18px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cp-card[hidden] { display: none; }
/* Soft brand wash that fades in behind the card on hover */
.cp-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--brand-grad-soft); opacity: 0; transition: opacity .25s ease;
}
.cp-card::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: var(--brand-grad); opacity: 0; transition: opacity .25s ease;
}
.cp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(79, 70, 229, .16);
    border-color: rgba(109, 40, 217, .18);
}
.cp-card:hover::before, .cp-card:hover::after { opacity: 1; }
.cp-ico {
    flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px; color: var(--brand-2); background: var(--bg-soft-2);
    box-shadow: inset 0 0 0 1px rgba(109, 40, 217, .07);
    transition: .25s ease;
}
.cp-card:hover .cp-ico {
    background: var(--brand-grad); color: #fff;
    box-shadow: 0 10px 20px rgba(109,40,217,.30);
    transform: scale(1.06);
}
.cp-body {
    display: flex; flex-direction: column; gap: 5px;
    min-width: 0; flex: 1 1 auto;
}
.cp-name {
    font-weight: 700; font-size: 14.5px; color: var(--ink); letter-spacing: -.01em; line-height: 1.35;
    overflow-wrap: break-word;
}
.cp-tag {
    align-self: flex-start;
    font-size: 10.5px; font-weight: 700; color: var(--brand-2);
    text-transform: uppercase; letter-spacing: .05em; line-height: 1.3;
    background: var(--bg-soft); border-radius: 999px; padding: 4px 10px;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    transition: .25s ease;
}
.cp-card:hover .cp-tag { background: #fff; box-shadow: var(--shadow-sm); }

/* Empty / no-result states */
.cp-empty, .cp-noresult { text-align: center; padding: 56px 20px; }
.cp-empty-ico {
    width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 20px;
    display: grid; place-items: center; font-size: 30px;
    color: var(--brand-2); background: var(--bg-soft-2);
}
.cp-empty h3, .cp-noresult h3 { font-size: 20px; margin-bottom: 8px; }
.cp-empty p, .cp-noresult p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

.cp-cta {
    background: var(--brand-grad); border-radius: var(--radius-lg); color: #fff;
    text-align: center; padding: 48px 24px; margin-top: 8px;
}
.cp-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cp-cta p { opacity: .92; max-width: 560px; margin: 0 auto 24px; }
.cp-cta .btn-light-solid {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--brand);
    font-weight: 700; padding: 13px 28px; border-radius: 999px; text-decoration: none; transition: .25s ease;
}
.cp-cta .btn-light-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }

@media (max-width: 991px) {
    .cp-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .cp-stats { gap: 28px; }
}
@media (max-width: 767px) {
    .cp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .clients-section { padding: 52px 0; }
    .cp-toolbar { gap: 10px; }
    .cp-search { max-width: none; }
    /* Chips scroll sideways instead of stacking into a tall block */
    .cp-chips {
        flex-wrap: nowrap; overflow-x: auto; margin-bottom: 24px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .cp-chips::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
    .cp-grid { grid-template-columns: repeat(1, 1fr); gap: 10px; }
    .cp-stat b { font-size: 24px; }
    .cp-card { padding: 14px 16px; }
    .cp-ico { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
    .cp-name { font-size: 13.5px; }
}

/* ---------- Testimonials ---------- */
.tcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; height: 100%; transition: .25s ease; position: relative;
}
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.tcard .quote-mark { font-size: 44px; line-height: 1; color: #E2DcFb; font-family: Georgia, serif; }
.tcard .stars { color: #FFB821; margin-bottom: 10px; }
.tcard p { font-size: 14.5px; color: var(--body); }
.tcard .person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar-initial {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 18px; flex: 0 0 auto;
}
.tcard .person h6 { margin: 0; font-size: 15px; color: var(--ink); }
.tcard .person span { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--brand-grad);
    border-radius: var(--radius-lg);
    padding: 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
    background: rgba(255,255,255,.12); border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--brand-grad);
    color: #fff;
    padding: 70px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.18), transparent 60%);
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; position: relative; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 640px; margin: 14px auto 0; position: relative; }
.breadcrumbs { position: relative; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.85); }
.breadcrumbs a { color: #fff; opacity: .85; }
.breadcrumbs a:hover { opacity: 1; }

/* ---------- Legal / prose ---------- */
.prose-wrap { max-width: 860px; margin: 0 auto; }
.prose-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 44px;
}
.prose-card h2 { font-size: 22px; margin: 32px 0 12px; padding-top: 8px; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card h3 { font-size: 17px; margin: 22px 0 8px; }
.prose-card p, .prose-card li { font-size: 15px; color: var(--body); }
.prose-card ul { padding-left: 20px; }
.prose-card .updated { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal-toc { position: sticky; top: 90px; }
.legal-toc a { display: block; padding: 7px 14px; color: var(--muted); font-size: 14px; border-left: 2px solid var(--line); }
.legal-toc a:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- Contact ---------- */
.contact-info-card {
    background:#fff; border:1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display:flex; gap:16px; align-items:flex-start; height:100%;
    transition:.25s ease;
}
.contact-info-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.contact-info-card .ci { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; color:#fff; font-size:20px; flex:0 0 auto; }
.contact-info-card h5 { margin:0 0 4px; font-size:16px; }
.contact-info-card p, .contact-info-card a { margin:0; font-size:14px; color: var(--muted); }
.contact-info-card a:hover { color: var(--brand); }
.contact-form { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; }
.contact-form .form-control, .contact-form .form-select { border-radius: 12px; padding: 12px 16px; border:1px solid var(--line); font-size: 15px; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(109,40,217,.12); }
.contact-form label { font-weight: 500; color: var(--ink); font-size: 14px; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: 14px; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--ink); padding: 20px 22px; font-size: 16px; }
.faq .accordion-button:not(.collapsed) { background: var(--bg-soft-2); color: var(--brand); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); font-size: 15px; padding-top: 0; }

/* ---------- About ---------- */
.about-stat { text-align:center; padding: 22px; background:#fff; border:1px solid var(--line); border-radius: var(--radius); height:100%; }
.about-stat h3 { font-size: 34px; font-weight: 800; margin:0; }
.about-stat p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.team-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; text-align:center; transition:.25s ease; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.team-card .photo { height: 180px; background: var(--brand-grad-soft); display:grid; place-items:center; }
.team-card .photo .avatar-initial { width: 96px; height: 96px; font-size: 34px; box-shadow: var(--shadow-sm); }
.team-card .info { padding: 20px; }
.team-card h5 { margin: 0 0 2px; font-size: 17px; }
.team-card .role { color: var(--brand-2); font-weight: 600; font-size: 13px; }
.team-card .socials { margin-top: 12px; display:flex; gap:10px; justify-content:center; }
.team-card .socials a { width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--bg-soft);color:var(--muted); }
.team-card .socials a:hover { background: var(--brand-grad); color:#fff; }

/* ---------- Footer ---------- */
.smbiz-footer { background: #0B1020; color: #C7CCDA; padding: 70px 0 0; }
.smbiz-footer .f-brand { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.smbiz-footer .f-brand img { height: 40px; filter: brightness(0) invert(1); }
.smbiz-footer .f-brand span { font-size: 22px; font-weight: 800; color:#fff; }
.smbiz-footer p { font-size: 14px; color: #97A0B5; }
.smbiz-footer h5 { color:#fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.smbiz-footer ul { list-style:none; padding:0; margin:0; }
.smbiz-footer ul li { margin-bottom: 11px; }
.smbiz-footer ul li a { color:#97A0B5; font-size: 14px; }
.smbiz-footer ul li a:hover { color:#fff; padding-left: 4px; }
.smbiz-footer .f-contact li { display:flex; gap:12px; align-items:flex-start; color:#97A0B5; font-size:14px; }
.smbiz-footer .f-contact li i { color: var(--accent); margin-top:4px; }
.smbiz-footer .socials { display:flex; gap:12px; margin-top: 18px; }
.smbiz-footer .socials a { width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#fff; }
.smbiz-footer .socials a:hover { background: var(--brand-grad); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; }
.footer-bottom p { margin:0; font-size: 13.5px; color:#7E879C; }
.footer-bottom .fb-links a { color:#97A0B5; font-size:13.5px; margin-left: 18px; }
.footer-bottom .fb-links a:hover { color:#fff; }

/* Newsletter */
.newsletter input { border:none; border-radius: 999px 0 0 999px; padding: 12px 18px; font-size:14px; width: 100%; }
.newsletter input:focus { outline: none; }
.newsletter button { border:none; border-radius: 0 999px 999px 0; background: var(--brand-grad); color:#fff; padding: 12px 20px; font-weight:600; }

/* Floating WhatsApp */
/* Bottom-LEFT so it never sits under the live-chat launcher (bottom-right). */
.float-wa {
    position: fixed; left: 22px; bottom: 22px; z-index: 1040;
    width: 56px; height: 56px; border-radius: 50%; background:#25D366; color:#fff;
    display:grid; place-items:center; font-size: 28px; box-shadow: 0 10px 26px rgba(37,211,102,.5);
    animation: wa-pulse 2.2s infinite;
}
.float-wa:hover { color:#fff; transform: scale(1.08); }
@keyframes wa-pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Login/Register popup overlay (home) ---------- */
#register_popup { display:none; }
.overlay { position: fixed; inset: 0; background: rgba(10,12,25,.65); backdrop-filter: blur(4px); z-index: 1050; }
.popup { max-width: 460px; width: 92%; margin: 5vh auto; background:#fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; position: relative; max-height: 90vh; overflow-y: auto; }
.popup h3 { text-align:center; font-size: 24px; margin-bottom: 4px; }
.popup .close { position:absolute; top:16px; right:20px; font-size: 30px; line-height:1; color:#94A3B8; text-decoration:none; }
.popup .close:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 70px; }
    .cta-band { padding: 40px 26px; text-align: center; }
    .smbiz-nav .navbar-collapse { background:#fff; border:1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; box-shadow: var(--shadow); }
    .smbiz-nav .nav-link.active::after { display:none; }
}
@media (max-width: 767px) {
    .section { padding: 48px 0; }
    .prose-card { padding: 26px; }
    .cta-band { padding: 32px 20px; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }
}
