/* ==========================================================================
   ThunderboltX Website Redesign — Section 01: Hero
   Modern Enterprise Intelligent Mobility Design
   Visual Target: Interactive 3D Network Background (ThunderboltX_ Network Background.html)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section Master Viewport
   -------------------------------------------------------------------------- */
.tbx-hero-viewport {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #080909;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #13110f 0%, #0a0a0d 60%, #080909 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Interactive 3D WebGL Background Canvas Container
   -------------------------------------------------------------------------- */
.tbx-hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.tbx-hero-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Graceful Fallback if WebGL is unavailable */
.tbx-hero-bg-container.tbx-no-webgl {
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #13110f 0%, #0a0a0d 60%, #050507 100%),
    linear-gradient(135deg, rgba(197, 138, 75, 0.12) 0%, transparent 60%);
}

/* --------------------------------------------------------------------------
   Cinematic Vignettes & Lighting Transitions
   Source: ThunderboltX_ Network Background.html
   -------------------------------------------------------------------------- */
.tbx-hero-vignette-radial {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 62%, rgba(5, 5, 7, 0.5) 100%);
}

.tbx-hero-vignette-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(7, 7, 10, 0.6) 45%, #080909 100%);
}

.tbx-hero-vignette-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, transparent 0%, rgba(5, 5, 7, 0.75) 100%);
}

/* --------------------------------------------------------------------------
   Scroll-Driven Reveal Image Layer (Between Background Animation & Front Text)
   -------------------------------------------------------------------------- */
.tbx-hero-scroll-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 80px, 0);
  will-change: transform, opacity;
}

.tbx-hero-scroll-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tbx-hero-scroll-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  transform: scale(1.02);
  will-change: transform;
}

/* Dark Legibility Overlay when Image is Behind Text */
.tbx-hero-scroll-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 50%, rgba(8, 9, 9, 0.55) 0%, rgba(7, 7, 10, 0.78) 100%);
  opacity: 1;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Hero Content Stage (Centered Typography & Hierarchy)
   -------------------------------------------------------------------------- */
.tbx-hero-content-stage,
.tbx-hero-stage {
  position: relative;
  z-index: 10;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  will-change: opacity;
}

/* Subtle staggered entrance animation */
@keyframes tbxHeroFadeInUp {
  0% {
    opacity: 0;
    translate: 0 18px;
  }

  100% {
    opacity: 1;
    translate: none;
  }
}

.tbx-hero-animate-1 {
  animation: tbxHeroFadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tbx-hero-animate-2 {
  opacity: 0;
  animation: tbxHeroFadeInUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.tbx-hero-animate-3 {
  opacity: 0;
  animation: tbxHeroFadeInUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.tbx-hero-animate-4 {
  opacity: 0;
  animation: tbxHeroFadeInUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.tbx-hero-animate-5 {
  opacity: 0;
  animation: tbxHeroFadeInUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

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

  .tbx-hero-animate-1,
  .tbx-hero-animate-2,
  .tbx-hero-animate-3,
  .tbx-hero-animate-4,
  .tbx-hero-animate-5 {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   1. Eyebrow Badge
   -------------------------------------------------------------------------- */
.tbx-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Venera', 'Venara', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: #D49A70;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(212, 154, 112, 0.3);
}

/* --------------------------------------------------------------------------
   2. Main Headline (3 lines)
   -------------------------------------------------------------------------- */
.tbx-hero-headline {
  font-family: 'Venera', 'Venara', sans-serif;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: #FFFFFF;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.2rem, 4.2vw, 3.6rem);
  line-height: 1.12;
}

/* Metallic Copper & Bronze Gradient for "Intelligent Mobility." */
.tbx-hero-headline-accent,
.tbx-hero-headline-gradient {
  background: linear-gradient(135deg, #F5D5C0 0%, #E29E73 35%, #C58A4B 70%, #A46338 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(197, 138, 75, 0.25));
}

/* --------------------------------------------------------------------------
   3. Supporting Description (2-Line Balanced Layout)
   -------------------------------------------------------------------------- */
.tbx-hero-description {
  font-family: 'Lausanne', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #9CA3AF;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .tbx-hero-description {
    font-size: 0.95rem;
    line-height: 1.62;
    margin-bottom: 2rem;
    max-width: 580px;
  }
}

/* --------------------------------------------------------------------------
   4. Action CTAs Group
   -------------------------------------------------------------------------- */
.tbx-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-bottom: 3.5rem;
}

/* Primary CTA: Warm Copper Metallic Pill */
.tbx-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #DF9E76 0%, #C58A4B 55%, #A66438 100%);
  color: #0E0A06;
  font-family: var(--font-lausanne, 'Lausanne', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 22px rgba(197, 138, 75, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tbx-btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197, 138, 75, 0.52), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  filter: brightness(1.05);
}

.tbx-btn-hero-primary:active {
  transform: translateY(0);
}

.tbx-btn-hero-primary svg {
  transition: transform 0.2s ease;
}

.tbx-btn-hero-primary:hover svg {
  transform: translateX(3px);
}

/* Secondary CTA: glass pill. The hero network is blurred inside the button. */
.tbx-btn-hero-secondary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  background: rgba(18, 20, 24, 0.28);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  color: #FFFFFF;
  font-family: var(--font-lausanne, 'Lausanne', sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.tbx-btn-hero-secondary::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 38%, transparent 62%);
  pointer-events: none;
}

.tbx-btn-hero-secondary > * {
  position: relative;
  z-index: 1;
}

.tbx-btn-hero-secondary svg {
  color: #fff;
}

.tbx-btn-hero-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.tbx-btn-hero-secondary:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   5. Credibility Indicators Row
   -------------------------------------------------------------------------- */
.tbx-hero-credibility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.tbx-hero-cred-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #D1D5DB;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Venera', 'Venara', monospace;
  white-space: nowrap;
}

.tbx-hero-cred-icon {
  color: #C58A4B;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.tbx-hero-cred-divider {
  width: 1px;
  height: 1.4rem;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tbx-hero-content-stage {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .tbx-hero-cta-group {
    margin-bottom: 2.75rem;
  }

  .tbx-hero-credibility-row {
    gap: 1rem 1.25rem;
  }

  .tbx-hero-cred-divider {
    display: none;
  }

  .tbx-hero-cred-item {
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
  }
}

/* --------------------------------------------------------------------------
   React Bits Orb Visual Layer (Spread Blurred Atmospheric Glow)
   Exact Configuration:
   colors={["#a45a0e","#d39c67","#75430d"]}
   hoverIntensity={1}
   trail={1}
   rotateOnHover
   followCursor
   Container: { width: '100%', height: '600px', position: 'relative' }
   -------------------------------------------------------------------------- */
.tbx-hero-orb-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1080px;
  height: 620px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent !important;
}

.orb-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: transparent !important;
}

.orb-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent !important;
  mix-blend-mode: screen;
  filter: blur(16px);
  -webkit-filter: blur(16px);
  transform: translateZ(0);
}

@media (max-width: 768px) {
  .tbx-hero-orb-wrap {
    height: 480px;
    max-width: 100%;
  }

  .tbx-hero-orb-wrap>div {
    height: 480px !important;
  }

  .orb-canvas {
    filter: blur(12px);
    -webkit-filter: blur(12px);
  }
}

@media (max-width: 480px) {
  .tbx-hero-orb-wrap {
    height: 380px;
    max-width: 100%;
  }

  .tbx-hero-orb-wrap>div {
    height: 380px !important;
  }

  .orb-canvas {
    filter: blur(8px);
    -webkit-filter: blur(8px);
  }
}

/* ==========================================================================
   FROSTED GLASS HEADER (LIQUID ACRYLIC GLASSMORPHISM)
   ========================================================================== */
.tbx-glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.45) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tbx-glass-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 20%, rgba(211, 156, 103, 0.45) 50%, rgba(255, 255, 255, 0.18) 80%, transparent);
  pointer-events: none;
}

.tbx-glass-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-lausanne, 'Lausanne', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #A45A0E 0%, #C58A4B 100%);
  border: 1px solid rgba(211, 156, 103, 0.5);
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(164, 90, 14, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tbx-glass-cta-btn:hover {
  background: linear-gradient(135deg, #B56512 0%, #D39C67 100%);
  border-color: rgba(211, 156, 103, 0.85);
  box-shadow: 0 0 28px rgba(211, 156, 103, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px) scale(1.02);
  color: #FFFFFF;
}

.tbx-glass-cta-btn:active {
  transform: translateY(0) scale(0.98);
}