/* Website: src/app/static/css/pages/pitchdeck/slides/slide4.css v4.0 */

#slide-4 {
    padding: 18px 22px;
    box-sizing: border-box;
}

#slide-4 .object-header {
    text-align: center;
    margin-bottom: 14px;
}

#slide-4 .object-header h1 {
    margin: 0 0 6px 0;
    font-size: 26px;
}

#slide-4 .object-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

/* Layout */
#slide-4 .object-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    height: calc(100% - 60px); /* Keeps inside the 500px slide height */
    align-items: stretch;
}

/* Processes */
#slide-4 .object-processes {
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

#slide-4 .object-processes h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
    opacity: 0.9;
}

#slide-4 .process-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#slide-4 .process-item {
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

#slide-4 .process-item:focus-visible {
    outline: 2px solid #ff4d4d;
    outline-offset: 2px;
}

#slide-4 .process-item.is-active {
    border-color: rgba(255,77,77,0.6);
    background: rgba(255,77,77,0.12);
    box-shadow: 0 0 0 1px rgba(255,77,77,0.2) inset;
}

#slide-4 .process-title {
    font-size: 14px;
    margin-bottom: 4px;
    color: #ff4d4d; /* Influence accent for Lead the WAi */
}

#slide-4 .process-desc {
    font-size: 13px;
    opacity: 0.88;
    line-height: 1.35;
}

/* Screenshots */
#slide-4 .object-screenshots {
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
}

#slide-4 .screenshot-frame {
    position: relative;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 260px;
}

/* Panels */
#slide-4 .screenshot-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

#slide-4 .screenshot-panel.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Placeholder container */
#slide-4 .screenshot-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

#slide-4 .screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* If src is empty, browsers show a broken image icon.
       We hide it and rely on the overlay text. */
    opacity: 1;
}

#slide-4 .screenshot-placeholder img[data-placeholder="true"] {
    opacity: 0;
}

#slide-4 .placeholder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    font-size: 14px;
    opacity: 0.75;
}

#slide-4 .screenshot-placeholder img:not([data-placeholder="true"]) + .placeholder-overlay {
    display: none;
}

/* Controls */
#slide-4 .screenshot-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

#slide-4 .shot-btn {
    padding: 7px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: inherit;
    cursor: pointer;
}

#slide-4 .shot-btn:hover {
    background: rgba(255,255,255,0.10);
}

#slide-4 .shot-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#slide-4 .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    cursor: pointer;
}

#slide-4 .dot.is-active {
    background: #ff4d4d; /* Influence accent */
    border-color: #ff4d4d;
}

#slide-4 .screenshot-caption {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.85;
    text-align: center;
}
