/* ========================================================
   RS INVENTORY – BUSINESS (ENTERPRISE EDITION) STYLES
   RS ORANGE TECH PVT LTD
   ======================================================== */

:root {
    --biz-orange: #ff5b00;
    --biz-orange-dark: #e65000;
    --biz-orange-soft: #fff7ed;
    --biz-navy: #0b1329;
    --biz-navy-light: #152243;
    --biz-navy-border: rgba(255, 255, 255, 0.1);
    --biz-ink: #172033;
    --biz-muted: #5e6d82;
    --biz-line: #e2e8f0;
    --biz-soft: #f8fafc;
    --biz-blue: #1d4ed8;
    --biz-blue-hover: #1e40af;
    --biz-blue-soft: #eff6ff;
    --biz-emerald: #10b981;
    --biz-emerald-soft: #ecfdf5;
    --biz-purple: #8b5cf6;
    --biz-purple-soft: #f5f3ff;
    --biz-amber: #f59e0b;
    --biz-amber-soft: #fffbeb;
    --biz-radius: 12px;
    --biz-radius-lg: 16px;
    --biz-shadow: 0 10px 30px -5px rgba(11, 19, 41, 0.08), 0 4px 12px -2px rgba(11, 19, 41, 0.04);
    --biz-shadow-lg: 0 25px 50px -12px rgba(11, 19, 41, 0.16), 0 8px 20px -4px rgba(11, 19, 41, 0.06);
}

/* Base Wrapper */
.biz-page {
    color: var(--biz-ink);
    background-color: #ffffff;
    overflow-x: hidden;
    font-family: inherit;
}

.biz-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badges */
.biz-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.biz-badge.primary { background: var(--biz-orange-soft); color: var(--biz-orange); }
.biz-badge.blue { background: var(--biz-blue-soft); color: var(--biz-blue); }
.biz-badge.emerald { background: var(--biz-emerald-soft); color: var(--biz-emerald); }
.biz-badge.purple { background: var(--biz-purple-soft); color: var(--biz-purple); }
.biz-badge.amber { background: var(--biz-amber-soft); color: var(--biz-amber); }

/* Buttons */
.biz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.biz-btn-primary {
    background: var(--biz-orange);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 91, 0, 0.35);
}

.biz-btn-primary:hover {
    background: var(--biz-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 91, 0, 0.45);
}

.biz-btn-blue {
    background: var(--biz-blue);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.biz-btn-blue:hover {
    background: var(--biz-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
}

.biz-btn-emerald {
    background: #059669;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.biz-btn-emerald:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.biz-btn-outline {
    background: #ffffff;
    color: var(--biz-navy) !important;
    border: 2px solid var(--biz-line);
}

.biz-btn-outline:hover {
    border-color: var(--biz-blue);
    color: var(--biz-blue) !important;
    transform: translateY(-2px);
}

.biz-btn-white {
    background: #ffffff;
    color: var(--biz-navy) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.biz-btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.biz-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* Section Header */
.biz-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
}

.biz-section-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--biz-navy);
    line-height: 1.2;
    margin: 16px 0 16px;
}

.biz-section-header p {
    font-size: 17px;
    color: var(--biz-muted);
    line-height: 1.65;
    margin: 0;
}

/* ========================================================
   SECTION 1: HERO
   ======================================================== */
.biz-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--biz-line);
    position: relative;
    overflow: hidden;
}

.biz-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.biz-product-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--biz-line);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.biz-brand-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--biz-blue), var(--biz-purple));
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #ffffff;
}

.biz-brand-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--biz-navy);
}

.biz-brand-title span {
    color: var(--biz-blue);
}

.biz-hero-content h1 {
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 900;
    color: var(--biz-navy);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.biz-hero-content h1 .gradient-text {
    background: linear-gradient(90deg, var(--biz-blue) 0%, var(--biz-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.biz-hero-sub {
    font-size: 18px;
    color: var(--biz-muted);
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 620px;
}

.biz-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.biz-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--biz-line);
}

.biz-hero-pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--biz-navy);
}

.biz-hero-pill-item svg {
    color: var(--biz-emerald);
    flex-shrink: 0;
}

/* Hero Visual Mockup */
.biz-hero-visual {
    position: relative;
}

.biz-mockup-frame {
    border-radius: 16px;
    overflow: hidden;
    background: var(--biz-navy);
    box-shadow: var(--biz-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.biz-mockup-chrome {
    height: 38px;
    background: var(--biz-navy-light);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chrome-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.chrome-dot.red { background: #ef4444; }
.chrome-dot.yellow { background: #f59e0b; }
.chrome-dot.green { background: #10b981; }

.chrome-title {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 10px;
    font-weight: 500;
}

.biz-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Floating Badges on Hero */
.biz-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.biz-floating-card.card-top-right {
    top: -24px;
    right: -16px;
}

.biz-floating-card.card-bottom-left {
    bottom: -28px;
    left: -20px;
    animation-delay: 2s;
}

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

.biz-float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.biz-float-icon.blue { background: #eff6ff; color: var(--biz-blue); }
.biz-float-icon.emerald { background: #ecfdf5; color: var(--biz-emerald); }

.biz-float-label {
    font-size: 11px;
    color: var(--biz-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.biz-float-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--biz-navy);
}

/* ========================================================
   SECTION 2: CORE MODULES GRID
   ======================================================== */
.biz-modules {
    padding: 95px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--biz-line);
}

.biz-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
}

.biz-module-card {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: var(--biz-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--biz-shadow);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.biz-module-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.4);
    box-shadow: var(--biz-shadow-lg);
}

.biz-module-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.biz-module-icon.blue { background: #eff6ff; color: var(--biz-blue); }
.biz-module-icon.emerald { background: #ecfdf5; color: var(--biz-emerald); }
.biz-module-icon.orange { background: var(--biz-orange-soft); color: var(--biz-orange); }
.biz-module-icon.purple { background: #f5f3ff; color: var(--biz-purple); }
.biz-module-icon.amber { background: #fffbeb; color: var(--biz-amber); }
.biz-module-icon.cyan { background: #ecfeff; color: #0891b2; }

.biz-module-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--biz-navy);
    margin: 0 0 10px;
}

.biz-module-card p {
    font-size: 14px;
    color: var(--biz-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}

.biz-module-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--biz-line);
    padding-top: 18px;
    margin-top: auto;
}

.biz-module-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--biz-ink);
    font-weight: 600;
}

.biz-module-features li svg {
    color: var(--biz-blue);
    flex-shrink: 0;
}

/* ========================================================
   SECTION 3: ARCHITECTURE & MULTI-LOCATION TOPOLOGY
   ======================================================== */
.biz-architecture {
    padding: 95px 0;
    background: var(--biz-soft);
    border-bottom: 1px solid var(--biz-line);
}

.biz-arch-diagram {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: var(--biz-radius-lg);
    padding: 40px;
    box-shadow: var(--biz-shadow);
}

.biz-arch-tiers {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.biz-arch-tier-box {
    background: var(--biz-soft);
    border: 2px dashed var(--biz-line);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.biz-arch-tier-box.highlight {
    background: #f0fdf4;
    border-color: #86efac;
}

.biz-arch-tier-box.central {
    background: #eff6ff;
    border-color: #93c5fd;
}

.biz-arch-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
}

.biz-arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--biz-blue);
}

.biz-arch-connector svg {
    width: 28px;
    height: 28px;
}

/* ========================================================
   SECTION 4: INTERACTIVE MULTI-LOCATION SANDBOX
   ======================================================== */
.biz-demo-section {
    padding: 95px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--biz-line);
}

.biz-demo-disclaimer {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 32px;
    font-size: 13px;
    color: #1e40af;
}

.biz-demo-app {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--biz-line);
    box-shadow: 0 25px 60px -15px rgba(11, 19, 41, 0.18);
    overflow: hidden;
}

.biz-app-topbar {
    background: var(--biz-navy);
    color: #ffffff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.biz-app-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.biz-app-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--biz-blue), var(--biz-purple));
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
}

.biz-app-name {
    font-size: 15px;
    font-weight: 800;
}

.biz-branch-selector-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.biz-branch-select {
    background: var(--biz-navy-light);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.biz-tabs-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--biz-line);
    overflow-x: auto;
    padding: 0 16px;
}

.biz-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--biz-muted);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.biz-tab-btn:hover {
    color: var(--biz-blue);
    background: rgba(29, 78, 216, 0.04);
}

.biz-tab-btn.active {
    color: var(--biz-blue);
    border-bottom-color: var(--biz-blue);
    background: #ffffff;
}

.biz-panel {
    display: none;
    padding: 32px;
    background: #ffffff;
    min-height: 520px;
}

.biz-panel.active {
    display: block;
    animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Executive KPI Cards */
.biz-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.biz-kpi-card {
    background: var(--biz-soft);
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.biz-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.biz-kpi-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--biz-muted);
    text-transform: uppercase;
}

.biz-kpi-value {
    font-size: 26px;
    font-weight: 900;
    color: var(--biz-navy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.biz-kpi-sub {
    font-size: 12px;
    color: var(--biz-emerald);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Charts & Split Layout in Tab 1 */
.biz-split-metrics {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.biz-widget-box {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 22px;
}

.biz-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--biz-line);
}

.biz-widget-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--biz-navy);
    margin: 0;
}

/* Branch Revenue Comparison Bar Graph (CSS Driven) */
.biz-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.biz-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.biz-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--biz-navy);
}

.biz-bar-track {
    height: 12px;
    background: var(--biz-soft);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--biz-line);
}

.biz-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.biz-bar-fill.blue { background: linear-gradient(90deg, var(--biz-blue), #3b82f6); }
.biz-bar-fill.purple { background: linear-gradient(90deg, var(--biz-purple), #a855f7); }
.biz-bar-fill.orange { background: linear-gradient(90deg, var(--biz-orange), #fb923c); }

/* Tab 2: POS Terminal Grid */
.pos-terminal-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
}

.pos-product-browser {
    background: var(--biz-soft);
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 20px;
}

.pos-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 4px;
}

.pos-item-card {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pos-item-card:hover {
    border-color: var(--biz-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

.pos-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--biz-navy);
    margin-bottom: 4px;
}

.pos-item-sku {
    font-size: 11px;
    color: var(--biz-muted);
    margin-bottom: 10px;
}

.pos-stock-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--biz-blue);
}

.pos-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--biz-line);
}

.pos-item-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--biz-blue);
}

.pos-item-add {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #eff6ff;
    color: var(--biz-blue);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.15s ease;
}

.pos-item-card:hover .pos-item-add {
    background: var(--biz-blue);
    color: #ffffff;
}

/* POS Cart / Register Panel */
.pos-register-panel {
    background: #ffffff;
    border: 2px solid var(--biz-line);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.pos-register-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--biz-soft);
}

.pos-register-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--biz-navy);
}

/* Customer & Loyalty Selector in Register */
.pos-customer-box {
    background: var(--biz-soft);
    border: 1px solid var(--biz-line);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.loyalty-chip {
    background: #fef3c7;
    color: #b45309;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pos-cart-list {
    flex: 1;
    min-height: 160px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pos-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: var(--biz-soft);
    border-radius: 8px;
    font-size: 13px;
}

.pos-cart-info {
    flex: 1;
}

.pos-cart-title {
    font-weight: 700;
    color: var(--biz-navy);
}

.pos-cart-rate {
    font-size: 11px;
    color: var(--biz-muted);
}

.pos-cart-qty-ctrls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 14px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: 4px;
    font-weight: 800;
    font-size: 12px;
    color: var(--biz-navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
}

.qty-btn:hover { background: var(--biz-line); }

.pos-cart-subtotal {
    font-weight: 800;
    color: var(--biz-navy);
    min-width: 50px;
    text-align: right;
}

.pos-empty-cart {
    text-align: center;
    color: var(--biz-muted);
    padding: 36px 10px;
    font-size: 13px;
}

/* Coupon Input in POS */
.coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px dashed var(--biz-line);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--biz-navy);
    outline: none;
    text-transform: uppercase;
}

.coupon-input:focus {
    border-color: var(--biz-blue);
}

.coupon-apply-btn {
    padding: 8px 14px;
    background: var(--biz-blue-soft);
    color: var(--biz-blue);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.coupon-apply-btn:hover {
    background: var(--biz-blue);
    color: #ffffff;
}

/* Register Summary & Tender */
.pos-register-summary {
    border-top: 1px solid var(--biz-line);
    padding-top: 12px;
    margin-bottom: 14px;
}

.pos-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--biz-muted);
    margin-bottom: 4px;
}

.pos-sum-row.discount {
    color: #059669;
    font-weight: 700;
}

.pos-sum-row.total {
    font-size: 17px;
    font-weight: 900;
    color: var(--biz-navy);
    padding-top: 6px;
    border-top: 1px dashed var(--biz-line);
    margin-top: 6px;
}

.pos-checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--biz-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pos-checkout-btn:hover:not(:disabled) {
    background: var(--biz-blue-hover);
    transform: translateY(-1px);
}

.pos-checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tables & Status Tags */
.demo-table-wrapper {
    overflow-x: auto;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.demo-table th {
    text-align: left;
    padding: 11px 14px;
    background: var(--biz-soft);
    color: var(--biz-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--biz-line);
}

.demo-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--biz-line);
    color: var(--biz-ink);
}

.demo-table tr:hover td {
    background: #fafafa;
}

.status-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.status-tag.in-stock { background: #ecfdf5; color: #047857; }
.status-tag.low-stock { background: #fffbeb; color: #b45309; }
.status-tag.out-of-stock { background: #fef2f2; color: #b91c1c; }
.status-tag.paid { background: #ecfdf5; color: #047857; }
.status-tag.transit { background: #f5f3ff; color: #6d28d9; }

/* Tab 4: Promotions & Coupons Grid */
.coupon-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.coupon-card {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px;
    position: relative;
    transition: all 0.2s ease;
}

.coupon-card:hover {
    border-color: var(--biz-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.coupon-code-badge {
    background: #eff6ff;
    color: var(--biz-blue);
    font-weight: 900;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 8px;
}

/* Tab 5: Inter-Branch Transfer Console */
.transfer-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
    background: var(--biz-soft);
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

/* Receipt Modal */
.demo-receipt-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 41, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.demo-receipt-modal.active {
    display: flex;
}

.receipt-slip {
    background: #ffffff;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #1f2937;
    position: relative;
}

.receipt-header {
    text-align: center;
    border-bottom: 1px dashed #9ca3af;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.receipt-header h4 {
    font-family: inherit;
    font-size: 16px;
    font-weight: 900;
    margin: 0 0 4px;
}

.receipt-items {
    margin-bottom: 12px;
    border-bottom: 1px dashed #9ca3af;
    padding-bottom: 12px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.receipt-total {
    font-weight: 900;
    font-size: 15px;
    border-top: 1px dashed #9ca3af;
    padding-top: 6px;
}

.receipt-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: #6b7280;
}

.receipt-close-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    background: var(--biz-navy);
    color: #ffffff;
    font-family: sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* ========================================================
   SECTION 5: ROLE-BASED ACCESS CONTROL MATRIX
   ======================================================== */
.biz-rbac {
    padding: 95px 0;
    background: var(--biz-soft);
    border-bottom: 1px solid var(--biz-line);
}

.biz-rbac-table-wrap {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: var(--biz-radius-lg);
    overflow: hidden;
    box-shadow: var(--biz-shadow);
}

.biz-rbac-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.biz-rbac-table th {
    padding: 16px 20px;
    background: var(--biz-navy);
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.biz-rbac-table th:first-child {
    text-align: left;
    width: 32%;
}

.biz-rbac-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--biz-line);
    text-align: center;
    color: var(--biz-ink);
}

.biz-rbac-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.biz-rbac-table tr:hover td {
    background: #f8fafc;
}

.rbac-check { color: #10b981; font-weight: 900; font-size: 16px; }
.rbac-dash { color: #cbd5e1; }

/* ========================================================
   SECTION 6: ENTERPRISE FINANCIAL REPORTS
   ======================================================== */
.biz-reports {
    padding: 95px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--biz-line);
}

.biz-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.biz-report-card {
    background: var(--biz-soft);
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.biz-report-card:hover {
    transform: translateY(-3px);
    border-color: var(--biz-blue);
    box-shadow: var(--biz-shadow);
}

.biz-report-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--biz-navy);
    margin: 0 0 10px;
}

.biz-report-card p {
    font-size: 13px;
    color: var(--biz-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========================================================
   SECTION 7: TRILOGY COMPARISON TABLE
   ======================================================== */
.biz-comparison {
    padding: 95px 0;
    background: var(--biz-soft);
    border-bottom: 1px solid var(--biz-line);
}

.biz-compare-table-wrap {
    background: #ffffff;
    border: 1px solid var(--biz-line);
    border-radius: var(--biz-radius-lg);
    overflow: hidden;
    box-shadow: var(--biz-shadow);
}

.biz-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.biz-compare-table th {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 2px solid var(--biz-line);
}

.biz-compare-table th:first-child {
    text-align: left;
    width: 34%;
}

.biz-compare-table th.highlight {
    background: #eff6ff;
    color: var(--biz-blue);
}

.biz-compare-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--biz-line);
    text-align: center;
}

.biz-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--biz-navy);
}

.biz-compare-table td.highlight {
    background: #f8fafc;
    font-weight: 700;
    color: var(--biz-blue);
}

/* ========================================================
   SECTION 8: DEMO REQUEST FORM
   ======================================================== */
.biz-form-section {
    padding: 95px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--biz-line);
}

.biz-form-box {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--biz-line);
    padding: 48px;
    box-shadow: var(--biz-shadow-lg);
}

/* Form Alerts */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.form-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Consultation Form Styles */
.solo-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.solo-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.solo-form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--biz-navy);
}

.solo-form-group label span.req {
    color: var(--biz-orange);
}

.solo-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--biz-line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--biz-ink);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.solo-form-control:focus {
    border-color: var(--biz-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.solo-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.solo-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--biz-ink);
    cursor: pointer;
    background: var(--biz-soft);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--biz-line);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.solo-checkbox-label:hover {
    background: #f1f5f9;
    border-color: var(--biz-blue);
}

.solo-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.solo-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--biz-navy);
    cursor: pointer;
}

.solo-form-submit {
    margin-top: 12px;
}

.solo-form-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--biz-muted);
    text-align: center;
}

/* ========================================================
   SECTION 9: FAQ ACCORDION
   ======================================================== */
.biz-faq {
    padding: 95px 0;
    background: var(--biz-soft);
    border-bottom: 1px solid var(--biz-line);
}

.biz-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.biz-faq-item {
    border: 1px solid var(--biz-line);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.biz-faq-item.active {
    border-color: var(--biz-blue);
    box-shadow: var(--biz-shadow);
}

.biz-faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--biz-navy);
}

.biz-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--biz-soft);
    display: grid;
    place-items: center;
    color: var(--biz-muted);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.biz-faq-item.active .biz-faq-icon {
    transform: rotate(180deg);
    background: var(--biz-blue);
    color: #ffffff;
}

.biz-faq-answer {
    display: none;
    padding: 0 24px 22px;
    color: var(--biz-muted);
    font-size: 15px;
    line-height: 1.6;
}

.biz-faq-item.active .biz-faq-answer {
    display: block;
}

/* ========================================================
   SECTION 10: BOTTOM CTA BANNER
   ======================================================== */
.biz-cta-banner {
    padding: 80px 0;
    background: #ffffff;
}

.biz-cta-card {
    background: linear-gradient(135deg, var(--biz-navy) 0%, var(--biz-navy-light) 100%);
    border-radius: 20px;
    padding: 56px 48px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: var(--biz-shadow-lg);
    position: relative;
    overflow: hidden;
}

.biz-cta-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .biz-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .biz-hero-visual {
        max-width: 720px;
        margin: 0 auto;
    }

    .biz-arch-tiers {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .biz-arch-connector {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .biz-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .biz-split-metrics {
        grid-template-columns: 1fr;
    }

    .pos-terminal-grid {
        grid-template-columns: 1fr;
    }

    .coupon-cards-grid {
        grid-template-columns: 1fr;
    }

    .transfer-form-grid {
        grid-template-columns: 1fr;
    }

    .biz-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .biz-hero {
        padding: 40px 0 60px;
    }

    .biz-floating-card {
        display: none;
    }

    .biz-modules-grid {
        grid-template-columns: 1fr;
    }

    .solo-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .biz-form-box {
        padding: 28px 20px;
    }

    .biz-panel {
        padding: 20px 14px;
    }

    .biz-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   FORM FIELDS & FIRST LAUNCH MODAL
   ======================================================== */
.biz-form-field {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid var(--biz-line);
    border-radius: 8px;
    font-size: 13px;
    color: var(--biz-ink);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.biz-form-field:focus {
    outline: none;
    border-color: var(--biz-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.biz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 41, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.biz-modal.active {
    display: flex;
}

.biz-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--biz-shadow-lg);
    position: relative;
}
