/* =====================================================
   AI VIDEO — HERO
===================================================== */

.ai-video-page {
    overflow: hidden;
}


/* =====================================================
   HERO SECTION
===================================================== */

.ai-video-hero {
    position: relative;
    overflow: hidden;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.ai-video-hero-visual {
    position: relative;
}


/* =====================================================
   AI VIDEO HERO FRAME
===================================================== */

.ai-video-hero-frame {
    position: relative;
    width: min(100%, 520px);
    min-height: 390px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.06);

    overflow: hidden;

    backdrop-filter: blur(18px);
}


/* =====================================================
   FRAME TOP BAR
===================================================== */

.ai-video-hero-frame-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    color: rgba(255,255,255,.55);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
}


/* =====================================================
   DASHBOARD DOTS
===================================================== */

.ai-video-hero-frame-top .dashboard-dots {
    display: flex;
    gap: 6px;
}


.ai-video-hero-frame-top .dashboard-dots span {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;

    background: rgba(255,255,255,.25);
}


/* =====================================================
   HERO CONTENT
===================================================== */

.ai-video-hero-content {
    position: relative;

    min-height: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(129,122,255,.12),
            transparent 60%
        );
}


/* =====================================================
   LABEL
===================================================== */

.ai-video-hero-label {
    margin-bottom: 22px;

    color: rgba(255,255,255,.55);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}


/* =====================================================
   IDEA → VIDEO
===================================================== */

.ai-video-hero-content strong {
    display: flex;
    align-items: center;
    gap: 18px;

    color: #fff;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.04em;
}


.ai-video-hero-content strong span {
    color: rgba(129,122,255,.95);
    font-size: .55em;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.ai-video-hero-content p {
    margin: 24px 0 0;

    color: rgba(255,255,255,.55);

    font-size: 14px;
    line-height: 1.6;
}


/* =====================================================
   HERO GLOW
===================================================== */

.ai-video-hero .service-visual-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(129,122,255,.18),
            transparent 68%
        );

    filter: blur(35px);

    pointer-events: none;
}


/* =====================================================
   MOBILE HERO
===================================================== */

@media (max-width: 768px) {

    .ai-video-hero-frame {
        width: 100%;
        min-height: 330px;
        border-radius: 20px;
    }


    .ai-video-hero-content {
        min-height: 270px;
        padding: 30px 20px;
    }


    .ai-video-hero-content strong {
        font-size: 42px;
        gap: 12px;
    }


    .ai-video-hero-content p {
        font-size: 13px;
    }

}


@media (max-width: 480px) {

    .ai-video-hero-frame-top {
        padding: 13px 15px;
    }


    .ai-video-hero-content {
        min-height: 250px;
    }


    .ai-video-hero-content strong {
        font-size: 34px;
    }


    .ai-video-hero-label {
        font-size: 9px;
    }

}


/* =====================================================
   AI VIDEO — WHAT WE CREATE
===================================================== */

.ai-video-services {
    position: relative;
    padding: 110px 0;
}


/* =====================================================
   SERVICES GRID
===================================================== */

.ai-video-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.ai-video-service-card {
    position: relative;
    min-height: 300px;

    padding: 30px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    overflow: hidden;

    transition:
        transform .5s cubic-bezier(.16,1,.3,1),
        border-color .5s ease,
        box-shadow .5s ease;
}


.ai-video-service-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(129,122,255,.38);

    box-shadow:
        0 25px 65px rgba(0,0,0,.30),
        0 0 35px rgba(129,122,255,.08);
}


/* =====================================================
   CARD GLOW
===================================================== */

.ai-video-service-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(129,122,255,.16),
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;

    transition:
        transform .6s ease,
        opacity .6s ease;
}


.ai-video-service-card:hover::after {
    transform: scale(1.5);
}


/* =====================================================
   NUMBER
===================================================== */

.ai-video-service-number {
    position: absolute;

    top: 24px;
    right: 24px;

    color: rgba(255,255,255,.25);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}


/* =====================================================
   ICON
===================================================== */

.ai-video-service-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border: 1px solid rgba(129,122,255,.22);
    border-radius: 16px;

    background:
        rgba(129,122,255,.08);

    color: rgba(255,255,255,.9);

    font-size: 20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);

    transition:
        transform .45s ease,
        background .45s ease;
}


.ai-video-service-card:hover .ai-video-service-icon {
    transform: translateY(-3px) scale(1.05);

    background:
        rgba(129,122,255,.16);
}


/* =====================================================
   TITLE
===================================================== */

.ai-video-service-card h3 {
    margin: 0 0 14px;

    color: #fff;

    font-size: 21px;
    line-height: 1.3;
    font-weight: 600;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.ai-video-service-card p {
    margin: 0;

    color: rgba(255,255,255,.58);

    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   TAGS
===================================================== */

.ai-video-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 24px;
}


.ai-video-service-tags span {
    padding: 7px 10px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;

    background:
        rgba(255,255,255,.025);

    color: rgba(255,255,255,.45);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: .10em;
    text-transform: uppercase;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .ai-video-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .ai-video-services {
        padding: 80px 0;
    }


    .ai-video-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .ai-video-service-card {
        min-height: auto;
        padding: 25px;
        border-radius: 18px;
    }


    .ai-video-service-icon {
        width: 48px;
        height: 48px;

        margin-bottom: 22px;

        border-radius: 14px;
    }


    .ai-video-service-card h3 {
        font-size: 19px;
    }


    .ai-video-service-card p {
        font-size: 13px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .ai-video-services {
        padding: 65px 0;
    }


    .ai-video-service-card {
        padding: 22px;
    }


    .ai-video-service-number {
        top: 20px;
        right: 20px;
    }

}



/* =====================================================
   AI VIDEO — REELS SHOWCASE
===================================================== */

.ai-video-reels {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}


/* =====================================================
   REELS HEADING
===================================================== */

.ai-video-reels-heading {
    max-width: 760px;
    margin-bottom: 55px;
}


/* =====================================================
   REELS GRID
===================================================== */

.ai-video-reels-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =====================================================
   REEL CARD
===================================================== */

.ai-video-reel-card {
    position: relative;
    min-width: 0;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    overflow: hidden;

    transition:
        transform .55s cubic-bezier(.16,1,.3,1),
        border-color .5s ease,
        box-shadow .5s ease;
}


.ai-video-reel-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(129,122,255,.38);

    box-shadow:
        0 28px 75px rgba(0,0,0,.35),
        0 0 40px rgba(129,122,255,.08);
}


/* =====================================================
   VIDEO AREA
===================================================== */

.ai-video-reel-media {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #08080c;
}


.ai-video-reel-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.16,1,.3,1),
        filter .5s ease;
}


.ai-video-reel-card:hover video {
    transform: scale(1.045);

    filter: brightness(.82);
}


/* =====================================================
   VIDEO OVERLAY
===================================================== */

.ai-video-reel-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.05),
            rgba(0,0,0,.30)
        );

    pointer-events: none;

    transition:
        background .4s ease;
}


.ai-video-reel-card:hover .ai-video-reel-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.01),
            rgba(0,0,0,.14)
        );
}


/* =====================================================
   PLAY BUTTON
===================================================== */

.ai-video-reel-play {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 3px;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;

    background:
        rgba(8,8,14,.48);

    backdrop-filter: blur(12px);

    color: #fff;

    font-size: 16px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.28);

    transition:
        transform .4s ease,
        background .4s ease,
        border-color .4s ease;
}


.ai-video-reel-card:hover .ai-video-reel-play {
    transform: scale(1.12);

    background:
        rgba(129,122,255,.22);

    border-color:
        rgba(129,122,255,.7);
}


/* =====================================================
   NUMBER
===================================================== */

.ai-video-reel-number {
    position: absolute;

    top: 18px;
    right: 18px;

    min-width: 38px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;

    background:
        rgba(5,5,10,.58);

    backdrop-filter: blur(10px);

    color: rgba(255,255,255,.78);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
}


/* =====================================================
   REEL INFO
===================================================== */

.ai-video-reel-info {
    padding: 22px 24px 25px;
}


.ai-video-reel-info > span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(129,122,255,.95);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .14em;
    text-transform: uppercase;
}


.ai-video-reel-info h3 {
    margin: 0;

    color: #fff;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}


/* =====================================================
   SHOWCASE CTA
===================================================== */

.ai-video-reels-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 55px;
    padding-top: 28px;

    border-top: 1px solid rgba(255,255,255,.08);
}


.ai-video-reels-cta p {
    margin: 0;

    color:
        rgba(255,255,255,.65);

    font-size: 15px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .ai-video-reels-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .ai-video-reels {
        padding: 80px 0;
    }


    .ai-video-reels-heading {
        margin-bottom: 35px;
    }


    .ai-video-reel-card {
        border-radius: 18px;
    }


    .ai-video-reel-media {
        aspect-ratio: 16 / 10;
    }


    .ai-video-reel-info {
        padding: 18px 20px 21px;
    }


    .ai-video-reel-info h3 {
        font-size: 18px;
    }


    .ai-video-reels-cta {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-top: 40px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .ai-video-reels {
        padding: 65px 0;
    }


    .ai-video-reel-play {
        width: 50px;
        height: 50px;

        font-size: 14px;
    }


    .ai-video-reel-number {
        top: 12px;
        right: 12px;
    }

}



