/* ============================================================
   TVU Networks V5 — Global Design System Override
   Based on: Graphic Guidelines for Digital (2024)
   Reference: tvu-one-v2.vercel.app (approved style)
   ============================================================ */

/* ===== DESIGN TOKENS (override all inline vars) ===== */
:root {
  /* Core Brand Colors (guidelines p.4) */
  --green: #2AC93A;
  --green-hover: #24B533;
  --green-dim: #1a5c22;
  --green-glow: rgba(42, 201, 58, 0.3);
  --green-subtle: rgba(42, 201, 58, 0.08);
  --black: #0B0B0B;
  --white: #FFFFFF;
  --gray: #AFABB3;
  --gray-dark: #6b6b6b;

  /* Purple Accent Palette (guidelines p.5 — atmosphere only) */
  --purple-deep: #2D0A4E;
  --purple-brand: #7B2FBE;
  --purple-bright: #A855F7;
  --purple-glow: rgba(123, 47, 190, 0.15);

  /* Dark Surface System */
  --surface-0: #0B0B0B;
  --surface-1: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #141414;
  --surface-4: #1a1a1a;
  --surface-card: rgba(255, 255, 255, 0.03);
  --surface-card-hover: rgba(255, 255, 255, 0.05);

  /* Border System */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-green: rgba(42, 201, 58, 0.15);
  --border-green-strong: rgba(42, 201, 58, 0.30);
  --border-purple: rgba(123, 47, 190, 0.12);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #AFABB3;
  --text-dim: #9aa3b8;
  --text-green: #2AC93A;

  /* Typography — Open Sans only */
  --font-primary: 'Open Sans', sans-serif;

  /* Radius — sharp per reference */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-green-glow: 0 0 40px rgba(42, 201, 58, 0.25);
  --shadow-green-glow-strong: 0 0 60px rgba(42, 201, 58, 0.4);
  --shadow-purple-ambient: 0 0 80px rgba(123, 47, 190, 0.15);

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;

  /* LEGACY VARIABLE OVERRIDES — maps old vars to new values */
  --bg-deep: #0B0B0B;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-elevated: #141414;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --accent-cyan: #2AC93A;
  --accent-purple: #7B2FBE;
  --accent-pink: #2AC93A;
  --accent-green: #2AC93A;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(42, 201, 58, 0.15);
  --border-glow-strong: rgba(42, 201, 58, 0.30);
  --font-heading: 'Open Sans', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
}

/* ===== GLOBAL RESET ADDITIONS ===== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', sans-serif !important;
  background: #0B0B0B !important;
  color: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.65;
  position: relative;
}

/* Homepage background layer (generated by tvu-homepage-bg.js) */
#tvu-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#tvu-bg-layer svg {
  position: absolute;
  left: 0;
  pointer-events: none;
}

/* Sections above background layer */
.section,
.logos-section,
.supply-chain,
.nab-banner,
.awards-section,
.cta-section {
  position: relative;
  z-index: 2;
}

/* Remove old decorative overlays */
.atmosphere,
.scanlines {
  display: none !important;
}

#tvu-bg-canvas {
  display: none !important;
}

/* Page background layer */
#page-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* ===== REMOVE CYBERPUNK EFFECTS ===== */
.atmosphere::before {
  background:
    radial-gradient(ellipse 800px 600px at 15% 20%, rgba(42, 201, 58, 0.025) 0%, transparent 70%),
    radial-gradient(ellipse 600px 800px at 85% 60%, rgba(123, 47, 190, 0.02) 0%, transparent 70%) !important;
}

.atmosphere::after {
  background-image: none !important;
  display: none !important;
}

.scanlines {
  display: none !important;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.hero h1,
.hero-title,
.section-header h2,
[class*="__header"] h2,
[class*="section"] h2,
.supply-chain__header h2 {
  font-family: 'Open Sans', sans-serif !important;
  letter-spacing: -0.02em;
}

/* ExtraBold for short impactful titles */
.hero h1,
.hero-title {
  font-weight: 800 !important;
}

/* SemiBold for section titles */
.section-header h2,
[class*="section"] h2 {
  font-weight: 700 !important;
}

/* Body text */
p, span, a, li, td, th, label, input, textarea, select, button {
  font-family: 'Open Sans', sans-serif !important;
}

/* ===== COLOR OVERRIDES — Kill Cyan, Enforce Green ===== */

/* Gradient text: replace cyan/purple/pink with green */
.gradient-text,
.hero h1 .gradient-text,
[class*="gradient"] {
  background: linear-gradient(135deg, #2AC93A 0%, #24B533 50%, #2AC93A 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Cyan text → Green */
.cyan, .text-cyan,
.section-header h2 .cyan,
[class*="label"],
.supply-chain__label,
.section-label,
.logos-headline .label,
.mega-col h4,
.nav-item:hover,
.sidebar-card h3,
[class*="sec-title"],
.cat-badge.cat-news,
.p-chip,
.product-card-arrow,
.pull-quote cite {
  color: #2AC93A !important;
}

/* Purple text — keep for atmosphere labels but muted */
.section-header h2 .purple {
  color: #A855F7 !important;
}

/* ===== NAVBAR REDESIGN ===== */
.navbar {
  background: rgba(11, 11, 11, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  height: 72px;
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.92) !important;
  border-bottom-color: rgba(42, 201, 58, 0.1) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

.nav-item {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 500 !important;
  color: #AFABB3 !important;
  letter-spacing: 0.02em !important;
}

.nav-item:hover {
  color: #2AC93A !important;
}

.nav-item::after {
  background: linear-gradient(90deg, transparent, #2AC93A, transparent) !important;
}

.mega-dropdown,
.dropdown {
  background: rgba(11, 11, 11, 0.96) !important;
  border: 1px solid rgba(42, 201, 58, 0.12) !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(42, 201, 58, 0.06) !important;
}

/* Fix mega-dropdown overflow — prevent left side from going off-screen */
.nav-item:first-child .mega-dropdown {
  left: 0 !important;
  transform: none !important;
}

.mega-col h4 {
  font-family: 'Open Sans', sans-serif !important;
  color: #2AC93A !important;
}

.dropdown a:hover {
  color: #2AC93A !important;
  background: rgba(42, 201, 58, 0.04) !important;
}

/* Log In menu: product icons beside each sign-in link (every page since fix-16; before,
   only the homepage had real links and styled these icons inline) */
.dropdown a:has(.login-icon) { display: flex; align-items: center; gap: 8px; }
.dropdown a img.login-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }
.dropdown a:hover img.login-icon { opacity: 1; }

.nav-btn {
  font-family: 'Open Sans', sans-serif !important;
  border-radius: 4px !important;
}

.nav-btn-outline:hover {
  border-color: rgba(42, 201, 58, 0.3) !important;
  color: #FFFFFF !important;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  background: rgba(11, 11, 11, 0.98) !important;
}

.mobile-nav a:hover {
  color: #2AC93A !important;
}

.mobile-nav .section-title {
  font-family: 'Open Sans', sans-serif !important;
  color: #2AC93A !important;
}

/* ===== HERO SECTION ===== */
.hero {
  background: #0B0B0B !important;
}

.hero-overlay {
  background: rgba(11, 11, 11, 0.70) !important;
}

.hero::before {
  background: linear-gradient(#0B0B0B, transparent) !important;
}

.hero::after {
  background: linear-gradient(transparent, #0B0B0B) !important;
}

.hero-badge,
.hero-eyebrow {
  background: rgba(42, 201, 58, 0.08) !important;
  border: 1px solid rgba(42, 201, 58, 0.2) !important;
  border-radius: 2px !important;
  color: #2AC93A !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.hero-badge .dot {
  background: #2AC93A !important;
  box-shadow: 0 0 8px #2AC93A !important;
}

.hero h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  text-transform: uppercase !important;
  letter-spacing: -0.03em !important;
}

.hero p {
  color: rgba(175, 171, 179, 0.85) !important;
  letter-spacing: 0.01em !important;
}

/* ===== BUTTONS ===== */
.btn,
.btn-glow,
.btn-cta,
.read-full-btn,
[class*="btn-primary"],
a[class*="btn-glow"],
a[class*="btn-cta"] {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  transition: all 0.25s var(--ease) !important;
}

.btn-glow,
.btn-cta,
.read-full-btn,
[class*="btn-primary"] {
  background: #2AC93A !important;
  color: #0B0B0B !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(42, 201, 58, 0.2) !important;
  padding: 16px 40px !important;
}

.btn-glow::before,
.btn-cta::before,
.read-full-btn::before {
  display: none !important;
}

.btn-glow:hover,
.btn-cta:hover,
.read-full-btn:hover,
[class*="btn-primary"]:hover {
  background: #24B533 !important;
  box-shadow: 0 0 24px rgba(42, 201, 58, 0.4), 0 8px 32px rgba(42, 201, 58, 0.2) !important;
  transform: translateY(-2px) !important;
}

.btn-outline {
  background: transparent !important;
  color: #2AC93A !important;
  border: 1.5px solid #2AC93A !important;
  border-radius: 4px !important;
  padding: 16px 40px !important;
}

.btn-outline:hover {
  background: rgba(42, 201, 58, 0.1) !important;
  border-color: #2AC93A !important;
  color: #2AC93A !important;
  box-shadow: 0 0 24px rgba(42, 201, 58, 0.15) !important;
  transform: translateY(-1px) !important;
}

/* ===== SECTION SYSTEM ===== */
.section {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem !important;
}

/* All sections share same transparent background — no visible dividers */
.section-alt {
  background: radial-gradient(ellipse 160% 120% at 50% 50%, rgba(42,201,58,0.12) 0%, rgba(42,201,58,0.06) 55%, rgba(42,201,58,0.02) 80%, transparent 100%) !important;
}

.section-header {
  max-width: 800px !important;
  margin: 0 auto 4rem !important;
}

.section-header h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  line-height: 1.2 !important;
}

.section-header p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem) !important;
  line-height: 1.8 !important;
  color: #AFABB3 !important;
  margin-top: 1rem !important;
}

/* Supply chain and other section headers */
.supply-chain__header h2,
.mediamesh-content h2,
.isx-content h2,
.awards-inner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* Container max-width increase */
.container {
  max-width: 1300px !important;
}

/* ===== DIVIDER ===== */
.divider {
  background: linear-gradient(90deg, transparent 0%, rgba(42, 201, 58, 0.12) 50%, transparent 100%) !important;
}

/* ===== PRODUCT AUDIENCE STRIPS ("Built for" / "Used for") =====
   tvu-v5-animations.js adds .is-marquee only when the list is wider than the strip; a list that fits
   stands still (the pages' own CSS animates every strip, hence the !important). */
.audience-scroll-wrap .audience-items { animation: none !important; transform: none; }
.audience-scroll-wrap .audience-items.is-marquee { animation: scrollLeft 36s linear infinite !important; }
.audience-scroll-wrap .audience-items.is-marquee:hover { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .audience-scroll-wrap.is-overflowing { overflow-x: auto !important; }
}
/* zh (2026-11-11, owner): Chinese labels are short, so most strips fit and stand still. A strip that fits is centred as a whole
   (label + items); one that overflows still scrolls (the label stays at the left). English strips are untouched. */
html[lang^="zh"] .audience-strip:has(.audience-scroll-wrap:not(.is-overflowing)) { justify-content: center !important; }
html[lang^="zh"] .audience-strip .audience-scroll-wrap:not(.is-overflowing) { flex: 0 1 auto !important; }

/* ===== LOGO MARQUEE ===== */
.logos-section {
  background: rgba(42, 201, 58, 0.01) !important;
  border-top: 1px solid rgba(42, 201, 58, 0.08) !important;
  border-bottom: 1px solid rgba(42, 201, 58, 0.08) !important;
}

.logos-headline h3 span {
  color: #2AC93A !important;
}

.logos-viewport::before {
  background: linear-gradient(90deg, #0B0B0B, transparent) !important;
}

.logos-viewport::after {
  background: linear-gradient(270deg, #0B0B0B, transparent) !important;
}

/* ===== CARDS ===== */
.product-card,
.sidebar-card,
[class*="feature-card"] {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  transition: all 0.3s var(--ease) !important;
}

.product-card:hover,
[class*="feature-card"]:hover {
  border-color: rgba(42, 201, 58, 0.2) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(42, 201, 58, 0.04) !important;
}

/* Blog/News/Stories cards — fully transparent, no border, no grey fill */
.blog-card,
.article-card,
.case-card,
.news-card,
.story-card,
[class*="blog-card"],
[class*="article-card"],
[class*="case-card"] {
  background: transparent !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.blog-card-body,
.card-body,
.case-card-body,
.article-card-body,
.blog-card-content,
[class*="blog-card"] [class*="body"],
[class*="article-card"] [class*="body"],
[class*="case-card"] [class*="body"] {
  background: transparent !important;
  border: none !important;
}

/* Card wrapper also transparent */
.card-wrapper {
  background: transparent !important;
  border: none !important;
}

/* ===== BADGES / CHIPS ===== */
.cat-badge,
.p-chip,
[class*="badge"],
[class*="chip"],
[class*="tag"] {
  border-radius: 2px !important;
  font-family: 'Open Sans', sans-serif !important;
}

.cat-badge.cat-broadcast {
  background: rgba(123, 47, 190, 0.12) !important;
  color: #A855F7 !important;
  border: 1px solid rgba(123, 47, 190, 0.2) !important;
}

.cat-badge.cat-news {
  background: rgba(42, 201, 58, 0.08) !important;
  color: #2AC93A !important;
  border: 1px solid rgba(42, 201, 58, 0.2) !important;
}

.cat-badge.cat-streaming {
  background: rgba(42, 201, 58, 0.08) !important;
  color: #2AC93A !important;
  border: 1px solid rgba(42, 201, 58, 0.2) !important;
}

.p-chip {
  background: rgba(42, 201, 58, 0.06) !important;
  border: 1px solid rgba(42, 201, 58, 0.15) !important;
  color: #2AC93A !important;
}

.p-chip:hover {
  background: rgba(42, 201, 58, 0.12) !important;
  border-color: #2AC93A !important;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
  border-left: 3px solid #2AC93A !important;
  background: rgba(42, 201, 58, 0.03) !important;
  border-radius: 0 4px 4px 0 !important;
}

.pull-quote cite {
  color: #2AC93A !important;
}

/* ===== SUPPLY CHAIN / FLOW DIAGRAM ===== */
.supply-chain::before {
  background:
    radial-gradient(ellipse 900px 600px at 50% 30%, rgba(42, 201, 58, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 15% 60%, rgba(123, 47, 190, 0.03) 0%, transparent 70%) !important;
}

.flow-banner {
  background: linear-gradient(270deg,
    rgba(42, 201, 58, 0.12),
    rgba(123, 47, 190, 0.1),
    rgba(42, 201, 58, 0.12)) !important;
  background-size: 400% 100% !important;
  color: #2AC93A !important;
  border: 1px solid rgba(42, 201, 58, 0.2) !important;
  border-radius: 4px !important;
  box-shadow: 0 6px 30px rgba(42, 201, 58, 0.1) !important;
  text-shadow: none;
}

.flow-banner::before {
  background: linear-gradient(90deg, transparent, rgba(42, 201, 58, 0.06), transparent) !important;
}

/* ===== CTA SECTION ===== */
.cta-section .cta-inner,
[class*="cta-inner"],
[class*="cta-card"] {
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
}

/* ===== STORY HERO ===== */
.story-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(11, 11, 11, 0.25) 0%,
    rgba(11, 11, 11, 0.05) 25%,
    rgba(11, 11, 11, 0.55) 65%,
    rgba(11, 11, 11, 0.98) 100%) !important;
}

.story-hero .hero-content {
  background: linear-gradient(to top,
    rgba(11, 11, 11, 0.92) 0%,
    rgba(11, 11, 11, 0.68) 55%,
    transparent 100%) !important;
}

.story-hero h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 800 !important;
}

.breadcrumb a:hover {
  color: #2AC93A !important;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  background: rgba(255, 255, 255, 0.015) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.product-card {
  background: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(42,201,58,0.22) 0%, rgba(42,201,58,0.06) 50%, rgba(255,255,255,0.03) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
}

.product-card:hover {
  border-color: rgba(42, 201, 58, 0.2) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(42, 201, 58, 0.04) !important;
}

.product-card-name {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
}

.product-card-arrow {
  color: #2AC93A !important;
}

/* Navbar dropdown arrow: pages set opacity 0.5 inline (2.9:1 on the navbar); 0.75 clears 3:1 (WCAG). */
.navbar .nav-item .arrow { opacity: 0.75 !important; }

/* ===== FOOTER ===== */
footer,
.footer {
  background: #080808 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 5rem 2rem 2rem !important;
}

.footer-inner {
  max-width: 1300px !important;
}

footer a:hover,
.footer a:hover {
  color: #2AC93A !important;
}

.footer-col h4,
.footer-newsletter h4 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #2AC93A !important;
  opacity: 0.7 !important;
}

.footer-col a {
  font-size: 0.84rem !important;
  color: #9aa3b8 !important;
  transition: color 0.2s, padding-left 0.2s !important;
}

.footer-col a:hover {
  color: #FFFFFF !important;
  padding-left: 4px !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  margin-top: 3rem !important;
  padding-top: 1.5rem !important;
}

.footer-brand p {
  color: #9aa3b8 !important;
  font-size: 0.84rem !important;
  line-height: 1.7 !important;
}

/* Footer newsletter */
.newsletter-form input[type="email"],
.newsletter-form input[type="text"],
.newsletter-form select,
footer input[type="email"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  color: #FFFFFF !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.82rem !important;
  padding: 0.6rem 0.8rem !important;
}

.newsletter-form input:focus,
.newsletter-form select:focus,
footer input:focus {
  border-color: rgba(42, 201, 58, 0.3) !important;
  outline: none !important;
}

.newsletter-form button,
footer button[type="submit"] {
  background: #2AC93A !important;
  color: #0B0B0B !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(42, 201, 58, 0.2); }
  50% { box-shadow: 0 0 50px rgba(42, 201, 58, 0.4), 0 0 100px rgba(42, 201, 58, 0.1); }
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes gradientRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== ANIMATE ON SCROLL =====
   Hidden state is scoped to .js so non-JS users (and crawlers) see content. */
html.js .animate-on-scroll,
html.js [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.js .animate-on-scroll.visible,
html.js [data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* No-JS / no-IO fallback: force visibility for all reveal patterns
   used by inline page styles (.reveal, .reveal-delay-N). Crawlers and
   slow-network users see content immediately. */
html:not(.js) .reveal,
html:not(.js) .animate-on-scroll,
html:not(.js) [data-animate],
html:not(.js) [class*="reveal-delay-"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Staggered delays for children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ===== PURPLE ATMOSPHERE SECTIONS ===== */
/* Apply to ~20-30% of sections for visual rhythm */
.section-purple-atmosphere {
  position: relative;
}

.section-purple-atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(45, 10, 78, 0.12) 0%,
    transparent 40%,
    rgba(123, 47, 190, 0.06) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Hero gets a subtle purple depth at the top */
.hero::before {
  background: linear-gradient(
    180deg,
    rgba(45, 10, 78, 0.15) 0%,
    rgba(11, 11, 11, 0.9) 30%,
    transparent 60%
  ) !important;
}

/* Supply chain section gets purple atmosphere */
.supply-chain {
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0) 0%,
    rgba(45, 10, 78, 0.06) 30%,
    rgba(45, 10, 78, 0.08) 70%,
    rgba(11, 11, 11, 0) 100%
  ) !important;
}

/* Awards section gets subtle purple glow */
.awards-section::before {
  background:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(123, 47, 190, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 30% 60%, rgba(42, 201, 58, 0.03) 0%, transparent 70%) !important;
}

/* ===== SELECTION HIGHLIGHT ===== */
::selection {
  background: rgba(42, 201, 58, 0.3);
  color: #FFFFFF;
}

::-moz-selection {
  background: rgba(42, 201, 58, 0.3);
  color: #FFFFFF;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0B0B0B;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 201, 58, 0.3);
}

/* ===== FOCUS STATES (accessibility) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2AC93A;
  outline-offset: 2px;
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 1024px) {
  .mega-dropdown {
    min-width: 500px !important;
  }

  .section {
    padding: 6rem 1.5rem !important;
  }

  .mediamesh-inner,
  .isx-inner {
    gap: 3rem !important;
  }

  .cta-card,
  .nab-card {
    padding: 3rem 2rem !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
  }

  .hero p {
    font-size: 0.95rem !important;
  }

  .section {
    padding: 4.5rem 1rem !important;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
  }

  .section-header {
    margin-bottom: 2.5rem !important;
  }

  .stat-number,
  .spec-number,
  [class*="stat-number"] {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
  }

  .stat-card {
    padding: 2rem 1.5rem !important;
  }

  .btn-glow,
  .btn-cta,
  .btn-outline,
  .read-full-btn {
    padding: 14px 28px !important;
    font-size: 0.8rem !important;
  }

  .navbar {
    padding: 0 1rem !important;
  }

  .nav-logo {
    margin-left: 0 !important;
  }

  .cta-card,
  .nab-card {
    padding: 2.5rem 1.5rem !important;
  }

  .supply-chain__header h2,
  .mediamesh-content h2,
  .isx-content h2 {
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
  }

  .product-card-content {
    padding: 1.25rem !important;
  }

  .industry-card-content {
    padding: 1.25rem !important;
  }

  footer,
  .footer {
    padding: 3rem 1rem 1.5rem !important;
  }

  /* Mobile hero video */
  .hero-video {
    object-position: center center !important;
  }

  /* Mobile form card */
  .form-card {
    padding: 1.75rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  /* Mobile contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Story hero mobile */
  .story-hero {
    height: 50vh !important;
    min-height: 350px !important;
  }

  .story-hero h1 {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }

  /* Article layout mobile */
  .article-wrap {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 2rem 1rem !important;
  }

  .article-sidebar {
    position: relative !important;
    top: 0 !important;
  }

  /* Flow grid mobile */
  .flow-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  .flow-cell {
    padding: 0.75rem 0.5rem !important;
  }

  .flow-cell svg {
    width: 24px !important;
    height: 24px !important;
  }

  .flow-cell span {
    font-size: 0.55rem !important;
    letter-spacing: 0.5px !important;
  }

  /* Integration grid mobile */
  .integration-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Cases carousel mobile */
  .case-card {
    flex: 0 0 280px !important;
  }

  /* Awards badges mobile */
  .awards-badge-row {
    gap: 1.5rem !important;
  }

  .awards-badge .badge-icon {
    width: 60px !important;
    height: 60px !important;
  }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
  }

  .hero-buttons {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
  }

  .hero-buttons .btn-glow,
  .hero-buttons .btn-outline,
  .hero-buttons .btn-cta {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.65rem !important;
    text-align: center !important;
    justify-content: center !important;
    width: auto !important;
  }

  .btn-glow,
  .btn-cta,
  .btn-outline {
    text-align: center !important;
    justify-content: center !important;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .products-grid,
  .industries-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== SMOOTH PAGE TRANSITIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll,
  [data-animate] {
    will-change: opacity, transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================
   MOBILE EXPERIENCE — Touch targets, overflow, safe areas
   Mobile-only rules so desktop dense layouts are unaffected.
   ============================================================ */
@media (max-width: 768px) {
  /* Prevent unintended horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* Honor iPhone notch / Android system bars */
  body {
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  /* Touch-friendly minimum tap area (WCAG 2.2 AAA = 44x44) for
     primary interactive elements. Use min-height + padding so it
     never visually disrupts text-only links inline in paragraphs. */
  a.btn, a.btn-primary, a.btn-secondary, a.btn-primary-lg,
  a.nav-cta, a[class*="cta-btn"], button, .nav-btn-outline,
  .mobile-toggle, .mobile-nav a, .footer a, .newsletter-btn,
  .tab-btn, .pill, .mega-col a, .dropdown a {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Avoid 16px iOS zoom-on-focus by ensuring inputs >= 16px */
  input[type="text"], input[type="email"], input[type="search"],
  input[type="tel"], input[type="url"], input[type="number"],
  textarea, select {
    font-size: max(16px, 1rem);
  }

  /* Disable hover-only effects that get stuck on touch */
  @media (hover: none) {
    a:hover, button:hover { transition: none; }
  }
}

/* ============================================================
   EXTENDED COMPONENT OVERRIDES
   Detailed styling to match tvu-one-v2 reference
   ============================================================ */

/* ===== STAT NUMBERS — Big green numbers per reference ===== */
.stat-number,
.spec-number,
[class*="stat-number"],
[class*="counter"] {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 800 !important;
  color: #2AC93A !important;
  background: none !important;
  -webkit-text-fill-color: #2AC93A !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  font-size: clamp(2.2rem, 4vw, 3.5rem) !important;
  line-height: 1 !important;
}

.stat-label,
.spec-title,
.spec-desc {
  font-family: 'Open Sans', sans-serif !important;
  color: #AFABB3 !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
}

/* ===== STATS GRID — sharp corners ===== */
.stats-grid {
  border-radius: 4px !important;
  border-color: rgba(42, 201, 58, 0.1) !important;
}

.stat-card {
  padding: 3.5rem 2rem !important;
}

.stat-card:hover {
  background: rgba(42, 201, 58, 0.02) !important;
}

/* ===== FLOW CELLS — sharp per reference ===== */
.flow-cell {
  border-radius: 4px !important;
}

.flow-cell::before {
  border-radius: 4px !important;
}

.flow-cap:first-child {
  border-radius: 4px 0 0 4px !important;
}

.flow-cap:last-child {
  border-radius: 0 4px 4px 0 !important;
}

.flow-banner {
  border-radius: 4px !important;
}

/* ===== NEWSLETTER BUTTON — solid green, not gradient ===== */
.newsletter-btn {
  background: #2AC93A !important;
  color: #0B0B0B !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  border: none !important;
}

.newsletter-btn:hover {
  background: #24B533 !important;
  box-shadow: 0 4px 20px rgba(42, 201, 58, 0.3) !important;
}

/* ===== NEWSLETTER INPUTS — sharp corners ===== */
.newsletter-form input,
.newsletter-form select {
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
}

/* Select placeholder — gray when no value selected, white when valid */
.newsletter-form select {
  padding-right: 2rem !important;
}

.newsletter-form select:invalid {
  color: #9aa3b8 !important;
}

.newsletter-form select:valid {
  color: #eef0f6 !important;
}

.newsletter-form select option {
  color: #eef0f6 !important;
}

.newsletter-form select option[disabled] {
  color: #9aa3b8 !important;
}

.newsletter-form input:focus,
.newsletter-form select:focus {
  border-color: #2AC93A !important;
  box-shadow: 0 0 0 2px rgba(42, 201, 58, 0.1) !important;
}

.newsletter-consent a {
  color: #2AC93A !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.newsletter-success {
  color: #2AC93A !important;
}

/* ===== NAB POPUP — brand aligned ===== */
.nab-popup-card {
  border-radius: 16px !important;
  background: rgba(15, 8, 40, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(40px) saturate(200%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.10) !important;
}

.nab-popup-card::before {
  background: linear-gradient(90deg, #7B2FBE, #2AC93A) !important;
}

.nab-popup .nab-date {
  font-family: 'Open Sans', sans-serif !important;
  color: #A855F7 !important;
}

.nab-popup h3 {
  font-family: 'Open Sans', sans-serif !important;
}

.nab-popup .btn-nab {
  background: #2AC93A !important;
  color: #0B0B0B !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
}

.nab-popup-pill {
  border-radius: 50px !important;
  font-family: 'Open Sans', sans-serif !important;
  background: rgba(20, 12, 45, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(28px) saturate(180%) brightness(0.85) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(0.85) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.06) !important;
}

.nab-popup-pill span {
  color: #2AC93A !important;
}

/* ===== NAB BANNER CARD ===== */
.nab-card {
  border-radius: 6px !important;
}

.nab-card h3 {
  font-family: 'Open Sans', sans-serif !important;
}

/* ===== TWO-COLUMN FEATURE SECTIONS (MediaMesh, ISX) ===== */
.mediamesh-inner,
.isx-inner {
  max-width: 1300px !important;
  gap: 5rem !important;
  align-items: center !important;
}

.mediamesh-visual,
.isx-visual {
  border-radius: 4px !important;
  overflow: hidden !important;
  position: relative !important;
}

.mediamesh-visual img,
.isx-visual img {
  transition: transform 0.6s var(--ease) !important;
}

.mediamesh-visual:hover img,
.isx-visual:hover img {
  transform: scale(1.03) !important;
}

.mediamesh-content h2,
.isx-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}

.mediamesh-content h2 .accent {
  color: #2AC93A !important;
}

.mediamesh-content p,
.isx-content p {
  font-size: 1rem !important;
  line-height: 1.85 !important;
  color: #AFABB3 !important;
}

.isx-content .subtitle {
  color: #2AC93A !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.02em !important;
}

/* ===== INTEGRATION ICONS — sharp corners ===== */
.integration-icon {
  border-radius: 4px !important;
}

/* ===== CASE STUDY CARDS ===== */
.case-card {
  border-radius: 4px !important;
}

.case-card-image::after {
  background: linear-gradient(transparent, rgba(11, 11, 11, 0.85)) !important;
}

.tag {
  border-radius: 2px !important;
  font-family: 'Open Sans', sans-serif !important;
  background: rgba(42, 201, 58, 0.08) !important;
  border: 1px solid rgba(42, 201, 58, 0.15) !important;
  color: #2AC93A !important;
}

/* ===== AWARDS SECTION ===== */
.awards-label {
  font-family: 'Open Sans', sans-serif !important;
  color: #2AC93A !important;
}

.awards-inner h2 .cyan {
  color: #2AC93A !important;
}

.awards-badge .badge-value {
  color: #2AC93A !important;
  background: none !important;
  -webkit-text-fill-color: #2AC93A !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

.awards-image-wrap {
  border-radius: 4px !important;
  border-color: rgba(42, 201, 58, 0.1) !important;
}

.awards-image-wrap::before {
  background: linear-gradient(90deg, transparent, #2AC93A, transparent) !important;
}

/* ===== CTA CARD ===== */
.cta-card {
  border-radius: 6px !important;
  border-color: rgba(42, 201, 58, 0.1) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  padding: 4.5rem 3.5rem !important;
}
.nab-card {
  border-radius: 0 !important;
  border: none !important;
  background: none !important;
  padding: 3.5rem 3rem !important;
}

.cta-card h2,
.nab-card h2,
.nab-card h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.cta-card p,
.nab-card p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #AFABB3 !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===== INDUSTRY CARDS ===== */
.industry-card {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: all 0.4s var(--ease) !important;
}

.industry-card:hover {
  border-color: rgba(42, 201, 58, 0.15) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(42, 201, 58, 0.03) !important;
  transform: translateY(-6px) !important;
}

.industry-card-content {
  padding: 1.75rem !important;
}

.industry-card-content h3 {
  color: #2AC93A !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em !important;
}

.industry-card-content > p {
  color: #AFABB3 !important;
  font-size: 0.88rem !important;
}

.industry-card-content ul li {
  color: #9aa3b8 !important;
  font-size: 0.82rem !important;
}

.industry-card-content ul li::before {
  background: #2AC93A !important;
}

.industry-card-content .card-link {
  color: #2AC93A !important;
  font-weight: 600 !important;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
  transition: all 0.4s var(--ease) !important;
}

.product-card:hover {
  border-color: rgba(42, 201, 58, 0.15) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(42, 201, 58, 0.03) !important;
  transform: translateY(-6px) !important;
}

.product-card-img {
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(42,201,58,0.22) 0%, rgba(42,201,58,0.08) 55%, transparent 100%) !important;
  border-bottom: 1px solid rgba(42, 201, 58, 0.12) !important;
}

.product-card-content {
  padding: 1.75rem !important;
}

.product-card-content h3 {
  color: #2AC93A !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
}

.product-card-content p {
  color: #AFABB3 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.product-card-content .learn-more {
  color: #2AC93A !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
}

/* ===== ARTICLE / BLOG / STORY PAGES ===== */
.article-body h2 {
  font-family: 'Open Sans', sans-serif !important;
}

.section-label {
  font-family: 'Open Sans', sans-serif !important;
  color: #2AC93A !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
}

.section-label::before {
  background: #2AC93A !important;
}

/* ===== COOKIE CONSENT ===== */
.cookie-bar,
[class*="cookie"] {
  background: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
}

/* ===== HERO PURPLE ATMOSPHERE VARIANT ===== */
/* Apply to hero sections that need purple depth */
.hero-purple-bg::before {
  background: linear-gradient(
    135deg,
    rgba(45, 10, 78, 0.3) 0%,
    rgba(11, 11, 11, 0.95) 40%,
    #0B0B0B 100%
  ) !important;
}

/* ===== PAGE-SPECIFIC OVERRIDES ===== */

/* Product pages — breadcrumb styling */
.breadcrumb {
  font-family: 'Open Sans', sans-serif !important;
}

.breadcrumb a:hover {
  color: #2AC93A !important;
}

/* Tab / filter systems */
[class*="tab-"],
[class*="filter-"] {
  font-family: 'Open Sans', sans-serif !important;
}

[class*="tab-"].active,
[class*="filter-"].active {
  color: #2AC93A !important;
  border-color: #2AC93A !important;
}

/* Tab buttons with solid green background use dark text for WCAG AA (white on #2AC93A only 2.2:1). */
button[class*="tab-"].active {
  color: #0B0B0B !important;
}

/* MediaMesh Request Demo button — gradient bg, white text */
.btn-gradient-cta {
  color: #FFFFFF !important;
  background: linear-gradient(90deg, #00c6d7 0%, #5b7cf6 50%, #8b5cf6 100%) !important;
}

/* ===== ADDITIONAL BORDER-RADIUS CATCHES ===== */
/* Catch any remaining large radii from the cyberpunk theme */
[style*="border-radius: 14px"],
[style*="border-radius: 16px"],
[style*="border-radius: 18px"],
[style*="border-radius: 20px"],
[style*="border-radius: 50px"] {
  border-radius: 4px !important;
}

/* ===== ADDITIONAL PURPLE ATMOSPHERE FOR CTA ZONES ===== */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(45, 10, 78, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ===== BLOG / NEWS LISTING PAGES ===== */
.blog-card,
.news-card,
[class*="article-card"] {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.blog-card:hover,
.news-card:hover,
[class*="article-card"]:hover {
  border-color: rgba(42, 201, 58, 0.15) !important;
  transform: translateY(-4px) !important;
}

/* ===== FORMS (Contact, Newsletter) ===== */
form input,
form textarea,
form select {
  font-family: 'Open Sans', sans-serif !important;
  border-radius: 4px !important;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: rgba(42, 201, 58, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(42, 201, 58, 0.08) !important;
  outline: none !important;
}

/* Submit buttons in forms */
form button[type="submit"]:not(.btn-gradient-cta),
.contact-form button:not(.btn-gradient-cta),
.form-submit {
  background: #2AC93A !important;
  color: #0B0B0B !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 14px 36px !important;
  cursor: pointer !important;
  transition: all 0.25s var(--ease) !important;
}

form button[type="submit"]:not(.btn-gradient-cta):hover,
.contact-form button:not(.btn-gradient-cta):hover,
.form-submit:hover {
  background: #24B533 !important;
  box-shadow: 0 0 24px rgba(42, 201, 58, 0.3) !important;
  transform: translateY(-1px) !important;
}

/* ===== PARTNERS PAGE LOGOS ===== */
.partner-logo,
[class*="partner-logo"] {
  border-radius: 4px !important;
}

/* ===== PRICING / COMPARISON TABLES ===== */
table,
.comparison-table,
[class*="spec-table"],
[class*="pricing"] {
  font-family: 'Open Sans', sans-serif !important;
}

table th {
  font-weight: 700 !important;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(42, 201, 58, 0.15) !important;
}

table td {
  color: #AFABB3 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* ===== RESOURCE / GUIDE CARDS ===== */
.guide-card,
.resource-card,
[class*="guide-card"],
[class*="resource-card"] {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ===== CREATOR PAGES ===== */
.creator-card,
.pricing-card,
[class*="creator-"],
[class*="pricing-card"] {
  border-radius: 4px !important;
}

/* ===== LEGAL PAGES ===== */
.legal-content,
[class*="legal-"],
[class*="policy-"],
[class*="terms-"] {
  font-family: 'Open Sans', sans-serif !important;
}

.legal-content h2,
.legal-content h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
}

/* ===== UTILITY: Green text highlight ===== */
.text-green,
.highlight-green {
  color: #2AC93A !important;
}

/* ============================================================
   PRODUCT PAGE ENHANCEMENTS
   ============================================================ */

/* Product hero — bigger, more impactful */
.product-hero h1,
[class*="product-hero"] h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

.product-hero .subtitle,
[class*="product-subtitle"] {
  font-family: 'Open Sans', sans-serif !important;
  color: #2AC93A !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

/* Homepage hero subtitle — white, light weight (tvu-one-v2 "Anywhere." style) */
.hero-subtitle {
  font-family: 'Open Sans', sans-serif !important;
  color: #FFFFFF !important;
  font-weight: 300 !important;
  font-size: clamp(24px, 3.5vw, 44px) !important;
  letter-spacing: 0.02em !important;
}

/* Spec grids on product pages */
.spec-grid,
[class*="spec-grid"],
[class*="specs-grid"] {
  gap: 0 !important;
  border: 1px solid rgba(42, 201, 58, 0.1) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.spec-card,
[class*="spec-card"] {
  padding: 2.5rem 2rem !important;
  border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  background: rgba(255, 255, 255, 0.01) !important;
  transition: background 0.3s !important;
}

.spec-card:hover,
[class*="spec-card"]:hover {
  background: rgba(42, 201, 58, 0.02) !important;
}

.spec-unit {
  font-size: 0.5em !important;
  color: #AFABB3 !important;
}

/* Feature sections with icons */
[class*="feature-grid"],
[class*="features-grid"] {
  gap: 1.5rem !important;
}

[class*="feature-item"],
[class*="feature-card"] {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  padding: 2rem !important;
  transition: all 0.3s var(--ease) !important;
}

[class*="feature-item"]:hover,
[class*="feature-card"]:hover {
  border-color: rgba(42, 201, 58, 0.12) !important;
  transform: translateY(-3px) !important;
}

[class*="feature-item"] h3,
[class*="feature-card"] h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  margin-bottom: 0.5rem !important;
}

[class*="feature-item"] p,
[class*="feature-card"] p {
  color: #AFABB3 !important;
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
}

/* Spec table (two-column layout) */
.spec-table,
[class*="spec-table"] {
  width: 100% !important;
  border-collapse: collapse !important;
}

.spec-table tr,
[class*="spec-table"] tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.spec-table td:first-child,
[class*="spec-table"] td:first-child {
  color: #9aa3b8 !important;
  font-size: 0.88rem !important;
  padding: 0.75rem 1rem !important;
  width: 40% !important;
}

.spec-table td:last-child,
[class*="spec-table"] td:last-child {
  color: #FFFFFF !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  padding: 0.75rem 1rem !important;
}

/* ============================================================
   SOLUTION PAGE ENHANCEMENTS
   ============================================================ */

/* Solution hero */
.solution-hero h1,
[class*="solution-hero"] h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

/* Use case cards */
[class*="use-case"],
[class*="usecase"] {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ============================================================
   STORY / CASE STUDY PAGE ENHANCEMENTS
   ============================================================ */

.story-hero h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}

.article-body {
  max-width: 720px !important;
}

.article-body h2 {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.01em !important;
}

.article-body p {
  font-size: 0.96rem !important;
  line-height: 1.9 !important;
  color: #AFABB3 !important;
}

.article-body p strong {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

/* ============================================================
   CONTACT PAGE ENHANCEMENTS
   ============================================================ */

.form-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(42, 201, 58, 0.1) !important;
  border-radius: 6px !important;
  padding: 3rem !important;
}

.form-card::before {
  background: linear-gradient(90deg, #2AC93A, #7B2FBE, #2AC93A) !important;
}

.form-card h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.6rem !important;
}

.form-group label {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
}

.form-group label .required {
  color: #2AC93A !important;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2AC93A !important;
  box-shadow: 0 0 0 3px rgba(42, 201, 58, 0.08), 0 0 15px rgba(42, 201, 58, 0.06) !important;
}

.form-checkbox input[type="checkbox"] {
  accent-color: #2AC93A !important;
}

/* Office cards */
.office-card {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.office-card:hover {
  border-color: rgba(42, 201, 58, 0.12) !important;
}

.contact-form,
[class*="contact-form"] {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px !important;
  padding: 3rem !important;
}

.contact-form label,
[class*="contact-form"] label {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  color: #AFABB3 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
[class*="contact-form"] input,
[class*="contact-form"] textarea,
[class*="contact-form"] select {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  padding: 0.85rem 1rem !important;
  color: #FFFFFF !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 0.92rem !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(42, 201, 58, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(42, 201, 58, 0.08), 0 0 16px rgba(42, 201, 58, 0.06) !important;
}

/* ============================================================
   BLOG / NEWS LISTING ENHANCEMENTS
   ============================================================ */

.blog-grid,
[class*="blog-grid"],
[class*="news-grid"],
[class*="stories-grid"] {
  gap: 1.5rem !important;
}

/* ============================================================
   ABOUT / PARTNERS PAGE ENHANCEMENTS
   ============================================================ */

.team-card,
[class*="team-card"],
[class*="member-card"] {
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  overflow: hidden !important;
}

.team-card:hover,
[class*="team-card"]:hover {
  border-color: rgba(42, 201, 58, 0.12) !important;
}

/* Timeline / milestones */
[class*="timeline"],
[class*="milestone"] {
  font-family: 'Open Sans', sans-serif !important;
}

[class*="timeline-dot"],
[class*="milestone-dot"] {
  background: #2AC93A !important;
}

/* ============================================================
   GLOBAL LINK TRANSITIONS
   ============================================================ */

a {
  transition: color 0.2s, opacity 0.2s !important;
}

/* ============================================================
   PAGE-SPECIFIC HERO BACKGROUND IMAGES (Seedream-generated)
   ============================================================ */

/* News broadcast — newsroom scene */
body[data-page="news-broadcast"] .hero-bg,
html:has(title:contains("News")) .hero-bg {
  background-image: url('/public/assets/images/hero-newsroom.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ===== GLOBAL QUALITY REFINEMENTS ===== */

/* Ensure all images have smooth rendering */
img {
  image-rendering: auto;
}

/* Ensure smooth font rendering everywhere */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* Remove any remaining blue focus outlines */
*:focus {
  outline-color: rgba(42, 201, 58, 0.5);
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .atmosphere,
  .scanlines,
  .nab-popup {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* ===== TVU BOT (Dify) — V5 Design Override ===== */
#dify-chatbot-bubble-button {
  background: linear-gradient(135deg, #0d0d1a 0%, #111827 100%) !important;
  border: 1.5px solid #2AC93A !important;
  box-shadow: 0 0 18px rgba(42,201,58,0.35), 0 4px 20px rgba(0,0,0,0.6) !important;
  transition: box-shadow 0.3s ease, transform 0.2s ease !important;
  width: 60px !important;
  height: 60px !important;
}
#dify-chatbot-bubble-button:hover {
  box-shadow: 0 0 30px rgba(42,201,58,0.55), 0 8px 24px rgba(0,0,0,0.6) !important;
}
#dify-chatbot-bubble-window {
  border: 1px solid rgba(42,201,58,0.2) !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 40px rgba(42,201,58,0.07) !important;
  border-radius: 16px !important;
}
#dify-chatbot-popup {
  background: rgba(11, 7, 28, 0.92) !important;
  border: 1px solid rgba(42,201,58,0.3) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(42,201,58,0.1) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-family: 'Open Sans', sans-serif !important;
}
/* Override inline color on popup text divs */
#dify-chatbot-popup div {
  color: #ffffff !important;
  font-family: 'Open Sans', sans-serif !important;
}
/* Keep green accent on "Click to chat now!" */
#dify-chatbot-popup span {
  color: #2AC93A !important;
  font-weight: 700 !important;
}
/* Popup triangle arrow — match dark background */
#dify-chatbot-popup div[style*="border-top"] {
  border-top-color: rgba(11, 7, 28, 0.92) !important;
}

/* ===== CMS INLINE COLOR OVERRIDES =====
   These override WordPress/Strapi-generated inline style attributes
   that use light-theme grays (#4c4c4c, #5c5c5c, #666, #000, etc.)
   which are unreadable on the dark #0B0B0B background.
   Using high-specificity attribute selectors to beat inline styles.
   ===== */

/* Override CMS gray text inline styles */
[style*="color:#4c4c4c"],
[style*="color: #4c4c4c"],
[style*="color:#5c5c5c"],
[style*="color: #5c5c5c"],
[style*="color:#666566"],
[style*="color: #666566"] {
  color: #8892a8 !important; /* --text-secondary */
}

/* Override CMS light background inline styles */
[style*="background-color:#f0f0f0"],
[style*="background-color: #f0f0f0"],
[style*="background-color:#f4f4f4"],
[style*="background-color: #f4f4f4"],
.uni-popup[style*="background-color"] {
  background-color: rgba(20,20,20,0.7) !important; /* --bg-card */
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 4px !important;
}

/* Override CMS inline text color on light background containers */
[style*="background-color:#f0f0f0"] *,
[style*="background-color: #f0f0f0"] *,
[style*="background-color:#f4f4f4"] *,
[style*="background-color: #f4f4f4"] *,
.uni-popup[style*="background-color"] * {
  color: #eef0f6 !important; /* --text-primary */
}

/* Override CMS dark text for popup/light-bg containers */
[style*="color:#262626"],
[style*="color: #262626"] {
  color: #eef0f6 !important; /* --text-primary */
}

/* ===== Nav Ghost Buttons (Global Rentals / Contact Sales) =====
   Rendered inside .nav-actions so the rest of .nav-links stays in its natural
   space-between position. Last ghost gets right-margin to breathe before search. */
.nav-item.nav-ghost {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px; padding: 0 0.9rem; height: 34px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-primary); margin-left: 0.25rem;
  transition: all 0.25s;
}
.nav-item.nav-ghost:hover {
  border-color: var(--accent-cyan); color: var(--accent-cyan);
  background: rgba(42,201,58,0.06);
}
.nav-item.nav-ghost::after { display: none; }
.nav-actions .nav-item.nav-ghost + .nav-search-btn { margin-left: 0.9rem; }

/* === Multi-language font support === */
.font-ja {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
}
.font-ko {
  font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}
.font-ja h1, .font-ja h2, .font-ja h3,
.font-ko h1, .font-ko h2, .font-ko h3 {
  line-height: 1.4;
}
/* Korean separates words with spaces, so headings keep words whole. Japanese has no
   spaces: keep-all would forbid every break in a heading and push it off the screen —
   use Japanese line-breaking rules (no break before 。、ー etc.) instead. */
.font-ko h1, .font-ko h2, .font-ko h3 {
  word-break: keep-all;
}
.font-ja h1, .font-ja h2, .font-ja h3 {
  line-break: strict;
  overflow-wrap: anywhere;
}
/* The design letter-spaces small uppercase Latin labels (menu column titles, badges,
   eyebrows: 2–3px). On kana, kanji and Hangul that spacing reads as "ラ イ ブ 素 材";
   CJK text is set solid. !important because the per-page inline styles set it too. */
.font-ja, .font-ja *, .font-ko, .font-ko * {
  letter-spacing: normal !important;
}
.font-ja p, .font-ja li, .font-ja td,
.font-ko p, .font-ko li, .font-ko td {
  line-height: 1.8;
}

/* ============================================================
   UX OPTIMIZATION — Global Image, Responsive & Mobile Fixes
   Added 2026-04-15
   ============================================================ */

/* ===== GLOBAL IMAGE ASPECT-RATIO PROTECTION ===== */
img {
  max-width: 100%;
  height: auto;
}

/* Hero & feature visual images — contain (preserve transparency & ratio) */
.hero-visual img,
.hero-product-img img,
.feature-visual img,
.feature-row-visual img,
[class*="visual"] img,
.product-img-wrap img,
.product-real-img,
.multicam-img-wrap img,
.isx-diagram-img,
.remi-visual img,
.green-visual img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Video backgrounds — cover to fill, maintain ratio */
.hero video,
.hero-bg video,
[class*="hero"] video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature row videos */
.feature-row-visual video,
.feature-visual video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Card images — cover with fixed aspect ratio */
.case-card img,
.blog-card img,
.news-card img,
.story-card img,
.bento-card img,
.sv-case img,
[class*="card-image"] img,
[class*="card-img"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logos — contain, never stretch */
.client-logo img,
.partner-logo img,
.integration-icon img,
.one-logos-track img,
.logos-track img,
[class*="logo"] img {
  object-fit: contain;
}

/* Product card images */
.product-card-img img,
.family-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  box-sizing: border-box;
}

/* TVU Search 图片是竖版 (800x904)，放大以匹配横版兄弟产品的视觉体量 */
.product-card-img img[alt="TVU Search"] {
  transform: scale(1.35);
}
.product-card:hover .product-card-img img[alt="TVU Search"] {
  transform: scale(1.43);
}

/* ===== MOBILE NAV — Normalize both class variants ===== */
.mobile-nav.active,
.mobile-nav.open {
  display: flex !important;
  flex-direction: column;
}

/* ===== PRODUCT PAGE RESPONSIVE — Tablet (1024px) ===== */
@media (max-width: 1024px) {
  /* Two-column hero → stacked */
  .hero-inner,
  .isx-inner,
  .feature-inner,
  .remi-inner,
  .green-inner,
  .mimo-inner {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Centered hero text */
  .hero-content {
    text-align: center !important;
  }

  .hero-content .section-label,
  .hero-content .hero-sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Feature rows → stacked */
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .feature-row.reverse {
    direction: ltr !important;
  }

  /* Tab panels → stacked */
  .tab-panel.active,
  .tab-panel {
    grid-template-columns: 1fr !important;
  }

  /* Remote section columns */
  .remote-features {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ISX text block full width */
  .isx-text {
    text-align: center !important;
  }

  .isx-text .section-label,
  .isx-text .section-sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* AI applications flow stages */
  .flow-stages {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Comparison table scroll */
  .comparison-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== PRODUCT PAGE RESPONSIVE — Mobile (768px) ===== */
@media (max-width: 768px) {
  /* Spec grids → 2 columns */
  .spec-grid,
  .specs-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }

  /* Product family → single column */
  .family-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Feature stat rows → stacked */
  .feature-row-stat,
  .feature-stat-row {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Spec pill rows → wrap */
  .spec-pill-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
  }

  /* Hero badges → wrap */
  .hero-badges {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* Hero CTAs → stacked on narrow screens */
  .hero-ctas {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* CTA buttons full width */
  .cta-btns {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* Products grid → single column */
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  /* Testimonials → single column */
  .testimonials,
  .testimonials-3col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Tab navigation → scroll horizontally */
  .tab-nav,
  #tabNav {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tab-nav::-webkit-scrollbar,
  #tabNav::-webkit-scrollbar {
    display: none;
  }

  /* Section padding reduction */
  .spec-section,
  .isx-section,
  .field-section,
  .mimo-section,
  .multicam-section,
  .cloud-section,
  .irl-section,
  .remote-section,
  .green-section,
  .remi-section,
  .proof-section,
  .family-section,
  .cta-section,
  .feature-section,
  .feature-row-section {
    padding: 80px 24px !important;
  }

  /* Audience strip */
  .audience-strip {
    padding: 20px 16px !important;
  }

  /* Streamer videos grid */
  .sv-featured {
    grid-template-columns: 1fr !important;
  }

  .sv-grid {
    grid-template-columns: 1fr !important;
  }

  .sv-cases {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Bento grid */
  .bento-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== PRODUCT PAGE RESPONSIVE — Small Phone (480px) ===== */
@media (max-width: 480px) {
  /* Spec grids → single column */
  .spec-grid,
  .specs-grid {
    grid-template-columns: 1fr !important;
  }

  /* Tighter section padding */
  .spec-section,
  .isx-section,
  .field-section,
  .mimo-section,
  .multicam-section,
  .cloud-section,
  .irl-section,
  .remote-section,
  .green-section,
  .remi-section,
  .proof-section,
  .family-section,
  .cta-section,
  .feature-section,
  .feature-row-section {
    padding: 60px 16px !important;
  }

  /* Hero title scaling */
  .hero-title,
  .hero h1,
  [class*="hero-title"] {
    font-size: clamp(36px, 10vw, 56px) !important;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(24px, 6vw, 36px) !important;
  }

  .section-title-sm {
    font-size: clamp(22px, 5vw, 32px) !important;
  }

  /* CTA title */
  .cta-title {
    font-size: clamp(28px, 7vw, 44px) !important;
  }

  /* Spec card padding */
  .spec-card {
    padding: 32px 20px !important;
  }

  /* MIMO specs → 2 columns */
  .mimo-specs {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Cases grid → single column */
  .sv-cases {
    grid-template-columns: 1fr !important;
  }

  /* Feature desc items tight */
  .feature-desc-item {
    font-size: 0.85rem !important;
    padding-left: 20px !important;
  }

  /* ISX animation hide on very small screens (too complex) */
  .isx-anim {
    display: none !important;
  }

  /* Ecosystem SVG diagram */
  .ecosystem-img-wrap img,
  .ecosystem-img-wrap svg {
    max-width: 100%;
    overflow-x: auto;
  }

  /* Creator streamer chips */
  .one-streamer-chip span {
    font-size: 0.7rem !important;
  }

  /* Integration grid → tighter */
  .integration-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
}

/* ===== Standard navbar on phones (fix-16, 2026-10-23) =====
   The homepage navbar — the standard every page now uses — did not fit a phone: the
   inline .nav-logo margin-left: 5rem pushed the logo off-screen, "Global Rentals" /
   "Contact Sales" wrapped onto two lines and the menu button was cut off. On phones the
   bar keeps logo, search, language and menu; Global Rentals and Contact Sales are in the
   mobile menu, and Log In is a desktop task. !important because every page restates the
   navbar rules inline. */
@media (max-width: 768px) {
  .navbar .nav-logo { margin-left: 0 !important; }
  .nav-actions { gap: 0.4rem !important; }
  .nav-actions .nav-ghost { display: none !important; }
  .nav-actions > .nav-item:has(> .nav-btn) ~ .nav-item:has(> .nav-btn) { display: none !important; }
  .nav-actions .nav-btn { padding: 0.35rem 0.6rem !important; white-space: nowrap; }
  .mobile-toggle { display: flex !important; margin-left: 0.25rem; }
}
/* Embedded media never wider than its column (blog posts carry WordPress <video>/<iframe>
   with intrinsic 1280px width, which overflowed the page on every screen size). */
main video, main iframe, .blog-content video, .blog-content iframe, figure video { max-width: 100%; height: auto; }
/* WordPress-imported video wrappers carry an inline pixel width (style="width: 1920px") */
.wp-video { max-width: 100%; }
.wp-video video { max-width: 100%; height: auto; }
/* Jessica, 2026-10-31: "in general this should be throughout the site, don't have one
   word hanging on a second line". Headings and the short deck under them get balanced
   lines; longer body copy only needs its last line protected from a lone orphan.
   Unsupported in older browsers, where the text simply wraps as it did before. */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-header p, .hero p, .hero-sub, .hero-subtitle {
  text-wrap: balance;
}

p, li, figcaption, blockquote {
  text-wrap: pretty;
}

/* ===== Footer newsletter =====
   The footer form is HubSpot's native form, unstyled by the site (newsletter-hubspot.js puts it in
   #tvuNewsletterHs). The old static form every page still carries is never shown, so visitors do
   not see it first and then watch it turn into the HubSpot one. Nothing here touches the HubSpot form. */
#newsletterForm,
#newsletterSuccess,
.footer-newsletter .newsletter-consent { display: none !important; }

/* ===== HubSpot embedded forms (hs-embed.js) =====
   One look for the contact, buy/rent, white-paper and MediaMesh forms: dark inputs, small caps
   labels, TVU green submit. HubSpot's own stylesheet is switched off (css: ''), so everything the
   form shows is styled here. Selectors start at .tvu-hs-form .hs-form to outrank page-local
   rules such as .wp-form-card input. */
.tvu-hs-form { min-height: 4rem; text-align: left; font-family: var(--font-body, 'Open Sans', sans-serif); }
.tvu-hs-form .tvu-hs-sent { display: none; }
.tvu-hs-form .tvu-hs-fallback { margin: 0; padding: 1rem 0; font-size: 0.9rem; }
.tvu-hs-form .tvu-hs-fallback a { color: var(--accent-cyan, #2AC93A); text-decoration: underline; }
.tvu-hs-form .hs-form { margin: 0; color: var(--text-secondary, #c7cbd4); }
.tvu-hs-form .hs-form fieldset { max-width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.tvu-hs-form .hs-form fieldset.form-columns-2,
.tvu-hs-form .hs-form fieldset.form-columns-3 { display: grid; gap: 0 0.75rem; }
.tvu-hs-form .hs-form fieldset.form-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tvu-hs-form .hs-form fieldset.form-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tvu-hs-form .hs-form fieldset .hs-form-field { float: none; width: 100% !important; min-width: 0; margin: 0 0 1rem; }
.tvu-hs-form .hs-form fieldset .hs-form-field .input { margin: 0 !important; }
.tvu-hs-form .hs-form .hs-form-field > label {
  display: block; margin: 0 0 0.3rem; font-size: 0.72rem; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-dim, #9aa3b8);
}
.tvu-hs-form .hs-form .hs-form-required { color: var(--accent-cyan, #2AC93A); }
.tvu-hs-form .hs-form .hs-field-desc { margin: 0 0 0.3rem; font-size: 0.78rem; color: var(--text-dim, #9aa3b8); }
.tvu-hs-form .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.tvu-hs-form .hs-form select.hs-input,
.tvu-hs-form .hs-form textarea.hs-input {
  display: block; width: 100% !important; min-height: 44px; margin: 0; padding: 0.65rem 0.8rem; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 6px;
  color: var(--text-primary, #eef0f6); font: inherit; font-size: 0.9rem; line-height: 1.4;
  color-scheme: dark; -webkit-appearance: none; appearance: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.tvu-hs-form .hs-form textarea.hs-input { min-height: 96px; resize: vertical; }
.tvu-hs-form .hs-form select.hs-input {
  padding-right: 2rem; cursor: pointer; background-repeat: no-repeat; background-position: right 0.8rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239aa3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tvu-hs-form .hs-form select.hs-input option { background: #111; color: var(--text-primary, #eef0f6); }
.tvu-hs-form .hs-form .hs-input::placeholder { color: var(--text-dim, #9aa3b8); opacity: 0.8; }
.tvu-hs-form .hs-form input.hs-input:focus,
.tvu-hs-form .hs-form select.hs-input:focus,
.tvu-hs-form .hs-form textarea.hs-input:focus {
  outline: none; border-color: var(--accent-cyan, #2AC93A); box-shadow: 0 0 0 3px rgba(42, 201, 58, 0.12);
}
.tvu-hs-form .hs-form .hs-input.invalid.error { border-color: rgba(239, 68, 68, 0.6); }
.tvu-hs-form .hs-form ul.inputs-list { margin: 0; padding: 0; list-style: none; }
.tvu-hs-form .hs-form ul.inputs-list label { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 0.4rem; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.8rem; color: var(--text-secondary, #c7cbd4); cursor: pointer; }
.tvu-hs-form .hs-form input[type="checkbox"],
.tvu-hs-form .hs-form input[type="radio"] { flex: 0 0 auto; width: 16px !important; height: 16px; margin: 3px 0 0; accent-color: var(--accent-cyan, #2AC93A); color-scheme: dark; }
.tvu-hs-form .hs-form .hs-error-msgs { margin: 0.3rem 0 0; padding: 0; list-style: none; }
.tvu-hs-form .hs-form .hs-error-msgs label,
.tvu-hs-form .hs-form .hs_error_rollup .hs-error-msgs label { display: block; margin: 0; font-size: 0.74rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: #ff6b6b; }
.tvu-hs-form .hs-form .hs-richtext,
.tvu-hs-form .hs-form .legal-consent-container,
.tvu-hs-form .hs-form .legal-consent-container p { margin: 0 0 0.6rem; font-size: 0.76rem; line-height: 1.55; color: var(--text-dim, #9aa3b8); }
.tvu-hs-form .hs-form .legal-consent-container { margin-top: 0.5rem; }
.tvu-hs-form .hs-form .hs-richtext a,
.tvu-hs-form .hs-form .legal-consent-container a { color: var(--accent-cyan, #2AC93A); text-decoration: underline; }
.tvu-hs-form .hs-form .hs-submit { margin-top: 0.5rem; }
.tvu-hs-form .hs-form input.hs-button,
.tvu-hs-form .hs-form button.hs-button {
  display: block; width: 100%; margin: 0; padding: 0.85rem 1.5rem; box-sizing: border-box; border: 0; border-radius: 6px;
  background: #2AC93A; color: #0B0B0B; font-family: var(--font-heading, 'Open Sans', sans-serif); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.tvu-hs-form .hs-form input.hs-button:hover,
.tvu-hs-form .hs-form button.hs-button:hover { background: #25b534; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(42, 201, 58, 0.3); }
.tvu-hs-form .hs-form input.hs-button:focus-visible,
.tvu-hs-form .hs-form button.hs-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.tvu-hs-form .hs-form .hs_recaptcha { margin: 0 0 1rem; }
.tvu-hs-form .hs-form .hs-form__virality-link { display: none !important; }
@media (max-width: 640px) {
  .tvu-hs-form .hs-form fieldset.form-columns-2,
  .tvu-hs-form .hs-form fieldset.form-columns-3 { grid-template-columns: 1fr; }
}

/* ===== SKIP LINK + KEYBOARD ACCESS (R9, 2026-11-02) ===== */
/* fixed, not absolute: placed against the viewport, so a page whose first block has a top margin
   (story pages: .story-hero margin-top:72px collapses through body) cannot pull it into view (2026-11-09) */
.skip-link{position:fixed;left:16px;top:-100px;z-index:3000;padding:12px 20px;background:#2AC93A;color:#0B0B0B;font-weight:700;border-radius:4px;text-decoration:none}.skip-link:focus{top:12px}
#main-content:focus{outline:none}

/* A mega menu / dropdown opens for keyboard focus as it does on hover. Its trigger (.nav-item) is
   focusable (tabindex="0", set by tvu-v5-animations.js); Escape adds .is-kb-closed to hide it again. */
.nav-item:focus-within .mega-dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}
.nav-item.is-kb-closed:focus-within .mega-dropdown,
.nav-item.is-kb-closed:focus-within .dropdown {
  opacity: 0;
  visibility: hidden;
}

/* Visible focus on tabindex targets (not the programmatic -1 targets) and disclosure summaries. */
[tabindex]:not([tabindex="-1"]):focus-visible,
summary:focus-visible {
  outline: 2px solid #2AC93A;
  outline-offset: 2px;
}

/* Chinese headings (zh site, 2026-11-03). The hero titles' line-height 0.92 and negative tracking
   are set for upper-case Latin and crush Han characters, often inline on the h1 itself, hence
   !important. Lines break only between word groups (.zh-nw, added by i18n/zh-headings.js) and are
   balanced so no line is left with a single character. */
html[lang^="zh"] h1 {
  line-height: 1.22 !important;
  letter-spacing: 0.04em !important;
}
html[lang^="zh"] :is(h1, h2, h3, h4, h5, h6) {
  text-wrap: balance;
}
html[lang^="zh"] .zh-nw {
  white-space: nowrap;
}

/* ===== FORM TABS (Purchase / Rental) — look like tabs, not buttons (Camila's sheet) =====
   The tabs sit on a rule and the active one is underlined, merging into the form below. */
.form-tabs {
  gap: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem !important;
}
.form-tab {
  flex: 1;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.7rem 1rem !important;
  margin-bottom: -1px;
  color: #9aa3b8 !important;
}
.form-tab.active {
  border-bottom-color: #2AC93A !important;
  color: #FFFFFF !important;
  background: transparent !important;
}
.form-tab:hover {
  color: #FFFFFF !important;
  border-color: transparent !important;
  border-bottom-color: rgba(42, 201, 58, 0.5) !important;
}

/* ===== KEYBOARD FOCUS ON WIDGETS (R9) =====
   Accordion questions, tabs, filter pills / dropdown triggers, thumbnails, the hamburger and the other
   click-only controls that tvu-v5-animations.js makes focusable show a solid green ring. !important:
   several pages carry `outline: none` for :focus in their inline styles. */
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
.faq-q:focus-visible,
.faq-question:focus-visible,
.tab-btn:focus-visible,
.form-tab:focus-visible,
.hero-tab:focus-visible,
.dd-tab:focus-visible,
.cat-pill:focus-visible,
.filter-pill:focus-visible,
.filter-btn:focus-visible,
.sort-btn:focus-visible,
.gallery-thumb:focus-visible,
.sidebar-link:focus-visible,
.mobile-toggle:focus-visible,
.clear-all-btn:focus-visible,
.btn-load-more:focus-visible,
.nav-item:focus-visible,
.nav-search-btn:focus-visible,
.search-close:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="text"]:focus-visible,
input[type="search"]:focus-visible,
input[type="email"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #2AC93A !important;
  outline-offset: 2px !important;
  /* dark halo under the green ring, so it stays visible (3:1) on white / light sections too */
  box-shadow: 0 0 0 4px #0B0B0B !important;
}
/* Tabs that sit inside a clipped strip: draw the ring inside so it is not cut off. */
.form-tab:focus-visible { outline-offset: -2px !important; }

/* ===== Chinese pages (zh-CN) — hero fixes, 2026-11-05 ===== */
html[lang^="zh"] .hero-trust-label { font-size: 14px !important; letter-spacing: 0.12em !important; }
html[lang^="zh"] .hero-title > .zh-nw { color: #FFFFFF !important; }
/* Chinese pages: section labels larger (2026-11-05) */
html[lang^="zh"] .section-label { font-size: 0.9rem !important; letter-spacing: 0.12em !important; }

/* ── Article fields (article-meta.js / apply-article-meta.js, 2026-11-12) ── */
/* "Related Products" strip at the end of an article body, built from public/products.json */
.article-related-products { margin: 3rem 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(127,127,127,0.25); }
.article-related-products .arp-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem; color: inherit; }
.article-related-products .arp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.article-related-products .arp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0.9rem; border: 1px solid rgba(127,127,127,0.25); border-radius: 8px; color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.article-related-products .arp-card:hover, .article-related-products .arp-card:focus-visible { border-color: var(--accent-cyan, #2AC93A); transform: translateY(-2px); }
.article-related-products .arp-card img { width: 100%; height: 100px; object-fit: contain; }
.article-related-products .arp-name { font-size: 0.88rem; font-weight: 600; }
/* "Updated <date>" beside the published date */
.article-updated { margin-left: 0.9rem; opacity: 0.85; }
/* zh contact form (2026-11-16): its HubSpot form has a radio group ("用户类型"). The contact page styles every
   #hsContactForm input.hs-input as a full-width text box (width 100%, padding, min-height 48px), which blew the radios up into
   big circles and pushed their labels to the far right. Radios and checkboxes get their natural size back, labels sit beside them. */
html[lang^="zh"] #hsContactForm ul.inputs-list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html[lang^="zh"] #hsContactForm ul.inputs-list li { margin: 0 0 0.6rem !important; }
html[lang^="zh"] #hsContactForm ul.inputs-list label { display: flex !important; align-items: flex-start !important; gap: 0.6rem !important; margin: 0 !important; font-size: 0.9rem !important; font-weight: 400 !important; line-height: 1.5 !important; color: #d1d5db !important; cursor: pointer; }
html[lang^="zh"] #hsContactForm input[type="radio"].hs-input,
html[lang^="zh"] #hsContactForm input[type="checkbox"].hs-input { flex: 0 0 auto !important; width: 16px !important; min-width: 0 !important; height: 16px !important; min-height: 0 !important; padding: 0 !important; margin: 4px 0 0 !important; accent-color: #2AC93A; }