/* Premium Agile Approach Section */
.premium-agile-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

/* Background Effects */
.agile-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.agile-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    animation: agile-float 20s ease-in-out infinite;
}

.agile-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(30, 41, 59, 0.6) 50%, 
        rgba(51, 65, 85, 0.8) 100%);
}

/* Header */
.agile-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.agile-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.agile-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.agile-badge-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    animation: agile-pulse 2s ease-in-out infinite;
}

.agile-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agile-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agile-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Steps */
.agile-steps {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.agile-step {
    position: relative;
    margin-bottom: 60px;
}

.agile-step:last-child {
    margin-bottom: 0;
}

.agile-step-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
}

.agile-step-number {
    position: relative;
    flex-shrink: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.step-connector {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, #10b981, #3b82f6);
    z-index: 1;
}

.agile-step:last-child .step-connector {
    display: none;
}

.agile-step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.agile-step-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.agile-step-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.agile-step-content:hover .agile-step-icon {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.agile-step-icon svg {
    width: 28px;
    height: 28px;
    color: #3b82f6;
}

.agile-step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.agile-step-description {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Dark Mode Support */
html[data-theme="dark"] .premium-agile-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
}

html[data-theme="dark"] .agile-particles {
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* RTL Support */
html.rtl .agile-badge {
    direction: rtl;
}

html.rtl .agile-step-inner {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-agile-section {
        padding: 80px 0;
    }
    
    .agile-header {
        margin-bottom: 60px;
    }
    
    .agile-title {
        font-size: 2.5rem;
    }
    
    .agile-subtitle {
        font-size: 1.1rem;
    }
    
    .agile-step-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .agile-step-number {
        align-self: center;
    }
    
    .step-connector {
        display: none;
    }
    
    .agile-step-content {
        padding: 32px 24px;
    }
    
    .agile-step-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .premium-agile-section {
        padding: 60px 0;
    }
    
    .agile-header {
        margin-bottom: 40px;
    }
    
    .agile-title {
        font-size: 2rem;
    }
    
    .agile-step {
        margin-bottom: 40px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .agile-step-content {
        padding: 24px 20px;
    }
    
    .agile-step-title {
        font-size: 1.3rem;
    }
    
    .agile-step-description {
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes agile-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes agile-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}
