/* ========================================================================
   SMG COCKPITOS EXPLANATION WIDGET
   cockpitOS Platform & Smart AI Layer Erklärung
   ======================================================================== */

.smg-cockpitos-explanation {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Circuit Pattern Background */
.smg-cockpitos-explanation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="none"/><circle cx="2" cy="2" r="1" fill="%23cbd5e1" opacity="0.3"/><path d="M2 2h16M2 2v16" stroke="%23cbd5e1" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.smg-cockpitos-explanation .container {
    position: relative;
    z-index: 2;
}

/* Main Explanation Section */
.main-explanation {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
    position: relative;
}

.explanation-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--smg-space-xl);
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    background: var(--smg-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.explanation-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

/* AI Badge with Shimmer Animation */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.ai-badge i {
    font-size: 1.1rem;
    animation: aiPulse 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes aiPulse {
    0% { transform: scale(1); color: white; }
    100% { transform: scale(1.1); color: #fbbf24; }
}

.ai-description {
    font-size: var(--smg-text-xl);
    line-height: 1.6;
    color: var(--smg-text-light-secondary);
    margin-bottom: 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Enhanced Feature Items */
.feature-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

/* Modern Feature Icons */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2563eb 100%);
    color: white;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 12px 25px rgba(37, 99, 235, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all var(--transition-base);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: iconShimmer 3s ease-in-out infinite;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: inherit;
}

.feature-item:hover .feature-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 
        0 15px 35px rgba(37, 99, 235, 0.4),
        0 0 40px rgba(37, 99, 235, 0.2);
}

.feature-icon i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

/* Icon Color Variations */
.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    box-shadow: 
        0 12px 25px rgba(239, 68, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.feature-item:nth-child(2):hover .feature-icon {
    box-shadow: 
        0 15px 35px rgba(239, 68, 68, 0.4),
        0 0 40px rgba(239, 68, 68, 0.2);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 
        0 12px 25px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.feature-item:nth-child(3):hover .feature-icon {
    box-shadow: 
        0 15px 35px rgba(16, 185, 129, 0.4),
        0 0 40px rgba(16, 185, 129, 0.2);
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 
        0 12px 25px rgba(245, 158, 11, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.feature-item:nth-child(4):hover .feature-icon {
    box-shadow: 
        0 15px 35px rgba(245, 158, 11, 0.4),
        0 0 40px rgba(245, 158, 11, 0.2);
}

.feature-title {
    font-family: var(--font-secondary);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-blue) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-base);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button i {
    font-size: 1rem;
    transition: transform var(--transition-base);
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .smg-cockpitos-explanation {
        padding: 4rem 0;
    }
    
    .main-explanation {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-item {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .cta-section {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .ai-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
} 