@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --primary-color: #B22222;
    /* Uso Red / Firebrick */
    --secondary-color: #DC143C;
    /* Crimson */
    --accent-color: #FFD700;
    /* Gold */
    --bg-color: #f4f7f6;
    --text-color: #333;
    --card-bg: #fff;
    --timeline-line: #cbd5e1;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* Prerequisite Card */
.prerequisite {
    background: var(--card-bg);
    border-left: 5px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.prerequisite-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.prerequisite-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    /* Adjust for icon center */
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--timeline-line);
    border-radius: 2px;
}

.step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
    /* Space for line and icon */
}

.step:last-child {
    margin-bottom: 0;
}

.step-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--bg-color);
    /* White ring effect */
    z-index: 2;
}

.step-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.step-desc {
    margin: 0;
    color: #555;
}

.step-action {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #e0f2fe;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 18px;
    }

    .step {
        padding-left: 50px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #eee;
    display: block;
}