/* ==========================================================================
   SST Pitch Video Showcase & Modal Styles
   ========================================================================== */

/* Pitch Video Section (Homepage) */
.section-sst-pitch {
    position: relative;
    padding: 85px 0 85px 0;
    background: linear-gradient(135deg, #0b0e1f 0%, #151a33 50%, #0d1226 100%);
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

/* Background Ambient Lighting */
.section-sst-pitch::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(21, 185, 155, 0.15) 0%, rgba(21, 185, 155, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.section-sst-pitch::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(67, 186, 255, 0.12) 0%, rgba(67, 186, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Pitch Content Column */
.sst-pitch-content {
    padding-right: 25px;
}

.sst-pitch-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(21, 185, 155, 0.12);
    border: 1px solid rgba(21, 185, 155, 0.35);
    border-radius: 30px;
    color: #15b99b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sst-pitch-tag .pulse-dot {
    width: 8px;
    height: 8px;
    background: #15b99b;
    border-radius: 50%;
    box-shadow: 0 0 10px #15b99b;
    display: inline-block;
    animation: sstPulse 2s infinite ease-in-out;
}

@keyframes sstPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #15b99b; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.sst-pitch-heading {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

.sst-pitch-heading .gradient-text {
    background: linear-gradient(90deg, #15b99b, #43baff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sst-pitch-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #c0c6d8;
    margin-bottom: 28px;
    font-family: 'Nunito Sans', sans-serif;
}

/* Feature Bullet Points */
.sst-pitch-features {
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sst-pitch-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sst-pitch-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(21, 185, 155, 0.12);
    border: 1px solid rgba(21, 185, 155, 0.25);
    color: #15b99b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-top: 2px;
}

.sst-pitch-feature-text h5 {
    margin: 0 0 4px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.sst-pitch-feature-text p {
    margin: 0;
    color: #9aa1b8;
    font-size: 13.5px;
    line-height: 1.5;
    font-family: 'Nunito Sans', sans-serif;
}

/* Button Group */
.sst-pitch-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sst-pitch-actions .octf-btn-primary {
    background: #15b99b;
    border-color: #15b99b;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.sst-pitch-actions .octf-btn-primary:hover {
    background: #12a388;
    border-color: #12a388;
    color: #ffffff;
}

.sst-pitch-actions .sst-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sst-pitch-actions .sst-btn-outline:hover {
    border-color: #43baff;
    color: #43baff;
    background: rgba(67, 186, 255, 0.1);
}

/* Video Player Card (Browser / Device Mockup Frame) */
.sst-video-player-card {
    position: relative;
    background: #101429;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 35px rgba(21, 185, 155, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sst-video-player-card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75), 0 0 45px rgba(21, 185, 155, 0.25);
}

.sst-video-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sst-video-topbar .dots {
    display: flex;
    gap: 7px;
}

.sst-video-topbar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.sst-video-topbar .dot.red { background: #ff5f56; }
.sst-video-topbar .dot.yellow { background: #ffbd2e; }
.sst-video-topbar .dot.green { background: #27c93f; }

.sst-video-title {
    font-size: 12px;
    font-weight: 600;
    color: #9aa1b8;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sst-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(21, 185, 155, 0.15);
    color: #15b99b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 16:9 Aspect Ratio Video Container */
.sst-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #060814;
}

.sst-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
    display: block;
}

/* Custom Play Overlay */
.sst-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 14, 31, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sst-video-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sst-video-play-btn {
    width: 74px;
    height: 74px;
    background: #15b99b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    position: relative;
    box-shadow: 0 0 25px rgba(21, 185, 155, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.sst-video-play-btn::before,
.sst-video-play-btn::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid rgba(21, 185, 155, 0.6);
    border-radius: 50%;
    animation: sstPulseRings 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.sst-video-play-btn::after {
    animation-delay: 1.2s;
}

@keyframes sstPulseRings {
    0% { transform: scale(0.85); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.2; }
    100% { transform: scale(1.6); opacity: 0; }
}

.sst-video-overlay:hover .sst-video-play-btn {
    transform: scale(1.1);
    background: #12a388;
}

.sst-video-play-title {
    margin-top: 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    font-family: 'Montserrat', sans-serif;
}

.sst-video-play-sub {
    margin-top: 4px;
    color: #c0c6d8;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    font-family: 'Nunito Sans', sans-serif;
}

/* ==========================================================================
   Magnific Popup Lightbox Modal for Video (about-us.html & site-wide)
   ========================================================================== */
.sst-video-modal-container {
    position: relative;
    background: #0f1327;
    max-width: 960px;
    width: 92%;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 35px rgba(21, 185, 155, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sst-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sst-video-modal-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sst-video-modal-header h4 .badge-live {
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(21, 185, 155, 0.2);
    border: 1px solid rgba(21, 185, 155, 0.4);
    border-radius: 12px;
    color: #15b99b;
    font-weight: 600;
}

.sst-modal-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #000;
}

.sst-modal-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
    display: block;
}

/* Custom Close Button for Magnific Popup */
.mfp-wrap .sst-video-modal-container .mfp-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 36px;
    height: 36px;
    line-height: 34px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    outline: none;
    z-index: 10;
}

.mfp-wrap .sst-video-modal-container .mfp-close:hover {
    background: #15b99b;
    color: #ffffff !important;
    transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-sst-pitch {
        padding: 60px 0;
    }
    .sst-pitch-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .sst-pitch-heading {
        font-size: 30px;
    }
    .sst-pitch-features {
        text-align: left;
    }
    .sst-pitch-actions {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .sst-pitch-heading {
        font-size: 24px;
    }
    .sst-pitch-desc {
        font-size: 14.5px;
    }
    .sst-video-topbar {
        padding: 10px 14px;
    }
    .sst-video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    .sst-video-play-title {
        font-size: 13px;
    }
}
