/* === Tabs + Segments matrix === */

/* ════════════════════════════════════════════════
   IG-TABS — universal tab component
════════════════════════════════════════════════ */
.ig-tabs { margin: 48px 0 0; }

.ig-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 0;
}
.ig-tab-btn {
    padding: 8px 20px;
    border: 1px solid rgba(0,201,167,0.18);
    border-radius: 4px;
    background: transparent;
    color: rgba(232,240,248,0.55);
    font-family: var(--font-code, monospace);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.ig-tab-btn:hover {
    border-color: rgba(0,201,167,0.4);
    color: var(--teal);
}
.ig-tab-btn.active {
    background: rgba(0,201,167,0.10);
    border-color: var(--teal);
    color: var(--teal);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.ig-tab-panel { display: none; }
.ig-tab-panel.active { display: block; }

/* Segments page — circle icon grid */
.segments-circle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.segment-circle-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 32px 20px 24px;
    text-align: center;
    cursor: default;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.segment-circle-card:hover {
    border-color: rgba(0,201,167,0.3);
    background: rgba(0,201,167,0.04);
    transform: translateY(-2px);
}
.segment-circle-card .ig-icon--circle { margin-bottom: 16px; }
.segment-circle-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(232,240,248,0.85);
    line-height: 1.4;
}
.segment-circle-desc {
    font-size: 12.5px;
    color: rgba(232,240,248,0.5);
    line-height: 1.6;
    margin-top: 8px;
}
@media (max-width: 1024px) { .segments-circle-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .segments-circle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .segments-circle-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════
   SEGMENTS PAGE — matrix table
════════════════════════════════════════════════ */
.segments-page-section { padding: 60px 0 80px; }

.seg-matrix {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid rgba(0,201,167,0.10);
    border-radius: 8px;
    overflow: hidden;
}
.seg-matrix-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
/* vertical divider between left and right columns */
.seg-matrix-row:nth-child(odd) {
    border-right: 1px solid rgba(0,201,167,0.10);
}
/* last two rows — no bottom border */
.seg-matrix-row:nth-last-child(-n+2) { border-bottom: none; }
.seg-matrix-row:hover { background: rgba(0,201,167,0.04); }
.seg-matrix-company {
    font-weight: 700;
    font-size: 14px;
    color: var(--teal);
    font-family: var(--font-code, monospace);
    white-space: nowrap;
}
.seg-matrix-focus {
    font-size: 14px;
    color: rgba(232,240,248,0.72);
    line-height: 1.6;
}
@media (max-width: 860px) {
    .seg-matrix { grid-template-columns: 1fr; }
    .seg-matrix-row:nth-child(odd) { border-right: none; }
    .seg-matrix-row:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.04); }
    .seg-matrix-row:last-child { border-bottom: none; }
}
@media (max-width: 540px) {
    .seg-matrix-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* ════════════════════════════════════════════════
