/* ============================================
   Technology Ecosystem Section - Premium Design
   ============================================ */

.tech-ecosystem-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0f 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.tech-ecosystem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Technology Network Container */
.tech-network-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}

/* Center Hub */
.tech-hub {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.hub-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(102, 126, 234, 0.5);
    animation: hubPulse 3s ease-in-out infinite;
}

.hub-icon i {
    font-size: 48px;
    color: #ffffff;
}

.tech-hub h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.tech-hub p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
}

@keyframes hubPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(102, 126, 234, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(102, 126, 234, 0.7);
    }
}

/* Technology Categories Grid */
.tech-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* Technology Category */
.tech-category {
    position: relative;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.category-title i {
    font-size: 1.25rem;
    color: #667eea;
}

/* Category Colors */
.tech-category[data-category="programming"] .category-title { border-color: rgba(102, 126, 234, 0.5); }
.tech-category[data-category="programming"] .category-title i { color: #667eea; }

.tech-category[data-category="vcs"] .category-title { border-color: rgba(240, 147, 251, 0.5); }
.tech-category[data-category="vcs"] .category-title i { color: #f093fb; }

.tech-category[data-category="containers"] .category-title { border-color: rgba(0, 180, 216, 0.5); }
.tech-category[data-category="containers"] .category-title i { color: #00b4d8; }

.tech-category[data-category="infrastructure"] .category-title { border-color: rgba(118, 75, 162, 0.5); }
.tech-category[data-category="infrastructure"] .category-title i { color: #764ba2; }

.tech-category[data-category="cloud"] .category-title { border-color: rgba(255, 159, 64, 0.5); }
.tech-category[data-category="cloud"] .category-title i { color: #ff9f40; }

.tech-category[data-category="cicd"] .category-title { border-color: rgba(75, 192, 192, 0.5); }
.tech-category[data-category="cicd"] .category-title i { color: #4bc0c0; }

.tech-category[data-category="monitoring"] .category-title { border-color: rgba(255, 99, 132, 0.5); }
.tech-category[data-category="monitoring"] .category-title i { color: #ff6384; }

.tech-category[data-category="ai"] .category-title { border-color: rgba(153, 102, 255, 0.5); }
.tech-category[data-category="ai"] .category-title i { color: #9966ff; }

/* Technology Cards */
.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.tech-card {
    padding: 24px 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(102, 126, 234, 0.2);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.tech-card:hover .tech-icon {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.tech-icon i {
    font-size: 28px;
    color: #667eea;
}

.tech-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.tech-card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Learning Flow */
.learning-flow {
    margin: 80px 0;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.flow-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.flow-path {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 100px;
}

.flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.flow-step:hover .step-icon {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.step-icon i {
    font-size: 20px;
    color: #667eea;
}

.flow-step span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.flow-arrow {
    color: rgba(102, 126, 234, 0.5);
    font-size: 1.25rem;
}

/* Scroll Animation for Flow Steps */
.flow-step.active {
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(102, 126, 234, 0.1);
}

.flow-step.active .step-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.flow-step.active .step-icon i {
    color: #ffffff;
}

/* Statistics */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tech-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .flow-path {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .tech-ecosystem-section {
        padding: 80px 0;
    }
    
    .tech-categories-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .learning-flow {
        padding: 40px 20px;
    }
    
    .flow-step {
        min-width: 80px;
    }
    
    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hub-icon {
        width: 80px;
        height: 80px;
    }
    
    .hub-icon i {
        font-size: 32px;
    }
    
    .tech-hub h3 {
        font-size: 1.5rem;
    }
    
    .tech-stats {
        grid-template-columns: 1fr;
    }
}
