
.bss-ai-hero .bss-ai-container{
    grid-template-columns: 1.7fr 1fr !important;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(14, 32, 54, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(14, 32, 54, 0.5); }
}

.isoft-ai-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 42, 67, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: var(--bss-navy-700);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.isoft-ai-floating-card i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bss-navy-550), var(--bss-navy-450));
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
}

.isoft-ai-floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.isoft-ai-floating-card.card-2 {
    top: 50%;
    right: -8%;
    animation-delay: -2s;
}

.isoft-ai-floating-card.card-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: -4s;
}

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

/* Metrics Section */
.isoft-ai-product-metrics {
    background: var(--bss-navy-700);
    padding: 40px 24px;
}

.isoft-ai-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.isoft-ai-metric-card {
    padding: 20px;
}

.isoft-ai-metric-value {
    font-family: var(--ai-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.isoft-ai-metric-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--bss-navy-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



.ai-section-desc {
    font-size: 1.1rem;
    color: #64748b;
    /* max-width: 600px; */
    line-height: 1.7;
}

/* ========================================
   PLATFORMS SHOWCASE
======================================== */
.ai-platforms {
    padding: 100px 0px 120px;
    /* background: linear-gradient(180deg, #f8fafc, #ffffff); */
}


.ai-platforms__header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-platform-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Platform Card */
.ai-platform-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(16, 42, 67, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);;
    cursor: pointer;
}

.ai-platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(13, 148, 136, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);;
}

.ai-platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(16, 42, 67, 0.15);
}

.ai-platform-card:hover::before {
    opacity: 1;
}

.ai-platform-card__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

/* Stacked Layout - Content on top, Visual on bottom */
.ai-platform-card__inner--stacked {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: auto;
}

.ai-platform-card__front {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Stacked Layout - Compact front section */
.ai-platform-card__inner--stacked .ai-platform-card__front {
    padding: 28px 28px 20px;
}

/* Header Row - Icon + Titles side by side */
.ai-platform-card__header-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.ai-platform-card__titles {
    flex: 1;
}

.ai-platform-card__titles .ai-platform-card__label {
    margin-bottom: 4px;
}

.ai-platform-card__titles .ai-platform-card__title {
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.ai-platform-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 24px;
}

/* Stacked layout - smaller icon */
.ai-platform-card__header-row .ai-platform-card__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.ai-platform-card--erp .ai-platform-card__icon {
    background: linear-gradient(135deg, var(--bss-navy-100), var(--bss-navy-50));
    color: var(--bss-navy-600);
}

.ai-platform-card--itsm .ai-platform-card__icon {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.05));
    color: var(--bss-navy-550);
}

.ai-platform-card__content {
    flex: 1;
}

.ai-platform-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.ai-platform-card__title {
    font-family: var(--ai-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bss-navy-700);
    margin: 0 0 16px;
}

.ai-platform-card__title strong {
    color: var(--bss-navy-800);
}

.ai-platform-card__desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Stacked layout - tighter description */
.ai-platform-card__inner--stacked .ai-platform-card__desc {
    margin: 0 0 16px;
    font-size: 14px;
}

.ai-platform-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Inline features for stacked layout */
.ai-platform-card__features--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.ai-platform-card__features--inline .ai-platform-card__feature {
    gap: 8px;
    padding: 6px 12px;
    background: var(--ai-gray-50);
    border-radius: 20px;
    font-size: 12px;
}

.ai-platform-card__features--inline .ai-platform-card__feature i {
    width: auto;
    height: auto;
    background: none;
    font-size: 12px;
    color: var(--ai-teal);
}

.ai-platform-card__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--bss-navy-600);
}

.ai-platform-card__feature i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: var(--bss-navy-550);
    font-size: 14px;
}

/* ========================================
   OVERFLOW LAYOUT - Visual extends outside
======================================== */
.ai-platform-cards--overflow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding-bottom: 120px; /* Space for mockup overflow */
}

.ai-platform-card--overflow {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: auto;
}

.ai-platform-card--overflow::before {
    display: none;
}

/* Main card content */
.ai-platform-card__main {
    position: relative;
    background: var(--ai-white);
    border-radius: 24px 24px 0 0;
    padding: 36px 32px 28px;
    box-shadow: 
        0 -10px 40px rgba(16, 42, 67, 0.06),
        0 4px 20px rgba(16, 42, 67, 0.04);
    z-index: 3;
    transition: all 0.4s var(--ai-ease);
}

.ai-platform-card--overflow:hover .ai-platform-card__main {
    box-shadow: 
        0 -15px 50px rgba(16, 42, 67, 0.08),
        0 8px 30px rgba(16, 42, 67, 0.06);
}

/* Button styling */
.ai-platform-card__btn {
    margin-top: 12px;
}

/* Visual overflow container - the navy background */
.ai-platform-card__visual-overflow {
    position: relative;
    background: var(--bss-navy-gradient-dark);
    border-radius: 0 0 24px 24px;
    min-height: 180px;
    padding: 30px 30px 100px;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(14, 32, 54, 0.2);
    transition: all 0.4s var(--ai-ease);
    overflow: visible;
}

.ai-platform-card__visual-overflow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0 0 24px 24px;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(95, 127, 168, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative elements inside navy section */
.ai-platform-card__visual-overflow::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.ai-platform-card--overflow:hover .ai-platform-card__visual-overflow {
    box-shadow: 0 40px 80px rgba(14, 32, 54, 0.25);
}


.ai-platform-card__visual-overflow .ai-chat-mockup,
.ai-platform-card__visual-overflow .ai-ticket-mockup {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    z-index: 10;
    max-width: 320px;
    width: calc(100% - 48px);
    min-height: clamp(340px, 52vw, 420px);
    transition: all 0.5s var(--ai-ease);
}

.ai-platform-card--overflow:hover .ai-platform-card__visual-overflow .ai-chat-mockup,
.ai-platform-card--overflow:hover .ai-platform-card__visual-overflow .ai-ticket-mockup {
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Enhanced mockup shadows */
.ai-platform-card__visual-overflow .ai-chat-mockup,
.ai-platform-card__visual-overflow .ai-ticket-mockup {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.15);
}




.ai-platform-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(13, 148, 136, 0.15), transparent 70%);
    opacity: 0.5;
}

/* Chat Mockup */
.ai-chat-mockup {
    position: relative;
    width: 100%;
    max-width: 280px;
    min-height: clamp(340px, 52vw, 420px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ai-chat-mockup__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bss-navy-600);
}

.ai-chat-mockup__avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bss-navy-550);
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
}

.ai-chat-mockup__info {
    flex: 1;
}

.ai-chat-mockup__name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.ai-chat-mockup__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bss-navy-300);
}

.ai-chat-mockup__dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.ai-chat-mockup__messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 160px;
    flex: 1;
}

.ai-chat-mockup__msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 90%;
}

.ai-chat-mockup__msg--user {
    background: var(--bss-navy-100);
    color: var(--bss-navy-700);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-mockup__msg--ai {
    background: var(--bss-navy-550);
    color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-chat-mockup__chart {
    height: 40px;
    margin-top: 8px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 20%, 
        rgba(255,255,255,0.5) 40%, 
        rgba(255,255,255,0.3) 60%, 
        rgba(255,255,255,0.4) 80%, 
        rgba(255,255,255,0.2) 100%
    );
    border-radius: 6px;
}

.ai-chat-mockup__input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f1f5f9;
    font-size: 13px;
    color: #94a3b8;
}

.ai-chat-mockup__input i:last-child {
    color: var(--bss-navy-550);
    margin-left: auto;
}

/* Ticket Mockup */
.ai-ticket-mockup {
    position: relative;
    width: 100%;
    max-width: 280px;
    min-height: clamp(340px, 52vw, 420px);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ai-ticket-mockup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bss-navy-600);
}

.ai-ticket-mockup__badge {
    padding: 6px 12px;
    background: var(--bss-navy-550);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.ai-ticket-mockup__id {
    font-size: 12px;
    color: var(--bss-navy-300);
}

.ai-ticket-mockup__body {
    padding: 20px;
    flex: 1;
}

.ai-ticket-mockup__issue {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 16px;
}

.ai-ticket-mockup__issue i {
    color: #f59e0b;
}

.ai-ticket-mockup__issue span {
    font-size: 13px;
    font-weight: 500;
    color: var(--bss-navy-700);
}

.ai-ticket-mockup__solution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-ticket-mockup__step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--bss-navy-600);
}

.ai-ticket-mockup__step-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bss-navy-550);
    color: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.ai-ticket-mockup__footer {
    padding: 14px 20px;
    background: rgba(13, 148, 136, 0.08);
}

.ai-ticket-mockup__confidence {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-teal);
}

/* AI Search Mockup Variant */
.ai-ticket-mockup--search .ai-ticket-mockup__body {
    padding: 16px;
}

.ai-ticket-mockup__search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ai-white);
    border: 2px solid var(--bss-navy-200);
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--bss-navy-600);
    font-style: italic;
}

.ai-ticket-mockup__search-input i {
    color: var(--ai-teal);
}

.ai-ticket-mockup__results {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-ticket-mockup__result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--ai-gray-50);
    border-radius: 8px;
    font-size: 12px;
    color: var(--bss-navy-600);
}

.ai-ticket-mockup__result-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ai-ticket-mockup__result-badge.urgent {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ai-ticket-mockup__result-badge.high {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.ai-ticket-mockup__result-badge.normal {
    background: rgba(13, 148, 136, 0.1);
    color: var(--ai-teal);
}

/* ========================================
   SECTION STYLES
======================================== */
.ai-section {
    padding: 100px 24px;
}

.ai-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.ai-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-section__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: var(--bss-navy-100);
    border-radius: 20px;
    font-size: 32px;
    color: var(--bss-navy-600);
}

.ai-section--erp {
    background: #ffffff;
}

.ai-section--itsm {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* ========================================
   STICKY SCROLL SECTION
   Left: content (scrolls). Right: visual (sticky until content ends).
   No scroll-jacking, no JS. Plain CSS position: sticky.
======================================== */

/* Critical: sticky only works when NO ancestor has overflow !== visible */
.isoft-ai-portfolio:has(.ai-sticky-scroll-section) {
    overflow: visible !important;
}

.ai-sticky-scroll-section,
.ai-sticky-scroll-section.ai-section--erp,
.ai-sticky-scroll-section .ai-section-container,
.ai-sticky-scroll-section .ai-sticky-scroll-section__container,
.ai-sticky-scroll-section [class*="section-container"] {
    overflow: visible !important;
}

.ai-bento-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    overflow: visible;
}

/* Left column: textual content – scrolls with page */
.ai-bento__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

/* Right column: visual – stays in view until left content scrolls past */
.ai-bento__visual-col {
    position: -webkit-sticky;
    position: sticky;
    top: var(--ai-sticky-top, 24px);
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - 2 * var(--ai-sticky-top, 24px));
}

.ai-bento__visual-col .ai-bento__card--visual {
    min-height: 420px;
    height: 100%;
    max-height: inherit;
}

/* Legacy bento grid (if used elsewhere) */
.ai-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.ai-bento__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);;
}

.ai-bento__card:hover {
    border-color: var(--bss-navy-550);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.1);
    transform: translateY(-4px);
}

.ai-bento__card--large {
    grid-column: span 7;
}

.ai-bento__card--medium {
    grid-column: span 5;
}

.ai-bento__card--small {
    grid-column: span 5;
}

.ai-bento__card--visual {
    grid-column: span 7;
    padding: 0;
    overflow: hidden;
    background: var(--bss-navy-gradient-dark);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
}

.ai-bento__card--visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(95, 127, 168, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(26, 53, 86, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.ai-bento__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-bento__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--bss-navy-300);
    text-align: center;
    padding: 40px;
}

.ai-bento__placeholder-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.ai-bento__placeholder-icon i {
    font-size: 32px;
    color: var(--bss-navy-300);
}

.ai-bento__placeholder span {
    font-size: 16px;
    font-weight: 600;
    color: var(--bss-navy-200);
}

.ai-bento__placeholder small {
    font-size: 13px;
    color: var(--bss-navy-400);
}

/* ========================================
   GALLERY SHOWCASE - Navy Theme
======================================== */
.ai-gallery-showcase {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 720px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
}

.ai-gallery-showcase__inner {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 0;
    perspective: 1000px;
}

/* Gallery Card - Stacked Design */
.ai-gallery-card {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ai-gallery-card--1 {
    z-index: 3;
    transform: translateY(0) scale(1);
}

.ai-gallery-card--2 {
    z-index: 2;
    transform: translateY(20px) translateX(15px) scale(0.95);
    opacity: 0.7;
}

.ai-gallery-card--3 {
    z-index: 1;
    transform: translateY(40px) translateX(30px) scale(0.9);
    opacity: 0.4;
}

/* Hover Effects - Spread Cards */
.ai-gallery-showcase:hover .ai-gallery-card--1 {
    transform: translateY(-10px) translateX(-20px) rotate(-3deg) scale(1);
}

.ai-gallery-showcase:hover .ai-gallery-card--2 {
    transform: translateY(5px) translateX(20px) rotate(2deg) scale(0.98);
    opacity: 0.85;
}

.ai-gallery-showcase:hover .ai-gallery-card--3 {
    transform: translateY(25px) translateX(50px) rotate(5deg) scale(0.95);
    opacity: 0.6;
}

/* Active State for Card Navigation */
.ai-gallery-card.active {
    z-index: 10 !important;
    transform: translateY(0) scale(1.02) !important;
    opacity: 1 !important;
}

.ai-gallery-card.behind {
    transform: translateY(30px) translateX(25px) scale(0.92) !important;
    opacity: 0.5 !important;
}

/* Card Frame - Browser Window Style */
.ai-gallery-card__frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ai-gallery-card__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bss-navy-600);
    border-bottom: 1px solid var(--bss-navy-500);
}


.ai-gallery-card__title {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--bss-navy-200);
    text-align: center;
    letter-spacing: 0.02em;
}

.ai-gallery-card__content {
    flex: 1;
    width: 100%;
    min-height: 0;
    background: var(--bss-navy-100);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.ai-gallery-card__content img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-gallery-card:hover .ai-gallery-card__content img {
    transform: scale(1.05);
}

/* Card Glow Effect */
.ai-gallery-card__glow {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        var(--bss-navy-400),
        var(--bss-navy-500),
        var(--bss-navy-600),
        var(--bss-navy-400)
    );
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: glow-shift 4s ease infinite;
}

.ai-gallery-card:hover .ai-gallery-card__glow {
    opacity: 1;
}

@keyframes glow-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation Dots */
.ai-gallery-showcase__nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(14, 32, 54, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-gallery-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bss-navy-400);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ai-gallery-nav-dot:hover {
    background: var(--bss-navy-300);
    transform: scale(1.2);
}

.ai-gallery-nav-dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* Badge */
.ai-gallery-showcase__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(14, 32, 54, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 500;
    color: var(--bss-navy-100);
}

.ai-gallery-showcase__badge i {
    color: var(--bss-navy-300);
}

/* Single Image Fallback - When only 1 image */
.ai-gallery-showcase__inner:has(.ai-gallery-card:only-child) .ai-gallery-card {
    transform: none !important;
}

.ai-gallery-showcase__inner:has(.ai-gallery-card:only-child) .ai-gallery-card:hover {
    transform: translateY(-5px) !important;
}

.ai-bento__card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ai-bento__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bss-navy-100);
    border-radius: 12px;
    color: var(--bss-navy-600);
    font-size: 20px;
}

.ai-bento__card-icon--accent {
    background: linear-gradient(135deg, var(--bss-navy-550), var(--bss-navy-450));
    color: #ffffff;
}

.ai-bento__card-icon--teal {
    background: rgba(13, 148, 136, 0.1);
    color: var(--bss-navy-550);
}

.ai-bento__card-title {
    font-family: var(--ai-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bss-navy-700);
    margin: 0;
}

.ai-bento__card-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Query Examples */
.ai-query-examples {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.ai-query-example {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.ai-query-example__q,
.ai-query-example__a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.ai-query-example__q {
    color: var(--bss-navy-600);
    margin-bottom: 10px;
}

.ai-query-example__a {
    color: var(--bss-navy-550);
}

.ai-query-example i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
}

.ai-query-example__q i {
    background: var(--bss-navy-100);
    color: var(--bss-navy-500);
}

.ai-query-example__a i {
    background: rgba(13, 148, 136, 0.1);
}

/* Modules Tags */
.ai-bento__card-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-bento__module {
    padding: 6px 14px;
    background: var(--bss-navy-50);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--bss-navy-600);
}

/* Actions List */
.ai-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.ai-action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
}

.ai-action-item__name {
    font-weight: 600;
    color: var(--bss-navy-700);
    font-size: 14px;
}

.ai-action-item__params {
    font-size: 12px;
    color: #94a3b8;
}

.ai-bento__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bss-navy-550);
}

/* PDF Demo */
.ai-pdf-demo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.ai-pdf-demo__file,
.ai-pdf-demo__result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    font-size: 13px;
}

.ai-pdf-demo__file {
    color: var(--bss-navy-600);
    border: 1px dashed #cbd5e1;
}

.ai-pdf-demo__file i {
    color: #ef4444;
}

.ai-pdf-demo__arrow i {
    color: var(--bss-navy-550);
}

.ai-pdf-demo__result {
    color: var(--bss-navy-550);
    background: rgba(13, 148, 136, 0.1);
}

/* ========================================
   ITSM GRID
======================================== */
.ai-itsm-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.ai-itsm-feature {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);;
}

.ai-itsm-feature:hover {
    border-color: var(--bss-navy-550);
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.08);
}

.ai-itsm-feature--main {
    grid-column: span 7;
    grid-row: span 2;
}

.ai-itsm-feature:not(.ai-itsm-feature--main):not(.ai-itsm-feature--outcomes) {
    grid-column: span 5;
}

.ai-itsm-feature--outcomes {
    grid-column: span 12;
    background: var(--bss-navy-gradient-dark);
    border: none;
}

.ai-itsm-feature--outcomes:hover {
    box-shadow: 0 20px 60px rgba(16, 42, 67, 0.2);
}

.ai-itsm-feature__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--ai-teal), var(--ai-teal-light));
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bss-navy-600);
    margin-bottom: 20px;
}

.ai-itsm-feature__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bss-navy-100);
    border-radius: 14px;
    font-size: 24px;
    color: var(--bss-navy-600);
    margin-bottom: 20px;
}

.ai-itsm-feature__icon--shield {
    background: rgba(13, 148, 136, 0.1);
    color: var(--ai-teal);
}

.ai-itsm-feature__title {
    font-family: var(--ai-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bss-navy-700);
    margin: 0 0 12px;
}

.ai-itsm-feature--outcomes .ai-itsm-feature__title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
}

.ai-itsm-feature__desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ai-itsm-feature__subtitle {
    font-size: 1.1rem;
    color: var(--bss-navy-300);
    text-align: center;
    margin: -20px 0 32px;
}

/* Benefits List */
.ai-itsm-feature__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.ai-benefit-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);;
}

.ai-benefit-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
}

.ai-benefit-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bss-navy-550), var(--bss-navy-450));
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    flex-shrink: 0;
}

.ai-benefit-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-benefit-item strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--bss-navy-700);
}

.ai-benefit-item span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Analytics Features */
.ai-analytics-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-analytics-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--bss-navy-600);
}

.ai-analytics-features i {
    color: var(--bss-navy-550);
    font-size: 12px;
}

/* Solution Card */
.ai-solution-card {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
}

.ai-solution-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bss-navy-100);
}

.ai-solution-card__type {
    font-weight: 600;
    font-size: 14px;
    color: var(--bss-navy-700);
}

.ai-solution-card__score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bss-navy-550);
}

.ai-solution-card__steps {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-solution-step {
    display: flex;
    gap: 16px;
}

.ai-solution-step__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    color: var(--bss-navy-550);
    flex-shrink: 0;
}

.ai-solution-step__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ai-solution-step__content strong {
    font-size: 14px;
    color: var(--bss-navy-700);
}

.ai-solution-step__content span {
    font-size: 13px;
    color: #64748b;
}

.ai-solution-card__resources {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

.ai-solution-card__resource {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border-radius: 6px;
    font-size: 12px;
    color: var(--bss-navy-600);
}

/* Analytics Example */
.ai-analytics-example {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}

.ai-analytics-example__query {
    padding: 14px 18px;
    background: var(--bss-navy-100);
    border-radius: 10px;
    font-size: 14px;
    font-style: italic;
    color: var(--bss-navy-600);
    margin-bottom: 16px;
}

.ai-analytics-example__result {
    display: flex;
    gap: 20px;
}

.ai-analytics-example__stat {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
}

.ai-analytics-example__value {
    display: block;
    font-family: var(--ai-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ai-teal);
}

.ai-analytics-example__label {
    font-size: 13px;
    color: #64748b;
}

/* Trust List */
.ai-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-trust-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--bss-navy-600);
}

.ai-trust-list i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 8px;
    color: var(--ai-teal);
    font-size: 14px;
}

/* ========================================
   AI SEARCH DEMO (ITSM Section)
======================================== */
.ai-search-demo {
    margin-top: 24px;
    background: var(--ai-gray-50);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--ai-gray-200);
}

.ai-search-demo__input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--ai-white);
    border: 2px solid var(--bss-navy-200);
    border-radius: 12px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.ai-search-demo__input:hover {
    border-color: var(--ai-teal);
}

.ai-search-demo__input i {
    color: var(--ai-teal);
    font-size: 18px;
}

.ai-search-demo__placeholder {
    color: var(--ai-gray-400);
    font-size: 14px;
}

.ai-search-demo__examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-search-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--ai-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ai-search-example:hover {
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
    transform: translateX(4px);
}

.ai-search-example__query {
    font-size: 14px;
    color: var(--bss-navy-600);
    font-style: italic;
}

.ai-search-example__result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-teal);
}

.ai-search-example__result i {
    font-size: 12px;
}

/* Search Criteria Grid */
.ai-search-criteria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.ai-search-criteria__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ai-gray-50);
    border-radius: 10px;
    font-size: 13px;
    color: var(--bss-navy-600);
    transition: all 0.3s ease;
}

.ai-search-criteria__item:hover {
    background: var(--ai-white);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.08);
}

.ai-search-criteria__item i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bss-navy-100);
    border-radius: 6px;
    color: var(--bss-navy-500);
    font-size: 12px;
}

/* Outcomes */
.ai-outcomes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ai-outcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.ai-outcome__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--bss-navy-450);
    font-size: 24px;
}

.ai-outcome span {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.ai-outcome small {
    font-size: 12px;
    color: var(--bss-navy-400);
    font-weight: 400;
    margin-top: 4px;
}



.ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--ai-font-heading);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);;
    cursor: pointer;
    border: none;
}

.ai-btn i {
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);;
}

.ai-btn--white {
    background: #ffffff;
    color: var(--bss-navy-700);
}

.ai-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ai-btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ai-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}



@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1024px) {

    
    .isoft-ai-floating-card.card-1 {
        left: 5%;
    }
    
    .isoft-ai-floating-card.card-2 {
        right: 5%;
    }
    
    .ai-platform-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ai-platform-card__inner {
        grid-template-columns: 1fr;
    }
    
    .ai-platform-card__visual {
        min-height: 280px;
    }
    
    /* Overflow cards tablet */
    .ai-platform-cards--overflow {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 100px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ai-platform-card__main {
        padding: 32px 28px 24px;
    }
    
    .ai-platform-card__visual-overflow {
        min-height: 160px;
        padding: 25px 25px 90px;
    }
    
    .ai-platform-card__visual-overflow .ai-chat-mockup,
    .ai-platform-card__visual-overflow .ai-ticket-mockup {
        max-width: 300px;
        width: calc(100% - 40px);
        top: 25px;
    }
    
    .ai-platform-card__features--inline {
        gap: 8px;
    }
    
    /* Sticky section: stack vertically, content first, no sticky */
    .ai-bento-split {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }
    
    .ai-bento__visual-col {
        position: static;
        max-height: none;
    }
    
    .ai-bento__visual-col .ai-bento__card--visual {
        min-height: 360px;
    }
    
    .ai-bento {
        grid-template-columns: 1fr;
    }
    
    .ai-bento__card--large,
    .ai-bento__card--medium,
    .ai-bento__card--small,
    .ai-bento__card--visual {
        grid-column: span 1;
    }
    
    .ai-itsm-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Showcase Responsive - full card, no fixed size */
    .ai-gallery-showcase {
        padding: 20px;
        min-height: 380px;
    }
    
    .ai-gallery-showcase__inner {
        flex: 1;
        min-height: 0;
    }
    
    .ai-bento__card--visual {
        min-height: 380px;
    }
    
}

@media (max-width: 768px) {
    /* Sticky section mobile: tighter spacing */
    .ai-bento-split {
        gap: 32px;
    }
    
    .ai-bento__content {
        gap: 24px;
    }
    
    .ai-bento__visual-col .ai-bento__card--visual {
        min-height: 320px;
    }

    .isoft-ai-floating-card {
        display: none;
    }
    
    /* Hero layout: stack text and image on mobile */
    .bss-ai-hero .bss-ai-container {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }
    
    .isoft-ai-main-visual {
        padding: 16px;
    }

    
    .isoft-ai-metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .isoft-ai-metric-card {
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .isoft-ai-metric-card:last-child {
        border-bottom: none;
    }
    
    .ai-platforms {
        padding: 48px 16px 64px;
    }
    
    .ai-section {
        padding: 48px 16px;
    }
    
    .ai-platform-card__front {
        padding: 28px;
    }
    
    .ai-platform-card__visual {
        padding: 24px;
    }
    
    /* Overflow cards mobile */
    .ai-platform-cards--overflow {
        gap: 36px;
        padding-bottom: 80px;
        max-width: 100%;
    }
    
    .ai-platform-card__main {
        padding: 20px 16px 18px;
        border-radius: 20px 20px 0 0;
    }
    
    .ai-platform-card__header-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .ai-platform-card__header-row .ai-platform-card__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .ai-platform-card__titles .ai-platform-card__title {
        font-size: 1.15rem;
        line-height: 1.3;
    }
    
    .ai-platform-card__visual-overflow {
        min-height: auto;
        padding: 16px 12px 20px;
        border-radius: 0 0 20px 20px;
    }
    
    .ai-platform-card__visual-overflow .ai-chat-mockup,
    .ai-platform-card__visual-overflow .ai-ticket-mockup {
        position: static;
        transform: none;
        max-width: 100%;
        width: 100%;
        min-height: auto;
        margin: 0 auto;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    }
    
    .ai-platform-card--overflow:hover .ai-platform-card__visual-overflow .ai-chat-mockup,
    .ai-platform-card--overflow:hover .ai-platform-card__visual-overflow .ai-ticket-mockup {
        transform: translateX(-50%) translateY(-4px);
    }
    
    .ai-platform-card__features--inline .ai-platform-card__feature {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .ai-chat-mockup,
    .ai-ticket-mockup {
        max-width: 260px;
    }
    
    .ai-outcomes {
        gap: 24px;
    }
    
    .ai-outcome {
        flex: 1;
        min-width: 120px;
    }
    
    .ai-itsm-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .ai-itsm-feature {
        padding: 24px 20px;
        width: 100%;
    }
    
    .ai-itsm-feature__title {
        font-size: 1.2rem;
    }
    
    .ai-itsm-feature__desc,
    .ai-itsm-feature__subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .ai-itsm-feature__benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .ai-benefit-item {
        padding: 12px;
    }
    
    /* Ensure ITSM \"Search by Anything\" chips stack on mobile */
    .ai-search-criteria {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .ai-pdf-demo {
        flex-direction: column;
    }
    
    .ai-analytics-example__result {
        flex-direction: column;
        gap: 12px;
    }
    
    .ai-itsm-feature__benefits {
        grid-template-columns: 1fr;
    }
    
    /* Search Demo Mobile */
    .ai-search-demo {
        padding: 16px;
    }
    
    .ai-search-demo__input {
        padding: 12px 16px;
    }
    
    .ai-search-example {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .ai-search-criteria {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Showcase Mobile - full card */
    .ai-gallery-showcase {
        padding: 16px;
        min-height: 340px;
    }
    
    .ai-gallery-showcase__inner {
        flex: 1;
        min-height: 0;
    }
    
    .ai-bento__card--visual {
        min-height: 340px;
    }
    
    .ai-gallery-card--2,
    .ai-gallery-card--3 {
        display: none;
    }
    
    .ai-gallery-showcase:hover .ai-gallery-card--1 {
        transform: translateY(-5px) scale(1);
    }
    
    .ai-gallery-card__header {
        padding: 10px 14px;
    }
    
    .ai-gallery-card__title {
        font-size: 11px;
    }
    
    .ai-gallery-showcase__badge {
        top: 12px;
        right: 12px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .ai-gallery-showcase__nav {
        padding: 6px 12px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    /* Sticky section small mobile */
    .ai-bento-split {
        gap: 28px;
    }
    
    .ai-bento__content {
        gap: 20px;
    }
    
    .ai-bento__visual-col .ai-bento__card--visual {
        min-height: 280px;
    }

    .bss-hero-title {
        font-size: 1.8rem;
    }
    
    .isoft-tagline {
        font-size: 0.95rem;
    }
    
    .isoft-ai-description {
        font-size: 0.9rem;
    }
    
    .bss-ai-section-title {
        font-size: 1.6rem;
    }
    
    .ai-platform-card__title {
        font-size: 1.35rem;
    }
    
    .ai-section-title {
        font-size: 1.5rem;
    }
    
    .ai-section-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .ai-bento__card,
    .ai-itsm-feature {
        padding: 20px;
    }
    
    .ai-cta {
        padding: 60px 20px;
    }
    
    .ai-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}
