/* --- eni-meetings.css (Styles for the ENIBUSINESS AI Meetings article) --- */

.terrain-section {
    background: linear-gradient(to bottom, #000074, #000000);
}


/* ============================================================
   PIPELINE FLOW — 5 steps with connecting arrows
   ============================================================ */
.pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 2.5rem 0;
    gap: 0;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 85px;
    max-width: 125px;
    padding: 0 0.3rem;
}

.pipeline-step__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(36,90,246,0.1);
    border: 2px solid #245AF6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #245AF6;
    margin-bottom: 0.65rem;
    position: relative;
    flex-shrink: 0;
}

.pipeline-step__num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: #245AF6;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipeline-step__label {
    color: #fff;
    font-weight: 700;
    font-size: 0.77rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.pipeline-step__desc {
    color: var(--secondary-text-color);
    font-size: 0.71rem;
    line-height: 1.45;
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    padding-top: 26px;
    color: #245AF6;
    font-size: 0.9rem;
    opacity: 0.55;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .pipeline {
        flex-direction: column;
        align-items: stretch;
    }
    .pipeline-step {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        gap: 1rem;
        padding: 0;
        align-items: flex-start;
    }
    .pipeline-step__icon { margin-bottom: 0; }
    .pipeline-arrow {
        padding-top: 0;
        justify-content: center;
        padding: 0.2rem 0 0.2rem 56px;
        opacity: 0.35;
        font-size: 0.8rem;
    }
}


/* ============================================================
   PIPELINE STEP COLOR MODIFIERS
   ============================================================ */
.pipeline-step--cyan .pipeline-step__icon   { color: #00d4ff; border-color: #00d4ff; background: rgba(0,212,255,0.1); }
.pipeline-step--cyan .pipeline-step__num    { background: #00d4ff; }

.pipeline-step--sky .pipeline-step__icon    { color: #60a5fa; border-color: #60a5fa; background: rgba(96,165,250,0.1); }
.pipeline-step--sky .pipeline-step__num     { background: #60a5fa; }

.pipeline-step--green .pipeline-step__icon  { color: #4ade80; border-color: #4ade80; background: rgba(74,222,128,0.1); }
.pipeline-step--green .pipeline-step__num   { background: #4ade80; }

.pipeline-step--purple .pipeline-step__icon { color: #a78bfa; border-color: #a78bfa; background: rgba(167,139,250,0.1); }
.pipeline-step--purple .pipeline-step__num  { background: #a78bfa; }


/* ============================================================
   FEATURE HIGHLIGHT COLOR MODIFIERS
   ============================================================ */
.feature-highlight--cyan   .feature-highlight__icon { color: #00d4ff; background: rgba(0,212,255,0.1); }
.feature-highlight--sky    .feature-highlight__icon { color: #60a5fa; background: rgba(96,165,250,0.1); }
.feature-highlight--green  .feature-highlight__icon { color: #4ade80; background: rgba(74,222,128,0.1); }
.feature-highlight--purple .feature-highlight__icon { color: #a78bfa; background: rgba(167,139,250,0.1); }


/* ============================================================
   MATCH AI CENTER COLOR MODIFIER
   ============================================================ */
.match-ai-center--purple .match-ai-center__icon  { color: #a78bfa; border-color: #a78bfa; background: rgba(167,139,250,0.1); }
.match-ai-center--purple .match-ai-center__label { color: #a78bfa; }


/* ============================================================
   EXTRACTION TREE (SVG wrapper + caption)
   ============================================================ */
.extract-tree-wrap {
    width: 100%;
    max-width: 580px;
    margin: 2rem auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 1.5rem 1rem 1rem;
}

.extract-tree-caption {
    text-align: center;
    font-size: 0.77rem;
    color: #555;
    margin-top: 0.75rem;
}


/* ============================================================
   FEATURE HIGHLIGHT BOX
   ============================================================ */
.feature-highlight {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.02);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin: 1.25rem 0;
}

.feature-highlight__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(36,90,246,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #245AF6;
    font-size: 1.2rem;
}

.feature-highlight__title {
    color: #fff;
    font-weight: 700;
    font-size: 0.93rem;
    margin-bottom: 0.3rem;
}

.feature-highlight__text {
    color: var(--secondary-text-color);
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0;
}


/* ============================================================
   AI MATCHING VISUAL
   ============================================================ */
.match-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.match-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.match-member {
    background: rgba(255,255,255,0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 165px;
}

.match-member__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(36,90,246,0.15);
    border: 1.5px solid #245AF6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #245AF6;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.match-member__name {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.match-member__role {
    color: var(--secondary-text-color);
    font-size: 0.7rem;
    display: block;
}

.match-arrows-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.match-arrows-col i {
    color: #245AF6;
    opacity: 0.5;
    font-size: 0.85rem;
}

.match-ai-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.match-ai-center__icon {
    width: 60px;
    height: 60px;
    background: rgba(36,90,246,0.12);
    border: 2px solid #245AF6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #245AF6;
    font-size: 1.5rem;
}

.match-ai-center__label {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #245AF6;
    text-align: center;
    line-height: 1.4;
}

.match-suggestion {
    background: rgba(36,90,246,0.06);
    border: 1px solid rgba(36,90,246,0.22);
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.75rem;
    color: var(--secondary-text-color);
    line-height: 1.5;
    min-width: 165px;
}

.match-suggestion strong {
    color: #fff;
    display: block;
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
}

@media (max-width: 620px) {
    .match-visual { flex-direction: column; align-items: stretch; }
    .match-arrows-col { flex-direction: row; justify-content: center; }
    .match-member, .match-suggestion { min-width: 0; }
}


/* ============================================================
   INSIGHT BOX
   ============================================================ */
.insight-box {
    background: rgba(36, 90, 246, 0.05);
    border: 1px solid rgba(36, 90, 246, 0.2);
    border-left: 4px solid #245AF6;
    border-radius: 0 10px 10px 0;
    padding: 1.2rem 1.5rem;
    margin: 2rem 0;
}

.insight-box p {
    margin: 0;
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.insight-box p strong { color: #fff; }
