/* ==========================================================================
   TRADE TOP SOLUTIONS - SYSTEM DESIGN (VANILLA PREMIUM CSS)
   ========================================================================== */



@font-face {
  font-family: 'Sansation';
  src: url('../Fonts/Sansation-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette - Premium Crisp White Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --primary: #09036a;        /* Deep Corporate Navy Blue */
  --primary-rgb: 9, 3, 106;
  --primary-hover: #070252;
  
  --secondary: #d97706;      /* Amber / Warm Gold */
  --secondary-rgb: 217, 119, 6;
  
  --accent-cyan: #06b6d4;
  
  /* Silver Metallic Accents & CTA System */
  --silver: #94a3b8;
  --silver-light: #cbd5e1;
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  --silver-glow: 0 10px 20px -5px rgba(148, 163, 184, 0.4);
  
  /* Text Colors */
  --text-main: #0f172a;       /* slate-900 */
  --text-muted: #2d3748;      /* Sophisticated Deep Dark Gray */
  --text-dark: #f8fafc;       /* kept light for dark sections */
  
  /* Borders & Glassmorphism */
  --border-glass: rgba(15, 23, 42, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.75);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
  --glow-emerald: 0 0 25px rgba(var(--primary-rgb), 0.15);
  
  /* Fonts */
  --font-headings: 'Sansation', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --nav-height: 54px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip; /* clip instead of hidden allows position: sticky to work */
  background-color: var(--bg-primary);
  color: var(--text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip instead of hidden allows position: sticky to work */
  background: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary); /* Corporate Navy Blue */
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  color: var(--text-muted); /* Global dark gray paragraph text color */
}

/* ==========================================================================
   LAYOUT COMPONENTS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ==========================================================================
   GLASSMORPHISM & PREMIUM CARDS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
}

.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), var(--glow-emerald);
}

.glass-card:hover::before {
  transform: scaleX(1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  gap: 10px;
}

.btn-primary {
  background: var(--silver-gradient);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--silver-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, #cbd5e1 50%, #94a3b8 100%);
  color: var(--primary-hover);
  box-shadow: 0 15px 30px -5px rgba(148, 163, 184, 0.6), var(--silver-glow);
  transform: translateY(-3px);
}

.btn-outline {
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 50%, #94a3b8 100%);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--silver-glow);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 40%, #cbd5e1 50%, #94a3b8 100%);
  color: var(--primary-hover);
  box-shadow: 0 15px 30px -5px rgba(148, 163, 184, 0.6), var(--silver-glow);
  transform: translateY(-3px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #b45309);
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(217, 119, 6, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.6);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none; /* Let clicks pass through */
  padding: 0 40px;
}

.header.scrolled {
  top: 12px; /* Maintain same top offset as standard state */
  height: var(--nav-height); /* Maintain standard navigation height on scroll down */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Explicit colors for links and buttons in the dark beveled header */
.header .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
}

.header .nav-link:hover, .header .nav-link.active {
  color: #ffffff !important;
}

.header .nav-link::after {
  background-color: var(--silver-light) !important;
}

.header .icon-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: var(--transition-smooth);
}

.header .icon-btn svg {
  width: 14px !important;
  height: 14px !important;
  transition: var(--transition-smooth);
}

.header .icon-btn:hover {
  background: var(--silver-gradient) !important;
  color: #0f172a !important;
  border-color: var(--silver-light) !important;
  transform: scale(1.08);
  box-shadow: var(--silver-glow);
}

.header .lang-toggle-btn {
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(15, 23, 42, 0.78) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(15, 23, 42, 0.15) !important;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.header .lang-toggle-btn:hover {
  background: var(--silver-gradient) !important;
  color: #0f172a !important;
  border-color: var(--silver-light) !important;
  box-shadow: var(--silver-glow) !important;
}

.header .hamburger span {
  background-color: var(--primary) !important;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: max-content;
  margin: 0 auto;
  padding: 0 24px;
  border-radius: 50px;
  pointer-events: auto; /* Enable clicks */
  
  /* Beveled dark smoke-gray glassmorphism */
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    inset 0 -1px 2px rgba(0, 0, 0, 0.4),
    0 15px 35px -10px rgba(15, 23, 42, 0.5);
  transition: var(--transition-smooth);
}

.header.scrolled .container {
  background: rgba(11, 15, 25, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 20px 40px -15px rgba(11, 15, 25, 0.6);
}

/* Floating Logo & Lang Selector positioning wrapper */
.logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 1010;
  transition: var(--transition-smooth);
  
  /* Matchy-matchy premium dark smoke-gray glassmorphism */
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px 14px; /* Sleek compact padding */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 10px 25px -5px rgba(15, 23, 42, 0.35);
}

.logo:hover {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.35),
    0 15px 30px -5px rgba(15, 23, 42, 0.45),
    var(--silver-glow);
  transform: translateY(-50%) scale(1.03); /* Premium hover scale micro-interaction */
}

.logo img {
  height: 36px; /* Increased for great brand legibility and premium impact */
  width: auto;
  transition: var(--transition-smooth);
  filter: grayscale(100%) brightness(115%) contrast(145%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); /* Polished metallic silver/chrome! */
}

/* Maintain standard logo and container sizes on scroll down */

/* Lang Wrapper on right to float both Lang Toggle and Hamburger */
.header-controls-wrapper {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  z-index: 1010;
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 6px 14px;
  
  /* Beveled white frosted glass for dark icon contrast */
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15),
    0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.nav-menu {
  display: none !important; /* Replaced by animated sidebar */
  align-items: center;
  gap: 24px;
  margin-right: 20px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.dropdown-item:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
}

/* Icons Menu */
.icons-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: var(--glow-emerald);
}

/* Mobile Toggle */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hamburger Open */
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   SCROLL EXPANSION HERO (NEW LOGIC)
   ========================================================================== */
.hero-scroll-section {
  position: relative;
  height: 300vh; /* Allow enough scroll space for the expansion */
  /* Hard-coded dark color — var(--bg-primary) is WHITE in this theme */
  background: #0b0f19;
  overflow-x: hidden; /* Second containment layer — clips title translateX overflow */
}

.hero-scroll-sticky {
  position: relative;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Hard-coded dark bg — prevents white flash when element transitions
     between position:relative / fixed / absolute on Android Chrome */
  background: #0b0f19;
  /* Promote to GPU layer early — eliminates the single-frame repaint gap
     that caused the white flash on Android Chrome */
  will-change: transform;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media-container {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.5); /* Will lighten via JS */
  z-index: 3;
}

.hero-content-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-dynamic-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-title-split {
  white-space: nowrap;
  will-change: transform, opacity;
  text-align: center;
}

.hero-revealed-content {
  margin-top: 150px;
  width: 100%;
  padding: 0 20px;
  text-align: center;
}

.slider-container {
  height: 100%;
  width: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
}

.slide-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.95) 20%, rgba(11, 15, 25, 0.6) 50%, rgba(11, 15, 25, 0.2) 100%);
  z-index: 1;
}

.slide-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 9s ease-out;
}

.slide-item.active img {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-top: 60px; /* Excelente espacio de respiro con la cabecera fixed */
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.slide-content p {
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 40px;
  max-width: 650px;
}

/* Slider Navigation Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--glow-emerald);
}

.slider-arrow-prev { left: 40px; }
.slider-arrow-next { right: 40px; }

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 48px;
  box-shadow: var(--glow-emerald);
}

/* ==========================================================================
   SPECIFIC SECTIONS & CONTENT STYLES
   ========================================================================== */

/* Language Index screen (index.html) */
.lang-selector-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #030712 100%);
}

.lang-logo {
  margin-bottom: 60px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-grid {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 800px;
  justify-content: center;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.lang-card {
  flex: 1;
  max-width: 340px;
  text-align: center;
  padding: 50px 30px;
  cursor: pointer;
}

.lang-card img {
  margin: 0 auto 30px;
  height: 64px;
  transition: var(--transition-smooth);
}

.lang-card:hover img {
  transform: scale(1.1) translateY(-5px);
}

.lang-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* Why Choose Us Split layout */
.why-choose-us-split {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-image-container {
  flex: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.split-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.6), transparent);
  z-index: 1;
}

.split-image-container img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 10s ease;
}

.split-image-container:hover img {
  transform: scale(1.08);
}

.split-content-container {
  flex: 1;
}

.split-content-container h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.why-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.why-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.why-list-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 4px;
}

/* 4-Step Process Section */
.step-card {
  padding: 40px 30px;
}

.step-num {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.step-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  min-height: 100px;
}

/* Mission Vision Values Cards */
.values-card {
  height: 100%;
}

.values-icon {
  margin-bottom: 24px;
  width: 64px;
  height: 64px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.values-card h4 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.values-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-icon {
  color: var(--primary);
  margin-bottom: 6px;
}

.info-item h5 {
  font-size: 1.1rem;
}

.info-item p, .info-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.info-item a:hover {
  color: var(--primary);
}

/* Form Styles */
.contact-form-container {
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Services Page layout */
.services-section-title {
  margin-bottom: 60px;
}

.service-card-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service-card-title svg {
  color: var(--primary);
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-list-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 5px;
}

/* Resources Page Dashboard layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

/* Mobile specific: reduce width to allow users to scroll on the edges */
@media (max-width: 767px) {
  .dashboard-grid {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile ordering (1 column): Tarjeta 1, Imagen 4, Tarjeta 2, Imagen 5, Tarjeta 3, Imagen 6 */
.div1 { order: 1; }
.div4 { order: 2; }
.div2 { order: 3; }
.div5 { order: 4; }
.div3 { order: 5; }
.div6 { order: 6; }

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Desktop ordering (2 columns, left-to-right top-to-bottom):
     Fila 1: div1 (Tarjeta 1), div4 (Imagen 4)
     Fila 2: div5 (Imagen 5), div2 (Tarjeta 2)
     Fila 3: div3 (Tarjeta 3), div6 (Imagen 6)
  */
  .div1 { order: 1; }
  .div4 { order: 2; }
  .div5 { order: 3; }
  .div2 { order: 4; }
  .div3 { order: 5; }
  .div6 { order: 6; }
  
  /* Reset spans from previous bento grid implementation if any remain */
  .div1, .div2, .div3, .div4, .div5, .div6 {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Interactive Image Cards */
.image-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 300px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  background-color: #0b0f19; /* Solid fallback */
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  filter: brightness(0.85); /* Slightly dimmed by default */
}

/* Hover effects */
.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
}

.image-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05); /* Brighten on hover */
}

.dashboard-card {
  text-align: center;
  padding: 60px 40px;
}

.dashboard-icon {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.dashboard-card h4 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0D1448;
  padding: 40px 0 20px; /* Reduced vertical padding for a sleek, compact layout */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px; /* Reduced space between upper and lower tiers */
}

/* Symmetric spacing pseudo-element to mathematically center navigation links relative to container */
.footer-top::after {
  content: '';
  flex: 1 0 0px;
  display: block;
}

.footer-logo {
  flex: 1 0 0px;
  display: flex;
  justify-content: flex-start;
}

.footer-logo img {
  height: 40px;
  transition: var(--transition-smooth);
  filter: grayscale(100%) brightness(115%) contrast(145%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)); /* Polished metallic silver/chrome look with deep shadow for dark background */
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.footer-nav-list {
  display: flex;
  gap: 35px;
  align-items: center;
  margin: 0 auto;
  padding: 0;
}

.footer-nav-link {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--silver-light);
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px; /* Reduced space from border to copyright */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* Snug spacing between copyright and signature rows */
  width: 100%;
}

.footer-copyright {
  color: var(--silver-light); /* Premium light silver color for dark background legibility */
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  text-align: center;
  width: 100%;
  margin: 0;
}

.footer-dev-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   DEVELOPER SIGNATURE IN FOOTER (Marketing 664)
   ========================================================================== */
.footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--silver); /* Elegant soft silver for description */
  font-family: var(--font-body);
}

.footer-dev .dev-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--silver-light); /* Lighter crisp silver for developer name */
  font-weight: 600;
  transition: var(--transition-smooth);
  perspective: 1000px; /* Enable 3D depth */
}

.footer-dev .dev-logo-link:hover {
  color: #ffffff; /* Bright highlights on hover */
}

.footer-dev .dev-logo-link img {
  height: 18px; /* Elegant compact height aligning with text */
  width: auto;
  display: block;
  animation: spin-y 8s linear infinite; /* Smooth, continuous 3D horizontal rotation on its Y-axis */
  transform-style: preserve-3d;
}

.footer-dev .dev-logo-link:hover img {
  animation: spin-y 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; /* Fast, responsive 3D flip on hover */
}

@keyframes spin-y {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}


/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Form Success Notification */
.form-toast {
  position: fixed;
  bottom: 30px;
  right: -400px;
  max-width: 360px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--glow-emerald);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.form-toast.show {
  right: 30px;
}

.toast-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.toast-body h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.toast-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   LANGUAGE TOGGLE BUTTON
   ========================================================================== */
.lang-toggle-btn {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-right: 12px;
}

.lang-toggle-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--glow-emerald);
  transform: translateY(-1px);
}

/* ==========================================================================
   MISSION, VISION, VALUES CARDS
   ========================================================================== */
.mvv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.mvv-card {
  border-radius: 20px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}

.mvv-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), var(--glow-emerald);
  transform: translateY(-4px);
}

.accordion-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.mvv-card-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mvv-card-header h4 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.mvv-card-body {
  padding: 0 24px 24px;
}

.mvv-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .mvv-cards-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}



/* ==========================================================================
   PAIN POINTS HOVER SLIDER (NEW SECTION)
   ========================================================================== */
.pain-points-section {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-tertiary) 40%, #e2e8f0 100%);
  overflow: hidden;
  padding-top: 128px;
}

.pain-points-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 64px;
  margin-top: 80px;
}

.stagger-text {
  cursor: pointer;
  font-size: 1.938rem;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-main);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  margin: 0;
  display: inline-block;
}

.stagger-char-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.char-orig {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.char-clone {
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--primary);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.pain-point-link:hover .char-orig,
.pain-point-link.active .char-orig {
  transform: translateY(-100%);
}

.pain-point-link:hover .char-clone,
.pain-point-link.active .char-clone {
  transform: translateY(-100%);
}

.pain-points-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pain-point-link {
  padding-left: 32px;
  border-left: 2px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
}

.pain-point-link.active {
  border-left-color: var(--primary);
}

.pain-point-link.active .stagger-text {
  opacity: 1;
}

.pain-points-content {
  flex: 1;
  min-width: 300px;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
}

.pain-point-panel {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.33, 1, 0.68, 1);
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  padding: 64px;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.pain-point-panel.active {
  transform: translateY(-50%) scale(1);
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.pain-point-panel p.panel-text {
  position: relative;
  z-index: 2;
  font-size: 1.7rem;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   INFINITE GRID BACKGROUND (VANILLA CSS EFFECT)
   ========================================================================== */
.infinite-grid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.infinite-grid-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.infinite-grid-bg .blob-1 {
  right: -20%;
  top: -20%;
  width: 40%;
  height: 40%;
  background: rgba(9, 3, 106, 0.15);
}

.infinite-grid-bg .blob-2 {
  right: 10%;
  top: -10%;
  width: 20%;
  height: 20%;
  background: rgba(9, 3, 106, 0.2);
}

.infinite-grid-bg .blob-3 {
  left: -10%;
  bottom: -20%;
  width: 40%;
  height: 40%;
  background: rgba(59, 130, 246, 0.25);
}

.infinite-grid-bg .grid-base,
.infinite-grid-bg .grid-masked {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

.infinite-grid-bg .grid-base {
  opacity: 0.15;
}

.infinite-grid-bg .grid-masked {
  opacity: 0.8;
  background-image: 
    linear-gradient(to right, rgba(9, 3, 106, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 3, 106, 0.25) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), black, transparent);
  mask-image: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), black, transparent);
  will-change: mask-image, -webkit-mask-image;
}

@keyframes gridMove {
  0% { background-position: 0px 0px; }
  100% { background-position: 40px 40px; }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE STYLES)
   ========================================================================== */
@media (max-width: 1024px) {
  .slide-content h1 {
    font-size: 2.8rem;
  }
  
  .why-choose-us-split {
    flex-direction: column;
  }
  
  .split-image-container img {
    height: 380px;
  }
  
  .slider-arrow {
    display: none; /* Hide slider arrows on tablets/mobiles */
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 52px;
  }

  .hero-title-split {
    white-space: normal; /* Fix overflow on mobile so it can wrap naturally */
    padding: 0 15px; 
    hyphens: none;
  }
  
  .hero-dynamic-title-container h1 {
    font-size: 2.2rem !important; /* Force smaller size on mobile to fit nicely */
  }
  .header {
    top: 8px;
    padding: 0 20px;
  }
  
  .header.scrolled {
    height: var(--nav-height);
  }
  
  .logo {
    left: 20px !important;
    padding: 4px 10px !important; /* Slightly more compact padding on mobile */
    border-radius: 8px !important; /* Sleek rounded mobile corners */
  }
  
  .logo img {
    height: 28px !important; /* Sized perfectly to keep mobile header clean and balanced */
  }
  
  .header > div:has(.lang-toggle-btn),
  .header > div[style*="order: 2"] {
    right: 20px !important;
  }

  .header .hamburger span {
    width: 14px !important;
    height: 2px !important;
    background-color: silver !important;
    border-radius: 1px !important;
    transition: var(--transition-smooth) !important;
  }

  .header-controls-wrapper {
    right: 15px !important;
    padding: 4px 10px !important;
    gap: 8px !important;
  }
  
  .lang-switch-wrapper {
    gap: 6px !important;
    font-size: 0.75rem !important;
  }

  .gooey-switch {
    transform: scale(0.7) translateZ(0) !important;
    transform-origin: center center !important;
    margin: 0 -4px !important;
  }
  
  .header .lang-toggle-btn {
    padding: 5px 12px !important;
    font-size: 0.75rem !important;
  }
  
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 
      inset 0 1px 1px rgba(255, 255, 255, 0.2),
      0 4px 12px rgba(15, 23, 42, 0.15) !important;
    transition: var(--transition-smooth) !important;
  }
  
  .hamburger span {
    width: 14px !important;
    height: 2px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 1px !important;
    transition: var(--transition-smooth) !important;
  }
  
  /* Hamburger open adjustments */
  .hamburger.open span:nth-child(1) {
    transform: translateY(5px) rotate(45deg) !important;
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0 !important;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg) !important;
  }
  
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-height) + 24px);
    left: 20px;
    width: calc(100% - 40px);
    height: auto;
    max-height: calc(100vh - var(--nav-height) - 40px);
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    flex-direction: column;
    padding: 30px;
    align-items: center;
    gap: 20px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    overflow-y: auto;
    pointer-events: auto;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown-menu {
    position: static;
    transform: none !important;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    margin-top: 10px;
  }
  
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .icons-menu {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .slide-content h1 {
    font-size: 2.2rem;
    margin-top: 40px !important; /* Respiro en móviles */
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .lang-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .lang-card {
    width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info-block {
    grid-template-columns: 1fr;
  }

  /* Responsive Footer Redesign */
  .footer-top {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-top::after {
    display: none !important; /* Hide spacer on mobile so elements stack cleanly in vertical columns */
  }
  
  .footer-logo {
    margin: 0 auto;
    flex: none;
    display: block;
  }
  
  .footer-nav {
    width: 100%;
    flex: none;
  }
  
  .footer-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-bottom {
    gap: 20px;
  }
  
  .footer-dev-wrapper {
    justify-content: center; /* Center developer signature on mobile for symmetry */
  }
}

/* Language Switcher */
.lang-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.lang-label {
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.5;
}
.lang-label.active {
  color: var(--primary);
  opacity: 1;
}

.gooey-switch {
  position: relative;
  display: block;
  cursor: pointer;
  height: 32px;
  width: 52px;
  --c-active: #275EFE;
  --c-active-inner: #FFFFFF;
  --c-default: #D2D6E9;
  --c-default-dark: #C7CBDF;
  --c-background: var(--c-active);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.gooey-switch input {
  height: 100%;
  width: 100%;
  cursor: pointer;
  appearance: none;
  border-radius: 9999px;
  background-color: var(--c-default);
  outline: none;
  transition: background-color 0.5s;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  margin: 0;
}

.gooey-switch input:hover {
  background-color: var(--c-default-dark);
}

.gooey-switch input:checked {
  background-color: var(--c-background);
}

.gooey-svg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  fill: white;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
}

.gooey-circle {
  transform-origin: center;
  transition: transform 0.5s;
  transform: translate3d(0,0,0);
  -webkit-transform: translate3d(0,0,0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.left-circle {
  transform-origin: 16px 16px;
  transform: translateX(0px) scale(1);
}

.gooey-switch input:checked ~ .gooey-svg .left-circle {
  transform: translateX(12px) scale(0);
}

.right-circle {
  transform-origin: 36px 16px;
  transform: translateX(-12px) scale(0);
}

.gooey-switch input:checked ~ .gooey-svg .right-circle {
  transform: translateX(0px) scale(1);
}

.gooey-drop-circle {
  transition: transform 0.7s, opacity 0.5s;
  opacity: 0;
  transform: scale(0);
  transform-origin: 35px -1px;
}

.gooey-switch input:checked ~ .gooey-svg .gooey-drop-circle {
  opacity: 1;
  transform: scale(1);
}



/* ==========================================================================
   SCROLL EXPANSION HERO
   ========================================================================== */
.hero-scroll-section {
  position: relative;
  width: 100%;
  height: 250vh; /* Determines how much scroll it takes to fully expand */
  background: var(--bg-main); /* Dark background */
}

.hero-scroll-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Base dark layer behind the media */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
  z-index: 0;
}

/* Expanding Media Container */
.hero-media-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; /* Starting width */
  height: 420px; /* Starting height */
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  will-change: width, height, border-radius;
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay inside media to darken it so text is readable */
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

/* Content layer over everything */
.hero-content-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  pointer-events: none; /* Let clicks pass through to background unless on buttons */
}

.hero-dynamic-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 20px;
}

.hero-title-split {
  will-change: transform, opacity;
}

#heroTitleLeft {
  margin-bottom: 5px;
}

.hero-revealed-content {
  position: absolute;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: opacity, transform;
  pointer-events: auto; /* Enable clicks on buttons */
}

@media (max-width: 768px) {
  .hero-media-container {
    width: 280px;
    height: 380px;
  }
}

/* ==========================================================================
   ANIMATED RIGHT-SIDE MENU
   ========================================================================== */
.animated-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.animated-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.animated-menu-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* For drag-to-close */
.animated-menu-sidebar.dragging {
  transition: none;
}

.animated-menu-sidebar.active {
  transform: translateX(0);
}

.animated-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-secondary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.animated-menu-close:hover {
  background: var(--silver-light);
  transform: scale(1.1) rotate(90deg);
}

.animated-menu-content {
  padding: 80px 32px 32px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.animated-menu-title {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
  position: relative;
}

.animated-menu-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.animated-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.animated-menu-item {
  opacity: 0;
  transform: translateX(50px);
}

.animated-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.animated-menu-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
  transform: translateX(-5px);
}

.animated-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.animated-menu-link:hover .animated-menu-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(8deg);
}

/* ==========================================
   CURVED CAROUSEL (SOLUTIONS)
   ========================================== */
.curved-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1200px;
  height: 480px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.curved-carousel-track {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  /* Negative margins to center it exactly at 50% / 50% */
  margin-left: -160px;
  margin-top: -210px;
  height: 420px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  backface-visibility: hidden;
  will-change: transform, opacity;
  z-index: 1;
}

.carousel-controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
}

.carousel-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .curved-carousel-wrapper {
    height: 520px;
  }
  .carousel-card {
    width: 280px;
    margin-left: -140px;
    height: 460px;
    margin-top: -230px;
  }
}

/* ==========================================
   GLASS MODALS (SOLUTIONS)
   ========================================== */
.glass-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 28, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glass-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.glass-modal-overlay.active .glass-modal-container {
  transform: translateY(0) scale(1);
}

.glass-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.glass-modal-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

  flex-direction: column;
  gap: 15px;
}

.animated-menu-item {
  opacity: 0;
  transform: translateX(50px);
}

.animated-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.animated-menu-link:hover {
  background: var(--bg-secondary);
  color: var(--primary);
  transform: translateX(-5px);
}

.animated-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.animated-menu-link:hover .animated-menu-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(8deg);
}

/* ==========================================
   CURVED CAROUSEL (SOLUTIONS)
   ========================================== */
.curved-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 1200px;
  height: 480px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.curved-carousel-track {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  /* Negative margins to center it exactly at 50% / 50% */
  margin-left: -160px;
  margin-top: -210px;
  height: 420px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  backface-visibility: hidden;
  will-change: transform, opacity;
  z-index: 1;
}

.carousel-controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
}

.carousel-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .curved-carousel-wrapper {
    height: 520px;
  }
  .carousel-card {
    width: 280px;
    margin-left: -140px;
    height: 460px;
    margin-top: -230px;
  }
}

/* ==========================================
   GLASS MODALS (SOLUTIONS)
   ========================================== */
.glass-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 28, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glass-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.glass-modal-overlay.active .glass-modal-container {
  transform: translateY(0) scale(1);
}

.glass-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.glass-modal-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

.glass-modal-content {
  padding: 40px;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .glass-modal-content {
    padding: 30px 20px;
  }
}

/* Hide specific <br> tags on desktop so titles don't stack */
@media (min-width: 769px) {
  br.mobile-br {
    display: none;
  }
}

/* ==========================================
   SHADER BACKGROUND 
   ========================================== */
.pain-points-section {
  position: relative;
  overflow: hidden;
}

.shader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.shader-bg canvas {
  display: block;
}

.pain-points-section .container {
  position: relative;
  z-index: 1;
}

/* Utility classes for responsive visibility */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* Ticker Skeleton Loader */
@keyframes skeleton-pulse {
  0% { background-color: rgba(255, 255, 255, 0.02); }
  50% { background-color: rgba(255, 255, 255, 0.08); }
  100% { background-color: rgba(255, 255, 255, 0.02); }
}
.ticker-skeleton {
  min-height: 46px; /* Approx height of TradingView compact ticker */
  width: 100%;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}

/* ==========================================================================
   HERO SECTION - RESPONSIVE VIDEO BACKGROUND
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile responsive adjustments for Hero video */
@media (max-width: 768px) {
  .hero-section {
    /* Fixed short height → video scales down proportionally with object-fit: contain */
    height: 200px;
    width: 100%;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .hero-video-container {
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
  }

  .hero-video-container video {
    object-fit: contain;         /* Full video frame visible, scaled to fit */
    object-position: center;
    width: 100%;
    height: 100%;
    display: block;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    height: 180px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero-section {
    height: 170px;
  }
}

/* ==========================================
   IMAGE SEQUENCE SCROLL ANIMATION
   ========================================== */
.sequence-section {
  position: relative;
  /* Make the section tall so we have room to scroll through all the GSAP animation */
  height: 2000vh; 
  background-color: #000;
}

.sequence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mvv-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* cover the entire screen, cropping if necessary */
  z-index: 1;
}

.sequence-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Let clicks pass through */
}

.seq-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 6rem);
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.seq-text-intro {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
  max-width: 90%;
  line-height: 1.4;
  padding: 0 20px;
}

.seq-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.seq-group h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #ffffff;
}
.seq-group p {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  z-index: 10;
  pointer-events: none;
  margin-top: 30px;
}

.scroll-indicator.align-right {
  align-self: flex-end;
  margin-right: 5%;
}

.scroll-indicator.align-center {
  align-self: center;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelBounce 1.5s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollWheelBounce {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ==========================================================================
   RESTORED CUSTOM CSS (SEQ-GROUP, INDICATOR, BACK TO TOP)
   ========================================================================== */

.seq-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.seq-group h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #ffffff;
}

.seq-group p {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

/* FLOATING SCROLL INDICATOR */
.scroll-indicator-floating {
  position: fixed;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.8;
}

.scroll-indicator-floating .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator-floating .mouse::before {
  content: '';
  width: 4px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelBounce 1.5s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

.scroll-indicator-floating span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .scroll-indicator-floating {
    bottom: 20px;
    left: 20px;
  }
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--silver-gradient);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--silver-glow);
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(148, 163, 184, 0.6), var(--silver-glow);
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   MISSION, VISION, VALUES SEQUENCE
   ========================================================================== */
.sequence-section {
  position: relative;
  background-color: #0b0f19;
  height: 2400vh;
}
@media (max-width: 768px) {
  .sequence-section {
    height: 1200vh;
  }
}
.sequence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
#mvv-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}
.sequence-text-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.seq-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  color: #ffffff;
  text-align: center;
  font-family: var(--font-headings);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.seq-text-intro {
  font-size: clamp(2rem, 5vw, 4rem);
}

/* ==========================================================================
   HOLOCARD VANILLA JS STYLES
   ========================================================================== */
.mk-holo-wrapper {
  --mk-holo-blend: color-dodge;
  --mk-holo-foil-o: 0.32;
  --mk-holo-glare: rgba(255, 255, 255, 0.5);
  --mk-holo-shadow: rgba(2, 5, 12, 0.65);
  --mk-holo-stroke: rgba(255, 255, 255, 0.16);
  
  position: relative;
  width: 100%;
  perspective: 1100px;
}

.mk-holo-card {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: none;
  transform-style: preserve-3d;
  background: linear-gradient(145deg, #192337, #111827 55%, #192337);
  box-shadow: inset 0 1px 0 var(--mk-holo-stroke);
  border-radius: 1rem;
  overflow: hidden;
  will-change: transform;
  display: block;
  text-decoration: none;
}

.mk-holo-foil {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: var(--mk-holo-blend);
  opacity: var(--mk-holo-foil-o);
  filter: hue-rotate(calc(var(--mk-holo-hue, 0) * 1deg)) saturate(1.25);
  transform: translateZ(0);
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 5px), conic-gradient(from 210deg at calc(var(--mk-holo-px, 0.5) * 100%) calc(var(--mk-holo-py, 0.5) * 100%), #4f7cff 0deg, #22c7d9 90deg, color-mix(in srgb, #22c7d9 52%, #ffffff) 160deg, #4f7cff 230deg, color-mix(in srgb, #4f7cff 78%, #000000) 300deg, #4f7cff 360deg);
}

.mk-holo-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: var(--mk-holo-glare-o, 0.35);
  transform: translateZ(0);
  background: radial-gradient(200px circle at calc(var(--mk-holo-px, 0.5) * 100%) calc(var(--mk-holo-py, 0.5) * 100%), var(--mk-holo-glare), transparent 65%);
}

.mk-holo-shadow {
  position: absolute;
  bottom: -26px;
  left: 8%;
  right: 8%;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  background: radial-gradient(50% 50% at 50% 50%, var(--mk-holo-shadow), transparent 70%);
}

.mk-holo-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  transform: translateZ(1px);
  padding: 1.5rem;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--silver-gradient);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--silver-light);
  box-shadow: var(--silver-glow);
}
