/* FGSN - Freedom Global Sports Network */
/* Premium Broadcast & Sports-Tech Typography System */

:root {
    --bg-white: #FFFFFF;
    --bg-light-gray: #FAFAFA;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(24, 24, 27, 0.08);
    --border-glow: rgba(239, 68, 68, 0.15);
    
    --primary-color: #EF4444;      /* Cyber Red */
    --secondary-color: #18181B;    /* Zinc 900 */
    --accent-blue: #6366F1;       /* Indigo */
    --accent-emerald: #10B981;    /* Emerald */
    
    --text-primary: #18181B;
    --text-secondary: #71717A;
    --text-muted: #A1A1AA;
    
    --gradient-primary: linear-gradient(135deg, #18181B 0%, #3F3F46 100%);
    --gradient-red: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    
    /* ── Font Families (Professional High-Tech Typography) ── */
    --font-heading: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-nav: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-label: 'Plus Jakarta Sans', 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* ── Type Scale ── */
    --text-2xs: 0.5625rem;   /* 9px  — micro HUD */
    --text-xs:  0.625rem;    /* 10px — badges, tickers */
    --text-sm:  0.75rem;     /* 12px — nav, buttons, meta */
    --text-base: 1rem;       /* 16px — body */
    --text-md:   1.0625rem;  /* 17px — lead copy */
    --text-lg:   1.125rem;   /* 18px — card titles */
    --text-xl:   1.25rem;    /* 20px — subheads */
    --text-2xl:  1.5rem;     /* 24px */
    --text-3xl:  clamp(1.75rem, 3vw, 2.25rem);
    --text-4xl:  clamp(2.25rem, 4vw, 3rem);
    --text-5xl:  clamp(2.75rem, 5vw, 3.75rem);
    --text-hero: clamp(2.75rem, 5.5vw, 4.75rem);

    /* ── Font Weights ── */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* ── Line Heights ── */
    --leading-none: 1;
    --leading-tight: 1.05;
    --leading-snug: 1.15;
    --leading-normal: 1.65;
    --leading-relaxed: 1.75;

    /* ── Letter Spacing ── */
    --tracking-tighter: -0.045em;
    --tracking-tight: -0.035em;
    --tracking-heading: -0.028em;
    --tracking-body: -0.011em;
    --tracking-normal: 0;
    --tracking-label: 0.14em;
    --tracking-wide: 0.18em;
    --tracking-wider: 0.22em;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base Typography ── */
body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    letter-spacing: var(--tracking-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden !important;
}

/* Selection highlight */
::selection {
    background: rgba(239, 68, 68, 0.12);
    color: var(--primary-color);
}

/* Carbon Fiber Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-heading);
    line-height: var(--leading-snug);
    color: var(--text-primary);
}

/* Hero & Display — cinematic broadcast scale */
h1, .display-1, .display-2, .hero-title {
    font-family: var(--font-display);
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-tight);
}

h2, .display-3, .display-4, .display-5, .section-title {
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-snug);
}

h3, .display-6 {
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-heading);
    line-height: 1.2;
}

/* Bootstrap display overrides */
.display-1 { font-size: var(--text-hero); }
.display-2 { font-size: var(--text-5xl); }
.display-3 { font-size: var(--text-4xl); }
.display-4 { font-size: var(--text-3xl); }
.display-5 { font-size: var(--text-2xl); }
.display-6 { font-size: var(--text-xl); }

p, .lead {
    font-weight: var(--weight-medium);
    line-height: var(--leading-relaxed);
}

/* ── Typography Utilities ── */
.text-zinc-900 { color: var(--text-primary) !important; }
.fw-black { font-weight: var(--weight-extrabold) !important; }
.tracking-wider { letter-spacing: var(--tracking-wider) !important; }
.leading-relaxed { line-height: var(--leading-relaxed) !important; }

.type-label,
.type-eyebrow,
.type-badge,
.type-meta {
    font-family: var(--font-label);
    text-transform: uppercase;
}

.type-label {
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    line-height: var(--leading-snug);
}

.type-eyebrow {
    display: inline-block;
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.type-eyebrow-muted {
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-label);
    color: var(--text-muted);
}

.type-badge {
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-label);
}

.type-meta {
    font-weight: var(--weight-semibold);
    font-size: var(--text-2xs);
    letter-spacing: var(--tracking-label);
    color: var(--text-secondary);
}

.type-node-status {
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-2xs);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    text-transform: uppercase;
}

.page-hero {
    min-height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
}

.page-hero-desc {
    max-width: 42rem;
    font-size: clamp(1.02rem, 1.2vw, 1.125rem);
    font-weight: var(--weight-medium);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    letter-spacing: var(--tracking-body);
}

.page-hero-desc--wide {
    max-width: 47rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-white);
}
::-webkit-scrollbar-thumb {
    background: #E4E4E7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────
   SCROLL READING PROGRESS BAR
   ───────────────────────────────────────────────────────────── */
.fgsn-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #F59E0B 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    z-index: 1060;
    pointer-events: none;
    transition: width 0.08s ease-out;
}

/* ─────────────────────────────────────────────────────────────
   TOP UTILITY BAR
   ───────────────────────────────────────────────────────────── */
.fgsn-top-bar {
    background: #18181B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #A1A1AA;
    font-family: var(--font-body);
    font-size: 12px;
    padding: 7px 0;
    position: relative;
    z-index: 1040;
    max-height: 40px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.35s ease;
}

.fgsn-header.scrolled .fgsn-top-bar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    pointer-events: none;
}

.fgsn-top-link {
    color: #D4D4D8;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.fgsn-top-link:hover {
    color: #FFFFFF;
}

/* ─────────────────────────────────────────────────────────────
   FIXED MAIN HEADER & NAVBAR
   ───────────────────────────────────────────────────────────── */
.fgsn-header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: var(--transition-smooth);
}

.fgsn-navbar {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.fgsn-header.scrolled .fgsn-navbar {
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(239, 68, 68, 0.15);
}

/* Brand Identity */
.navbar-brand {
    padding: 0;
    margin-left: 36px;
    margin-right: 1.5rem;
    transition: var(--transition-smooth);
}

@media (max-width: 767.98px) {
    .navbar-brand {
        margin-left: 12px;
    }
}

.navbar-brand:hover {
    opacity: 0.92;
}

.fgsn-brand-logo {
    height: 68px;
    width: auto;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    filter: invert(1) hue-rotate(180deg);
}

.fgsn-header.scrolled .fgsn-brand-logo {
    height: 58px;
}

.brand-text-col {
    border-color: rgba(24, 24, 27, 0.12) !important;
    line-height: 1.1;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-subtitle {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* ── Desktop Nav Pill Dock ── */
.fgsn-desktop-nav {
    margin: 0 auto;
}

.fgsn-nav-dock {
    display: flex;
    align-items: center;
    background: rgba(24, 24, 27, 0.035);
    border: 1px solid rgba(24, 24, 27, 0.06);
    border-radius: 100px;
    padding: 4px 6px;
    gap: 2px;
    list-style: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fgsn-nav-dock .nav-link {
    color: var(--text-secondary) !important;
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.8125rem; /* 13px */
    letter-spacing: 0.01em;
    padding: 7px 16px !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    position: relative;
    text-transform: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.fgsn-nav-dock .nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(24, 24, 27, 0.06);
}

.fgsn-nav-dock .nav-link.active {
    color: #FFFFFF !important;
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(24, 24, 27, 0.18);
}

.fgsn-nav-dock .nav-link::after {
    display: none;
}

.nav-pill-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 50px;
    margin-left: 6px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* ── Live Network Indicator ── */
.live-indicator-pill {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.22);
    border-radius: 50px;
    padding: 6px 14px;
    white-space: nowrap;
}

.live-text {
    line-height: 1;
}

/* Red Pulsing Dot */
.pulse-dot-red {
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.pulse-dot-red::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse-ring 2s infinite ease-out;
    opacity: 0.6;
}

@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* ── Quick Header CTA Button ── */
.btn-fgsn-nav {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-nav);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(24, 24, 27, 0.12);
    white-space: nowrap;
    text-decoration: none;
}

.btn-fgsn-nav:hover {
    background: var(--gradient-red);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-fgsn-nav i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.btn-fgsn-nav:hover i {
    transform: translate(2px, -2px);
}

/* ─────────────────────────────────────────────────────────────
   ANIMATED MOBILE HAMBURGER TOGGLER
   ───────────────────────────────────────────────────────────── */
.fgsn-menu-toggle {
    width: 42px;
    height: 42px;
    background: rgba(24, 24, 27, 0.04);
    border: 1px solid rgba(24, 24, 27, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fgsn-menu-toggle:hover {
    background: rgba(24, 24, 27, 0.08);
    border-color: rgba(24, 24, 27, 0.15);
}

.fgsn-menu-toggle:focus {
    outline: 2px solid rgba(239, 68, 68, 0.4);
    outline-offset: 2px;
}

.toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
    transform-origin: center;
}

.fgsn-menu-toggle.is-active {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

.fgsn-menu-toggle.is-active .bar-1 {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--primary-color);
}

.fgsn-menu-toggle.is-active .bar-2 {
    opacity: 0;
    transform: scaleX(0);
}

.fgsn-menu-toggle.is-active .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE MOBILE OFFCANVAS DRAWER & BACKDROP
   ───────────────────────────────────────────────────────────── */
.fgsn-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1080;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.fgsn-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.fgsn-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 88vw;
    max-width: 400px;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1090;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fgsn-mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-inner {
    padding: 24px;
}

.drawer-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-logo {
    height: 36px;
    width: auto;
    filter: invert(1) hue-rotate(180deg);
}

.drawer-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.1;
}

.drawer-brand-sub {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--primary-color);
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(24, 24, 27, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-color);
}

.drawer-status-hud {
    margin: 16px 0;
    padding: 10px 14px;
    background: rgba(24, 24, 27, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
}

.hud-status-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.hud-location-tag {
    font-size: 9.5px;
    color: var(--text-muted);
}

.drawer-section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.drawer-nav-item {
    margin-bottom: 6px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-primary);
    background: transparent;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.drawer-nav-link:hover {
    background: rgba(24, 24, 27, 0.04);
    color: var(--primary-color);
    transform: translateX(3px);
}

.drawer-nav-link.active {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--primary-color);
}

.nav-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(24, 24, 27, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.drawer-nav-link.active .nav-icon-box {
    background: var(--primary-color);
    color: #FFFFFF;
}

.nav-title {
    font-family: var(--font-nav);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.drawer-nav-link.active .nav-title {
    color: var(--primary-color);
}

.nav-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.drawer-nav-link:hover .nav-arrow {
    transform: translateX(3px);
    color: var(--primary-color);
}

.drawer-contact-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(24, 24, 27, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-chip:hover {
    background: rgba(24, 24, 27, 0.05);
    color: var(--text-primary);
}

.drawer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(24, 24, 27, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.drawer-social-btn:hover {
    background: var(--secondary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS FOR HERO & SECTIONS
   ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .fgsn-navbar {
        padding: 12px 0;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .page-hero {
        padding-top: 110px !important;
    }
}

@media (max-width: 575.98px) {
    .fgsn-brand-logo {
        height: 36px;
    }
    
    .fgsn-mobile-drawer {
        width: 100vw;
        max-width: 100vw;
    }
}

/* Premium Buttons */
.btn-fgsn-primary {
    background: var(--gradient-red);
    color: #FFFFFF;
    border: none;
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    padding: 16px 38px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

.btn-fgsn-primary:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}

.btn-fgsn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    padding: 16px 38px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.btn-fgsn-outline:hover {
    background: var(--bg-light-gray);
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

/* Homepage broadcast hero */
.hero-section--broadcast {
    min-height: 92vh;
    padding-top: 140px;
    padding-bottom: 52px;
}

.hero-broadcast-bg {
    position: absolute;
    inset: 0;
    background-image: url('../view-3d-camera.jpg');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.08;
    filter: grayscale(100%) contrast(130%);
    z-index: 0;
    pointer-events: none;
    transform: scale(1.05);
}

.hero-section--broadcast .hero-overlay {
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.72) 68%, rgba(255, 255, 255, 0.45) 100%),
        radial-gradient(circle at 85% 40%, rgba(239, 68, 68, 0.06) 0%, transparent 55%);
    z-index: 3;
}

.hero-section--broadcast .hud-grid-overlay {
    z-index: 2;
    opacity: 0.04;
}

.hero-broadcast-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.35), transparent);
    animation: hero-scanline 8s linear infinite;
    pointer-events: none;
    z-index: 4;
}

@keyframes hero-scanline {
    0%   { top: 12%; opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 88%; opacity: 0; }
}

.hero-broadcast-hud {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 12;
}

.hero-broadcast-hud-tl { top: 100px; left: 24px; }
.hero-broadcast-hud-tr { top: 100px; right: 24px; }
.hero-broadcast-hud-bl { bottom: 72px; left: 24px; }

.hero-hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: hud-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-hud-dot-red {
    background: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 50px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-section--broadcast .hero-tagline {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    margin-bottom: 12px;
}

.page-hero .hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(24, 24, 27, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: var(--weight-extrabold);
    font-size: var(--text-hero);
    letter-spacing: var(--tracking-tighter);
    line-height: var(--leading-tight);
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-title span {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-desc {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: clamp(1.02rem, 1.25vw, 1.1875rem);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 30px;
    letter-spacing: var(--tracking-body);
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.25rem);
        letter-spacing: var(--tracking-tight);
    }

    .hero-desc {
        font-size: 1.02rem;
        line-height: 1.7;
    }
}

.hero-broadcast-stats .hero-stat-chip {
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    min-width: 100px;
}

.hero-stat-val {
    display: block;
    font-family: var(--font-display);
    font-weight: var(--weight-extrabold);
    font-size: 1.35rem;
    line-height: var(--leading-none);
    color: var(--text-primary);
    letter-spacing: var(--tracking-heading);
}

.hero-stat-label {
    display: block;
    margin-top: 4px;
    font-family: var(--font-label);
    font-size: var(--text-2xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Broadcast monitor preview */
.hero-broadcast-monitor {
    background: #0a0a0b;
    border-radius: 20px;
    border: 1px solid rgba(24, 24, 27, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    overflow: hidden;
}

.hero-monitor-header,
.hero-monitor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.hero-monitor-footer {
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-monitor-rec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
}

.hero-rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: hud-blink 1.2s ease-in-out infinite;
}

.hero-monitor-timecode {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.85);
}

.hero-monitor-badge {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--text-2xs);
    letter-spacing: var(--tracking-label);
}

.hero-monitor-live {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.45);
}

.hero-monitor-meta {
    display: flex;
    gap: 14px;
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.hero-monitor-viewport {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.hero-monitor-feed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-monitor-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.hero-safe-frame {
    position: absolute;
    inset: 10%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.hero-waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    flex: 1;
    max-width: 180px;
}

.hero-waveform span {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--primary-color);
    opacity: 0.75;
    animation: hero-wave 1.1s ease-in-out infinite;
}

.hero-waveform span:nth-child(1)  { height: 40%; animation-delay: 0.00s; }
.hero-waveform span:nth-child(2)  { height: 70%; animation-delay: 0.08s; }
.hero-waveform span:nth-child(3)  { height: 55%; animation-delay: 0.16s; }
.hero-waveform span:nth-child(4)  { height: 90%; animation-delay: 0.24s; }
.hero-waveform span:nth-child(5)  { height: 60%; animation-delay: 0.32s; }
.hero-waveform span:nth-child(6)  { height: 85%; animation-delay: 0.40s; }
.hero-waveform span:nth-child(7)  { height: 45%; animation-delay: 0.48s; }
.hero-waveform span:nth-child(8)  { height: 75%; animation-delay: 0.56s; }
.hero-waveform span:nth-child(9)  { height: 50%; animation-delay: 0.64s; }
.hero-waveform span:nth-child(10) { height: 95%; animation-delay: 0.72s; }
.hero-waveform span:nth-child(11) { height: 65%; animation-delay: 0.80s; }
.hero-waveform span:nth-child(12) { height: 80%; animation-delay: 0.88s; }
.hero-waveform span:nth-child(13) { height: 55%; animation-delay: 0.96s; }
.hero-waveform span:nth-child(14) { height: 70%; animation-delay: 1.04s; }
.hero-waveform span:nth-child(15) { height: 42%; animation-delay: 1.12s; }

@keyframes hero-wave {
    0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
    50%      { transform: scaleY(1); opacity: 1; }
}

.hero-monitor-channel {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.hero-broadcast-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 10px 0;
}

.hero-ticker-track {
    display: inline-flex;
    gap: 48px;
    white-space: nowrap;
    animation: hero-ticker 28s linear infinite;
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-ticker-track span {
    color: var(--text-secondary);
}

@keyframes hero-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 991.98px) {
    .hero-broadcast-hud-tr,
    .hero-broadcast-hud-bl {
        display: none;
    }

    .hero-broadcast-hud-tl {
        top: 88px;
        left: 16px;
        font-size: 9px;
    }

    .hero-broadcast-monitor {
        max-width: 520px;
        margin: 0 auto;
    }

    .hero-section--broadcast {
        padding-bottom: 48px;
    }
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-white) 90%),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, var(--bg-white) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* HUD Scanning Grid Overlay */
.hud-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: 
        linear-gradient(to right, #000 1px, transparent 1px),
        linear-gradient(to bottom, #000 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 2;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), 0 0 20px var(--border-glow);
    transform: translateY(-4px);
}

/* Scroll Storytelling slide styles */
.scroll-slide-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
}

.slide-content-container {
    max-width: 1200px;
    width: 100%;
}

.slide-card-container {
    border-radius: 60px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    aspect-ratio: 16/9;
}

@media (max-width: 991.98px) {
    .slide-card-container {
        flex-direction: column;
        aspect-ratio: auto;
        border-radius: 40px;
    }
}

.slide-object-wrapper {
    flex: 1;
    position: relative;
    background-color: var(--bg-light-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-object-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.slide-card-container:hover .slide-object-image {
    opacity: 1;
    transform: scale(1.05);
}

.slide-text-wrapper {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .slide-text-wrapper {
        padding: 30px;
    }
}

/* Pin Scroll animations overlay */
.pin-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.pin-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 10;
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.service-tag {
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bg-light-gray);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-tag:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    border-color: transparent;
}

/* Service Filters */
.filter-btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-red);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.15);
}

/* Media Cards */
.media-card {
    border-radius: 40px;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.media-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transform: translateY(-4px);
}

.media-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

/* 9:16 Portrait aspect ratio for Instagram Reels & YouTube Shorts */
.reel-card .media-thumbnail-wrapper,
.short-card .media-thumbnail-wrapper {
    aspect-ratio: 9 / 16 !important;
}

.media-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.media-card:hover .media-thumbnail {
    transform: scale(1.04);
}

.media-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.media-card:hover .media-play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 16px;
    padding-left: 4px;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.media-card:hover .play-icon {
    transform: scale(1);
}

.media-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    padding: 6px 14px;
    border-radius: 50px;
}

.media-badge.youtube i {
    color: var(--primary-color);
}

.media-badge.instagram i {
    color: #E1306C;
}

.media-badge.youtube-short i {
    color: #F59E0B;
}

.media-badge.youtube-playlist i {
    color: #6366F1;
}

.media-badge.reel i {
    color: #E1306C;
}

/* Live Now Banner (Media Vault) */
.live-now-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 20px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
    transition: var(--transition-smooth);
}

.live-now-banner:hover {
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(239, 68, 68, 0.14);
    transform: translateY(-4px);
}

.live-now-thumb {
    position: relative;
    width: 340px;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
}

.live-now-thumb .media-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-now-thumb .media-play-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
}

.live-pulse-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #DC2626;
    color: #FFFFFF;
    font-family: var(--font-label);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.live-pulse-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
    animation: fgsn-live-pulse 1.4s ease-in-out infinite;
}

@keyframes fgsn-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.live-now-info {
    flex: 1;
    min-width: 220px;
}

.live-now-label {
    display: block;
    font-family: var(--font-label);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    margin-bottom: 8px;
}

.live-now-info h3 {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    font-size: var(--text-xl);
    letter-spacing: var(--tracking-heading);
    margin: 0;
}

/* Playlist Modal (Media Vault): player + full video list, side by side */
.playlist-modal-layout {
    display: flex;
    flex-wrap: wrap;
}

.playlist-modal-layout .video-container {
    flex: 1 1 60%;
    min-width: 280px;
}

.playlist-video-list {
    flex: 1 1 300px;
    max-height: 480px;
    overflow-y: auto;
    padding: 12px;
    background: var(--bg-light, #F4F4F5);
}

.playlist-video-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.playlist-video-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.playlist-video-item.active {
    background: rgba(239, 68, 68, 0.08);
    border-color: var(--primary-color);
}

.playlist-video-item img {
    width: 84px;
    height: 47px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.playlist-video-item .pv-title {
    font-family: var(--font-label);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.media-info {
    padding: 30px;
}

.media-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
    text-transform: uppercase;
    letter-spacing: var(--tracking-heading);
    line-height: var(--leading-snug);
}

.media-date {
    font-family: var(--font-label);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-body);
    color: var(--text-muted);
}

.instagram-card .media-thumbnail-wrapper {
    aspect-ratio: 1/1;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.95) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition-smooth);
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-caption {
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: var(--weight-medium);
    line-height: var(--leading-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.instagram-meta {
    font-family: var(--font-label);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Video Modal styling */
.fgsn-video-modal .modal-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.fgsn-video-modal .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 40px;
}

.fgsn-video-modal .btn-close {
    filter: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Infinite Logo Marquee */
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 50px;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    height: 140px;
    width: 260px;
    background: #18181B;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    background: #09090B;
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.25);
    transform: translateY(-3px);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 0.92;
    transform: scale(1.1);
    transform-origin: center;
    transition: var(--transition-smooth);
}

.marquee-item:hover img {
    filter: brightness(1.15);
    opacity: 1;
    transform: scale(1.18);
}

.marquee-item img.tpbl-logo {
    transform: scale(1.32);
    transform-origin: center;
}

.marquee-item:hover img.tpbl-logo {
    transform: scale(1.42);
    filter: brightness(1.25);
}

/* Contact Form Styling */
.form-glass-input {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    letter-spacing: var(--tracking-body);
    transition: var(--transition-smooth);
}

.form-glass-input:focus {
    background: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
    color: var(--text-primary);
    outline: none;
}

label.form-label {
    font-family: var(--font-label);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Statistics Counters */
.counter-box {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.counter-box:last-child {
    border-right: none;
}

@media (max-width: 767.98px) {
    .counter-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.counter-value {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: var(--weight-extrabold);
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
}

.counter-label {
    font-family: var(--font-label);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--text-secondary);
    font-weight: var(--weight-semibold);
}

/* Footer styling */
.fgsn-footer {
    background-color: var(--bg-light-gray);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-logo {
    height: 51px;
    width: auto;
    margin-bottom: 25px;
    filter: invert(1) hue-rotate(180deg);
}

.footer-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    line-height: var(--leading-relaxed);
    letter-spacing: var(--tracking-body);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--gradient-red);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2);
    transform: translateY(-3px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: var(--tracking-heading);
    text-transform: uppercase;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   1. 3D LENS TRANSITION OVERLAY (camera_lens.glb)
   ============================================== */
#lens-reveal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0b;
    will-change: opacity, transform;
}

#lens-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

#lens-canvas-wrapper canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.lens-reticle-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lens-reticle-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(239, 68, 68, 0.35);
    will-change: transform, opacity;
}

.ring-1 { width: 380px; height: 380px; }
.ring-2 { width: 540px; height: 540px; border-style: solid; border-color: rgba(161, 161, 170, 0.25); }
.ring-3 { width: 700px; height: 700px; border-color: rgba(239, 68, 68, 0.2); }

.lens-bg-fade {
    position: absolute;
    inset: 0;
    background: #0a0a0b;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
}

/* FGSN Logo in the center circle aperture at ending stage of lens animation */
.lens-logo-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 12;
    opacity: 0;
    will-change: transform, opacity;
    text-align: center;
}

.lens-logo-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.5) 0%, rgba(239, 68, 68, 0.15) 45%, transparent 70%);
    filter: blur(24px);
    z-index: -1;
    pointer-events: none;
    animation: portal-glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes portal-glow-pulse {
    0%   { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.2);  opacity: 1; }
}

.lens-logo-img {
    height: clamp(60px, 10vw, 105px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 28px rgba(239, 68, 68, 0.7)) drop-shadow(0 10px 35px rgba(0, 0, 0, 0.95));
}

.lens-logo-tagline {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: clamp(10px, 1.3vw, 13px);
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 16px rgba(239, 68, 68, 0.85), 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* ==============================================
   2. 3D BROADCAST CAMERA STORY (video_camera.glb)
   ============================================== */
#camera-story-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #0a0a0b;
    z-index: 20;
}

#camera3d-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#camera3d-canvas-wrapper canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hud-corners {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 10;
}

.hud-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 14px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #e4e4e7;
    z-index: 10;
    pointer-events: none;
}

.hud-tl { top: 95px;    left:  28px; }
.hud-tr { top: 95px;    right: 28px; }
.hud-bl { bottom: 28px; left:  28px; }

.hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    flex-shrink: 0;
    box-shadow: 0 0 8px #10b981;
    animation: hud-blink 2s ease-in-out infinite;
}
.hud-dot-red {
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}
@keyframes hud-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.hud-stats {
    position: absolute;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hud-stat {
    padding: 8px 20px;
    text-align: center;
}
.hud-stat-label {
    font-family: var(--font-heading);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0 0 2px;
}
.hud-stat-val {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}
.hud-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Horizontal red scan line sweeping down */
#camera-story-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239,68,68,0.5), transparent);
    animation: cam-scanline 7s linear infinite;
    pointer-events: none;
    z-index: 20;
}
@keyframes cam-scanline {
    0%   { top: 0; }
    100% { top: 100%; }
}

/* ── STORY CHAPTERS ──────────────────────────────────
   All chapters are stacked in the same 100vh pinned viewport.
   GSAP drives their opacity and translateY via .active state.
   ─────────────────────────────────────────────────── */
.story-chapter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 30;
    opacity: 0;
    /* Start each chapter shifted down — GSAP will translate up on enter */
    transform: translateY(30px);
    transition: none; /* GSAP controls this */
}
.story-chapter.is-active {
    pointer-events: auto;
}

.story-chapter-inner {
    max-width: 480px;
    padding: 0 60px;
}

/* Left-aligned chapters (1, 3) */
.story-left {
    margin-right: auto;
}

/* Right-aligned chapters (2) */
.story-right {
    margin-left: auto;
    text-align: left;
}

/* Centre-aligned chapter (4) */
.story-centre {
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.story-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.038em;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.story-body {
    font-family: var(--font-body);
    font-weight: 450;
    font-size: 15px;
    line-height: 1.68;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
    max-width: 380px;
}

.story-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.story-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.story-feat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.story-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    animation: hint-bob 2s ease-in-out infinite;
}
@keyframes hint-bob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
}

@media (max-width: 767px) {
    .story-chapter-inner {
        padding: 0 28px;
        max-width: 100%;
    }
    .story-right {
        margin-left: 0;
    }
    .story-heading {
        font-size: 2rem;
    }
}

/* Legacy scan-line (kept for compatibility) */
.scan-line {
    width: 100%;
    height: 2px;
    background-color: rgba(239, 68, 68, 0.3);
    position: absolute;
    top: 0;
    animation: scan 5s linear infinite;
}

@keyframes scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* ==============================================
   3. 3D ARENA CEILING LIGHTS OVERLAY (ceiling_lights.glb)
   ============================================== */
#lights-reveal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #060608;
    z-index: 26;
    pointer-events: none;
    display: none;
    opacity: 0;
    will-change: opacity;
}

#lights3d-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#lights3d-canvas-wrapper canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Volumetric Light Beams */
.lights-volumetric-cone {
    position: absolute;
    top: 0;
    width: 420px;
    height: 100vh;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transform-origin: top center;
    will-change: transform, opacity;
    mix-blend-mode: screen;
}

.cone-center {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(239, 68, 68, 0.18) 40%, transparent 85%);
    clip-path: polygon(45% 0%, 55% 0%, 95% 100%, 5% 100%);
}

.cone-left {
    left: 20%;
    transform: translateX(-50%) rotate(15deg);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.4) 0%, rgba(239, 68, 68, 0.1) 50%, transparent 90%);
    clip-path: polygon(46% 0%, 54% 0%, 100% 100%, 0% 100%);
}

.cone-right {
    right: 20%;
    transform: translateX(50%) rotate(-15deg);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.4) 0%, rgba(56, 189, 248, 0.1) 50%, transparent 90%);
    clip-path: polygon(46% 0%, 54% 0%, 100% 100%, 0% 100%);
}

.lights-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    max-width: 680px;
    padding: 0 24px;
    opacity: 0;
    will-change: transform, opacity;
}

.lights-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 7px 16px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e4e4e7;
    margin-bottom: 20px;
}

.lights-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.lights-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 0;
}

.lights-telemetry-strip {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.lights-telem-item {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
}

.telem-label {
    font-family: var(--font-heading);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.telem-val {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-transform: uppercase;
}

.lights-telem-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
}

/* ==============================================
   4. 3D STUDIO SETUP OVERLAY (studio_setup.glb & Services Storytelling)
   ============================================== */
#studio-reveal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #060608;
    z-index: 28;
    pointer-events: none;
    display: none;
    opacity: 0;
    will-change: opacity;
}

#studio3d-canvas-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#studio3d-canvas-wrapper canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.studio-ambient-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(6, 6, 8, 0.8) 90%);
    pointer-events: none;
    z-index: 3;
}

.studio-hud-header {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}

.studio-hud-tagline {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.service-chapter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 80px;
    z-index: 8;
    opacity: 0;
    transform: translateY(28px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-chapter.is-active {
    pointer-events: auto;
}

.service-chapter-card {
    background: rgba(10, 10, 14, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 520px;
    box-shadow: none;
}

.service-left {
    margin-right: auto;
}

.service-right {
    margin-left: auto;
}

.service-center {
    margin: 0 auto;
    text-align: center;
    max-width: 640px;
}

.service-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    padding: 5px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ef4444;
    margin-bottom: 16px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.service-card-desc {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.service-card-tags span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.85);
}

/* ── 3D CAMERA STORYTELLING RESPONSIVE RULES ────────────────── */
@media (max-width: 991px) {
    .hud-tl { top: 75px; left: 16px; font-size: 10px; padding: 5px 10px; }
    .hud-tr { top: 75px; right: 16px; font-size: 10px; padding: 5px 10px; }
    .hud-bl { bottom: 16px; left: 16px; font-size: 10px; padding: 5px 10px; }
    .hud-stats { bottom: 16px; right: 16px; }
    .hud-stat { padding: 6px 12px; }
    .hud-stat-val { font-size: 13px; }

    .story-chapter {
        justify-content: center;
    }
    .story-chapter-inner {
        max-width: 92%;
        margin: 0 auto !important;
        text-align: center !important;
        padding: 22px 18px !important;
        background: rgba(10, 10, 14, 0.82);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    .story-right, .story-left {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .story-heading {
        font-size: clamp(1.6rem, 5vw, 2.3rem);
    }
    .story-body {
        margin: 0 auto;
        font-size: 13.5px;
    }
    .story-feature-list {
        align-items: center;
        gap: 6px;
    }
    .story-scroll-hint {
        justify-content: center;
        margin-top: 18px;
    }

    .service-chapter {
        padding: 0 16px;
        justify-content: center;
        align-items: center;
    }
    .service-chapter-card {
        margin: 0 auto !important;
        max-width: 92%;
        text-align: center;
        padding: 22px 18px;
        background: rgba(10, 10, 14, 0.85);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    .service-right, .service-left, .service-center {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .service-card-title {
        font-size: 1.35rem;
    }
    .service-card-desc {
        font-size: 13px;
    }
    .service-card-tags {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hud-tr, .hud-bl, .hud-stats {
        display: none !important;
    }
    .hud-tl {
        top: 72px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 9px;
        white-space: nowrap;
    }
    .story-chapter-inner {
        padding: 18px 14px !important;
    }
    .story-heading {
        font-size: 1.4rem;
    }
    .service-card-title {
        font-size: 1.25rem;
    }
    .service-card-desc {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .studio-hud-header {
        top: 68px;
        padding: 0 12px;
        text-align: center;
    }
    .studio-hud-tagline {
        display: none;
    }
}

/* Spotlight Section (Immediately following 3D Storytelling) */
.spotlight-section {
    position: relative;
    width: 100%;
    margin-top: -100vh;
    z-index: 30;
    background-color: var(--bg-white);
}

.horizontal-pin-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 100vh;
    will-change: transform;
    /* Width is calculated dynamically by GSAP */
}

.horizontal-pin-card {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .horizontal-pin-card {
        padding: 40px 20px;
    }
}

.card-inner {
    width: 100%;
    max-width: 1300px;
    height: 80vh;
    border-radius: 48px;
    overflow: hidden;
    will-change: transform, opacity;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
}

.slide-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 60px;
    height: 100%;
    box-sizing: border-box;
}

@media (max-width: 991.98px) {
    .slide-card-container {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 24px;
        overflow-y: auto;
    }
}

.slide-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    will-change: transform, opacity;
    z-index: 2;
}

.slide-object-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    background: #0a0a0b;
    border: 1px solid rgba(24, 24, 27, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
    z-index: 1;
}

.slide-object-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizontal-pin-card:hover .slide-object-image {
    transform: scale(1.04);
}

/* Spotlight Section */
.spotlight-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-white);
    padding: 80px 0;
}

.spotlight-wrapper {
    position: relative;
    z-index: 1;
}

.spotlight-backlight-glow {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(251, 191, 36, 0.60) 0%, 
        rgba(245, 158, 11, 0.42) 25%, 
        rgba(239, 68, 68, 0.28) 55%, 
        transparent 75%);
    filter: blur(55px);
    z-index: 0;
    pointer-events: none;
    animation: spotlight-pulse 3.5s ease-in-out infinite alternate;
}

.spotlight-lens-beam {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 440px;
    height: 300px;
    background: conic-gradient(from 220deg at 70% 40%, 
        rgba(254, 240, 138, 0.40) 0deg, 
        rgba(245, 158, 11, 0.25) 25deg, 
        rgba(239, 68, 68, 0.12) 45deg, 
        transparent 70deg);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
    animation: beam-flicker 4s ease-in-out infinite alternate;
}

@keyframes spotlight-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}

@keyframes beam-flicker {
    0% {
        opacity: 0.75;
        transform: rotate(-15deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1.05);
    }
}

.spotlight-object {
    max-width: 100%;
    height: auto;
    will-change: transform, opacity;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.35));
}

/* Cyber-HUD Section Transition Separator */
.section-separator-glow {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #0a0a0b 0%, #121215 50%, var(--bg-light-gray) 100%);
    padding: 35px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 25;
    border-top: 1px solid rgba(239, 68, 68, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.separator-line {
    width: 100%;
    max-width: 700px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.separator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 50px;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* ─────────────────────────────────────────────────────────────
   SERVICES & MEDIA FILTER BUTTONS
   ───────────────────────────────────────────────────────────── */
.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-nav);
    color: #18181B;
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
    color: #EF4444;
    border-color: #EF4444;
    background: #FEF2F2;
}

.filter-btn.active {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

/* Dark section filter override (e.g. Services page dark header) */
#serviceFilters .filter-btn {
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

#serviceFilters .filter-btn:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
}

#serviceFilters .filter-btn.active {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.hover-elevate {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hover-elevate:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
}

.hover-white:hover {
    color: #FFFFFF !important;
}

/* ─────────────────────────────────────────────────────────────
   PREMIUM SERVICE CARDS & MICRO-ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.service-item .card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.service-item .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #EF4444, #B91C1C);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item .card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.service-item .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(239, 68, 68, 0.12), 0 12px 28px -8px rgba(24, 24, 27, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Service Badge Animation */
.service-item .badge {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item .card:hover .badge {
    background-color: var(--secondary-color) !important;
    color: #FFFFFF !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 4px 12px rgba(24, 24, 27, 0.2);
}

/* Thumbnail Image Floating FX */
.service-item img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.service-item .card:hover img {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 6px 14px rgba(239, 68, 68, 0.25));
}

/* Feature Check Icons & List Items Hover */
.service-item .list-unstyled li {
    transition: transform 0.25s ease, color 0.25s ease;
    padding-left: 2px;
}

.service-item .list-unstyled li:hover {
    transform: translateX(4px);
    color: var(--text-primary) !important;
}

.service-item .list-unstyled li i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.service-item .card:hover .list-unstyled li i {
    transform: scale(1.15);
}

/* Action Button Arrow Shift */
.service-item .btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item .btn:hover {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.3);
}

.service-item .btn i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item .btn:hover i {
    transform: translateX(4px);
}


/* ══════════════════════════════════════════════════════════
   SOCIAL MEDIA — Navbar Icons (.fgsn-social-nav)
══════════════════════════════════════════════════════════ */
.fgsn-social-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    background: transparent;
}

.fgsn-social-nav:hover {
    transform: translateY(-2px);
    background: rgba(239, 68, 68, 0.08);
    color: var(--primary-color);
}

.fgsn-social-nav .fa-instagram:hover,
.fgsn-social-nav:hover .fa-instagram { color: #E1306C; }
.fgsn-social-nav:hover .fa-youtube   { color: #FF0000; }
.fgsn-social-nav:hover .fa-linkedin-in { color: #0A66C2; }


/* ══════════════════════════════════════════════════════════
   SOCIAL MEDIA — Footer Pill Buttons (.fgsn-social-pill)
══════════════════════════════════════════════════════════ */
.fgsn-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.fgsn-social-pill:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fgsn-social-pill.instagram:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-color: transparent;
}

.fgsn-social-pill.youtube:hover {
    background: #FF0000;
    border-color: transparent;
}

.fgsn-social-pill.linkedin:hover {
    background: #0A66C2;
    border-color: transparent;
}

.fgsn-social-pill i {
    font-size: 13px;
}


/* ══════════════════════════════════════════════════════════
   SOCIAL MEDIA — Mobile Drawer Links (.fgsn-social-drawer)
══════════════════════════════════════════════════════════ */
.fgsn-social-drawer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
    flex: 1;
}

.fgsn-social-drawer i {
    font-size: 20px;
    display: block;
}

.fgsn-social-drawer:hover {
    color: #fff;
    transform: translateY(-2px);
}

.fgsn-social-drawer:hover .fa-instagram { color: #E1306C; }
.fgsn-social-drawer:hover .fa-youtube   { color: #FF0000; }
.fgsn-social-drawer:hover .fa-linkedin-in { color: #0A66C2; }

