/* === SOCIALFORMULA | HIGHEST PREMIUM: How It Works === */

.hiw-premium-section {
    padding: 140px 0;
    background: linear-gradient(180deg, #FAFAFF 0%, #F8F7FF 50%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Decorative Orbs */
.hiw-premium-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    filter: blur(60px);
    z-index: 0;
    animation: floatOrb 15s ease-in-out infinite;
}

.hiw-premium-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    filter: blur(50px);
    z-index: 0;
    animation: floatOrb 12s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hiw-wrapper {
    position: relative;
    z-index: 2;
}

/* ================================ */
/* MAIN LAYOUT - VIDEO LEFT SMALL  */
/* ================================ */
.hiw-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    /* MEDIUM VIDEO WIDTH */
    gap: 100px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* ================================ */
/* VIDEO PLAYER - COMPACT PREMIUM  */
/* ================================ */
.premium-video-container {
    position: relative;
}

.premium-video-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e, #0d0d1a);
    aspect-ratio: 4 / 5;
    /* MEDIUM BALANCED */
    box-shadow:
        0 40px 80px -20px rgba(139, 92, 246, 0.35),
        0 20px 40px -10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-video-card:hover {
    transform: translateY(-12px) rotateY(3deg);
    box-shadow:
        0 60px 120px -30px rgba(139, 92, 246, 0.45),
        0 30px 60px -15px rgba(0, 0, 0, 0.25);
}

.premium-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Premium Gradient Border */
.premium-video-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, #8B5CF6, #D946EF, #8B5CF6);
    z-index: -1;
    opacity: 0.8;
    transition: opacity 0.4s;
}

.premium-video-card:hover::before {
    opacity: 1;
}

/* Glass Reflection Overlay */
.premium-video-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

/* Play Button - Ultra Glass */
.premium-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.premium-play-btn i {
    color: #fff;
    font-size: 24px;
    margin-left: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.premium-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    background: linear-gradient(135deg, #8B5CF6, #D946EF);
    border-color: transparent;
    box-shadow:
        0 25px 50px rgba(139, 92, 246, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Floating Badge Under Video */
.video-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    white-space: nowrap;
}

.video-label i {
    color: #8B5CF6;
    font-size: 16px;
}

/* ================================ */
/* CONTENT - RIGHT SIDE            */
/* ================================ */
.hiw-content {
    padding-left: 0;
}

.hiw-header-text {
    margin-bottom: 50px;
}

.hiw-pre-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    color: #8B5CF6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.08);
}

.hiw-pre-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #0F172A;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hiw-pre-title span {
    background: linear-gradient(135deg, #8B5CF6 0%, #D946EF 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* ================================ */
/* STEP CARDS - ULTIMATE PREMIUM   */
/* ================================ */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.step-card-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

/* Shine Effect on Hover */
.step-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.8) 50%, transparent 60%);
    transition: left 0.6s;
    pointer-events: none;
}

.step-card-premium:hover::before {
    left: 100%;
}

.step-card-premium:hover {
    transform: translateX(12px) scale(1.01);
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow:
        0 25px 60px -15px rgba(139, 92, 246, 0.18),
        0 10px 20px rgba(0, 0, 0, 0.03);
}

/* Step Number - Gradient Badge */
.step-number {
    min-width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, #8B5CF6, #7C3AED);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 25px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
    flex-shrink: 0;
}

.step-card-premium:hover .step-number {
    transform: rotate(-8deg) scale(1.08);
    box-shadow:
        0 15px 35px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Step Content */
.step-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.step-content p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Hide old elements */
.bg-number,
.step-icon-pre,
.row,
.col-lg-6 {
    display: none !important;
}

/* ================================ */
/* RESPONSIVE                       */
/* ================================ */
@media (max-width: 991px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .premium-video-container {
        max-width: 380px;
        margin: 0 auto;
    }

    .premium-video-card {
        aspect-ratio: 4 / 5;
    }

    .hiw-content {
        text-align: center;
    }

    .hiw-header-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hiw-pre-title {
        font-size: 36px;
    }

    .step-card-premium {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hiw-premium-section {
        padding: 80px 0;
    }

    .premium-video-container {
        max-width: 320px;
    }

    .premium-video-card {
        border-radius: 20px;
    }

    .premium-play-btn {
        width: 56px;
        height: 56px;
    }

    .premium-play-btn i {
        font-size: 18px;
    }

    .hiw-pre-title {
        font-size: 30px;
    }

    .step-card-premium {
        padding: 20px;
        gap: 16px;
    }

    .step-number {
        min-width: 44px;
        height: 44px;
        font-size: 17px;
        border-radius: 12px;
    }

    .video-label {
        padding: 10px 18px;
        font-size: 12px;
    }
}