/* RAG Development Page - Unique Styling */

/* Hero Section - RAG Knowledge Graph Theme */
.rag-hero-workspace {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f4d 50%, #0f1438 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Knowledge Graph Background */
.rag-neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.rag-neural-bg canvas {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.rag-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.rag-hero-content {
    color: white;
}

.rag-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(57, 50, 133, 0.9), rgba(102, 126, 234, 0.9));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 10px 40px rgba(57, 50, 133, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out, badgeGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.rag-hero-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(57, 50, 133, 0.4); }
    50% { box-shadow: 0 10px 50px rgba(57, 50, 133, 0.6), 0 0 60px rgba(102, 126, 234, 0.3); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rag-hero-badge i {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.rag-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
    color: white;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.rag-hero-title .rag-typing-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-cursor {
    animation: blink 1s infinite;
    color: #667eea;
}

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

.rag-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Live Stats */
.rag-live-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.rag-stat-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    flex: 1;
    transition: all 0.3s ease;
}

.rag-stat-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.rag-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: gradientShift 4s ease-in-out infinite;
    background-size: 200% 200%;
}

.rag-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Buttons */
.rag-hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.rag-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.rag-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.rag-btn-primary:hover::before {
    left: 100%;
}

.rag-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.rag-btn-secondary {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.rag-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.rag-btn-secondary:hover::before {
    width: 100%;
}

.rag-btn-secondary:hover {
    border-color: white;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* Trust Indicators */
.rag-trust-row {
    display: flex;
    gap: 25px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.rag-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
}

.rag-trust-item i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Hero Demo Window */
.rag-hero-demo {
    position: relative;
}

.rag-workspace-window {
    background: rgba(10, 14, 39, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.workspace-header {
    background: rgba(102, 126, 234, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots .dot.red { background: #ff5f56; }
.window-dots .dot.yellow { background: #ffbd2e; }
.window-dots .dot.green { background: #27c93f; }

.window-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

.workspace-body {
    padding: 25px;
}

.prompt-section {
    margin-bottom: 20px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.prompt-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 18px;
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
}

.prompt-text {
    color: rgba(255, 255, 255, 0.9);
}

.typing-indicator {
    color: #667eea;
    animation: blink 1.5s infinite;
}

.processing-section {
    margin: 20px 0;
}

.processing-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.processing-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    width: 0%;
    animation: processProgress 3s ease-in-out infinite;
}

@keyframes processProgress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 100%; }
}

.processing-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.processing-text i {
    color: #667eea;
}

.output-section {
    margin-top: 20px;
}

.ai-output {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 18px;
    color: white;
    font-size: 0.95rem;
    line-height: 1.8;
}

.output-line {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.85);
}

.output-line.highlight {
    color: #f093fb;
    font-weight: 600;
}

.model-info-bar {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.model-stats {
    display: flex;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
}

.model-stats i {
    color: #667eea;
    margin-right: 4px;
}

/* Floating Badges */
.rag-float-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #495057;
    animation: float 3s ease-in-out infinite;
}

.rag-float-badge i {
    color: #667eea;
    font-size: 1.1rem;
}

.rag-float-badge.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.rag-float-badge.badge-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1s;
}

.rag-float-badge.badge-3 {
    bottom: 10%;
    left: -20px;
    animation-delay: 2s;
}

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

/* Scroll Indicator */
.rag-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 18px; }
}

/* Process Section */
.rag-development-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.process-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.2;
}

.process-subtitle {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.process-step-item {
    animation: fadeInUp 0.6s ease-out both;
}

.process-step-item:nth-child(1) { animation-delay: 0.1s; }
.process-step-item:nth-child(2) { animation-delay: 0.2s; }
.process-step-item:nth-child(3) { animation-delay: 0.3s; }
.process-step-item:nth-child(4) { animation-delay: 0.4s; }

.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 12px;
}

.step-desc {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.step-list li {
    padding: 8px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.step-list li i {
    color: #667eea;
    font-size: 1rem;
}

.step-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 700;
    font-size: 0.9rem;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 992px) {
    .rag-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .rag-hero-title {
        font-size: 2.8rem;
    }
    
    .rag-live-stats {
        flex-wrap: wrap;
    }
    
    .rag-stat-box {
        flex: 1 1 calc(50% - 12.5px);
    }
    
    .process-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .rag-hero-workspace {
        padding: 80px 0 60px;
    }
    
    .rag-hero-title {
        font-size: 2.2rem;
    }
    
    .rag-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .rag-live-stats {
        flex-direction: column;
    }
    
    .rag-stat-box {
        flex: 1 1 100%;
    }
    
    .rag-hero-cta {
        flex-direction: column;
    }
    
    .rag-btn-primary,
    .rag-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .rag-trust-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .process-title {
        font-size: 1.8rem;
    }
    
    .process-subtitle {
        font-size: 1rem;
    }
    
    .rag-float-badge {
        display: none;
    }
}

@media (max-width: 576px) {
    .rag-hero-title {
        font-size: 1.8rem;
    }
    
    .rag-stat-number {
        font-size: 2rem;
    }
    
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION OVERRIDES FOR DARK BACKGROUNDS
   ============================================ */

/* Industries Section - Dark Background Override */
.ai-industries-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.ai-industries-section .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.ai-industries-section .section-title {
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.ai-industries-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Testimonials Section - Dark Background Override */
.ai-testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-testimonials-section .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.ai-testimonials-section .section-title {
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ai-testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Benefits Section - Dark Background Override */
.ai-benefits-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-benefits-section .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.ai-benefits-section .section-title {
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ai-benefits-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section - Dark Background Override */
.ai-faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ai-faq-section .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.ai-faq-section .section-title {
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ai-faq-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Use Cases Section - Dark Background Override */
.genai-use-cases .genai-section-badge {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #667eea;
    letter-spacing: 2px;
    margin-bottom: 25px;
    animation: badgePulse 3s ease-in-out infinite;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.2);
}

.genai-use-cases .genai-use-cases-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #393285 0%, #667eea 30%, #764ba2 60%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.genai-use-cases .genai-use-cases-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    font-weight: 500;
}

/* Services Section Header Override */
.genai-services-showcase .genai-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
}

.genai-services-showcase .genai-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    color: #667eea;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

.genai-services-showcase .genai-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.genai-services-showcase .genai-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

/* ============================================
   AUTOMATION TABS - Services Section
   ============================================ */

.automation-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.automation-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.automation-tab:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.automation-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.automation-tab i {
    font-size: 1.3rem;
}

.automation-panels {
    position: relative;
}

.automation-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.automation-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.automation-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(10px);
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.panel-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.panel-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.panel-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.panel-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.panel-stat {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.panel-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.panel-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.automation-panel-visual {
    position: relative;
}

.visual-workspace {
    background: rgba(10, 14, 39, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.visual-header {
    background: rgba(26, 31, 77, 0.9);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.visual-body {
    padding: 1.5rem;
    color: white;
}
