/*
 * AI Technology Modal Styles
 * Created: 2025-09-09
 * Purpose: Modern AI-themed styling for artificial intelligence showcase
 * Color Scheme: AI Purple (#6f42c1), Neural Blue (#4834d4), Tech Green (#00d4aa), Dark space (#1a1a2e)
 */

/* ==================================================
   Base Modal Styles
   ================================================== */
.ai-technology-modal .modal-dialog {
    max-width: 95%;
    width: 95%;
    margin: 20px auto;
}

.ai-technology-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(111, 66, 193, 0.2);
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.ai-technology-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.02) 0%, rgba(72, 52, 212, 0.02) 50%, rgba(0, 212, 170, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ==================================================
   Modal Header Styles
   ================================================== */
.ai-technology-modal .ai-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #6f42c1 30%, #4834d4 70%, #00d4aa 100%);
    border-bottom: 3px solid #00d4aa;
    color: #ffffff;
    padding: 25px 35px;
    position: relative;
    overflow: hidden;
}

.ai-technology-modal .ai-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(111, 66, 193, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72, 52, 212, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 212, 170, 0.2) 0%, transparent 50%);
    animation: aiPulse 4s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.ai-technology-modal .header-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-technology-modal .header-icon {
    margin-right: 20px;
    background: rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00d4aa;
    animation: brainPulse 2s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 212, 170, 0.6); }
}

.ai-technology-modal .header-icon i {
    font-size: 30px;
    color: #00d4aa;
}

.ai-technology-modal .header-text h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #ffffff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-technology-modal .header-subtitle {
    margin: 8px 0 0 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.ai-technology-modal .ai-close-btn {
    color: #ffffff;
    font-size: 32px;
    opacity: 0.8;
    text-shadow: none;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.ai-technology-modal .ai-close-btn:hover {
    opacity: 1;
    color: #00d4aa;
    transform: scale(1.1) rotate(90deg);
}

/* ==================================================
   Statistics Banner
   ================================================== */
.ai-stats-banner {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px 0;
    margin-bottom: 35px;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.ai-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
}

.ai-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 20px;
    border: 1px solid rgba(111, 66, 193, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    transition: left 0.6s ease;
}

.ai-stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(111, 66, 193, 0.2);
    border-color: #00d4aa;
}

.ai-stat-item:hover::before {
    left: 100%;
}

.ai-stat-item .stat-icon {
    margin-right: 20px;
    background: linear-gradient(135deg, #6f42c1, #4834d4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-stat-item .stat-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6f42c1, #4834d4, #00d4aa);
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-stat-item .stat-icon i {
    font-size: 24px;
    color: #ffffff;
}

.ai-stat-item .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #6f42c1;
    margin: 0;
    line-height: 1;
    background: linear-gradient(45deg, #6f42c1, #4834d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-stat-item .stat-label {
    font-size: 15px;
    color: #6c757d;
    margin: 8px 0 0 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================================================
   Hero Section
   ================================================== */
.ai-hero-section {
    padding: 50px 0;
    margin-bottom: 50px;
    position: relative;
}

.hero-content h3.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
}

.hero-content h3.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #6f42c1, #00d4aa);
    border-radius: 2px;
}

.hero-description {
    font-size: 17px;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 30px;
}

.ai-highlights {
    display: grid;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #6f42c1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
    color: #4834d4;
}

.highlight-item i {
    margin-right: 15px;
    color: #00d4aa;
    font-size: 18px;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-visualization {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.1);
}

.ai-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.ai-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 26, 46, 0.8) 0%, rgba(111, 66, 193, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
}

.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.node:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: #00d4aa;
    transform: scale(1.05);
}

.node-light {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-bottom: 10px;
    background: #00d4aa;
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.5);
    animation: neuralPulse 1.5s ease-in-out infinite;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* ==================================================
   Navigation Tabs
   ================================================== */
.ai-navigation {
    margin-bottom: 35px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.ai-navigation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(0, 212, 170, 0.1));
}

.ai-nav-tabs {
    border-bottom: none;
    justify-content: center;
    position: relative;
}

.ai-nav-tabs > li {
    margin-bottom: 0;
    margin-right: 8px;
}

.ai-nav-tabs > li > a {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    border: none;
    border-radius: 10px 10px 0 0;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ai-nav-tabs > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(0, 212, 170, 0.1));
    transition: left 0.3s ease;
}

.ai-nav-tabs > li > a i {
    margin-right: 10px;
    font-size: 18px;
}

.ai-nav-tabs > li > a:hover {
    background: #e9ecef;
    color: #6f42c1;
    border-color: transparent;
    transform: translateY(-2px);
}

.ai-nav-tabs > li > a:hover::before {
    left: 0;
}

.ai-nav-tabs > li.active > a,
.ai-nav-tabs > li.active > a:hover {
    background: linear-gradient(135deg, #6f42c1, #4834d4);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.3);
    transform: translateY(-2px);
}

/* ==================================================
   Tab Content Styles
   ================================================== */
.ai-tab-content {
    min-height: 700px;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #6f42c1, #00d4aa);
    border-radius: 2px;
}

.section-description {
    font-size: 17px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subsection-title {
    font-size: 24px;
    font-weight: 700;
    color: #6f42c1;
    margin: 50px 0 30px 0;
    text-align: center;
    position: relative;
}

.subsection-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(45deg, #6f42c1, #00d4aa);
}

/* ==================================================
   Model Cards
   ================================================== */
.ml-models, .automation-solutions, .analytics-services, .nlp-solutions {
    margin-bottom: 50px;
}

.model-card, .automation-card, .analytics-card, .nlp-card {
    background: #ffffff;
    border: 1px solid rgba(111, 66, 193, 0.1);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.model-card::before, .automation-card::before, .analytics-card::before, .nlp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(111, 66, 193, 0.05), transparent);
    transition: left 0.6s ease;
}

.model-card:hover, .automation-card:hover, .analytics-card:hover, .nlp-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(111, 66, 193, 0.15);
    border-color: #00d4aa;
}

.model-card:hover::before, .automation-card:hover::before, 
.analytics-card:hover::before, .nlp-card:hover::before {
    left: 100%;
}

.model-icon, .automation-icon, .service-icon, .nlp-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6f42c1, #4834d4);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.model-icon::after, .automation-icon::after, .service-icon::after, .nlp-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 170, 0.3), transparent);
    animation: rotate 4s linear infinite;
}

.model-icon i, .automation-icon i, .service-icon i, .nlp-icon i {
    font-size: 28px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.model-title, .automation-title, .service-title, .nlp-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
    line-height: 1.3;
}

.model-description, .automation-description, .service-description, .nlp-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
}

.model-image, .automation-image, .service-image, .nlp-image {
    margin: 25px 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 180px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.model-image img, .automation-image img, .service-image img, .nlp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.model-card:hover .model-image img, .automation-card:hover .automation-image img,
.analytics-card:hover .service-image img, .nlp-card:hover .nlp-image img {
    transform: scale(1.1);
}

.model-metrics, .automation-features, .service-features, .nlp-features {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.metric {
    text-align: center;
    padding: 12px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    flex: 1;
    min-width: 100px;
    border: 1px solid rgba(111, 66, 193, 0.1);
}

.metric-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #6f42c1;
    background: linear-gradient(45deg, #6f42c1, #4834d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    font-weight: 600;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
    color: #495057;
    font-weight: 500;
}

.feature-item i {
    margin-right: 12px;
    color: #00d4aa;
    font-size: 14px;
}

.feature-tag {
    display: inline-block;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.1), rgba(0, 212, 170, 0.1));
    color: #6f42c1;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin: 3px;
    border: 1px solid rgba(111, 66, 193, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(45deg, #6f42c1, #4834d4);
    color: #ffffff;
    transform: scale(1.05);
}

/* ==================================================
   Pipeline Visualization
   ================================================== */
.ml-pipeline, .data-pipeline {
    margin-top: 50px;
}

.pipeline-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.pipeline-diagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.03), rgba(0, 212, 170, 0.03));
}

.pipeline-stage {
    background: #ffffff;
    border: 2px solid rgba(111, 66, 193, 0.15);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    min-width: 180px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.pipeline-stage:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #00d4aa;
    box-shadow: 0 15px 35px rgba(111, 66, 193, 0.2);
}

.pipeline-stage .stage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6f42c1, #4834d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: stageFloat 3s ease-in-out infinite;
}

@keyframes stageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.pipeline-stage .stage-icon i {
    font-size: 24px;
    color: #ffffff;
}

.stage-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.stage-description {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.pipeline-arrow {
    color: #6f42c1;
    font-size: 28px;
    animation: aiFlow 2s ease-in-out infinite;
}

@keyframes aiFlow {
    0%, 100% { opacity: 0.6; transform: translateX(0) scale(1); }
    50% { opacity: 1; transform: translateX(8px) scale(1.1); }
}

/* ==================================================
   Automation Benefits
   ================================================== */
.automation-benefits, .ai-capabilities {
    margin-top: 50px;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(111, 66, 193, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 170, 0.1), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(111, 66, 193, 0.15);
    border-color: #00d4aa;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00d4aa, #4834d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.benefit-icon i {
    font-size: 28px;
    color: #ffffff;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefit-metric {
    font-size: 36px;
    font-weight: 900;
    color: #6f42c1;
    background: linear-gradient(45deg, #6f42c1, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(111, 66, 193, 0.1);
}

/* ==================================================
   Analytics Dashboard
   ================================================== */
.analytics-dashboard {
    margin-top: 50px;
}

.dashboard-demo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.15);
}

.dashboard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(111, 66, 193, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-widgets {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.widget {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-align: center;
    min-width: 150px;
    animation: widgetFloat 4s ease-in-out infinite;
}

@keyframes widgetFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.widget h6 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.widget-value {
    font-size: 24px;
    font-weight: 800;
    color: #00d4aa;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==================================================
   AI Capabilities
   ================================================== */
.capability-section {
    background: #ffffff;
    border: 1px solid rgba(111, 66, 193, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.capability-section h6 {
    font-size: 20px;
    font-weight: 700;
    color: #6f42c1;
    margin-bottom: 25px;
    text-align: center;
}

.capability-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.capability-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    min-width: 140px;
}

.capability-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.capability-fill {
    height: 100%;
    background: linear-gradient(45deg, #6f42c1, #00d4aa);
    border-radius: 4px;
    position: relative;
    transition: width 2s ease-in-out;
}

.capability-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.capability-percent {
    font-size: 14px;
    font-weight: 700;
    color: #6f42c1;
    min-width: 40px;
}

/* ==================================================
   Modal Footer
   ================================================== */
.ai-technology-modal .ai-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #00d4aa;
    padding: 30px 35px;
    position: relative;
}

.ai-technology-modal .ai-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(111, 66, 193, 0.03), rgba(0, 212, 170, 0.03));
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.footer-text h5 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.footer-text p {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
}

.footer-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.ai-btn-close, .ai-btn-demo, .ai-btn-consultation {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.ai-btn-close, .ai-btn-demo, .ai-btn-consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.3s ease;
}

.ai-btn-close:hover::before, .ai-btn-demo:hover::before, .ai-btn-consultation:hover::before {
    left: 100%;
}

.ai-btn-close {
    background: #6c757d;
    color: #ffffff;
}

.ai-btn-close:hover {
    background: #545b62;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.ai-btn-demo {
    background: linear-gradient(135deg, #6f42c1, #4834d4);
    color: #ffffff;
}

.ai-btn-demo:hover {
    background: linear-gradient(135deg, #5a31a1, #3d2bb0);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
}

.ai-btn-consultation {
    background: linear-gradient(135deg, #00d4aa, #4834d4);
    color: #ffffff;
}

.ai-btn-consultation:hover {
    background: linear-gradient(135deg, #00b894, #00d4aa);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.4);
}

/* ==================================================
   Responsive Design
   ================================================== */
@media (max-width: 1199px) {
    .ai-technology-modal .modal-dialog {
        max-width: 98%;
        width: 98%;
        margin: 15px auto;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-actions {
        justify-content: center;
    }
    
    .neural-network {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .hero-content h3.hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .ai-visualization {
        margin-top: 40px;
    }
    
    .pipeline-diagram {
        flex-direction: column;
        gap: 20px;
    }
    
    .pipeline-arrow {
        transform: rotate(90deg);
    }
    
    .dashboard-widgets {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .ai-technology-modal .ai-header {
        padding: 20px 25px;
    }
    
    .ai-technology-modal .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ai-technology-modal .header-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .ai-technology-modal .header-text h2 {
        font-size: 26px;
    }
    
    .ai-nav-tabs {
        flex-direction: column;
    }
    
    .ai-nav-tabs > li {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .ai-nav-tabs > li > a {
        justify-content: center;
        border-radius: 10px;
    }
    
    .hero-content h3.hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .model-metrics, .automation-features, .service-features, .nlp-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .ai-btn-close, .ai-btn-demo, .ai-btn-consultation {
        width: 100%;
        justify-content: center;
    }
    
    .capability-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .capability-bar {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .ai-technology-modal .modal-dialog {
        margin: 5px;
        max-width: calc(100% - 10px);
        width: calc(100% - 10px);
    }
    
    .ai-tab-content {
        padding: 25px 0;
        min-height: 500px;
    }
    
    .model-card, .automation-card, .analytics-card, .nlp-card, .benefit-card {
        margin-bottom: 25px;
        padding: 20px;
    }
    
    .dashboard-demo {
        height: 300px;
    }
    
    .neural-network {
        padding: 20px;
        gap: 12px;
    }
    
    .ai-stat-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .ai-stat-item .stat-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
