/* Platform product carousel + v1-style module scenes (scoped to .platform-section) */

.platform-section {
    padding: 120px 0 100px;
    --demo-bg: var(--bg-card);
    --bg-elevated: var(--bg-card-h);
    --demo-header-bg: var(--bg-card-h);
    --text-primary: var(--text);
}

.platform-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.platform-section .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Carousel shell ---------- */
.platform-carousel {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

/* Wrap holds viewport + absolutely positioned arrows */
.pc-viewport-wrap {
    position: relative;
}

.pc-viewport {
    overflow: hidden;
    border-radius: 16px;
    touch-action: pan-y;
}

.pc-track {
    display: flex;
    align-items: center;
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.pc-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.pc-arrow:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

.pc-arrow:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.pc-arrow svg {
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.pc-arrow-prev { left: 6px; }
.pc-arrow-next { right: 6px; }

@media (min-width: 641px) {
    .pc-arrow-prev { left: 10px; }
    .pc-arrow-next { right: 10px; }
}

.pc-card {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 28px 32px;
    box-shadow: 0 20px 50px var(--shadow);
}

.pc-visual {
    margin-bottom: 24px;
}

.pc-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.pc-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 52ch;
}

.pc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.pc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--border-light);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.pc-dot[aria-current="true"] {
    background: var(--primary);
    transform: scale(1.15);
}

.pc-dot:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .pc-card { padding: 20px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .pc-track { transition: none; }
}

/* =====================================================
   Live captioning — transcription scene (v1-style)
   ===================================================== */

.platform-section .transcription-scene {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 16px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    min-height: 260px;
    position: relative;
    overflow: visible;
}

.platform-section .podium-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.platform-section .podium-annotation {
    font-size: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 3px 8px;
    background: rgba(0, 200, 200, 0.1);
    border-radius: 20px;
    white-space: nowrap;
}

.platform-section .anim-input-centered {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.platform-section .sermon-input-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.platform-section .mic-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 16px var(--shadow);
}

.platform-section .mic-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.platform-section .mic-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.platform-section .mic-waves span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
}

.platform-section .mic-waves span:nth-child(1) { width: 100%; height: 100%; animation: pc-mic-pulse 2s ease-out infinite; }
.platform-section .mic-waves span:nth-child(2) { width: 130%; height: 130%; animation: pc-mic-pulse 2s ease-out infinite 0.3s; }
.platform-section .mic-waves span:nth-child(3) { width: 160%; height: 160%; animation: pc-mic-pulse 2s ease-out infinite 0.6s; }

@keyframes pc-mic-pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.platform-section .signal-path {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 0 4px;
}

.platform-section .signal-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pc-signal-travel 1.2s ease-in-out infinite;
}

.platform-section .signal-dot:nth-child(1) { animation-delay: 0s; }
.platform-section .signal-dot:nth-child(2) { animation-delay: 0.2s; }
.platform-section .signal-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pc-signal-travel {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.5); }
}

.platform-section .tv-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.platform-section .tv-annotation {
    font-size: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding: 3px 8px;
    background: rgba(0, 200, 200, 0.1);
    border-radius: 20px;
    white-space: nowrap;
}

.platform-section .tv-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-section .tv-frame {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}

.platform-section .tv-screen {
    width: 168px;
    height: 102px;
    background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.platform-section .tv-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-section .arabic-block {
    font-size: 0.78rem;
    text-align: right;
    direction: rtl;
    color: #fff;
}

.platform-section .arabic-block .arabic-text {
    opacity: 0;
    animation: pc-arabic-cycle 5s ease infinite;
    display: inline-block;
    font-family: 'Amiri', serif;
}

@keyframes pc-arabic-cycle {
    0% { opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    90% { opacity: 0; }
    100% { opacity: 0; }
}

.platform-section .translation-block {
    font-size: 0.62rem;
    color: var(--primary);
    font-style: italic;
}

.platform-section .translation-block .word {
    opacity: 0;
    animation: pc-word-cycle 5s ease infinite;
}

.platform-section .translation-block .word:nth-child(1) { animation-delay: 1.2s; }
.platform-section .translation-block .word:nth-child(2) { animation-delay: 1.3s; }
.platform-section .translation-block .word:nth-child(3) { animation-delay: 1.4s; }
.platform-section .translation-block .word:nth-child(4) { animation-delay: 1.5s; }
.platform-section .translation-block .word:nth-child(5) { animation-delay: 1.6s; }

@keyframes pc-word-cycle {
    0% { opacity: 0; transform: translateY(3px); }
    5% { opacity: 1; transform: translateY(0); }
    75% { opacity: 1; transform: translateY(0); }
    85% { opacity: 0; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(3px); }
}

.platform-section .english-block {
    font-size: 0.62rem;
    color: #ccc;
    margin-top: 2px;
}

.platform-section .english-block .eng-word {
    opacity: 0;
    animation: pc-eng-word-cycle 5s ease infinite;
}

.platform-section .english-block .eng-word:nth-child(1) { animation-delay: 2.0s; }
.platform-section .english-block .eng-word:nth-child(2) { animation-delay: 2.1s; }
.platform-section .english-block .eng-word:nth-child(3) { animation-delay: 2.2s; }
.platform-section .english-block .eng-word:nth-child(4) { animation-delay: 2.3s; }
.platform-section .english-block .eng-word:nth-child(5) { animation-delay: 2.4s; }
.platform-section .english-block .eng-word:nth-child(6) { animation-delay: 2.5s; }
.platform-section .english-block .eng-word:nth-child(7) { animation-delay: 2.6s; }
.platform-section .english-block .eng-word:nth-child(8) { animation-delay: 2.7s; }

@keyframes pc-eng-word-cycle {
    0% { opacity: 0; transform: translateY(3px); }
    5% { opacity: 1; transform: translateY(0); }
    70% { opacity: 1; transform: translateY(0); }
    80% { opacity: 0; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(3px); }
}

.platform-section .live-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #ff6666;
    background: rgba(255, 68, 68, 0.15);
    padding: 2px 5px;
    border-radius: 3px;
}

.platform-section .live-dot {
    width: 5px;
    height: 5px;
    background: #ff4444;
    border-radius: 50%;
    animation: pc-pulse-dot 1.5s infinite;
}

@keyframes pc-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.platform-section .tv-stand {
    width: 36px;
    height: 5px;
    background: #333;
    margin-top: 3px;
    border-radius: 0 0 4px 4px;
    position: relative;
}

.platform-section .tv-stand::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -6px;
    width: 7px;
    height: 10px;
    background: #333;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .platform-section .transcription-scene {
        flex-direction: column;
        gap: 18px;
        min-height: auto;
    }
    .platform-section .signal-path {
        transform: rotate(90deg);
        padding: 8px 0;
    }
}

/* =====================================================
   Automated marketing
   ===================================================== */

.marketing-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 260px;
    padding: 20px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.mkt-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mkt-label {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.mkt-core {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 28px rgba(0, 200, 200, 0.25);
    position: relative;
}

.mkt-core::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.35;
    animation: pc-hub-ring 2.5s ease-out infinite;
}

@keyframes pc-hub-ring {
    0% { transform: scale(0.92); opacity: 0.5; }
    100% { transform: scale(1.15); opacity: 0; }
}

.mkt-rays {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mkt-ray {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.mkt-ray-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    animation: pc-ray-pop 2.8s ease-in-out infinite;
}

.mkt-ray:nth-child(1) .mkt-ray-icon { animation-delay: 0s; }
.mkt-ray:nth-child(2) .mkt-ray-icon { animation-delay: 0.35s; }
.mkt-ray:nth-child(3) .mkt-ray-icon { animation-delay: 0.7s; }
.mkt-ray:nth-child(4) .mkt-ray-icon { animation-delay: 1.05s; }

@keyframes pc-ray-pop {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 200, 0); }
    40% { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(0, 200, 200, 0.12); }
}

.mkt-ray svg {
    width: 18px;
    height: 18px;
}

.mkt-ray-line {
    flex: 1;
    height: 2px;
    min-width: 24px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.45;
    position: relative;
    overflow: hidden;
}

.mkt-ray-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--primary);
    animation: pc-ray-flow 1.8s ease-in-out infinite;
}

@keyframes pc-ray-flow {
    0% { transform: translateX(-100%); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: translateX(220%); opacity: 0; }
}

/* =====================================================
   Automated reporting
   ===================================================== */

.reporting-scene {
    min-height: 260px;
    padding: 20px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rep-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rep-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 8px 0 0;
    border-bottom: 1px solid var(--border);
}

.rep-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(0, 200, 200, 0.2) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 12px;
    animation: pc-rep-bar 3.2s ease-in-out infinite;
    transform-origin: bottom center;
}

.rep-bar:nth-child(1) { height: 45%; animation-delay: 0s; }
.rep-bar:nth-child(2) { height: 72%; animation-delay: 0.15s; }
.rep-bar:nth-child(3) { height: 38%; animation-delay: 0.3s; }
.rep-bar:nth-child(4) { height: 88%; animation-delay: 0.45s; }
.rep-bar:nth-child(5) { height: 62%; animation-delay: 0.6s; }
.rep-bar:nth-child(6) { height: 95%; animation-delay: 0.75s; }

@keyframes pc-rep-bar {
    0%, 100% { filter: brightness(0.95); }
    50% { filter: brightness(1.15); }
}

.rep-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rep-kpi {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
}

.rep-kpi-val {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.rep-kpi-lbl {
    font-size: 0.58rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =====================================================
   Content intelligence — analytics pipeline (v1-style)
   ===================================================== */

.platform-section .analytics-scene {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 16px 10px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    min-height: 260px;
    overflow: visible;
}

.platform-section .upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.platform-section .upload-annotation {
    font-size: 0.55rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    padding: 3px 8px;
    background: rgba(212, 112, 10, 0.12);
    border-radius: 12px;
    text-align: center;
}

.platform-section .file-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.platform-section .file-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.5rem;
    color: var(--text-secondary);
    animation: pc-file-upload 3s ease-in-out infinite;
    max-width: 100px;
}

.platform-section .file-icon:nth-child(1) { animation-delay: 0s; }
.platform-section .file-icon:nth-child(2) { animation-delay: 0.3s; }
.platform-section .file-icon:nth-child(3) { animation-delay: 0.6s; }

@keyframes pc-file-upload {
    0%, 100% { transform: translateX(0); opacity: 0.75; }
    50% { transform: translateX(4px); opacity: 1; }
}

.platform-section .file-icon svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.platform-section .file-icon.video svg { color: #e74c3c; }
.platform-section .file-icon.audio svg { color: #9b59b6; }

.platform-section .flow-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 2px;
}

.platform-section .arrow-line {
    width: 18px;
    height: 2px;
    background: var(--border);
    position: relative;
}

.platform-section .arrow-line::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    background: var(--accent);
    animation: pc-arrow-flow 1s ease-in-out infinite;
}

@keyframes pc-arrow-flow {
    0% { left: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 10px; opacity: 0; }
}

.platform-section .arrow-head {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--border);
}

.platform-section .processing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.platform-section .processing-annotation {
    font-size: 0.55rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding: 3px 8px;
    background: rgba(212, 112, 10, 0.12);
    border-radius: 12px;
}

.platform-section .text-output {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-section .output-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.5rem;
    color: var(--text-secondary);
    padding: 3px 6px;
    background: var(--bg-elevated);
    border-radius: 6px;
    border: 1px solid var(--border);
    opacity: 0;
    animation: pc-output-appear 3s ease-in-out infinite;
}

.platform-section .output-item:nth-child(1) { animation-delay: 0.5s; }
.platform-section .output-item:nth-child(2) { animation-delay: 1s; }

@keyframes pc-output-appear {
    0%, 20% { opacity: 0; transform: translateY(4px); }
    40%, 80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-4px); }
}

.platform-section .dashboard-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.platform-section .dashboard-annotation {
    font-size: 0.55rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding: 3px 8px;
    background: rgba(212, 112, 10, 0.12);
    border-radius: 12px;
}

.platform-section .dashboard-screen {
    width: 128px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px var(--shadow);
}

.platform-section .dash-header {
    display: flex;
    gap: 4px;
    padding: 6px 8px;
    background: var(--demo-header-bg);
    border-bottom: 1px solid var(--border);
}

.platform-section .dash-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.platform-section .dash-dot:nth-child(1) { background: #ff5f57; }
.platform-section .dash-dot:nth-child(2) { background: #ffbd2e; }
.platform-section .dash-dot:nth-child(3) { background: #28c840; }

.platform-section .dash-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.platform-section .dash-tab {
    flex: 1;
    font-size: 0.48rem;
    padding: 5px 3px;
    text-align: center;
    color: var(--text-muted);
}

.platform-section .dash-tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.platform-section .dash-views {
    position: relative;
    height: 96px;
}

.platform-section .dash-view {
    position: absolute;
    inset: 0;
    padding: 8px;
    opacity: 0;
    animation: pc-view-cycle 9s ease-in-out infinite;
}

.platform-section .dash-view.topics-view { animation-delay: 0s; }
.platform-section .dash-view.timeline-view { animation-delay: 3s; }
.platform-section .dash-view.scores-view { animation-delay: 6s; }

@keyframes pc-view-cycle {
    0%, 5% { opacity: 0; }
    11%, 28% { opacity: 1; }
    33%, 100% { opacity: 0; }
}

.platform-section .topics-view {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.platform-section .topic-clusters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.platform-section .cluster-name {
    font-size: 0.48rem;
    font-weight: 600;
}

.platform-section .cluster-name.c1 { color: var(--primary); }
.platform-section .cluster-name.c2 { color: var(--accent); }
.platform-section .cluster-name.c3 { color: #9b59b6; }

.platform-section .cluster-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    max-width: 32px;
}

.platform-section .cdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pc-cdot-pulse 2s ease-in-out infinite;
}

.platform-section .cdot.c1 { background: var(--primary); }
.platform-section .cdot.c2 { background: var(--accent); }
.platform-section .cdot.c3 { background: #9b59b6; }

.platform-section .cdot:nth-child(1) { animation-delay: 0s; }
.platform-section .cdot:nth-child(2) { animation-delay: 0.2s; }
.platform-section .cdot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pc-cdot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

.platform-section .timeline-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.platform-section .timeline-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    flex: 1;
    padding-bottom: 4px;
}

.platform-section .tl-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    opacity: 0.85;
    animation: pc-tl-grow 2.4s ease-in-out infinite;
}

.platform-section .tl-bar:nth-child(1) { height: 50%; animation-delay: 0s; }
.platform-section .tl-bar:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.platform-section .tl-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.platform-section .tl-bar:nth-child(4) { height: 95%; animation-delay: 0.3s; }
.platform-section .tl-bar:nth-child(5) { height: 65%; animation-delay: 0.4s; }
.platform-section .tl-bar:nth-child(6) { height: 75%; animation-delay: 0.5s; }

@keyframes pc-tl-grow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.08); }
}

.platform-section .timeline-axis {
    height: 1px;
    background: var(--border);
}

.platform-section .scores-view {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    height: 100%;
}

.platform-section .score-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.48rem;
}

.platform-section .score-name {
    width: 52px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.platform-section .score-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.platform-section .score-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    animation: pc-score-fill 4s ease-in-out infinite;
}

.platform-section .score-item:nth-child(1) .score-fill { width: 85%; }
.platform-section .score-item:nth-child(2) .score-fill { width: 72%; animation-delay: 0.3s; }
.platform-section .score-item:nth-child(3) .score-fill { width: 90%; animation-delay: 0.6s; }
.platform-section .score-item:nth-child(4) .score-fill { width: 68%; animation-delay: 0.9s; }

@keyframes pc-score-fill {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.platform-section .score-val {
    width: 18px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--primary);
}

@media (max-width: 700px) {
    .platform-section .analytics-scene {
        flex-direction: column;
        gap: 14px;
    }
    .platform-section .flow-arrow {
        transform: rotate(90deg);
    }
}

/* =====================================================
   Feedback collection (v1-style, compact)
   ===================================================== */

.platform-section .feedback-scene {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 12px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    min-height: 260px;
}

.platform-section .feedback-input-section,
.platform-section .feedback-dashboard-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-section .feedback-annotation {
    font-size: 0.55rem;
    color: #9b59b6;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    padding: 3px 8px;
    background: rgba(155, 89, 182, 0.12);
    border-radius: 12px;
    text-align: center;
}

.platform-section .feedback-sources {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.platform-section .feedback-person {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    animation: pc-person-appear 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes pc-person-appear {
    0%, 20% { opacity: 0.55; transform: translateX(-4px); }
    40%, 80% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0.55; transform: translateX(-4px); }
}

.platform-section .person-avatar {
    width: 20px;
    height: 20px;
    background: var(--bg-elevated);
    border: 2px solid #9b59b6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b59b6;
    flex-shrink: 0;
}

.platform-section .person-avatar svg {
    width: 10px;
    height: 10px;
}

.platform-section .thought-bubble {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.48rem;
    color: var(--text-secondary);
    max-width: 108px;
}

.platform-section .thought-text {
    line-height: 1.3;
}

.platform-section .thought-lang {
    font-size: 0.42rem;
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    flex-shrink: 0;
}

.platform-section .ai-review-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-section .ai-processor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.platform-section .ai-brain {
    position: relative;
    width: 44px;
    height: 44px;
    color: #9b59b6;
}

.platform-section .ai-brain svg {
    width: 100%;
    height: 100%;
}

.platform-section .ai-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid #9b59b6;
    border-radius: 50%;
    opacity: 0;
    animation: pc-ai-pulse 2s ease-out infinite;
}

@keyframes pc-ai-pulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 0; }
}

.platform-section .ai-outputs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.platform-section .ai-tag {
    font-size: 0.45rem;
    padding: 2px 5px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
}

.platform-section .feedback-dashboard {
    width: 118px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.platform-section .feedback-dashboard .dash-header {
    padding: 6px 8px;
}

.platform-section .pulse-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    font-size: 0.48rem;
}

.platform-section .pulse-tab {
    flex: 1;
    text-align: center;
    padding: 5px;
    color: var(--text-muted);
}

.platform-section .pulse-tab.active {
    color: #9b59b6;
    border-bottom: 2px solid #9b59b6;
}

.platform-section .pulse-content-views {
    position: relative;
    height: 88px;
}

.platform-section .pulse-view {
    position: absolute;
    inset: 0;
    padding: 8px;
    opacity: 0;
    animation: pc-pulse-view 8s ease-in-out infinite;
}

.platform-section .pulse-view.sentiment-view { animation-delay: 0s; }
.platform-section .pulse-view.insights-view { animation-delay: 4s; }

@keyframes pc-pulse-view {
    0%, 5% { opacity: 0; }
    12%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.platform-section .sentiment-chart {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    height: 100%;
}

.platform-section .sentiment-donut {
    position: relative;
    width: 44px;
    height: 44px;
}

.platform-section .sentiment-donut svg {
    width: 100%;
    height: 100%;
}

.platform-section .donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.platform-section .sentiment-legend {
    font-size: 0.42rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.platform-section .legend-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.platform-section .leg-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.platform-section .leg-dot.positive { background: #27ae60; }
.platform-section .leg-dot.neutral { background: #f39c12; }
.platform-section .leg-dot.negative { background: #e74c3c; }

.platform-section .insight-cards {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-section .insight-card {
    font-size: 0.45rem;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1.3;
}

.platform-section .insight-card.positive {
    background: rgba(39, 174, 96, 0.12);
    border: 1px solid rgba(39, 174, 96, 0.35);
}

.platform-section .insight-card.concern {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.25);
}

@media (max-width: 700px) {
    .platform-section .feedback-scene {
        flex-direction: column;
    }
    .platform-section .flow-arrow {
        transform: rotate(90deg);
    }
}

/* =====================================================
   And more
   ===================================================== */

.more-scene {
    min-height: 260px;
    padding: 24px;
    background: var(--demo-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.more-cell {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px dashed var(--border-light);
    background: linear-gradient(135deg, var(--bg-elevated) 0%, transparent 100%);
    animation: pc-more-cell 3.5s ease-in-out infinite;
}

.more-cell:nth-child(1) { animation-delay: 0s; }
.more-cell:nth-child(2) { animation-delay: 0.2s; }
.more-cell:nth-child(3) { animation-delay: 0.4s; }
.more-cell:nth-child(4) { animation-delay: 0.6s; }
.more-cell:nth-child(5) { animation-delay: 0.8s; }
.more-cell:nth-child(6) { animation-delay: 1s; }

@keyframes pc-more-cell {
    0%, 100% { border-color: var(--border-light); opacity: 0.7; }
    50% { border-color: var(--primary); opacity: 1; }
}

.more-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 520px) {
    .marketing-scene {
        flex-direction: column;
    }
    .mkt-ray .mkt-ray-line {
        min-width: 12px;
        max-width: 36px;
    }
}
