/* ========================================== */
/* TSE PRODUCTS PAGE — products.css           */
/* ========================================== */

/* ---- Hero: shorter for inner page ---- */
.products-hero-zone {
    min-height: 55vh !important;
    padding: 12rem 0 5rem 0 !important;
    align-items: flex-end !important;
}

/* Product Anchor Nav Pills */
.products-hero-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.product-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all var(--duration-fast) var(--ease-out-expo);
    letter-spacing: 0.01em;
}

.product-hero-pill:hover,
.product-hero-pill.active {
    border-color: var(--itoms-teal);
    background: rgba(0, 164, 166, 0.15);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.12);
}

/* ========================================== */
/* PRODUCT SECTION WRAPPER                    */
/* ========================================== */
.product-section {
    padding: 6rem 0 5rem;
}

.product-section-light {
    background: var(--light-bg);
}

.product-section-dark {
    background: linear-gradient(160deg, #060a14 0%, #080d18 40%, #0a111f 100%);
    position: relative;
    overflow: hidden;
}

/* subtle aurora overlay for dark sections */
.product-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 10% 50%, rgba(0, 164, 166, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 90% 30%, rgba(211, 30, 36, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ========================================== */
/* SECTION HEADER ROW                         */
/* ========================================== */
.product-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    margin-bottom: 1rem;
}

.product-number-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--itoms-teal-light);
    border: 1.5px solid rgba(0, 164, 166, 0.25);
    font-size: 1rem;
    font-weight: 800;
    color: var(--itoms-teal);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.product-number-badge-light {
    background: rgba(0, 164, 166, 0.12);
    border-color: rgba(0, 164, 166, 0.3);
    color: rgba(0, 164, 166, 0.9);
}

.product-title {
    font-size: 2.2rem;
    margin: 0.2rem 0 0;
    line-height: 1.15;
}

.product-title-light {
    color: #fff;
}

.product-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    font-weight: 500;
}

.product-subtitle-light {
    color: rgba(255, 255, 255, 0.45);
}

.section-eyebrow-light {
    color: rgba(0, 164, 166, 0.85);
}

.product-desc {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

.product-desc-light {
    color: rgba(255, 255, 255, 0.65);
}

/* ========================================== */
/* ITOMS — FEATURE GRID                       */
/* ========================================== */
.product-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.product-feature-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.product-feature-item:hover {
    border-color: rgba(0, 164, 166, 0.35);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 164, 166, 0.1);
    transform: translateY(-2px);
}

.pfi-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pfi-icon svg {
    width: 18px;
    height: 18px;
}

.pfi-icon-teal {
    background: var(--itoms-teal-light);
    color: var(--itoms-teal);
}

.pfi-icon-red {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.pfi-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.2rem;
}

.pfi-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================== */
/* ITOMS — CAPABILITY CARDS                   */
/* ========================================== */
.itoms-capability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cap-card {
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all var(--duration-fast) var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.cap-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--itoms-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-fast) var(--ease-out-expo);
}

.cap-card:hover {
    border-color: rgba(0, 164, 166, 0.35);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.cap-card:hover::after {
    transform: scaleX(1);
}

.cap-card-full {
    grid-column: span 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.cap-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--itoms-teal-light);
    color: var(--itoms-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-card-icon.cap-icon-red {
    background: var(--brand-red-light);
    color: var(--brand-red);
}

.cap-card-icon svg {
    width: 20px;
    height: 20px;
}

.cap-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
}

.cap-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Clickable capability card (e.g. Reservations → opens architecture diagram) */
.cap-card-clickable {
    cursor: pointer;
    position: relative;
}

.cap-card-clickable:focus-visible {
    outline: 2px solid var(--itoms-teal);
    outline-offset: 2px;
}

.cap-card-link-hint {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--itoms-teal);
    
    /* Change these two lines to make it always visible */
    opacity: 1;
    transform: translateY(0); 
    
    transition: opacity var(--duration-fast) var(--ease-out-expo), transform var(--duration-fast) var(--ease-out-expo);
}

.cap-card-link-hint svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* .cap-card-clickable:hover .cap-card-link-hint,
.cap-card-clickable:focus-visible .cap-card-link-hint {
    opacity: 1;
    transform: translateY(0);
} */

.cap-card-clickable:hover {
    border-color: rgba(0, 164, 166, 0.5);
}

/* Reservations — visual core of the ITOMS capability grid */
.cap-card-core {
    background: var(--light-card);
    /* border: 1.5px solid rgba(0, 164, 166, 0.55); */
    box-shadow: 0 0 0 1px rgba(0, 164, 166, 0.12), 0 12px 32px rgba(0, 164, 166, 0.16);
    animation: cap-core-breathe 3.6s ease-in-out infinite;
    padding-top: 1.5rem;
}

.cap-card-core::after {
    background: var(--itoms-teal);
    transform: scaleX(1);
}

.cap-card-core:hover,
.cap-card-core:focus-visible {
    border-color: var(--itoms-teal);
    box-shadow: 0 0 0 1px rgba(0, 164, 166, 0.25), 0 16px 40px rgba(0, 164, 166, 0.28);
    transform: translateY(-3px);
}

.cap-card-core-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--itoms-teal), #00C9CC);
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 164, 166, 0.4);
}

html[dir="rtl"] .cap-card-core-badge {
    right: auto;
    left: 0.85rem;
}

.cap-card-icon-core {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(0, 164, 166, 0.22), rgba(0, 164, 166, 0.1));
    color: var(--itoms-teal);
    box-shadow: inset 0 0 0 1.5px rgba(0, 164, 166, 0.35);
}

.cap-card-icon-core svg {
    width: 23px;
    height: 23px;
}

.cap-card-core-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-right: 5.5rem;
}

html[dir="rtl"] .cap-card-core-body {
    padding-right: 0;
    padding-left: 5.5rem;
}

.cap-card-core-body .cap-card-label {
    font-size: 0.95rem;
}

.cap-card-core-body .cap-card-link-hint {
    margin-top: 0.2rem;
}

@keyframes cap-core-breathe {

    0%,
    100% {
        box-shadow: 0 0 0 1px rgba(0, 164, 166, 0.12), 0 12px 32px rgba(0, 164, 166, 0.16);
    }

    50% {
        box-shadow: 0 0 0 1px rgba(0, 164, 166, 0.22), 0 14px 38px rgba(0, 164, 166, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cap-card-core {
        animation: none;
    }
}

@media (max-width: 576px) {
    .cap-card-core-body {
        padding-right: 0;
    }

    html[dir="rtl"] .cap-card-core-body {
        padding-left: 0;
    }

    .cap-card-core-badge {
        position: static;
        display: inline-flex;
        margin-bottom: 0.5rem;
    }

    .cap-card-core {
        flex-direction: column;
    }
}

/* ========================================== */
/* ITOMS ARCHITECTURE — MODAL                 */
/* ========================================== */
.arch-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.arch-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.arch-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    transform: translateY(14px) scale(0.98);
    opacity: 0;
    transition: transform var(--duration-fast) var(--ease-out-expo), opacity var(--duration-fast) var(--ease-out-expo);
}

.arch-modal-overlay.is-open .arch-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.arch-modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.arch-modal-close svg {
    width: 16px;
    height: 16px;
}

.arch-modal-close:hover {
    border-color: var(--itoms-teal);
    background: rgba(0, 164, 166, 0.15);
    color: #fff;
}

html[dir="rtl"] .arch-modal-close {
    right: auto;
    left: 1.1rem;
}

/* ========================================== */
/* ITOMS — SYSTEM ARCHITECTURE DIAGRAM        */
/* ========================================== */
.itoms-architecture-block {
    background: linear-gradient(160deg, #060a14 0%, #080d18 45%, #0a111f 100%);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-xl);
}

.arch-modal-dialog .itoms-architecture-block {
    padding-top: 1.5rem;
}

.itoms-architecture-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 650px 320px at 10% 8%, rgba(0, 164, 166, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 550px 300px at 90% 15%, rgba(245, 158, 11, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 600px 320px at 8% 55%, rgba(139, 92, 246, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 600px 320px at 92% 60%, rgba(244, 63, 94, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 700px 350px at 50% 95%, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.arch-block-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 0.5rem;
}

.arch-block-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 164, 166, 0.9);
    margin-bottom: 0.6rem;
}

.arch-block-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
    line-height: 1.25;
}

.arch-block-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin: 0;
}

.arch-diagram-wrap {
    position: relative;
    z-index: 2;
}

.arch-diagram-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.arch-line line {
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 1.5;
}

.arch-node {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1.75;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

/* Database tier — teal */
.arch-node-teal {
    fill: rgba(0, 164, 166, 0.14);
    stroke: rgba(0, 164, 166, 0.65);
}

.arch-node-teal-strong {
    fill: rgba(0, 164, 166, 0.22);
    stroke: #00C9CC;
    stroke-width: 2.25;
    filter: drop-shadow(0 0 14px rgba(0, 164, 166, 0.3));
}

/* Source modules — amber */
.arch-node-amber {
    fill: rgba(245, 158, 11, 0.14);
    stroke: rgba(245, 158, 11, 0.65);
}

/* Support systems — violet */
.arch-node-violet {
    fill: rgba(139, 92, 246, 0.14);
    stroke: rgba(167, 139, 250, 0.65);
}

/* Reservations hub — bright teal, the visual anchor */
.arch-node-hub {
    fill: rgba(0, 201, 204, 0.2);
    stroke: #00E5E8;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 22px rgba(0, 201, 204, 0.35));
}

/* Connectivity layer — rose */
.arch-node-rose {
    fill: rgba(244, 63, 94, 0.14);
    stroke: rgba(251, 113, 133, 0.65);
}

/* Output layer — blue */
.arch-node-blue {
    fill: rgba(59, 130, 246, 0.14);
    stroke: rgba(96, 165, 250, 0.65);
}

.arch-label {
    font-size: 14px;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.92);
}

.arch-label-core {
    font-size: 16px;
    font-weight: 800;
    fill: #ffffff;
    letter-spacing: 0.01em;
}

@media (max-width: 991px) {
    .itoms-architecture-block {
        padding: 2.5rem 1.5rem 2rem;
    }

    .arch-modal-dialog .itoms-architecture-block {
        padding-top: 3.5rem;
    }

    .arch-block-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 576px) {
    .itoms-architecture-block {
        padding: 2rem 1rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .arch-modal-dialog .itoms-architecture-block {
        padding-top: 3rem;
    }

    .arch-block-desc {
        font-size: 0.88rem;
    }
}

/* ========================================== */
/* ARCHIVING — FLOW DIAGRAM                   */
/* ========================================== */
.archiving-visual-block {
    padding: 1rem;
}

.archive-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.archive-node-source-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}

.archive-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    min-width: 80px;
    text-align: center;
    transition: all var(--duration-fast) ease;
}

.archive-node:hover {
    border-color: rgba(0, 164, 166, 0.4);
    background: rgba(0, 164, 166, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.archive-node svg {
    width: 22px;
    height: 22px;
    color: var(--itoms-teal);
}

.archive-node-source {
    background: rgba(255, 255, 255, 0.04);
}

.archive-node-core {
    background: rgba(0, 164, 166, 0.12);
    border-color: rgba(0, 164, 166, 0.4);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    box-shadow: 0 0 24px rgba(0, 164, 166, 0.15);
}

.archive-node-core svg {
    width: 26px;
    height: 26px;
}

.archive-arrow-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0.3rem 0;
}

.archive-arrow-line {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(0, 164, 166, 0.4), rgba(0, 164, 166, 0.15));
    position: relative;
}

.archive-arrow-line::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(0, 164, 166, 0.5);
}

/* Sources row — horizontal */
.archive-flow>.archive-node-source {
    /* nodes inline as flex row */
    align-self: auto;
}

/* Wrap source nodes in a flex row */
.archive-sources {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
}

.archive-output-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
    margin-top: 0.3rem;
}

.archive-output-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(211, 30, 36, 0.06);
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    min-width: 76px;
    text-align: center;
}

.archive-output-item svg {
    width: 18px;
    height: 18px;
    color: var(--brand-red);
}

/* restructure flow as source-row → arrow → core → arrow → output-row */
.archive-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Make the first 3 nodes lay out horizontally */
.archive-node-source {
    /* handled by archive-sources wrapper */
}

/* ========================================== */
/* ARCHIVING — BENEFITS                       */
/* ========================================== */
.archiving-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--duration-fast) ease;
}

.archive-benefit:hover {
    border-color: rgba(0, 164, 166, 0.3);
    background: rgba(0, 164, 166, 0.04);
}

.archive-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 164, 166, 0.12);
    border: 1px solid rgba(0, 164, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--itoms-teal);
}

.archive-benefit-icon.archive-benefit-icon-red {
    background: rgba(211, 30, 36, 0.1);
    border-color: rgba(211, 30, 36, 0.2);
    color: var(--brand-red);
}

.archive-benefit-icon svg {
    width: 18px;
    height: 18px;
}

.archive-benefit-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.2rem;
}

.archive-benefit-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Outline button for dark section */
.btn-outline-light-tse {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--duration-fast) var(--ease-out-expo);
    backdrop-filter: blur(8px);
}

.btn-outline-light-tse:hover {
    border-color: var(--itoms-teal);
    background: rgba(0, 164, 166, 0.12);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.12);
}

/* ========================================== */
/* OPERATIONAL ACCOUNTING TOOL                */
/* ========================================== */
.accounting-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.accounting-feature-card {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
}

.accounting-feature-card > i {
    color: var(--itoms-teal);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.accounting-feature-card h3 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.accounting-feature-card p {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.75rem;
    line-height: 1.55;
    margin: 0;
}

.accounting-dashboard {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(16, 28, 48, 0.98), rgba(8, 15, 29, 0.98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.accounting-dashboard::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 230px;
    height: 230px;
    top: -130px;
    right: -80px;
    border-radius: 50%;
    background: rgba(0, 164, 166, 0.16);
    filter: blur(45px);
}

.accounting-dashboard::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    bottom: -120px;
    left: -70px;
    border-radius: 50%;
    background: rgba(211, 30, 36, 0.11);
    filter: blur(42px);
}

.accounting-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accounting-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accounting-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 164, 166, 0.28);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(0, 164, 166, 0.2), rgba(0, 164, 166, 0.06));
    color: #5eead4;
    box-shadow: 0 8px 24px rgba(0, 164, 166, 0.12);
}

.accounting-brand-mark svg {
    width: 22px;
    height: 22px;
}

.accounting-dashboard-head strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.accounting-dashboard-kicker {
    display: block;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.accounting-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    font-size: 0.7rem;
    font-weight: 700;
}

.accounting-status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.09), 0 0 12px rgba(74, 222, 128, 0.5);
}

.accounting-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.7rem;
    border: 1px solid rgba(0, 164, 166, 0.12);
    border-radius: 16px;
    background: rgba(0, 164, 166, 0.055);
}

.accounting-flow-node {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
}

.accounting-flow-node-target {
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
}

.accounting-flow-node-output {
    background: rgba(59, 130, 246, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

.accounting-flow-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(0, 164, 166, 0.1);
    color: #5eead4;
}

.accounting-flow-icon svg {
    width: 16px;
    height: 16px;
}

.accounting-flow-connector {
    display: flex;
    align-items: center;
    width: 40px;
    color: var(--itoms-teal);
}

.accounting-flow-connector span {
    width: 8px;
    height: 1px;
    background: rgba(0, 164, 166, 0.5);
}

.accounting-flow-connector svg {
    width: 24px;
    height: 18px;
}

.accounting-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.accounting-metric-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 82px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.accounting-metric-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 164, 166, 0.24);
    background: rgba(255, 255, 255, 0.065);
}

.accounting-metric-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(211, 30, 36, 0.12);
    color: #f87171;
}

.accounting-metric-icon svg {
    width: 19px;
    height: 19px;
}

.accounting-metric-icon-teal {
    background: rgba(0, 164, 166, 0.12);
    color: #5eead4;
}

.accounting-metric-icon-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

.accounting-metric-icon-violet {
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
}

.accounting-metric-copy {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
}

.accounting-metric-copy strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    line-height: 1.35;
}

.accounting-metric-copy small {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.64rem;
    line-height: 1.35;
}

.accounting-card-arrow {
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.85rem;
    transition: color 180ms ease, transform 180ms ease;
}

.accounting-metric-card:hover .accounting-card-arrow {
    color: var(--itoms-teal);
    transform: translate(2px, -2px);
}

.accounting-workflow {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 14px;
    background: rgba(4, 10, 20, 0.38);
}

.accounting-workflow-label {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.36);
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.accounting-workflow-steps {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
}

.accounting-workflow-steps span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.accounting-workflow-steps b {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: rgba(0, 164, 166, 0.12);
    color: #5eead4;
    font-size: 0.58rem;
}

.accounting-workflow-steps em {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
}

.accounting-workflow-steps i {
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 164, 166, 0.35), rgba(0, 164, 166, 0.08));
}

/* ========================================== */
/* VISION SECTION                             */
/* ========================================== */
/* ========================================== */
/* ITOMS TODAY DASHBOARD                      */
/* ========================================== */
.itoms-today-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 24%, rgba(6, 182, 212, 0.1), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.today-feature-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.today-feature-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.today-feature-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    color: #087f8c;
    background: rgba(6, 182, 212, 0.11);
    font-size: 1.1rem;
}

.today-feature-icon svg {
    width: 23px;
    height: 23px;
}

.today-feature-item h3 {
    margin: 0 0 0.25rem;
    color: var(--text-heading);
    font-size: 0.95rem;
    font-weight: 750;
}

.today-feature-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.today-dashboard {
    position: relative;
    padding: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background: #0b1425;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
    color: #f8fafc;
}

.today-dashboard::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 92% 6%, rgba(6, 182, 212, 0.18), transparent 30%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
    content: "";
    pointer-events: none;
}

.today-dashboard > * {
    position: relative;
    z-index: 1;
}

.today-dashboard-bar,
.today-dashboard-brand,
.today-filter-row,
.today-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.today-dashboard-bar {
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.today-dashboard-brand {
    justify-content: flex-start;
    gap: 0.75rem;
}

.today-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #67e8f9;
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.26), rgba(8, 145, 178, 0.08));
    border: 1px solid rgba(103, 232, 249, 0.2);
}

.today-dashboard-brand div {
    display: grid;
    gap: 0.12rem;
}

.today-dashboard-brand strong {
    font-size: 1rem;
}

.today-dashboard-brand small {
    color: #94a3b8;
    font-size: 0.68rem;
}

.today-live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    color: #99f6e4;
    background: rgba(20, 184, 166, 0.12);
    font-size: 0.66rem;
    font-weight: 700;
}

.today-live-status > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

.today-filter-row {
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    font-size: 0.68rem;
}

.today-filter-row > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.today-filter-chip {
    padding: 0.35rem 0.58rem;
    border-radius: 8px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.12);
    font-weight: 700;
}

.today-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.today-kpi {
    display: grid;
    min-width: 0;
    gap: 0.28rem;
    padding: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 13px;
    background: rgba(17, 30, 51, 0.88);
}

.today-kpi span,
.today-kpi small {
    color: #94a3b8;
    font-size: 0.61rem;
}

.today-kpi strong {
    color: #f8fafc;
    font-size: 1.18rem;
    line-height: 1;
}

.today-insight-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.today-chart-card,
.today-ranking-card {
    padding: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 14px;
    background: rgba(17, 30, 51, 0.88);
}

.today-card-heading {
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.today-card-heading strong {
    font-size: 0.75rem;
}

.today-card-heading > span {
    color: #67e8f9;
    font-size: 0.61rem;
}

.today-bars {
    display: grid;
    gap: 0.75rem;
}

.today-bars > span {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 0.6rem;
}

.today-bars b {
    overflow: hidden;
    color: #94a3b8;
    font-size: 0.6rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-bars i {
    position: relative;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.11);
}

.today-bars i::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bar);
    border-radius: inherit;
    background: linear-gradient(90deg, #0891b2, #2dd4bf);
    content: "";
}

.today-ranking-card ol {
    display: grid;
    gap: 0.48rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.today-ranking-card li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.55rem;
    border-radius: 9px;
    background: rgba(148, 163, 184, 0.07);
    color: #cbd5e1;
    font-size: 0.62rem;
}

.today-ranking-card li b {
    color: #67e8f9;
    font-size: 0.58rem;
}

html[dir="rtl"] .today-bars i::after {
    right: 0;
    left: auto;
}

@media (max-width: 1199.98px) {
    .today-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .today-dashboard {
        padding: 0.85rem;
        border-radius: 18px;
    }

    .today-dashboard-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .today-kpi-grid,
    .today-insight-grid {
        grid-template-columns: 1fr;
    }

    .today-filter-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Application-accurate ITOMS Today preview */
.today-dashboard {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 490px;
    padding: 0;
    border: 1px solid #dfe5ee;
    border-radius: 18px;
    background: #f3f6fb;
    box-shadow: 0 28px 65px rgba(15, 31, 54, 0.2);
    color: #10213b;
}

.today-dashboard::before {
    content: none;
}

.today-app-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #0b1e38;
    color: #fff;
}

.today-app-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 58px;
    padding: 0.8rem 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.today-app-logo > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 7px;
    background: #2f6df6;
    font-size: 0.67rem;
    font-weight: 800;
}

.today-app-logo div {
    display: grid;
    min-width: 0;
}

.today-app-logo strong {
    font-size: 0.72rem;
}

.today-app-logo small {
    overflow: hidden;
    color: #9cb0cb;
    font-size: 0.43rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-app-sidebar nav {
    display: grid;
    gap: 0.18rem;
    padding: 0.75rem 0;
}

.today-app-sidebar nav span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    color: #d7e1ef;
    border-inline-start: 2px solid transparent;
}

.today-app-sidebar nav span.active {
    color: #fff;
    border-inline-start-color: #2f6df6;
    background: #17345f;
}

.today-app-sidebar nav i {
    width: 14px;
    font-size: 0.72rem;
    text-align: center;
}

.today-app-sidebar nav b {
    font-size: 0.55rem;
    font-weight: 600;
}

.today-last-update {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.today-last-update > i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 6px;
    background: #172f50;
    font-size: 0.6rem;
}

.today-last-update span {
    display: grid;
}

.today-last-update small {
    color: #9cb0cb;
    font-size: 0.43rem;
}

.today-last-update b {
    font-size: 0.5rem;
}

.today-app-main {
    min-width: 0;
    background: #f3f6fb;
}

.today-app-topbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #dfe5ee;
    background: #fff;
}

.today-app-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
}

.today-app-title > i {
    color: #53657d;
    font-size: 0.8rem;
}

.today-app-title span {
    display: grid;
    min-width: 0;
}

.today-app-title strong {
    color: #10213b;
    font-size: 0.78rem;
}

.today-app-title small {
    overflow: hidden;
    color: #68778b;
    font-size: 0.47rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-app-filters {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.today-app-filters span {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.43rem 0.55rem;
    border: 1px solid #dbe2eb;
    border-radius: 999px;
    background: #fff;
    color: #20304a;
    font-size: 0.46rem;
    white-space: nowrap;
}

.today-app-content {
    padding: 0.75rem;
}

.today-app-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.today-app-kpi {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
    min-height: 68px;
    padding: 0.65rem;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
}

.today-app-kpi > i {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #0ea5e9;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.22);
    font-size: 0.7rem;
}

.today-app-kpi.red > i { background: #d94141; }
.today-app-kpi.violet > i { background: #8252f5; }
.today-app-kpi.green > i { background: #11a567; }
.today-app-kpi.orange > i { background: #e57a25; }
.today-app-kpi.purple > i { background: #7651e9; }

.today-app-kpi span {
    display: grid;
    min-width: 0;
}

.today-app-kpi small {
    overflow: hidden;
    color: #344155;
    font-size: 0.48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-app-kpi strong {
    color: #0b1e38;
    font-size: 0.92rem;
    line-height: 1.05;
}

.today-app-kpi em {
    overflow: hidden;
    color: #657388;
    font-size: 0.41rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-app-kpi em b {
    color: #07945a;
    font-weight: 700;
}

.today-app-reports {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr;
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.today-report-card {
    min-width: 0;
    min-height: 178px;
    padding: 0.7rem;
    border: 1px solid #dfe5ee;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(15, 31, 54, 0.04);
}

.today-report-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    color: #0b1e38;
}

.today-report-title strong {
    overflow: hidden;
    font-size: 0.52rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-report-title > span {
    padding: 0.22rem 0.35rem;
    border: 1px solid #d6dde7;
    border-radius: 4px;
    color: #45556b;
    font-size: 0.4rem;
}

.today-chart-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.7rem 0 0.2rem;
    color: #3d4b5f;
    font-size: 0.37rem;
}

.today-chart-legend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.today-chart-legend .sales { background: #3475ee; }
.today-chart-legend .cost { background: #f27424; }
.today-chart-legend .profit { background: #17b87a; }

.today-line-chart {
    display: block;
    width: 100%;
    height: 92px;
    overflow: visible;
}

.today-line-chart .grid {
    fill: none;
    stroke: #e9edf3;
    stroke-dasharray: 3 4;
    stroke-width: 1;
}

.today-line-chart polyline {
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.today-line-chart polyline.sales { stroke: #3475ee; }
.today-line-chart polyline.cost { stroke: #f27424; }
.today-line-chart polyline.profit { stroke: #17b87a; stroke-dasharray: 4 4; }
.today-line-chart circle.sales { fill: #3475ee; }
.today-line-chart circle.cost { fill: #f27424; }
.today-line-chart circle.profit { fill: #17b87a; }

.today-chart-months {
    display: flex;
    justify-content: space-between;
    color: #617188;
    font-size: 0.36rem;
}

.today-market-body {
    display: grid;
    place-items: center;
    gap: 0.7rem;
    padding-top: 1.2rem;
}

.today-donut {
    position: relative;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#2f6df6 0 100%);
}

.today-donut::before {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.today-donut span {
    position: relative;
    z-index: 1;
    display: grid;
    text-align: center;
}

.today-donut small {
    color: #69778b;
    font-size: 0.37rem;
}

.today-donut b {
    font-size: 0.55rem;
}

.today-market-key {
    display: grid;
    grid-template-columns: 6px 1fr auto;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
    font-size: 0.38rem;
}

.today-market-key i {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: #2f6df6;
}

.today-agency-head,
.today-agency-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 0.7fr 0.6fr;
    gap: 0.3rem;
    align-items: center;
}

.today-agency-head {
    margin-top: 0.75rem;
    padding: 0 0.2rem 0.35rem;
    border-bottom: 1px solid #e5e9f0;
    color: #101827;
    font-size: 0.38rem;
    font-weight: 700;
}

.today-agency-row {
    padding: 0.55rem 0.2rem;
    border-bottom: 1px solid #edf0f4;
    color: #26354b;
    font-size: 0.39rem;
}

.today-agency-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.today-agency-row em {
    color: #078850;
    font-style: normal;
}

html[dir="rtl"] .today-dashboard {
    direction: ltr;
}

html[dir="rtl"] .today-app-sidebar nav span,
html[dir="rtl"] .today-app-logo,
html[dir="rtl"] .today-last-update {
    direction: rtl;
}

@media (max-width: 1199.98px) {
    .today-dashboard {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .today-app-logo div,
    .today-app-sidebar nav b,
    .today-last-update span {
        display: none;
    }

    .today-app-logo,
    .today-app-sidebar nav span,
    .today-last-update {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .today-dashboard {
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 0;
        border-radius: 14px;
    }

    .today-app-sidebar nav span {
        padding-inline: 0.5rem;
    }

    .today-app-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .today-app-filters {
        width: 100%;
        justify-content: flex-start;
        overflow: hidden;
    }

    .today-app-filters span:first-child {
        display: none;
    }

    .today-app-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .today-app-reports {
        grid-template-columns: 1fr;
    }

    .today-report-card {
        min-height: 160px;
    }
}

@media (max-width: 420px) {
    .today-app-kpis {
        grid-template-columns: 1fr;
    }
}

.vision-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #f4f7fb 0%, var(--light-bg) 100%);
}

.vision-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(140deg, #060a14 0%, #0a111f 50%, #080d18 100%);
    padding: 4.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.vision-card::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 164, 166, 0.7), transparent);
}

.vision-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
}

.vision-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.vision-orb-1 {
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 164, 166, 0.18) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation: auroraWave1 16s ease-in-out infinite;
}

.vision-orb-2 {
    width: 500px;
    height: 250px;
    background: radial-gradient(ellipse, rgba(211, 30, 36, 0.12) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: auroraWave2 18s ease-in-out infinite;
}

.vision-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 1.25rem;
    line-height: 1.2;
}

.vision-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.vision-suite-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2rem;
}

.vision-suite-list > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.035);
}

.vision-suite-list i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--itoms-teal);
    box-shadow: 0 0 9px rgba(0, 164, 166, 0.65);
}

.vision-suite-list b {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 600;
}

.vision-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--text-heading);
    border-radius: var(--radius-full);
    padding: 0.75rem 0.85rem 0.75rem 1.5rem;
    transition: all var(--duration-fast) var(--ease-out-expo);
}

.vision-cta svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: var(--text-heading);
    color: #fff;
}

.vision-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-heading);
}

/* ========================================== */
/* RTL ADAPTATIONS                            */
/* ========================================== */
html[dir="rtl"] .archive-flow {
    direction: ltr;
    /* keep diagram layout consistent */
}

html[dir="rtl"] .itoms-architecture-block {
    direction: ltr;
    /* diagram geometry stays fixed regardless of language */
}

html[dir="rtl"] .arch-block-header {
    direction: rtl;
}

html[dir="rtl"] .product-section-header {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .product-hero-pill {
    direction: rtl;
}

html[dir="rtl"] .btn-outline-light-tse svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .vision-cta {
    padding: 0.75rem 1.5rem 0.75rem 0.85rem;
}

html[dir="rtl"] .vision-cta svg {
    transform: rotate(180deg);
}

html[dir="rtl"] .vision-cta:hover svg {
    transform: rotate(180deg) translateX(2px);
}

html[dir="rtl"] .product-feature-item {
    direction: rtl;
}

html[dir="rtl"] .archive-benefit {
    direction: rtl;
}

.vision-cta:hover svg {
    transform: translateX(2px);
}

html[dir="rtl"] .accounting-feature-card,
html[dir="rtl"] .accounting-dashboard-head {
    direction: rtl;
}

html[dir="rtl"] .accounting-dashboard {
    direction: rtl;
}

html[dir="rtl"] .accounting-flow-connector svg {
    transform: rotate(180deg);
}

/* ========================================== */
/* RESPONSIVE                                 */
/* ========================================== */
@media (max-width: 991px) {
    .products-hero-zone {
        min-height: 48vh !important;
        padding: 10rem 0 4rem 0 !important;
    }

    .product-section {
        padding: 4rem 0 3.5rem;
    }

    .product-features-grid {
        grid-template-columns: 1fr;
    }

    .accounting-features-grid {
        grid-template-columns: 1fr;
    }

    .itoms-capability-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cap-card-full {
        grid-column: span 3;
    }
    .vision-card {
        padding: 3.5rem 1.5rem;
    }

    .vision-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .product-number-badge {
        min-width: 42px;
        height: 42px;
        font-size: 0.88rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .itoms-capability-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cap-card-full {
        grid-column: span 2;
    }
    .accounting-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .accounting-dashboard {
        padding: 1rem;
        border-radius: 18px;
    }

    .accounting-dashboard-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .accounting-flow {
        grid-template-columns: 1fr;
    }

    .accounting-flow-connector {
        justify-content: center;
        width: 100%;
        height: 28px;
        transform: none;
    }

    .accounting-flow-connector span {
        display: none;
    }

    .accounting-flow-connector svg,
    html[dir="rtl"] .accounting-flow-connector svg {
        transform: rotate(90deg);
    }

    html[dir="rtl"] .accounting-flow-connector {
        transform: none;
    }

    .accounting-workflow-steps {
        grid-template-columns: 1fr;
    }

    .accounting-workflow-steps i {
        display: none;
    }

    .vision-title {
        font-size: 1.5rem;
    }

    .vision-section {
        padding: 3.5rem 0 4rem;
    }

    .vision-card {
        padding: 3.25rem 1.1rem;
        border-radius: 20px;
    }

    .vision-suite-list {
        gap: 0.4rem;
    }

    .vision-suite-list > span {
        padding: 0.4rem 0.6rem;
    }

    .archive-output-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .products-hero-nav {
        gap: 0.4rem;
    }

    .product-hero-pill {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 17, 31, 0.95);
        /* Matches your dark hero theme */
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}
