/* --- How This Program Works Styles --- */

/* Page Hero - Global Standard */
.page-hero {
    background: radial-gradient(circle at center, #002699 0%, #000000 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Base Sections */
.block-layout {
    padding: 5rem 0;
}

.block-layout.alt-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-heading {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.eco-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s;
}

.eco-card:hover {
    transform: translateY(-5px);
}

.eco-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.eco-card h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.25rem;
}

.eco-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.eco-connector {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    /* Adjust based on circle size */
    width: 2px;
    background: #cbd5e1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 0 0 5px #eff6ff;
    z-index: 1;
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
}

/* Arrow for box */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-size: 1.35rem;
}

.timeline-content p {
    color: #475569;
    line-height: 1.6;
}

/* Buttons */
.button-group {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-small {
    background: linear-gradient(135deg, #0066FF 0%, #004080 100%);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
}

.btn-secondary-small {
    background: #eff6ff;
    color: #0066FF;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    display: inline-block;
}

.btn-secondary-small:hover {
    background: #dbeafe;
}

.center-cta {
    text-align: center;
}

.center-cta h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.25rem;
    }

    .ecosystem-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .eco-connector {
        transform: rotate(90deg);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-item {
        padding-left: 55px;
    }
}