/* about.css — GIABot About Page */

.about-container {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* --- TÍTULOS --- */
.section-title {
    color: var(--color-primary);
    font-size: 1.6em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--color-secondary);
}

.section-title i {
    margin-right: 10px;
    color: var(--color-secondary);
}

/* --- INTRO BOX --- */
.project-intro {
    margin-bottom: 20px;
}

.intro-box {
    max-width: 820px;
    margin: 0 auto;
    background: #fafbfc;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    padding: 32px 36px;
}

.intro-box p {
    color: var(--color-text-light);
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 300;
}

.intro-box p:last-child {
    margin-bottom: 0;
}

.intro-box p.lead {
    font-size: 1.15em;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.7;
}

.intro-box strong {
    color: var(--color-primary);
    font-weight: 500;
}

/* --- PIPELINE SECTION --- */
.pipeline-section {
    margin-top: 15px;
    margin-bottom: 50px;
}

.pipeline-subtitle {
    color: var(--color-muted);
    font-size: 0.95em;
    font-weight: 300;
    margin-top: -15px;
    margin-bottom: 35px;
}

/* Pipeline flow — horizontal steps with connecting track */
.pipeline-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    padding-top: 20px;
}

/* Connecting track line */
.pipeline-track {
    position: absolute;
    top: 39px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary), var(--color-secondary));
    opacity: 0.25;
    grid-column: 1 / -1;
}

/* Individual agent step */
.agent-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

/* Step number circle on the track */
.step-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.agent-step:hover .step-number {
    background: var(--color-primary);
    color: white;
}

/* Step content card */
.step-content {
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    padding: 24px 16px 20px;
    width: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.agent-step:hover .step-content {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: var(--color-border);
}

/* Icon inside card */
.step-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1em;
}

/* Agent-specific icon colors */
.selector-agent .step-icon {
    background: #f0f4f8;
    color: #6c757d;
}
.summarizer-agent .step-icon {
    background: #e8f0fe;
    color: #1a73e8;
}
.categorizer-agent .step-icon {
    background: #e6f4ea;
    color: #1e8e3e;
}
.tagger-agent .step-icon {
    background: #fef7e0;
    color: #e8a400;
}

.step-content h4 {
    color: var(--color-primary);
    margin: 0 0 4px 0;
    font-size: 1.05em;
    font-weight: 600;
}

.step-role {
    font-size: 0.75em;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.85em;
    color: var(--color-text-light);
    line-height: 1.5;
    font-weight: 300;
}

/* --- EQUIPO Y COLABORADORES --- */
.team-level {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.collaborators-subtitle {
    text-align: left;
    margin: 30px 0 15px;
    font-size: 0.95rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    width: 100%;
}

/* --- TARJETAS EQUIPO --- */
.mini-card {
    background: white;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.mini-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-color: var(--color-border);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tarjeta autor destacada */
.card-highlight {
    border-color: #bbdefb;
    background: #fdfeff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card-highlight .mini-icon {
    background: #fff9c4;
    color: #fbc02d;
}

/* Iconos de rol */
.mini-icon {
    width: 45px;
    height: 45px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-icon { background: #fff9c4; color: #fbc02d; }
.icon-secondary { background: #f5f5f5; color: #616161; }
.icon-tech      { background: #e8f5e9; color: #2e7d32; }

/* Texto */
.mini-info h4 {
    margin: 0;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
}

.mini-info span {
    font-size: 0.85em;
    color: #777;
    display: block;
    margin-top: 2px;
}

/* Botón LinkedIn */
.linkedin-link {
    color: #0077b5;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    padding: 5px;
}

.linkedin-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .pipeline-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
        padding-top: 0;
    }
    .pipeline-track { display: none; }
    .step-number { display: none; }
    .step-content { padding: 20px 14px 16px; }
}

@media (max-width: 768px) {
    .pipeline-flow {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .agent-step {
        flex-direction: row;
        text-align: left;
        padding: 0;
    }

    .step-content {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .step-content h4 { margin-bottom: 2px; }
    .step-role { margin-bottom: 4px; }
    .step-desc { display: none; }

    .team-level { flex-direction: column; align-items: center; }
    .collaborators-subtitle { text-align: center; }
    .mini-card,
    .card-highlight { width: 100%; max-width: 350px; }
}
