/* Shared Layout Styles for Solution Pages */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Sections */
.section {
    padding: 60px 0;
}

.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.9);
    margin: 3rem 0 1.5rem;
}

/* Overview Content */
.overview-content {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

.overview-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.overview-content li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.overview-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary, #6366f1);
}

.overview-content strong {
    color: white;
}

/* Grids */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gpu-configs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 20px;
}

/* Hero Callout */
.hero-callout {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary, #6366f1);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.hero-callout strong {
    color: var(--primary, #6366f1);
    display: block;
    margin-bottom: 0.5rem;
}

/* Config Alternative (nested in WhySection) */
.config-alternative {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.config-alternative h4 {
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.config-alternative p {
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.6;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.cta-contact a {
    color: var(--primary, #6366f1);
    text-decoration: none;
    font-weight: 600;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* Fade-in Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .benefits-grid,
    .gpu-configs,
    .deployment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}
