/* =========================================================
   BLUE MEDIA TV
   Main Theme Stylesheet
========================================================= */


/* =========================================================
   1. RESET AND GLOBAL STYLES
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: #020817;
    color: #f7fbff;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.shell {
    width: 100%;
    margin: 0 auto;

    padding-left: 80px;
    padding-right: 80px;
}

.narrow {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   2. ACCESSIBILITY
========================================================= */

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    top: 20px;
    left: 20px;
    z-index: 9999;
    padding: 10px;
    background: #ffffff;
    color: #000000;
}


/* =========================================================
   3. SITE HEADER
========================================================= */

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

    background: rgba(2, 8, 23, 0.88);
    border-bottom: 1px solid transparent;

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

    transition:
        background 0.25s ease,
        border-color 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(2, 8, 23, 0.96);
    border-color: rgba(255, 255, 255, 0.12);
}

.header-inner {
    position: relative;

    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 24px;
}


/* =========================================================
   4. BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    gap: 11px;

    font-weight: 850;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.brand b {
    color: #00a8ff;
}

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

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

    flex-shrink: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #00a8ff,
            #1877ff
        );

    box-shadow:
        0 10px 30px rgba(24, 119, 255, 0.35);
}

.custom-logo {
    width: auto;
    max-width: 220px;
    max-height: 48px;
}


/* =========================================================
   5. PRIMARY NAVIGATION
========================================================= */

.primary-nav {
    min-width: 0;

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

    flex: 1;
    margin-left: auto;
}

.primary-nav > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;

    gap: 17px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.primary-nav li {
    position: relative;

    margin: 0;
    padding: 0;
}

.primary-nav a {
    min-height: 76px;

    display: flex;
    align-items: center;

    padding: 0;

    color: #d8e5f7;

    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;

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

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: #ffffff;
}


/* =========================================================
   6. DROPDOWN MENUS
========================================================= */

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    z-index: 300;

    min-width: 230px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 4px;

    margin: 0;
    padding: 12px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    list-style: none;

    background: #07152e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    box-shadow: 0 24px 70px rgba(0, 38, 120, 0.28);

    transform: translateY(10px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;

    transform: translateY(0);
}

.primary-nav .sub-menu li {
    width: 100%;
}

.primary-nav .sub-menu a {
    width: 100%;
    min-height: auto;

    display: flex;
    align-items: center;

    padding: 10px 12px;

    border-radius: 9px;

    font-size: 0.85rem;
    white-space: normal;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}


/* =========================================================
   7. BUTTONS
========================================================= */

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 12px 20px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-weight: 800;
    line-height: 1.2;
    text-align: center;

    cursor: pointer;

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

.header-cta,
.button.primary {
    background:
        linear-gradient(
            135deg,
            #1877ff,
            #00a8ff
        );

    box-shadow:
        0 12px 32px rgba(24, 119, 255, 0.26);
}

.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.button.light {
    background: #ffffff;
    color: #07152e;
}


/* =========================================================
   8. MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    margin-left: auto;
    padding: 8px 12px;

    background: transparent;
    color: #ffffff;

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

    cursor: pointer;
}


/* =========================================================
   9. HERO
========================================================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

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

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(24, 119, 255, 0.26),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #020817 10%,
            #071b3b 60%,
            #021027
        );
}

.hero-inner {
    position: relative;
    z-index: 2;

    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 80px;
    padding-right: 80px;
}

.hero h1,
.page-hero h1 {
    margin: 0.2em 0;

    font-size: clamp(3rem, 8vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #59c7ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-copy,
.lead {
    max-width: 720px;

    color: #9fb2cd;

    font-size: 1.15rem;
}

.eyebrow {
    color: #62cfff;

    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin: 32px 0;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;

    gap: 35px;

    margin-top: 48px;

    color: #9fb2cd;
}

.hero-stats span {
    display: flex;
    flex-direction: column;
}

.hero-stats b {
    color: #ffffff;
    font-size: 1.4rem;
}

.hero-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(4px);
    opacity: 0.55;
}

.orb-one {
    top: 120px;
    right: -60px;

    width: 340px;
    height: 340px;

    background: #075dff;
}

.orb-two {
    right: 28%;
    bottom: -80px;

    width: 180px;
    height: 180px;

    background: #00c6ff;
}


/* =========================================================
   10. SECTIONS
========================================================= */

.section {
    padding: 88px 0;
}

.section.alt {
    background: #041027;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.section-heading h2,
.opportunity h2,
.join h2 {
    margin: 0.2em 0;

    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.section-heading > a {
    flex-shrink: 0;

    color: #6dcfff;
}


/* =========================================================
   11. CONTENT CARDS
========================================================= */

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.card-grid .content-card {
    flex: 1 1 calc(25% - 18px);
    min-width: 240px;
}

.content-card {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        );

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

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.content-card:hover {
    transform: translateY(-6px);

    border-color: rgba(79, 190, 255, 0.45);

    box-shadow: 0 24px 70px rgba(0, 38, 120, 0.28);
}

.card-media {
    aspect-ratio: 16 / 9;

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

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0c2859,
            #075dff
        );
}

.card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.placeholder-mark {
    font-size: 4rem;
    font-weight: 950;

    opacity: 0.3;
}

.card-copy {
    padding: 20px;
}

.card-copy h2,
.card-copy h3 {
    margin: 0.35em 0;

    font-size: 1.15rem;
}

.card-copy p {
    color: #9fb2cd;

    font-size: 0.9rem;
}

.talent-grid .card-media {
    aspect-ratio: 4 / 5;
}


/* =========================================================
   12. OPPORTUNITY SECTION
========================================================= */

.opportunity {
    background:
        linear-gradient(
            135deg,
            #061530,
            #093d88
        );
}

.split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split > *:first-child {
    flex: 1.2 1 0;
}

.split > *:last-child {
    flex: 0.8 1 0;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-list span {
    flex: 1 1 calc(50% - 12px);
    min-width: 220px;
}

.feature-list span,
.service-grid div {
    padding: 20px;

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

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;

    font-weight: 750;
}


/* =========================================================
   13. SERVICES
========================================================= */

.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.service-grid > div {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 240px;
}


/* =========================================================
   14. JOIN SECTION
========================================================= */

.join {
    padding: 70px 0;

    background:
        linear-gradient(
            90deg,
            #0965f6,
            #00a8ff
        );
}

.join-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   15. PAGE CONTENT
========================================================= */

.page-hero {
    padding: 70px 0 35px;
}

.page-content {
    color: #dce8f8;

    font-size: 1.05rem;
}

.page-content h2,
.page-content h3 {
    color: #ffffff;
}

.single-media {
    overflow: hidden;

    margin-bottom: 35px;

    border-radius: 22px;
}


/* =========================================================
   16. FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 25px;

    background: #01050d;

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

.footer-grid {
    display: flex;
    align-items: flex-start;
    gap: 45px;
}

.footer-grid > *:first-child {
    flex: 1.2 1 0;
}

.footer-grid > * {
    flex: 1 1 0;
}

.footer-grid ul {
    margin: 0;
    padding: 0;

    columns: 2;

    list-style: none;
}

.footer-grid p,
.legal {
    color: #9fb2cd;
}

.footer-brand {
    margin-bottom: 15px;
}

.legal {
    margin-top: 35px;
    padding-top: 35px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


/* =========================================================
   17. RESPONSIVE — LARGE TABLETS
========================================================= */

@media (max-width: 1280px) {

    .header-inner {
        gap: 18px;
    }

    .primary-nav > ul {
        gap: 13px;
    }

    .primary-nav a {
        font-size: 0.78rem;
    }

    .header-cta {
        padding: 11px 17px;

        font-size: 0.86rem;
    }
}


/* =========================================================
   18. RESPONSIVE — TABLETS
========================================================= */

@media (max-width: 1100px) {

    .header-cta {
        display: none;
    }

    .primary-nav > ul {
        gap: 11px;
    }

    .primary-nav a {
        font-size: 0.75rem;
    }

    .card-grid .content-card {
        flex-basis: calc(50% - 18px);
    }
}


/* =========================================================
   19. RESPONSIVE — MOBILE NAVIGATION
========================================================= */

@media (max-width: 920px) {

    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        width: 100%;
        display: none;
        padding: 18px 20px 24px;
        background: #031027;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav > ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .primary-nav li {
        width: 100%;
    }

    .primary-nav a {
        width: 100%;
        min-height: auto;
        padding: 11px 8px;
        font-size: 0.94rem;
        white-space: normal;
    }

    .primary-nav .sub-menu {
        position: static;
        width: 100%;
        min-width: 0;
        display: none;
        margin: 3px 0 8px;
        padding: 6px 8px 6px 16px;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        transform: none;
    }

    .primary-nav li:hover > .sub-menu,
    .primary-nav li:focus-within > .sub-menu {
        display: flex;
    }

    .hero {
        min-height: 620px;
    }

    .hero-inner {
    width: 100%;
    padding: 75px 48px;
}

    .split,
    .footer-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .split > *,
    .footer-grid > * {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .join-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .service-grid > div {
        flex: 1 1 calc(50% - 14px);
        min-width: 240px;
    }
}


/* =========================================================
   20. RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 560px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header,
    .header-inner,
    .primary-nav,
    .hero,
    .hero-inner,
    .section,
    .shell,
    .join-inner,
    .split,
    .footer-grid,
    .feature-list,
    .service-grid,
    .card-grid {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .shell {
        margin: 0;
        padding-right: 20px;
        padding-left: 20px;
    }

    .header-inner {
        min-height: 68px;
        gap: 16px;
    }

    .brand {
        min-width: 0;
        font-size: 0.88rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .custom-logo {
        max-width: 180px;
        max-height: 42px;
    }

    .primary-nav {
        top: 68px;
        right: 0;
        left: 0;
        overflow-x: hidden;
    }

    .section {
        padding: 62px 0;
    }

    .hero {
        min-height: 560px;
        overflow: hidden;
    }

    .hero-inner {
        padding: 60px 20px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.5rem, 13vw, 3.25rem);
        line-height: 0.98;
        letter-spacing: -0.04em;
        overflow-wrap: anywhere;
    }

    .hero-copy,
    .lead {
        width: 100%;
        max-width: 100%;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .hero-actions .button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .hero-stats {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stats span {
        display: flex;
        flex: 1 1 120px;
        min-width: 0;
        flex-direction: column;
    }

    .section-heading {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .join-inner,
    .split,
    .footer-grid,
    .feature-list,
    .service-grid,
    .card-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .card-grid .content-card,
    .service-grid > div,
    .feature-list span,
    .split > *,
    .footer-grid > * {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .content-card,
    .service-grid > div,
    .feature-list span {
        overflow: hidden;
    }

    .orb-one {
        right: -140px;
        width: 280px;
        height: 280px;
    }

    .orb-two {
        right: -70px;
        width: 150px;
        height: 150px;
    }
}