/* Architecture Components - For platform architecture displays */

/* Architecture Section Styles */
.architecture-info {
    background: #fafbfc;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
}

.architecture-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.arch-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.architecture-layers {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.arch-layer {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.layer-header {
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.layer-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.layer-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.layer-badge.frontend {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.layer-badge.processing {
    background: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
}

.layer-badge.services {
    background: rgba(249, 115, 22, 0.2);
    color: #fed7aa;
}

.layer-badge.infrastructure {
    background: rgba(156, 163, 175, 0.2);
    color: #f3f4f6;
}

.layer-components {
    padding: 1.5rem;
}

.component {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.component:last-child {
    margin-bottom: 0;
}

.component:hover {
    border-color: var(--primary-color);
    background: #f8faff;
}

.component strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.component span {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.architecture-features {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-top: 2rem;
}

.architecture-features h4 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.arch-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.feature-content span {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-row {
        grid-template-columns: 1fr;
    }
    
    .arch-feature {
        flex-direction: column;
        text-align: center;
    }
}