/* Shared premium video showcase for dedicated service pages */
.svc-video-showcase {
    position: relative;
    padding: 4.5rem 0;
    background: linear-gradient(165deg, #eef2ff 0%, #f5f3ff 48%, #faf5ff 100%);
    overflow: hidden;
    opacity: 1;
    transform: none;
}
/* Header .scroll-reveal starts at opacity 0. Nested-document pages such as
   /pages/services/ can miss the footer observer and leave the player invisible. */
.svc-video-showcase.scroll-reveal {
    opacity: 1;
    transform: none;
}
.svc-video-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(124, 58, 237, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 88% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 52%);
    pointer-events: none;
}
.svc-video-inner {
    position: relative;
    z-index: 1;
    max-width: 56rem;
    margin: 0 auto;
}
.svc-video-intro {
    text-align: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e9d5ff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(76, 29, 149, 0.08);
    margin-bottom: 1.75rem;
}
.svc-video-kicker {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.9rem;
}
.svc-video-intro h2 {
    color: #111827;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}
.svc-video-lead {
    margin: 0 auto;
    max-width: 40rem;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}
.svc-video-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(196, 181, 253, 0.55);
    box-shadow: 0 22px 50px rgba(76, 29, 149, 0.16);
    background: #0f172a;
    aspect-ratio: 16 / 9;
}
.svc-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #0f172a;
    z-index: 2;
}
.svc-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.svc-video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 41, 0.04) 45%, rgba(15, 12, 41, 0.38) 100%);
    pointer-events: none;
}
.svc-video-poster:hover,
.svc-video-poster:focus-visible {
    outline: none;
}
.svc-video-poster:focus-visible {
    box-shadow: inset 0 0 0 3px #7c3aed;
}
.svc-video-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 4.35rem;
    height: 4.35rem;
    margin: -2.175rem 0 0 -2.175rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.5);
    animation: svcVideoPulse 2.6s ease-out infinite;
}
.svc-video-play svg {
    width: 1.55rem;
    height: 1.55rem;
    margin-left: 0.12rem;
}
@keyframes svcVideoPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(124, 58, 237, 0.5), 0 0 0 0 rgba(167, 139, 250, 0.4); }
    70% { box-shadow: 0 10px 28px rgba(124, 58, 237, 0.5), 0 0 0 16px rgba(167, 139, 250, 0); }
}
.svc-video-duration {
    position: absolute;
    z-index: 3;
    right: 0.9rem;
    bottom: 0.9rem;
    background: rgba(15, 12, 41, 0.78);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.28rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.svc-video-el {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}
.svc-video-frame.is-playing .svc-video-poster {
    display: none;
}
.svc-video-support {
    margin-top: 1.75rem;
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 10px 28px rgba(76, 29, 149, 0.07);
}
.svc-video-support h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin: 0 0 1rem;
}
.svc-video-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.svc-video-benefit {
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
    border: 1px solid #ede9fe;
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
}
.svc-video-benefit strong {
    display: block;
    color: #5b21b6;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.svc-video-benefit span {
    display: block;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
}
.svc-video-continue {
    margin: 1.1rem 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
}
@media (min-width: 768px) {
    .svc-video-intro {
        padding: 2rem 2.25rem 1.75rem;
    }
    .svc-video-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .svc-video-play {
        width: 4.6rem;
        height: 4.6rem;
        margin: -2.3rem 0 0 -2.3rem;
    }
}
@media (max-width: 767px) {
    .svc-video-showcase {
        padding: 3rem 0;
    }
    .svc-video-play {
        width: 3.5rem;
        height: 3.5rem;
        margin: -1.75rem 0 0 -1.75rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .svc-video-play { animation: none; }
}
