/* css/pages/solution-architecture.css - Solution Architecture page specific styles */

/* ===== INTERNAL HERO ===== */

.internal-hero-standard {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-primary-800), var(--color-primary-900));
    color: white;
    overflow: hidden;
    padding: 50px 0 40px;
}

.internal-hero-standard .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.internal-hero-standard .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.internal-hero-standard .hero-water-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.internal-hero-standard .hero-water-pattern svg {
    width: 100%;
    height: 100%;
}

.internal-hero-standard .hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.internal-hero-standard .hero-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: -0.025em;
    font-family: var(--font-display);
    margin-bottom: var(--space-3);
    color: white;
}

.internal-hero-standard .hero-title .text-highlight {
    color: var(--color-secondary-400);
}

.internal-hero-standard .hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto var(--space-4);
}

.internal-hero-standard .hero-meta-cards {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin: var(--space-4) 0 var(--space-6);
    flex-wrap: wrap;
}

.internal-hero-standard .meta-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.internal-hero-standard .meta-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-secondary-400);
    transform: translateY(-2px);
}

.internal-hero-standard .meta-card i {
    color: var(--color-secondary-400);
    font-size: 0.8rem;
}

.internal-hero-standard .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* ===== ARCHITECTURE INTRODUCTION ===== */

.architecture-intro-section {
    padding: var(--section-padding) 0;
    background: white;
}

.architecture-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.architecture-intro-content .section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.architecture-intro-content .intro-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

/* ===== PILLARS SECTION ===== */

.pillars-section {
    padding: var(--section-padding) 0;
    background: var(--color-background-alt);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.pillar-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-6) var(--space-6) var(--space-8);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pillar-card.pillar-1 {
    border-top: 4px solid var(--color-primary-600);
}

.pillar-card.pillar-2 {
    border-top: 4px solid var(--color-secondary-600);
}

.pillar-card.pillar-3 {
    border-top: 4px solid var(--color-accent-600);
}

.pillar-card.pillar-4 {
    border-top: 4px solid var(--color-success);
}

.pillar-number {
    font-size: 4rem;
    font-weight: var(--weight-extrabold);
    color: var(--color-gray-100);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.pillar-card.pillar-1 .pillar-number {
    color: rgba(12, 34, 56, 0.06);
}

.pillar-card.pillar-2 .pillar-number {
    color: rgba(26, 155, 138, 0.06);
}

.pillar-card.pillar-3 .pillar-number {
    color: rgba(232, 106, 44, 0.06);
}

.pillar-card.pillar-4 .pillar-number {
    color: rgba(39, 174, 96, 0.06);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--color-secondary-600);
    margin-bottom: var(--space-4);
}

.pillar-card.pillar-1 .pillar-icon {
    color: var(--color-primary-600);
}

.pillar-card.pillar-2 .pillar-icon {
    color: var(--color-secondary-600);
}

.pillar-card.pillar-3 .pillar-icon {
    color: var(--color-accent-600);
}

.pillar-card.pillar-4 .pillar-icon {
    color: var(--color-success);
}

.pillar-card h3 {
    color: var(--color-text-primary);
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}

.pillar-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.pillar-tags span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.2rem 0.75rem;
    background: var(--color-background-alt);
    border-radius: 50px;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.pillar-tags span i {
    color: var(--color-success);
    font-size: 0.7rem;
}

/* ===== TECHNICAL DIAGRAM ===== */

.technical-diagram {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--color-primary-800), var(--color-primary-900));
    color: white;
}

.diagram-container {
    max-width: 900px;
    margin: 0 auto;
}

.diagram-flow {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-layer {
    text-align: center;
}

.layer-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-3);
}

.flow-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.flow-item {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.flow-item.highlight {
    background: rgba(26, 155, 138, 0.15);
    border-color: rgba(26, 155, 138, 0.3);
    color: var(--color-secondary-400);
}

.flow-item.success {
    background: rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
    color: var(--color-success);
}

.flow-arrow-large {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

/* ===== MLOPS SECTION ===== */

.mlops-section {
    padding: var(--section-padding) 0;
    background: white;
}

.mlops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.mlops-eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary-600);
    margin-bottom: var(--space-3);
}

.mlops-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.mlops-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mlops-feature {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-background-alt);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--color-secondary-600);
    transition: all 0.3s ease;
}

.mlops-feature:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.mlops-feature i {
    font-size: 1.5rem;
    color: var(--color-secondary-600);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.mlops-feature h4 {
    color: var(--color-text-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    margin-bottom: 0.25rem;
}

.mlops-feature p {
    color: var(--color-text-tertiary);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    margin: 0;
}

/* MLOPS Visual Card */
.mlops-visual {
    display: flex;
    justify-content: center;
}

.mlops-card {
    background: var(--color-background-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 440px;
}

.mlops-header {
    padding: var(--space-4) var(--space-6);
    background: var(--color-primary-50);
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mlops-badge {
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
}

.mlops-status {
    font-size: var(--text-xs);
    color: var(--color-success);
}

.mlops-components {
    padding: var(--space-4) var(--space-6);
}

.component-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.component-item:last-child {
    border-bottom: none;
}

.component-item i {
    font-size: 1.1rem;
    color: var(--color-secondary-600);
    width: 24px;
}

.component-item span {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    flex: 1;
}

.component-status {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--color-success);
}

.mlops-footer {
    padding: var(--space-3) var(--space-6);
    background: var(--color-background-alt);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-around;
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

.mlops-footer i {
    color: var(--color-secondary-600);
}

/* ===== ARCHITECTURE CTA ===== */

.architecture-cta {
    padding: var(--section-padding) 0;
    background: var(--color-background-alt);
    text-align: center;
}

.cta-block h2 {
    font-size: var(--text-3xl);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.cta-block p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-6);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 820px) {
    .internal-hero-standard {
        padding: 40px 0 30px;
        min-height: 220px;
    }
    
    .internal-hero-standard .hero-title {
        font-size: var(--text-3xl);
    }
    
    .internal-hero-standard .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .internal-hero-standard .hero-meta-cards {
        gap: var(--space-3);
    }
    
    .internal-hero-standard .meta-card {
        font-size: var(--text-xs);
        padding: 0.3rem 0.75rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .mlops-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .mlops-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .internal-hero-standard {
        padding: 35px 0 25px;
        min-height: 200px;
    }
    
    .internal-hero-standard .hero-title {
        font-size: var(--text-2xl);
    }
    
    .internal-hero-standard .hero-subtitle {
        font-size: var(--text-sm);
    }
    
    .internal-hero-standard .hero-meta-cards {
        gap: var(--space-2);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .internal-hero-standard .meta-card {
        font-size: var(--text-xs);
        padding: 0.25rem 0.6rem;
        white-space: normal;
    }
    
    .internal-hero-standard .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .internal-hero-standard .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-items {
        flex-direction: column;
        align-items: center;
    }
    
    .mlops-feature {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mlops-footer {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}