/* “Problem” reel — before product walkthrough; student pain story (HTML/CSS loop) */

.landing-problem {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-problem-intro {
    text-align: center;
    padding: clamp(2rem, 5vw, 2.75rem) 1.5rem 1.25rem;
    max-width: 36rem;
    margin: 0 auto;
}

.landing-problem-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--landing-text, #f0f4f8);
}

.landing-problem-sub {
    margin: 0;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    color: var(--landing-muted, #8b9aab);
    line-height: 1.5;
}

.marketing-reel--problem .reel-vid {
    padding-bottom: 6rem;
}

.problem-reel-chrome .reel-demo-progress-fill {
    width: 100%;
}

/* Dark, slightly tense palette — distinct from walkthrough green */
.st-clip--problem .st-clip-bg {
    background: linear-gradient(165deg, #0a0a0c 0%, #1a1520 45%, #1e1b2e 100%);
}

.st-pr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    margin-bottom: 1rem;
    max-width: 18rem;
}

.st-pr-tab {
    display: inline-block;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(226, 232, 240, 0.85);
}

.st-pr-tab--more {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.st-pr-phone {
    width: 3.25rem;
    height: 5.5rem;
    margin: 0 auto 1rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #334155, #1e293b);
    border: 3px solid rgba(248, 113, 113, 0.45);
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.2);
    animation: stPrPhoneBuzz 18s ease-in-out infinite;
}

@keyframes stPrPhoneBuzz {
    0%,
    25% {
        transform: rotate(0deg);
    }
    27% {
        transform: rotate(-2deg);
    }
    29% {
        transform: rotate(2deg);
    }
    31%,
    100% {
        transform: rotate(0deg);
    }
}

.st-pr-chat {
    width: min(100%, 19rem);
    margin: 0 auto 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.st-pr-bubble {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
}

.st-pr-bubble--q {
    align-self: flex-start;
    background: rgba(51, 65, 85, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.st-pr-bubble--a {
    align-self: flex-end;
    background: rgba(61, 214, 140, 0.12);
    border: 1px solid rgba(61, 214, 140, 0.25);
    color: #bbf7d0;
}

@media (prefers-reduced-motion: reduce) {
    .st-pr-phone {
        animation: none !important;
    }
}
