
/* ── Wrapper ── */
.feature-illustration {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 40px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    user-select: none;
}

/* ── Person cards ── */
.fi-person {
    position: relative;
    width: 200px;
    height: 280px;
    border-radius: 22px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.fi-person img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.fi-person-a {
    z-index: 2;
}

.fi-person-b {
    z-index: 2;
}

/* Live badge on person B */
.fi-live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.fi-live-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.5); }
}

/* App bar at bottom of person A */
.fi-app-bar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.234);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(183, 183, 183, 0.745);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 5;
    white-space: nowrap;
}

.fi-app-bar .app-dot {
    width: 26px; 
    height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.app-dot img {
    width: 26px;
    max-height: 26px;
}

/* ── Center connector area ── */
.fi-center {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 3;
}

/* Dashed line between persons */
.fi-line {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    border-top: 2px dashed rgba(63, 81, 181, 0.2);
    z-index: 0;
}

/* Central Connect core */
.fi-core {
    position: relative;
    z-index: 4;
    width: 130px; 
    height: 40px;
    background: var(--blue, #3f51b5);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 12px rgba(63,81,181,0.10), 0 8px 30px rgba(63,81,181,0.35);
    animation: corePulse 3s ease-in-out infinite;
    color: rgb(232, 231, 231);
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 0 0 10px rgba(63,81,181,0.10), 0 8px 30px rgba(63,81,181,0.30); }
    50%       { box-shadow: 0 0 0 20px rgba(63,81,181,0.06), 0 8px 36px rgba(63,81,181,0.40); }
}

/* ── Platform chips panel (right side) ── */
.fi-platform-panel {
    position: absolute;
    bottom: auto;
    right: -30px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(181, 190, 236, 0.326);
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(63,81,181,0.13), 0 0 0 1px rgba(63,81,181,0.07);
    z-index: 10;
    min-width: 160px;
}

.fi-platform-panel .pp-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}

.fi-platform-panel .pp-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(63,81,181,0.06);
}

.fi-platform-panel .pp-row:last-child { border-bottom: none; }

.fi-platform-panel .pp-dot {
    width: 26px; height: 26px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.fi-platform-panel .pp-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1d2e;
    flex: 1;
}

.fi-platform-panel .pp-check {
    width: 16px; height: 16px;
    background: rgba(63,81,181,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.fi-platform-panel .pp-check svg {
    width: 9px; height: 9px;
    stroke: var(--blue, #3f51b5);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Latency tag ── */
.fi-latency {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 56px));
    background: white;
    border: 1.5px solid rgba(63,81,181,0.15);
    border-radius: 99px;
    padding: 5px 13px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue, #3f51b5);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(63,81,181,0.12);
    z-index: 10;
    white-space: nowrap;
}

.fi-latency::before {
    content: '';
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 760px) {
    .feature-illustration { display: none; }
}
