/* =========================================================
   DUBBING SERVICE PAGE
   Dark Purple / Blue Glassmorphism
   Desktop + Tablet + Portrait Mobile
   ========================================================= */

:root {
    --bg: #05061a;
    --bg-deep: #030411;

    --glass: rgba(12, 15, 48, 0.78);
    --glass-light: rgba(22, 25, 67, 0.72);
    --glass-border: rgba(126, 101, 255, 0.28);

    --white: #f5f5ff;
    --text: #d9dbef;
    --muted: #9b9fbd;

    --purple: #9b3cff;
    --purple-bright: #b44cff;
    --blue: #238dff;
    --cyan: #21c9ff;
    --green: #37e5ae;
    --pink: #f05cff;

    --gradient: linear-gradient(110deg, #9b2dff 0%, #7d42ff 45%, #148cff 100%);
    --gradient-text: linear-gradient(90deg, #bb51ff, #6f75ff, #22b6ff);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.40),
        0 0 45px rgba(97, 44, 255, 0.10);

    --radius-xl: 25px;
    --radius-lg: 20px;
    --radius-md: 14px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(circle at 70% 20%, rgba(95, 31, 174, 0.22), transparent 32%),
        radial-gradient(circle at 10% 70%, rgba(24, 83, 188, 0.13), transparent 28%),
        var(--bg);

    color: var(--white);

    font-family: "Inter", Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;

    background:
        linear-gradient(
            90deg,
            rgba(3, 4, 17, 0.92),
            rgba(7, 7, 31, 0.78),
            rgba(5, 5, 24, 0.91)
        ),
        url("assets/ForeGround.png") center / cover no-repeat;

    filter: saturate(1.1);
}

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;

    border-radius: 50%;
    filter: blur(120px);

    opacity: 0.15;

    pointer-events: none;
    z-index: -5;
}

.glow-one {
    top: 5%;
    right: -150px;
    background: #862dff;
}

.glow-two {
    bottom: -180px;
    left: -150px;
    background: #126cff;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 70px;

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

    background: rgba(4, 5, 22, 0.70);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1450px, calc(100% - 50px));
    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    font-weight: 800;
    font-size: 17px;

    border-radius: 10px;

    background: linear-gradient(135deg, #9e36ff, #198dff);

    color: white;

    box-shadow:
        0 0 25px rgba(132, 48, 255, 0.30);
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
    white-space: nowrap;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;

    margin-left: auto;
}

.main-nav a {
    position: relative;

    color: #e7e8f6;

    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    border-radius: 10px;

    background: var(--gradient);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.main-nav a:hover {
    color: white;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}


/* Social */

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links a {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: white;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.10);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(124, 64, 255, 0.35);
}

.social-icon {
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   PAGE
   ========================================================= */

.dubbing-page {
    width: min(1450px, calc(100% - 50px));

    margin: 0 auto;

    padding:
        8px
        0
        80px;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    min-height: 55px;

    color: #aeb1c9;

    font-size: 14px;
}

.breadcrumb a {
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .current {
    color: #c24cff;
}


/* =========================================================
   TWO COLUMN LAYOUT
   ========================================================= */

.dubbing-layout {
    display: grid;

    grid-template-columns: 410px minmax(0, 1fr);

    align-items: start;

    gap: 28px;
}


/* =========================================================
   LEFT SERVICE SIDEBAR
   ========================================================= */

.service-sidebar {
    position: sticky;
    top: 96px;

    padding: 22px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            145deg,
            rgba(18, 19, 56, 0.92),
            rgba(8, 10, 34, 0.83)
        );

    border: 1px solid var(--glass-border);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.service-sidebar::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -160px;
    right: -130px;

    border-radius: 50%;

    background: #8329ff;

    filter: blur(100px);

    opacity: 0.15;

    pointer-events: none;
}


/* Sidebar Image */

.service-image {
    position: relative;

    height: 185px;

    margin-bottom: 20px;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid rgba(164, 117, 255, 0.25);

    background:
        radial-gradient(
            circle at 55% 45%,
            rgba(133, 53, 255, 0.35),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            #171644,
            #07091f
        );
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.78;
}

.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fallback-microphone {
    display: flex;
    align-items: center;
    gap: 18px;

    color: #b74cff;

    font-size: 76px;

    filter:
        drop-shadow(0 0 15px rgba(164, 58, 255, 0.55));
}

.wave-lines {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wave-lines i {
    width: 4px;
    height: 20px;

    border-radius: 4px;

    background: linear-gradient(
        to bottom,
        #2b8cff,
        #c145ff
    );
}

.wave-lines i:nth-child(1) {
    height: 14px;
}

.wave-lines i:nth-child(2) {
    height: 28px;
}

.wave-lines i:nth-child(3) {
    height: 42px;
}

.wave-lines i:nth-child(4) {
    height: 28px;
}

.wave-lines i:nth-child(5) {
    height: 14px;
}


/* Sidebar Text */

.service-kicker {
    margin-bottom: 7px;

    color: #b8bad1;

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

    letter-spacing: 1.9px;
}

.service-sidebar h1 {
    margin: 0 0 12px;

    font-size: clamp(34px, 3vw, 46px);

    line-height: 0.98;

    letter-spacing: -1.5px;
}

.service-sidebar h1 span {
    display: block;

    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
}

.service-description {
    margin: 0 0 21px;

    color: #bfc2d8;

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


/* =========================================================
   CAPABILITIES
   ========================================================= */

.capability-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;
}

.capability-card {
    min-height: 78px;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 11px 10px;

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 35, 83, 0.70),
            rgba(11, 14, 43, 0.70)
        );

    border: 1px solid rgba(101, 98, 183, 0.24);

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

.capability-card:hover {
    transform: translateY(-2px);

    border-color: rgba(157, 74, 255, 0.45);

    background:
        linear-gradient(
            145deg,
            rgba(39, 34, 94, 0.78),
            rgba(12, 15, 46, 0.76)
        );
}

.capability-icon {
    flex: 0 0 auto;

    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    color: #2f99ff;

    background: rgba(25, 132, 255, 0.08);

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

    text-shadow: 0 0 10px currentColor;
}

.capability-icon.green {
    color: var(--green);
}

.capability-icon.purple {
    color: #a35aff;
}

.capability-icon.pink {
    color: #f15cff;
}

.capability-icon.blue {
    color: #398dff;
}

.capability-icon.cyan {
    color: #25bfff;
}

.capability-card h3 {
    margin: 1px 0 3px;

    font-size: 11px;
    line-height: 1.2;
}

.capability-card p {
    margin: 0;

    color: #9296b6;

    font-size: 9px;
    line-height: 1.35;
}


/* Sidebar CTA */

.service-cta {
    min-height: 52px;

    display: grid;

    grid-template-columns: 24px 1fr 18px;

    align-items: center;

    gap: 7px;

    margin-top: 17px;

    padding: 0 17px;

    border-radius: 15px;

    background: var(--gradient);

    color: white;

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

    box-shadow:
        0 12px 30px rgba(103, 38, 255, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 38px rgba(103, 38, 255, 0.38);
}

.cta-icon {
    font-size: 16px;
}

.cta-arrow {
    font-size: 17px;
}


/* =========================================================
   VIDEO COLUMN
   ========================================================= */

.video-column {
    min-width: 0;
}


/* =========================================================
   SAMPLE CARD
   ========================================================= */

.sample-card {
    position: relative;

    padding: 20px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            135deg,
            rgba(16, 19, 57, 0.88),
            rgba(8, 11, 39, 0.82)
        );

    border: 1px solid rgba(117, 103, 224, 0.24);

    box-shadow: var(--shadow);

    overflow: hidden;

    scroll-margin-top: 95px;
}

.sample-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -240px;
    left: 25%;

    border-radius: 50%;

    background: #5e26ff;

    filter: blur(100px);

    opacity: 0.10;

    pointer-events: none;
}

.sample-content {
    position: relative;

    display: grid;

    grid-template-columns: minmax(280px, 0.85fr) minmax(400px, 1.15fr);

    align-items: center;

    gap: 22px;
}


/* =========================================================
   SAMPLE TEXT
   ========================================================= */

.sample-meta {
    min-width: 0;
}

.now-playing {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    margin-bottom: 12px;

    border-radius: 999px;

    color: white;

    background:
        linear-gradient(
            100deg,
            rgba(121, 29, 255, 0.55),
            rgba(80, 53, 218, 0.30)
        );

    border: 1px solid rgba(174, 75, 255, 0.38);

    font-size: 11px;
    font-weight: 700;
}

.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: white;

    box-shadow: 0 0 10px white;
}

.sample-number {
    display: block;

    margin-bottom: -5px;

    color: rgba(146, 77, 255, 0.55);

    font-size: 28px;
    font-weight: 800;

    line-height: 1;
}

.sample-meta h2 {
    margin: 9px 0 8px;

    font-size: clamp(21px, 2vw, 27px);

    line-height: 1.15;

    letter-spacing: -0.6px;
}

.sample-meta h2 span {
    color: #aa46ff;
}

.sample-meta > p {
    max-width: 420px;

    margin: 0 0 17px;

    color: #aeb2cb;

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   LANGUAGE PILLS
   ========================================================= */

.language-row {
    display: flex;
    align-items: center;

    gap: 8px;
}

.language-pill {
    min-width: 118px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px 9px;

    border-radius: 11px;

    background: rgba(19, 23, 63, 0.70);

    border: 1px solid rgba(107, 112, 198, 0.20);
}

.language-pill .flag {
    font-size: 20px;
}

.language-pill strong {
    display: block;

    color: #e7e8f7;

    font-size: 10px;
}

.language-pill small {
    display: block;

    margin-top: 2px;

    color: #8f94b2;

    font-size: 8px;
}

.tagalog-pill {
    border-color: rgba(174, 72, 255, 0.27);
}

.tagalog-pill strong {
    color: #d98cff;
}

.language-arrow {
    color: #a4a7c4;

    font-size: 18px;
}


/* =========================================================
   SINGLE VIDEO
   ========================================================= */

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    min-height: 230px;

    overflow: hidden;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #101338,
            #050718
        );

    border: 1px solid rgba(139, 114, 255, 0.34);

    box-shadow:
        inset 0 0 30px rgba(90, 46, 255, 0.08);
}

.video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    z-index: 2;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;

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

    gap: 7px;

    background:
        radial-gradient(
            circle at center,
            rgba(122, 50, 255, 0.23),
            transparent 55%
        ),
        #080a23;

    color: #d7d9ef;

    text-align: center;
}

.video-placeholder span {
    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;
}

.video-placeholder small {
    color: #8589aa;

    font-size: 10px;
}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2px;

    min-height: 55px;

    color: #c7c9dd;

    font-size: 10px;

    opacity: 0.78;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.scroll-indicator span {
    font-size: 17px;

    color: #d6d8eb;
}

.scroll-indicator:hover {
    color: white;

    transform: translateY(2px);
}


/* =========================================================
   BOTTOM CONTACT
   ========================================================= */

.bottom-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 27px 28px;

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            115deg,
            rgba(55, 27, 110, 0.65),
            rgba(13, 27, 82, 0.70)
        );

    border: 1px solid rgba(135, 91, 255, 0.30);

    box-shadow: var(--shadow);
}

.bottom-kicker {
    color: #ad90ff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.bottom-contact h2 {
    margin: 6px 0;

    font-size: 23px;

    letter-spacing: -0.5px;
}

.bottom-contact p {
    max-width: 600px;

    margin: 0;

    color: #aeb2c9;

    font-size: 11px;
    line-height: 1.55;
}

.bottom-contact-button {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 14px 19px;

    border-radius: 12px;

    background: var(--gradient);

    color: white;

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

    box-shadow:
        0 12px 30px rgba(103, 38, 255, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bottom-contact-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 36px rgba(103, 38, 255, 0.40);
}


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

@media (max-width: 1180px) {

    .dubbing-layout {
        grid-template-columns: 350px minmax(0, 1fr);
    }

    .sample-content {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .sample-meta > p {
        max-width: 700px;
    }

    .video-wrapper {
        min-height: 0;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .header-inner,
    .dubbing-page {
        width: min(100% - 34px, 720px);
    }

    .dubbing-layout {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .service-sidebar {
        position: relative;
        top: auto;
    }

    .service-image {
        height: 210px;
    }

    .sample-content {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        aspect-ratio: 16 / 9;
    }

    .bottom-contact {
        align-items: flex-start;
        flex-direction: column;
    }
}


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

@media (max-width: 600px) {

    html {
        scroll-padding-top: 76px;
    }

    body {
        background:
            radial-gradient(
                circle at 50% 10%,
                rgba(100, 30, 170, 0.20),
                transparent 32%
            ),
            var(--bg);
    }

    .page-background {
        background:
            linear-gradient(
                rgba(3, 4, 17, 0.91),
                rgba(3, 4, 17, 0.97)
            ),
            url("assets/ForeGround.png") center / cover no-repeat;
    }


    /* Header */

    .site-header {
        height: 64px;
    }

    .header-inner {
        width: calc(100% - 24px);

        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;

        border-radius: 8px;

        font-size: 14px;
    }

    .brand-name {
        font-size: 13px;
    }

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .social-links {
        gap: 5px;
    }

    .social-links a {
        width: 29px;
        height: 29px;

        border-radius: 7px;
    }

    .social-icon {
        font-size: 9px;
    }


    /* Main */

    .dubbing-page {
        width: calc(100% - 20px);

        padding-bottom: 45px;
    }

    .breadcrumb {
        min-height: 48px;

        padding: 3px 3px;

        font-size: 11px;

        gap: 5px;
    }


    /* Sidebar */

    .service-sidebar {
        padding: 15px;

        border-radius: 19px;
    }

    .service-image {
        height: 175px;

        margin-bottom: 15px;

        border-radius: 14px;
    }

    .service-kicker {
        font-size: 8px;

        letter-spacing: 1.3px;
    }

    .service-sidebar h1 {
        margin-bottom: 10px;

        font-size: 37px;
    }

    .service-description {
        margin-bottom: 17px;

        font-size: 11px;

        line-height: 1.65;
    }


    /* Capabilities */

    .capability-grid {
        gap: 7px;
    }

    .capability-card {
        min-height: 70px;

        padding: 9px 8px;

        gap: 7px;

        border-radius: 10px;
    }

    .capability-icon {
        width: 27px;
        height: 27px;

        border-radius: 7px;

        font-size: 16px;
    }

    .capability-card h3 {
        font-size: 9px;
    }

    .capability-card p {
        font-size: 7.5px;
    }

    .service-cta {
        min-height: 48px;

        margin-top: 13px;

        padding: 0 12px;

        border-radius: 12px;

        font-size: 9px;
    }


    /* Samples */

    .video-column {
        min-width: 0;
    }

    .sample-card {
        padding: 13px;

        border-radius: 19px;
    }

    .sample-content {
        display: flex;
        flex-direction: column;

        gap: 13px;
    }

    .now-playing {
        padding: 6px 9px;

        margin-bottom: 9px;

        font-size: 9px;
    }

    .sample-number {
        font-size: 22px;
    }

    .sample-meta h2 {
        margin: 7px 0;

        font-size: 19px;

        line-height: 1.18;
    }

    .sample-meta > p {
        margin-bottom: 12px;

        font-size: 10px;

        line-height: 1.5;
    }


    /* Language pills */

    .language-row {
        gap: 5px;
    }

    .language-pill {
        min-width: 0;

        flex: 1;

        padding: 7px;

        gap: 6px;

        border-radius: 9px;
    }

    .language-pill .flag {
        font-size: 17px;
    }

    .language-pill strong {
        font-size: 8px;
    }

    .language-pill small {
        font-size: 7px;
    }

    .language-arrow {
        font-size: 15px;
    }


    /* Video */

    .video-wrapper {
        width: 100%;

        aspect-ratio: 16 / 9;

        min-height: 0;

        border-radius: 13px;
    }


    /* Scroll */

    .scroll-indicator {
        min-height: 48px;

        font-size: 8px;
    }

    .scroll-indicator span {
        font-size: 14px;
    }


    /* Bottom CTA */

    .bottom-contact {
        padding: 20px 17px;

        border-radius: 19px;

        gap: 17px;
    }

    .bottom-kicker {
        font-size: 7px;

        letter-spacing: 1.2px;
    }

    .bottom-contact h2 {
        margin: 5px 0;

        font-size: 20px;
    }

    .bottom-contact p {
        font-size: 9px;
    }

    .bottom-contact-button {
        width: 100%;

        justify-content: center;

        padding: 13px;

        border-radius: 10px;

        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL PORTRAIT PHONES
   ========================================================= */

@media (max-width: 390px) {

    .brand-name {
        font-size: 11px;
    }

    .main-nav {
        gap: 11px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .social-links {
        display: none;
    }

    .service-sidebar h1 {
        font-size: 33px;
    }

    .capability-card {
        min-height: 66px;
    }

    .capability-card p {
        display: none;
    }

    .sample-meta h2 {
        font-size: 17px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
