/* ============================================
   Agentic AI Page Styles
   Dark theme matching Figma design
   ============================================ */

:root {
    --ai-bg: #050A14;
    --ai-bg-2: #081225;
    --ai-card: #171D28;
    --ai-primary: #045DE8;
    --ai-white: #FFFFFF;
    --ai-white-secondary: #D0D0D0;
    --ai-text-muted: #D2D2D2;
    --ai-text-light: #DCDCDC;
    --ai-stroke: rgba(255, 255, 255, 0.1);
    --ai-stroke-active: rgba(255, 255, 255, 0.25);
}

/* Body override for AI page */
.ai-page {
    background: var(--ai-bg);
    color: var(--ai-white);
}

/* ============================================
   Header Overrides for Dark Theme
   ============================================ */
.ai-page .header-banner {
    background: var(--ai-bg);
}

.ai-page .header-banner.dropdown-open {
    background: var(--ai-bg);
}

.ai-page .logo-img {
    filter: brightness(0) invert(1);
}

.ai-page .nav-link-item {
    color: var(--ai-white-secondary);
}

.ai-page .nav-link-item:hover {
    color: var(--ai-white);
}

.ai-page .agentic-text {
    background: linear-gradient(135deg, #3985FF, #7BB3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-page .mobile-menu-toggle span {
    background: var(--ai-white);
}

.ai-page .mobile-menu-backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.ai-page .mobile-nav {
    background: var(--ai-bg);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

.ai-page .mobile-nav-header {
    border-bottom-color: var(--ai-stroke);
    background: var(--ai-bg);
}

.ai-page .mobile-nav-logo {
    filter: brightness(0) invert(1);
}

.ai-page .mobile-nav-link {
    color: var(--ai-white-secondary);
}

.ai-page .mobile-nav-link:hover,
.ai-page .mobile-nav-link:active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ai-white);
}

.ai-page .mobile-nav-link .bi-chevron-down {
    color: rgba(255, 255, 255, 0.4);
}

.ai-page .mobile-nav-link.active .bi-chevron-down {
    color: var(--ai-primary);
}

.ai-page .mobile-accordion-content {
    background: var(--ai-bg-2);
}

.ai-page .mobile-submenu-link {
    color: var(--ai-white-secondary);
}

.ai-page .mobile-submenu-link::before {
    background: rgba(255, 255, 255, 0.2);
}

.ai-page .mobile-submenu-link:hover,
.ai-page .mobile-submenu-link:active {
    color: var(--ai-white);
}

.ai-page .mobile-submenu-link:hover::before,
.ai-page .mobile-submenu-link:active::before {
    background: var(--ai-primary);
}

.ai-page .mobile-sub-accordion-toggle:hover,
.ai-page .mobile-sub-accordion-toggle:active {
    background: rgba(255, 255, 255, 0.04);
}

.ai-page .mobile-sub-accordion-link {
    color: var(--ai-white-secondary);
}

.ai-page .mobile-sub-accordion-toggle:hover .mobile-sub-accordion-link,
.ai-page .mobile-sub-accordion-toggle.active .mobile-sub-accordion-link {
    color: var(--ai-white);
}

.ai-page .mobile-sub-accordion-toggle .bi-chevron-down {
    color: rgba(255, 255, 255, 0.4);
}

.ai-page .mobile-sub-accordion-toggle.active .bi-chevron-down {
    color: var(--ai-primary);
}

.ai-page .mobile-sub-accordion-content {
    background: rgba(255, 255, 255, 0.03);
}

.ai-page .mobile-sub-accordion {
    border-bottom-color: var(--ai-stroke);
}

.ai-page .mobile-deep-link {
    color: rgba(255, 255, 255, 0.5);
}

.ai-page .mobile-deep-link::before {
    background: rgba(255, 255, 255, 0.2);
}

.ai-page .mobile-deep-link:hover,
.ai-page .mobile-deep-link:active {
    color: var(--ai-white);
    background: rgba(255, 255, 255, 0.04);
}

.ai-page .mobile-deep-link:hover::before,
.ai-page .mobile-deep-link:active::before {
    background: var(--ai-primary);
}

.ai-page .mobile-nav-footer {
    border-top-color: var(--ai-stroke);
    background: var(--ai-bg);
}

.ai-page .mobile-nav-cta {
    background: linear-gradient(135deg, #045DE8, #3985FF);
}

/* Dropdown Dark Background with original active/hover & card colors */
.ai-page .nav-dropdown-menu {
    background: var(--ai-card);
    border: 1px solid var(--ai-stroke);
}

.ai-page .dropdown-content {
    background: var(--ai-card);
}

.ai-page .dropdown-item {
    color: var(--ai-white-secondary);
}

.ai-page .dropdown-item:hover,
.ai-page .dropdown-item.active {
    color: var(--primary-color);
}

.ai-page .dropdown-column-left .dropdown-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ai-page .dropdown-divider {
    background: var(--ai-stroke);
}

.ai-page .nav-dropdown-small {
    background: var(--ai-card);
    border: 1px solid var(--ai-stroke);
}

.ai-page .dropdown-small-content {
    background: var(--ai-card);
}

.ai-page .dropdown-small-item {
    color: var(--ai-white-secondary);
}

.ai-page .dropdown-small-item:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Section Tag (Pill/Badge)
   ============================================ */
.ai-section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--ai-text-muted);
    line-height: 20px;
    position: relative;
    box-shadow: inset 0px 4px 24px 0px rgba(4, 93, 232, 0.3);
}

/* ============================================
   Primary CTA Button
   ============================================ */
.ai-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--ai-white);
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid var(--ai-primary, #045DE8);
    background: radial-gradient(88.93% 251.5% at 100% 226.04%, #A6C0DA 0%, #CCE06E 43.75%, #0F4DAE 100%);
    box-shadow: 0 1px 2px 0 rgba(10, 13, 18, 0.05);
}

.ai-btn-primary:hover {
    background: radial-gradient(174.93% 201.5% at 100% 226.04%, #A6C0DA 0%, #CCE06E 43.75%, #0F4DAE 100%);
    color: var(--ai-white);
    transform: translateY(-1px);
}

.ai-btn-primary .btn-arrow {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.ai-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: var(--ai-white);
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s ease;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: #050D1B;
}

.ai-btn-secondary:hover {
    background: radial-gradient(174.93% 201.5% at 100% 226.04%, #A6C0DA 0%, #CCE06E 43.75%, #0F4DAE 100%);
    color: var(--ai-white);
    transform: translateY(-1px);
}

.ai-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-white);
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ai-btn-link:hover {
    color: #3985FF;
}

.ai-btn-link .btn-arrow {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ============================================
   Hero Section
   ============================================ */
.ai-hero-section {
    position: relative;
    width: 100%;
    min-height: 770px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: #050A14;
}

.ai-hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.ai-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(136.92deg, rgba(186, 210, 122, 0.97) 31.81%, rgba(4, 93, 232, 0.97) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.ai-hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

.ai-hero-slider {
    width: 100%;
    max-width: 912px;
    overflow: hidden;
}

.ai-hero-slides {
    position: relative;
    width: 100%;
    min-height: 340px;
}

.ai-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.ai-hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.ai-hero-slide.prev {
    transform: translateX(-40px);
}

.ai-hero-nav-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
    z-index: 3;
}

.ai-hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.ai-hero-pagination {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 60px;
}

.ai-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ai-hero-dot.active {
    background: #045DE8;
    transform: scale(1.2);
}

.ai-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 912px;
}

.ai-hero-content .ai-section-tag {
    margin-bottom: 24px;
}

.ai-hero-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 67px;
    letter-spacing: -1px;
    text-align: center;
    background: linear-gradient(to bottom, #FFFFFF 45%, #045DE8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.ai-hero-subtitle {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: var(--ai-white-secondary);
    max-width: 586px;
    margin: 0 auto 56px;
}

.ai-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Our Platform Section
   ============================================ */
.ai-platform-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--ai-stroke);
}

.ai-platform-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.ai-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.ai-section-header .ai-section-tag {
    margin-bottom: 16px;
}

.ai-section-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.25;
    color: var(--ai-white);
}

.ai-section-title strong {
    font-weight: 500;
}

.ai-section-subtitle {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--ai-white-secondary);
    max-width: 744px;
    margin: 10px auto 0;
}

/* Platform Cards Grid */
.ai-platform-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.ai-platform-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--ai-stroke);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                flex 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s ease,
                box-shadow 0.4s ease;
}

.ai-platform-card--omnihub {
    border-radius: 16px;
    border: 1px solid var(--AI-Stroke, rgba(255, 255, 255, 0.10));
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.27) 0%, rgba(0, 0, 0, 0.27) 100%), radial-gradient(109.98% 168.73% at -22% -52.59%, #A6C0DA 0%, #CCE06E 39.05%, #0F4DAE 100%);
    background-blend-mode: plus-darker, normal;
    box-shadow: 0 4px 12px 0 rgba(255, 255, 255, 0.10), 0 0 24px 0 rgba(255, 255, 255, 0.25) inset;
}

.ai-platform-card--omni9 {
    background: var(--ai-card);
}

/* Default state: OmniHub expanded, Omni9 collapsed */
.ai-platform-card.active {
    flex: 2;
    flex-direction: row;
    gap: 24px;
    box-shadow: 0px 4px 12px rgba(255,255,255,0.1);
}
.ai-platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 24px rgba(255,255,255,0.25);
    pointer-events: none;
}
.ai-platform-card--omni9.active::after {
    box-shadow: inset 0 0 36px rgba(152,124,255,0.24);
}

.ai-platform-card:not(.active) {
    flex: 1;
    flex-direction: column;
}

/* Card content area */
.ai-platform-card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
    width: 100%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-platform-card.active .ai-platform-card-content {
    width: 387px;
}

.ai-platform-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ai-platform-card-badge {
    flex-shrink: 0;
}

.ai-card-icon {
    width: 54px;
    height: 54px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 120px;
    background: radial-gradient(261.44% 126.41% at 103.7% 137.04%, #A6C0DA 0%, #CCE06E 39.05%, #0F4DAE 100%);
}

.ai-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.ai-card-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: var(--ai-white);
    line-height: normal;
    margin: 0;
}

.ai-card-desc {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
    color: var(--ai-white-secondary);
    margin: 0;
}
.ai-platform-card--omni9:not(.active) .ai-card-desc {
    color: #d0d0d0;
}

/* Image area */
.ai-platform-card-image {
    width: 359px;
    height: 359px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    display: none;
}
.ai-platform-card.active .ai-platform-card-image {
    display: block;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.ai-platform-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Read more link */
.ai-platform-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--ai-white);
    text-decoration: none;
    transition: gap 0.2s ease;
}
.ai-platform-read-more:hover {
    gap: 8px;
}
.ai-platform-read-more i {
    font-size: 14px;
}

/* Checklist Items */
.ai-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-checklist-item .check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 1.2px 1.2px rgba(4, 93, 232, 0.15)) drop-shadow(0 2.4px 2.4px rgba(4, 93, 232, 0.13)) drop-shadow(0 6px 3.6px rgba(4, 93, 232, 0.07)) drop-shadow(0 9.6px 3.6px rgba(4, 93, 232, 0.02)) drop-shadow(0 15.6px 4.8px rgba(4, 93, 232, 0.00));
}

.ai-checklist-item span {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25.6px;
    color: var(--ai-white);
}

/* ============================================
   See Agentic AI in Action (Tabs Section)
   ============================================ */
.ai-action-section {
    padding: 80px 0;
}

.ai-action-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Tabs */
.ai-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #121620;
    border-radius: 24px;
    width: 100%;
    max-width: fit-content;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

.ai-tab {
    padding: 16px 5px;
    border-radius: 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--ai-white);
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    white-space: nowrap;
    min-width: 207px;
}

.ai-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ai-tab.active {
    background: var(--ai-primary);
    font-weight: 600;
    box-shadow: inset 0px 9px 18px 0px rgba(255, 255, 255, 0.25);
}

/* Tab Content */
.ai-tab-content {
    display: none;
    background: var(--ai-card);
    border: 1px solid var(--ai-stroke);
    border-radius: 16px;
    padding: 24px;
    gap: 40px;
    align-items: stretch;
}

.ai-tab-content.active {
    display: flex;
}

.ai-tab-left {
    flex: 0 0 451px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
}

.ai-tab-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    color: var(--ai-white);
}

.ai-tab-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-tab-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-tab-checklist-item .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 1.2px 1.2px rgba(4, 93, 232, 0.15)) drop-shadow(0 2.4px 2.4px rgba(4, 93, 232, 0.13)) drop-shadow(0 6px 3.6px rgba(4, 93, 232, 0.07)) drop-shadow(0 9.6px 3.6px rgba(4, 93, 232, 0.02)) drop-shadow(0 15.6px 4.8px rgba(4, 93, 232, 0.00));
}

.ai-tab-checklist-item span {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    color: var(--ai-text-light);
}

/* Result Box */
.ai-result-box {
    padding: 14px 16px;
    width: 100%;
    border-radius: 16px;
    background: linear-gradient(90deg, #045DE8 0%, rgba(4, 93, 232, 0.20) 100%);
}

.ai-result-box .result-label {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--ai-white-secondary);
    margin-bottom: 4px;
}

.ai-result-box .result-value {
    font-family: 'Lexend', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: var(--ai-white);
}

.ai-tab-right {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.ai-tab-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    max-height: 300px;
    max-width: 100%;
}

/* ============================================
   If This Sounds Familiar Section
   ============================================ */
/* Grid wrapper spanning familiar + case studies */
.ai-grid-wrapper {
    position: relative;
    overflow: hidden;
}

.ai-familiar-section {
    padding: 80px 0;
    position: relative;
}

.ai-familiar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ai-familiar-cards {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
}

.ai-familiar-card {
    width: calc(25% - 12px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--ai-stroke);
    background: var(--ai-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
    z-index: 1;
}

.ai-familiar-card:hover {
    border-color: var(--ai-primary);
    background: radial-gradient(139.67% 110.37% at 48.38% 110.37%, #045DE8 0%, #171D28 35.07%);
    transform: translateY(-4px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08), 0px 8px 16px rgba(0, 0, 0, 0.05);
}

.ai-familiar-card-text {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    color: var(--ai-white);
    line-height: 33px;
    margin-bottom: 0px;
}

.ai-familiar-card-text span {
    font-weight: 300;
}

.ai-familiar-card-text strong {
    font-weight: 600;
}

.ai-familiar-bottom-text {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    color: #F6F9FF;
    text-align: center;
}

/* ============================================
   Case Studies Section - Dark Theme Overrides
   Uses same HTML structure & classes as index page
   for carousel drag/scroll functionality
   ============================================ */
.ai-case-studies-dark.case-studies-section {
    background: transparent;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(32.77% 30.81% at 50% 102.34%, #CBDF71 3.85%, #045DE8 30.77%, rgba(5, 10, 20, 0.00) 100%);
}

.btn-primary-case {
    padding: 11px 20px;
}

.ai-case-studies-dark .case-studies-header {
    text-align: center;
    gap: 16px;
}

.ai-case-studies-dark .case-study-card {
    background: var(--ai-card);
    border: 1px solid var(--ai-stroke);
}

.ai-case-studies-dark .case-study-card:hover {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: radial-gradient(43.89% 12.42% at 47.86% 96.64%, #0D459F 0%, #103A7E 27.92%, #171D28 100%), #171D28;
}

.ai-case-studies-dark .case-study-category {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0px 4px 24px 0px rgba(4, 93, 232, 0.3);
    color: var(--ai-text-muted);
    border-color: transparent;
}

.ai-case-studies-dark .case-study-name {
    color: var(--ai-white);
}

.ai-case-studies-dark .case-study-desc {
    color: var(--ai-white-secondary);
}

.ai-case-studies-dark .metric-value {
    color: var(--ai-white);
}

.ai-case-studies-dark .metric-label {
    color: var(--ai-white-secondary);
}

.ai-case-studies-dark .case-studies-actions {
    text-align: center;
}

.ai-case-studies-dark .case-studies-bg-graphic {
    display: block;
}

/* ============================================
   Why Act Now Section
   ============================================ */
.ai-why-now-section {
    padding: 80px 0;
    background: var(--ai-bg-2);
}

.ai-why-now-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.ai-why-now-cards {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
}

.ai-why-now-card {
    flex: 1;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--ai-stroke);
    background: var(--ai-bg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
    z-index: 1;
}

.ai-why-now-card:hover {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: radial-gradient(139.67% 110.37% at 48.38% 110.37%, #045DE8 0%, #050A14 35.07%);
}

.ai-why-now-card-text {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    color: var(--ai-white);
    line-height: 33px;
    margin-bottom: 0px;
}

.ai-why-now-card-text span {
    font-weight: 300;
}

.ai-why-now-card-text strong {
    font-weight: 600;
}

.ai-why-now-bottom-text {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    color: var(--ai-white);
    text-align: center;
    margin-bottom: 0px;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.ai-why-choose-section {
    padding: 80px;
    background: var(--ai-bg);
}

.ai-why-choose-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.ai-why-choose-image {
    flex: 0 0 624px;
    height: 391px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 34px 9px 0px rgba(0, 0, 0, 0),
        0px 22px 9px 0px rgba(0, 0, 0, 0),
        0px 12px 7px 0px rgba(0, 0, 0, 0.02),
        0px 5px 5px 0px rgba(0, 0, 0, 0.03),
        0px 1px 3px 0px rgba(0, 0, 0, 0.03);
}

.ai-why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-why-choose-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 391px;
}

.ai-why-choose-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.ai-seal-check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-seal-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-seal-check-item .seal-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 1.167px 1.167px rgba(4, 93, 232, 0.15)) drop-shadow(0 2.333px 2.333px rgba(4, 93, 232, 0.13)) drop-shadow(0 5.833px 3.5px rgba(4, 93, 232, 0.07)) drop-shadow(0 9.333px 3.5px rgba(4, 93, 232, 0.02)) drop-shadow(0 15.167px 4.667px rgba(4, 93, 232, 0.00));
}

.ai-seal-check-item span {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: var(--ai-white);
}

/* ============================================
   CTA / Next Step Section - Dark Theme Overrides
   Uses same HTML structure & classes as other pages
   ============================================ */
.ai-cta-dark.cta-section {
    background: radial-gradient(40.08% 34.48% at 50% 102.34%, rgba(198, 220, 255, 0.60) 0%, rgba(4, 93, 232, 0.60) 33.17%, rgba(5, 10, 20, 0.00) 100%), #081225;
    border-bottom: 1px solid var(--ai-stroke);
}

.ai-cta-dark .cta-content {
    gap: 16px;
}

.ai-cta-dark .cta-title {
    color: var(--ai-white);
}

.ai-cta-dark.cta-section .cta-nine{
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    width: 845px;
    height: auto;
    pointer-events: none;
}

.ai-cta-dark .btn-primary-cta.white {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
}

.ai-cta-dark .btn-primary-cta.white:hover {
    background: #F0F0F0;
    color: var(--primary-color);
}

/* CTA - Custom content styles (unique to AI page) */
.ai-cta-session {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--ai-white);
    line-height: normal;
}

.ai-cta-cover-label {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: var(--ai-white-secondary);
}

.ai-cta-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-cta-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-cta-checklist-item .check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 1.2px 1.2px rgba(4, 93, 232, 0.15)) drop-shadow(0 2.4px 2.4px rgba(4, 93, 232, 0.13)) drop-shadow(0 6px 3.6px rgba(4, 93, 232, 0.07)) drop-shadow(0 9.6px 3.6px rgba(4, 93, 232, 0.02)) drop-shadow(0 15.6px 4.8px rgba(4, 93, 232, 0.00));
}

.ai-cta-checklist-item span {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25.6px;
    color: var(--ai-white);
}

.ai-cta-note {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 27px;
    color: var(--ai-white-secondary);
}

/* ============================================
   Footer Overrides for Dark Theme
   ============================================ */
.ai-page .footer {
    background: var(--ai-bg);
    border-top: 1px solid var(--ai-stroke);
}

.ai-page .footer-container {
    color: var(--ai-white);
}

.ai-page .footer-tagline {
    color: var(--ai-white-secondary);
}

.ai-page .footer-logo {
    filter: brightness(0) invert(1);
}

.ai-page .social-icon-link {
    color: var(--ai-white-secondary);
    border-color: var(--ai-stroke);
}

.ai-page .social-icon-link:hover {
    color: var(--ai-white) !important;
    border-color: var(--ai-primary) !important;
}

.ai-page .rating-badge {
    border-color: var(--ai-stroke);
}

.ai-page .rating-score {
    color: var(--ai-white);
}

.ai-page .footer-divider,
.ai-page .footer-bottom-divider {
    background: var(--ai-stroke);
}

.ai-page .footer-heading {
    color: var(--ai-white);
}

.ai-page .footer-links a {
    color: var(--ai-white-secondary);
}

.ai-page .footer-links a:hover {
    color: var(--primary-color);
}

.ai-page .footer-contact-item {
    color: var(--ai-white);
}

.ai-page .footer-contact-item:hover, .ai-page .footer-contact-item:hover i {
    color: var(--primary-color);
}

.ai-page .footer-contact-item i {
    color: var(--white);
}

.ai-page .footer-nav-links a{
    color: var(--white);
}

.ai-page .footer-nav-links a:hover {
    color: var(--primary-color);
}

.ai-page .copyright {
    color: var(--ai-white-secondary);
}

/* ============================================
   Grid Background Overlay
   ============================================ */
.ai-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 1;
    z-index: -1;
}

.ai-grid-overlay.long {
    z-index: 0;
}

.ai-grid-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-grid-overlay .grid-long {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-footer-ratings {
    border-radius: 16px;
    border: 1px solid var(--AI-Stroke, rgba(255, 255, 255, 0.10));
    background: var(--Ai-Card, #171D28);
    /* Chip */
    box-shadow: 0 34px 9px 0 rgba(0, 0, 0, 0.00), 0 22px 9px 0 rgba(0, 0, 0, 0.00), 0 12px 7px 0 rgba(0, 0, 0, 0.02), 0 5px 5px 0 rgba(0, 0, 0, 0.03), 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1400px) {
    .ai-case-card {
        flex: 0 0 calc(100% - 16px);
    }

    .ai-why-choose-image {
        flex: 0 0 50%;
    }

    .ai-platform-card.active .ai-platform-card-content {
        width: 320px;
    }

    .ai-platform-card-image {
        width: 320px;
        height: 340px;
    }
}

@media (max-width: 1200px) {
    .ai-hero-title {
        font-size: 44px;
        line-height: 54px;
    }

    .ai-tab-content.active {
        flex-direction: column;
    }

    .ai-tab-left {
        flex: none;
        width: 100%;
    }

    .ai-tab-right {
        min-height: 250px;
    }

    .ai-familiar-cards {
        flex-wrap: wrap;
    }

    .ai-familiar-card {
        width: calc(50% - 8px);
    }

    .ai-why-choose-container {
        flex-direction: column;
    }

    .ai-why-choose-image {
        flex: none;
        width: 100%;
        height: 350px;
    }

    .ai-why-choose-content {
        height: auto;
        gap: 32px;
    }

}

@media (max-width: 992px) {
    .ai-hero-section {
        min-height: 600px;
    }

    .ai-hero-wrapper {
        padding: 0 40px;
    }

    .ai-hero-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ai-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .ai-hero-subtitle {
        font-size: 16px;
    }

    .ai-platform-container,
    .ai-action-container,
    .ai-familiar-container,
    .ai-case-studies-container,
    .ai-why-now-container {
        padding: 0 40px;
    }

    .ai-why-choose-section {
        padding: 60px 40px;
    }

    .ai-section-title {
        font-size: 28px;
    }

    .ai-platform-cards {
        flex-direction: column;
    }

    .ai-platform-card {
        height: auto;
        min-height: 0;
    }

    .ai-platform-card.active {
        flex-direction: column;
        gap: 24px;
    }

    .ai-platform-card.active .ai-platform-card-content {
        width: 100%;
    }

    .ai-platform-card-image {
        width: 100%;
        height: 280px;
    }

    .ai-card-title {
        font-size: 22px !important;
    }

    .ai-why-now-cards {
        flex-direction: column;
    }

    .ai-why-now-card {
        width: 100%;
    }

    .ai-case-card {
        flex-direction: column;
    }

    .ai-case-image {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .ai-hero-wrapper {
        padding: 0 20px;
    }

    .ai-hero-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ai-hero-slides {
        min-height: 300px;
    }

    .ai-hero-pagination {
        margin-top: 24px;
        padding-bottom: 40px;
    }

    .ai-hero-title {
        font-size: 30px;
        line-height: 38px;
    }

    .ai-hero-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .ai-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ai-tabs {
        gap: 4px;
        padding: 4px;
        max-width: 100%;
    }

    .ai-tab {
        font-size: 14px;
        padding: 12px 16px;
        min-width: 140px;
    }

    .ai-familiar-card {
        width: 100%;
    }

    .ai-section-title {
        font-size: 24px;
    }

    .ai-section-subtitle {
        font-size: 16px;
    }

    .ai-platform-container,
    .ai-action-container,
    .ai-familiar-container,
    .ai-case-studies-container,
    .ai-why-now-container {
        padding: 0 20px;
    }

    .ai-why-choose-section {
        padding: 40px 20px;
    }

    .ai-platform-section,
    .ai-action-section,
    .ai-familiar-section,
    .ai-case-studies-section,
    .ai-why-now-section {
        padding: 60px 0;
    }
}

/* ─── Chat Demo Widget ─── */
.ai-chat-demo {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
    max-width: 460px;
    width: 100%;
}

.ai-chat-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f1f3;
}

.ai-chat-dots {
    display: flex;
    gap: 5px;
}

.ai-chat-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.7;
}

.ai-chat-titlebar-text {
    font-size: 11px;
    color: #8b919d;
    margin-left: 8px;
}

.ai-chat-body {
    padding: 16px;
}

.ai-chat-question {
    background: #f8f9fb;
    border: 1px solid #f0f1f3;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #525866;
    font-family: 'Lexend', sans-serif;
}

.ai-chat-answer {
    background: #f8f9fb;
    border: 1px solid #f0f1f3;
    border-radius: 12px;
    padding: 16px;
    min-height: 80px;
}

.ai-chat-label {
    font-size: 11px;
    font-weight: 600;
    color: #8b919d;
    margin-bottom: 10px;
}

.ai-chat-typed {
    font-size: 13px;
    color: #0f1117;
    line-height: 1.75;
    margin: 0;
    font-family: 'Lexend', sans-serif;
}

.ai-chat-typed .ai-chat-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #0d6dfd;
    margin-left: 1px;
    animation: aiChatBlink 1s infinite;
    vertical-align: text-bottom;
}

.ai-chat-sources {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ai-chat-sources.visible {
    opacity: 1;
}

.ai-chat-source-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f8f9fb;
    font-size: 11.5px;
    color: #525866;
    font-family: 'Lexend', sans-serif;
}

.ai-chat-source-tag span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-chat-dots-loading {
    display: flex;
    gap: 6px;
    padding: 8px 0;
}

.ai-chat-dots-loading span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0d6dfd;
    opacity: 0.4;
    animation: aiChatPulse 1s infinite;
}

.ai-chat-dots-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-chat-dots-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aiChatPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes aiChatBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    .ai-chat-demo {
        max-width: 100%;
    }
}