/* ============================================================
   ABOTRIX INDUSTRY SOLUTIONS V23.3
   Premium enterprise enhancement layer
   ============================================================ */

.industries-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(41, 190, 231, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 82%,
            rgba(60, 128, 247, 0.07),
            transparent 31%
        );
}

.industries-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(100, 186, 221, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(100, 186, 221, 0.025) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 10%,
            black 88%,
            transparent
        );
}

.industries-introduction {
    max-width: 880px;
}

.industries-introduction h2 {
    color: #f4f9ff;
    text-wrap: balance;
}

.industries-introduction p {
    color: #9fbfd6;
}

/* ------------------------------------------------------------
   FILTERS
   ------------------------------------------------------------ */

.industry-filter {
    position: relative;
    z-index: 4;
}

.industry-filter-button {
    position: relative;
    overflow: hidden;

    min-height: 45px;
    padding: 0 20px;

    border: 1px solid rgba(110, 201, 237, 0.16);
    border-radius: 999px;

    color: #a8c5da;

    background:
        linear-gradient(
            145deg,
            rgba(18, 55, 79, 0.72),
            rgba(9, 37, 59, 0.72)
        );

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.industry-filter-button:hover {
    transform: translateY(-2px);

    color: #f0f9ff;
    border-color: rgba(74, 216, 246, 0.34);

    background:
        linear-gradient(
            145deg,
            rgba(25, 75, 101, 0.82),
            rgba(13, 49, 73, 0.84)
        );
}

.industry-filter-button.active {
    color: #031621;
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #66e6f8,
            #45cdec 55%,
            #3b9af7
        );

    box-shadow:
        0 13px 32px rgba(43, 187, 230, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.industry-filter-button.active .filter-button-icon {
    color: #05202c;
}

.industry-filter-button::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);

    background:
        linear-gradient(
            105deg,
            transparent 20%,
            rgba(255, 255, 255, 0.3) 48%,
            transparent 72%
        );

    transition: transform 450ms ease;
}

.industry-filter-button:hover::after {
    transform: translateX(120%);
}

/* ------------------------------------------------------------
   INDUSTRY GRID
   ------------------------------------------------------------ */

.industry-solutions-grid {
    align-items: stretch;
}

.industry-solution-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 100%;

    border: 1px solid rgba(112, 202, 238, 0.15);
    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(15, 53, 79, 0.94),
            rgba(8, 35, 57, 0.96)
        );

    box-shadow:
        0 24px 62px rgba(0, 6, 21, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        opacity 280ms ease,
        transform 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.industry-solution-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    pointer-events: none;

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(82, 224, 249, 0.52),
            transparent
        );

    transition: opacity 220ms ease;
}

.industry-solution-card::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    right: -160px;
    bottom: -175px;
    pointer-events: none;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49, 198, 238, 0.12),
            transparent 68%
        );

    transition:
        transform 320ms ease,
        opacity 320ms ease;
}

.industry-solution-card:hover {
    transform: translateY(-8px);

    border-color: rgba(73, 219, 248, 0.32);

    box-shadow:
        0 34px 86px rgba(0, 7, 24, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.industry-solution-card:hover::before {
    opacity: 1;
}

.industry-solution-card:hover::after {
    transform: scale(1.18);
}

.industry-solution-card.filtered-out {
    display: none !important;
}

.industry-solution-card.abotrix-filter-enter {
    animation:
        abotrixIndustryEnter 430ms
        cubic-bezier(0.2, 0.7, 0.2, 1)
        both;
}

@keyframes abotrixIndustryEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ------------------------------------------------------------
   CARD HEADER
   ------------------------------------------------------------ */

.industry-card-top {
    position: relative;
    z-index: 2;
}

.industry-icon {
    flex: 0 0 auto;

    border: 1px solid rgba(83, 219, 247, 0.23);

    color: #07202c;

    background:
        linear-gradient(
            135deg,
            #66e5f8,
            #40c9ee 58%,
            #3d99f8
        );

    box-shadow:
        0 13px 29px rgba(36, 176, 221, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.industry-category {
    color: #48d8f5;
}

.industry-solution-card h3 {
    position: relative;
    z-index: 2;

    color: #f2f9ff;
    letter-spacing: -0.035em;
}

.industry-solution-card > p {
    position: relative;
    z-index: 2;

    color: #9ebdd3;
}

/* ------------------------------------------------------------
   FEATURE PILLS
   ------------------------------------------------------------ */

.industry-feature-list {
    position: relative;
    z-index: 2;
}

.industry-feature-list span {
    border: 1px solid rgba(114, 202, 237, 0.13);
    border-radius: 999px;

    color: #b7d1e3;

    background: rgba(18, 60, 86, 0.56);

    transition:
        transform 170ms ease,
        border-color 170ms ease,
        background-color 170ms ease,
        color 170ms ease;
}

.industry-feature-list span:hover {
    transform: translateY(-2px);

    color: #eaf8ff;
    border-color: rgba(73, 216, 246, 0.28);
    background: rgba(25, 80, 107, 0.75);
}

/* ------------------------------------------------------------
   SHARED MINI PREVIEW
   ------------------------------------------------------------ */

.industry-preview,
.industry-mini-status,
.travel-pipeline,
.retail-stock-preview,
.hr-attendance-preview,
.clinic-schedule-preview,
.sports-membership-preview,
.warehouse-preview,
.manufacturing-progress {
    position: relative;
    z-index: 2;

    margin-top: auto;

    border: 1px solid rgba(109, 201, 238, 0.15);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(23, 72, 99, 0.7),
            rgba(14, 52, 78, 0.72)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 16px 36px rgba(0, 7, 22, 0.1);
}

/* ------------------------------------------------------------
   RESTAURANT
   ------------------------------------------------------------ */

.industry-featured {
    border-color: rgba(78, 220, 248, 0.24);

    background:
        linear-gradient(
            145deg,
            rgba(17, 62, 90, 0.97),
            rgba(7, 38, 61, 0.98)
        );
}

.industry-preview-toolbar {
    border-bottom: 1px solid rgba(116, 202, 237, 0.13);
}

.industry-preview-toolbar strong {
    color: #eaf7ff;
}

.industry-preview-toolbar span {
    position: relative;

    color: #4ae9b2;
}

.industry-preview-toolbar span::before {
    content: "";
    display: inline-block;

    width: 7px;
    height: 7px;
    margin-right: 6px;

    border-radius: 50%;

    background: #45e9ad;

    box-shadow:
        0 0 0 4px rgba(69, 233, 173, 0.07),
        0 0 12px rgba(69, 233, 173, 0.4);
}

.restaurant-preview-grid > div {
    border: 1px solid rgba(111, 199, 235, 0.12);
    border-radius: 12px;

    background: rgba(16, 55, 80, 0.55);

    transition:
        transform 170ms ease,
        border-color 170ms ease;
}

.restaurant-preview-grid > div:hover {
    transform: translateY(-2px);
    border-color: rgba(73, 215, 246, 0.27);
}

.restaurant-preview-grid span {
    color: #88adc5;
}

.restaurant-preview-grid strong {
    color: #f0f9ff;
    font-variant-numeric: tabular-nums;
}

.restaurant-order-list > div {
    border-bottom-color: rgba(119, 201, 235, 0.1);

    transition:
        background-color 170ms ease,
        transform 170ms ease;
}

.restaurant-order-list > div:hover {
    transform: translateX(3px);
    background: rgba(29, 78, 104, 0.34);
}

.restaurant-order-list span {
    color: #4bd9f4;
}

.restaurant-order-list strong {
    color: #dff2fc;
}

.restaurant-order-list small {
    color: #4be8b1;
}

/* ------------------------------------------------------------
   HOTEL
   ------------------------------------------------------------ */

.industry-mini-status {
    overflow: hidden;
}

.industry-mini-status > div {
    position: relative;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.industry-mini-status > div:hover {
    transform: translateY(-2px);
    background: rgba(30, 83, 111, 0.5);
}

.industry-mini-status span {
    color: #8bafc7;
}

.industry-mini-status strong {
    color: #f1f9ff;
    font-variant-numeric: tabular-nums;
}

.abotrix-hotel-occupancy {
    margin-top: 13px;
}

.abotrix-industry-progress {
    height: 7px;
    overflow: hidden;

    border-radius: 999px;

    background: rgba(190, 222, 238, 0.14);
}

.abotrix-industry-progress i {
    display: block;
    width: var(--progress);
    height: 100%;

    transform: scaleX(0);
    transform-origin: left;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #54dff6,
            #36bdf0 60%,
            #438aff
        );

    box-shadow:
        0 0 16px rgba(55, 196, 238, 0.25);
}

.abotrix-industry-animated
.abotrix-industry-progress i {
    animation:
        abotrixIndustryProgress 900ms
        cubic-bezier(0.2, 0.7, 0.2, 1)
        forwards;
}

@keyframes abotrixIndustryProgress {
    to {
        transform: scaleX(1);
    }
}

.abotrix-progress-label {
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #90b5cd;
    font-size: 10px;
}

.abotrix-progress-label strong {
    color: #50e2f8;
}

/* ------------------------------------------------------------
   TRAVEL
   ------------------------------------------------------------ */

.travel-pipeline {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.travel-pipeline > div {
    padding: 13px 7px !important;

    border: 1px solid rgba(108, 201, 237, 0.12);
    border-radius: 11px;

    background: rgba(18, 61, 87, 0.5);

    text-align: center;

    transition:
        transform 170ms ease,
        border-color 170ms ease;
}

.travel-pipeline > div:hover {
    transform: translateY(-3px);
    border-color: rgba(75, 216, 247, 0.28);
}

.travel-pipeline span {
    color: #89aec7;
    font-size: 9px;
}

.travel-pipeline strong {
    color: #f0f9ff;
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------
   RETAIL
   ------------------------------------------------------------ */

.retail-stock-preview {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

.retail-stock-preview > div {
    padding: 14px 9px;

    border: 1px solid rgba(107, 200, 236, 0.12);
    border-radius: 11px;

    background: rgba(17, 58, 84, 0.53);

    text-align: center;
}

.retail-stock-preview span {
    color: #8bafc7;
    font-size: 9px;
}

.retail-stock-preview strong {
    color: #f0f8ff;
    font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------
   HR
   ------------------------------------------------------------ */

.hr-attendance-preview {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center;
    gap: 18px !important;
}

.attendance-ring {
    position: relative;

    width: 100px;
    height: 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        conic-gradient(
            #43dff5 0deg,
            #3e9ff4 338deg,
            rgba(101, 175, 207, 0.16) 338deg
        );

    box-shadow:
        0 14px 32px rgba(0, 8, 25, 0.16);
}

.attendance-ring::before {
    content: "";
    position: absolute;
    inset: 8px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #174967,
            #0e3856
        );
}

.attendance-ring strong,
.attendance-ring span {
    position: relative;
    z-index: 2;
}

.attendance-ring strong {
    color: #f3faff;
}

.attendance-ring span {
    color: #91b5cc;
}

.abotrix-hr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.abotrix-hr-grid div {
    padding: 10px;

    border: 1px solid rgba(111, 200, 235, 0.12);
    border-radius: 10px;

    background: rgba(18, 62, 88, 0.5);
}

.abotrix-hr-grid span {
    display: block;

    color: #88adc5;
    font-size: 9px;
}

.abotrix-hr-grid strong {
    display: block;
    margin-top: 4px;

    color: #f0f8ff;
    font-size: 17px;
}

/* ------------------------------------------------------------
   HEALTHCARE
   ------------------------------------------------------------ */

.clinic-schedule-preview {
    display: grid !important;
    gap: 8px !important;
}

.clinic-schedule-preview > div {
    min-height: 48px;

    display: grid !important;
    grid-template-columns: 56px 1fr auto !important;
    align-items: center;
    gap: 10px;

    border: 1px solid rgba(110, 200, 236, 0.12);
    border-radius: 11px;

    background: rgba(18, 62, 87, 0.5);

    transition:
        transform 170ms ease,
        border-color 170ms ease;
}

.clinic-schedule-preview > div:hover {
    transform: translateX(3px);
    border-color: rgba(71, 216, 246, 0.27);
}

.clinic-schedule-preview span {
    color: #50d9f4;
}

.clinic-schedule-preview strong {
    color: #e8f6ff;
}

.abotrix-clinic-status {
    color: #4ce7ae;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ------------------------------------------------------------
   SPORTS
   ------------------------------------------------------------ */

.sports-membership-preview {
    overflow: hidden;
}

.sports-membership-preview span {
    color: #8fb3ca;
}

.sports-membership-preview strong {
    color: #f0f9ff;
    font-variant-numeric: tabular-nums;
}

.sports-membership-preview i {
    width: 78% !important;

    background:
        linear-gradient(
            90deg,
            #51def5,
            #3abcf0 60%,
            #438aff
        ) !important;
}

/* ------------------------------------------------------------
   WAREHOUSE
   ------------------------------------------------------------ */

.warehouse-preview {
    display: grid !important;
    gap: 9px !important;
}

.warehouse-preview > div {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center;

    padding: 11px 12px;

    border: 1px solid rgba(111, 200, 236, 0.12);
    border-radius: 11px;

    background: rgba(18, 62, 87, 0.5);
}

.warehouse-preview span {
    color: #8bafc7;
}

.warehouse-preview strong {
    color: #f0f9ff;
}

.abotrix-warehouse-bar {
    grid-column: 1 / -1;

    height: 6px;
    margin-top: 8px;
    overflow: hidden;

    border-radius: 999px;
    background: rgba(191, 222, 238, 0.12);
}

.abotrix-warehouse-bar i {
    display: block;
    width: var(--progress);
    height: 100%;

    transform: scaleX(0);
    transform-origin: left;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #50def6,
            #38baf0 60%,
            #438aff
        );
}

.abotrix-industry-animated
.abotrix-warehouse-bar i {
    animation:
        abotrixIndustryProgress 900ms
        cubic-bezier(0.2, 0.7, 0.2, 1)
        forwards;
}

/* ------------------------------------------------------------
   MANUFACTURING
   ------------------------------------------------------------ */

.manufacturing-progress {
    padding: 16px;
}

.manufacturing-progress > div {
    color: #91b5cc;
}

.manufacturing-progress strong {
    color: #f0f9ff;
}

.manufacturing-progress > i {
    overflow: hidden;

    background: rgba(191, 222, 238, 0.13) !important;
}

.manufacturing-progress > i::after {
    content: "";
    display: block;

    width: 72%;
    height: 100%;

    transform: scaleX(0);
    transform-origin: left;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #51def5,
            #38baf0 58%,
            #438aff
        );
}

.abotrix-industry-animated
.manufacturing-progress > i::after {
    animation:
        abotrixIndustryProgress 950ms
        cubic-bezier(0.2, 0.7, 0.2, 1)
        forwards;
}

.abotrix-manufacturing-grid {
    margin-top: 12px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.abotrix-manufacturing-grid div {
    padding: 9px 6px;

    border: 1px solid rgba(108, 199, 235, 0.11);
    border-radius: 9px;

    background: rgba(17, 58, 83, 0.48);

    text-align: center;
}

.abotrix-manufacturing-grid span {
    display: block;

    color: #89aec6;
    font-size: 8px;
}

.abotrix-manufacturing-grid strong {
    display: block;
    margin-top: 3px;

    color: #f1f9ff;
    font-size: 13px;
}

/* ------------------------------------------------------------
   CARD LINKS
   ------------------------------------------------------------ */

.industry-card-link {
    position: relative;
    z-index: 2;

    margin-top: 19px;

    color: #51dcf5;

    transition:
        color 180ms ease,
        transform 180ms ease;
}

.industry-card-link:hover {
    color: #7ae8fa;
    transform: translateX(4px);
}

.industry-card-link span {
    transition: transform 180ms ease;
}

.industry-card-link:hover span {
    transform: translateX(3px);
}

/* ------------------------------------------------------------
   INDUSTRY CTA
   ------------------------------------------------------------ */

.industry-cta {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(83, 218, 246, 0.21);
    border-radius: 24px;

    background:
        linear-gradient(
            130deg,
            rgba(24, 75, 102, 0.87),
            rgba(10, 41, 65, 0.94)
        );

    box-shadow:
        0 27px 72px rgba(0, 6, 22, 0.21),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.industry-cta::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -170px;
    top: -210px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(62, 216, 244, 0.2),
            transparent 70%
        );
}

.industry-cta > * {
    position: relative;
    z-index: 2;
}

.industry-cta > div > span {
    color: #45d8f4;
}

.industry-cta h3 {
    color: #f1f9ff;
}

.industry-cta .button {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.industry-cta .button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 17px 40px rgba(47, 196, 235, 0.24);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
    .travel-pipeline {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .retail-stock-preview {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .industry-solution-card:hover {
        transform: none;
    }

    .industry-filter {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;

        scrollbar-width: none;
    }

    .industry-filter::-webkit-scrollbar {
        display: none;
    }

    .industry-filter-button {
        flex: 0 0 auto;
    }

    .travel-pipeline {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .retail-stock-preview {
        grid-template-columns: 1fr !important;
    }

    .hr-attendance-preview {
        grid-template-columns: 1fr !important;
    }

    .attendance-ring {
        margin-left: auto;
        margin-right: auto;
    }

    .clinic-schedule-preview > div {
        grid-template-columns: 50px 1fr !important;
    }

    .abotrix-clinic-status {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .travel-pipeline {
        grid-template-columns: 1fr !important;
    }

    .abotrix-hr-grid,
    .abotrix-manufacturing-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industry-solution-card,
    .industry-filter-button,
    .abotrix-industry-progress i,
    .abotrix-warehouse-bar i,
    .manufacturing-progress > i::after {
        animation: none !important;
        transition: none !important;
    }

    .abotrix-industry-progress i,
    .abotrix-warehouse-bar i,
    .manufacturing-progress > i::after {
        transform: scaleX(1);
    }
}
