/* ==========================================================================
   GRUPO NEXENTIA — STYLESHEET
   Design System: Dark Tech Ethereal Glass / Doppelrand Double-Bezel
   Typography: Plus Jakarta Sans & Space Grotesk
   Physics: Custom Cubic-Bezier Curves
   ========================================================================== */

:root {
  --bg-main: #FFFFFF;
  --bg-card-shell: #FFFFFF;
  --bg-card-core: #F8FAFC;
  --border-shell: rgba(15, 23, 42, 0.08);
  --border-core: rgba(15, 23, 42, 0.05);
  --inset-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.9);
  
  --accent-lime: #84CC16;
  --accent-emerald: #059669;
  --accent-teal: #0D9488;
  --accent-glow: rgba(5, 150, 105, 0.12);
  --accent-cyan: #0284C7;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #64748B;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  position: relative;
  background-color: #FFFFFF;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Eliminate 300ms tap delay & long-press accidental text selection on controls */
button, a, [role="button"], input[type="range"], .profile-toggle-btn, .custom-range-slider {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* Eliminate iOS Safari Auto-Zoom bug: all inputs must be at least 16px */
input, textarea, select {
  font-size: 16px !important;
}

/* Space Grotesk for metrics and tech badges */
.font-mono-tech {
  font-family: 'Space Grotesk', monospace, sans-serif;
}

/* Background Ambient Lighting (GPU-accelerated, pointer-events: none) */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh-orb-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 106, 0.08) 0%, rgba(155, 225, 93, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  will-change: transform;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.mesh-orb-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, rgba(0, 242, 254, 0.03) 50%, transparent 75%);
  filter: blur(90px);
  will-change: transform;
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}

.mesh-orb-3 {
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 225, 93, 0.05) 0%, transparent 70%);
  filter: blur(75px);
  will-change: transform;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Subtle Architectural Grid Pattern */
.bg-grid-pattern {
  background-color: #FFFFFF;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.055) 1px, transparent 1px);
}

/* Interactive Spotlight Tracker (Disabled on touch devices to conserve battery) */
.spotlight-follower {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  will-change: transform;
}

@media (pointer: coarse), (hover: none) {
  .spotlight-follower {
    display: none !important;
  }
}

/* ==========================================================================
   DOUBLE-BEZEL (DOPPELRAND) HARDWARE ARCHITECTURE
   ========================================================================== */
.doppelrand-card {
  position: relative;
  background: var(--bg-card-shell);
  border: 1px solid var(--border-shell);
  border-radius: 1.75rem;
  padding: 0.375rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  transition: transform 0.4s var(--ease-spring), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .doppelrand-card:hover {
    border-color: rgba(0, 210, 106, 0.35);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 20px -5px rgba(0, 210, 106, 0.15);
  }
}

.doppelrand-core {
  background: var(--bg-card-core);
  border: 1px solid var(--border-core);
  border-radius: calc(1.75rem - 0.375rem);
  box-shadow: var(--inset-highlight);
  height: 100%;
}

/* Gradient Text Highlights */
.gradient-nexentia {
  background: linear-gradient(135deg, #15803D 0%, #059669 45%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-nexentia-subtle {
  background: linear-gradient(135deg, #0F172A 20%, #15803D 85%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Micro-Eyebrow Badges */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 210, 106, 0.08);
  border: 1px solid rgba(0, 210, 106, 0.28);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #047857;
  box-shadow: 0 2px 10px rgba(0, 210, 106, 0.08);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00D26A;
  box-shadow: 0 0 8px #00D26A;
  animation: pulseBeacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Nested Button-in-Button CTA */
.btn-nexentia-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.55rem 0.65rem 0.55rem 1.45rem;
  background: linear-gradient(135deg, #9BE15D 0%, #00D26A 100%);
  color: #04120A;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(0, 210, 106, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-out);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-nexentia-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(0, 210, 106, 0.5);
  }
  .btn-nexentia-primary:hover .btn-icon-bubble {
    transform: translate(2px, -2px) scale(1.05);
  }
}

.btn-nexentia-primary:active {
  transform: scale(0.97);
}

.btn-icon-bubble {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}

/* Giant High-Impact Hero CTA */
.btn-hero-major {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 1.15rem 0.95rem 2rem;
  background: linear-gradient(135deg, #A3E635 0%, #00D26A 50%, #00F2FE 100%);
  background-size: 200% 200%;
  animation: heroGlowShift 5s ease infinite;
  color: #04120A;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  box-shadow: 0 12px 40px -6px rgba(0, 210, 106, 0.65), 0 0 30px rgba(163, 230, 53, 0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  text-decoration: none;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .btn-hero-major:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 18px 50px -5px rgba(0, 210, 106, 0.85), 0 0 45px rgba(0, 242, 254, 0.5);
  }
  .btn-hero-major:hover .hero-icon-bubble {
    transform: translate(3px, -2px) scale(1.1);
    background: rgba(4, 18, 10, 0.35);
  }
  .btn-hero-major:hover .phone-ring-icon {
    animation: phoneRingRapid 0.5s ease-in-out infinite;
  }
}

.btn-hero-major:active {
  transform: scale(0.975);
}

.btn-hero-major .hero-icon-bubble {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background: rgba(4, 18, 10, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-spring), background-color 0.2s ease;
}

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

/* Phone Ringing & Sonic Vibration for Direct Call Buttons */
.phone-ring-icon {
  display: inline-block;
  transform-origin: center center;
  animation: phoneRingVibe 3.2s ease-in-out infinite;
}

@keyframes phoneRingVibe {
  0%, 60%, 100% { transform: rotate(0deg) scale(1); }
  65%, 85% { transform: rotate(-13deg) scale(1.08); }
  75%, 95% { transform: rotate(13deg) scale(1.08); }
}

@keyframes phoneRingRapid {
  0%, 100% { transform: rotate(0deg) scale(1.1); }
  25% { transform: rotate(-16deg) scale(1.15); }
  75% { transform: rotate(16deg) scale(1.15); }
}

/* Secondary Ghost Button */
.btn-nexentia-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  background: rgba(15, 23, 42, 0.04);
  color: #1E293B;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.25s var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
  .btn-nexentia-ghost:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
  }
}

.btn-nexentia-ghost:active {
  transform: scale(0.98);
}

/* Floating Island Navbar */
.floating-nav-container {
  position: fixed;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 calc(0.75rem + env(safe-area-inset-right, 0px)) 0 calc(0.75rem + env(safe-area-inset-left, 0px));
  pointer-events: none;
}

.floating-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0.65rem 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.03);
  max-width: 1080px;
  width: 100%;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.floating-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 210, 106, 0.3);
  box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.12), 0 0 15px rgba(0, 210, 106, 0.1);
}

/* Navigation Links */
.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: #0F172A;
    background: rgba(15, 23, 42, 0.04);
  }
}

/* Scroll Entry Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Interactive Range Slider Customization (Ergonomic Touch Targets) */
.custom-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.08);
  outline: none;
  touch-action: pan-y;
  transition: background 0.2s;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A3E635, #00D26A);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 210, 106, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.1);
  border: 2.5px solid #FFFFFF;
  transition: transform 0.15s var(--ease-spring);
}

.custom-range-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A3E635, #00D26A);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 210, 106, 0.5), 0 0 0 1px rgba(15, 23, 42, 0.1);
  border: 2.5px solid #FFFFFF;
}

@media (hover: hover) and (pointer: fine) {
  .custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
  }
}

/* Interactive Tabs */
.vertical-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: 1rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  width: 100%;
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .vertical-tab-btn:hover {
    color: #0F172A;
    background: rgba(15, 23, 42, 0.03);
  }
}

.vertical-tab-btn.active {
  background: rgba(0, 210, 106, 0.08);
  border-color: rgba(0, 210, 106, 0.3);
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(0, 210, 106, 0.1);
}

.vertical-tab-btn.active .tab-icon-box {
  background: linear-gradient(135deg, #A3E635, #00D26A);
  color: #04120A;
  box-shadow: 0 0 12px rgba(0, 210, 106, 0.4);
}

.tab-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-spring);
}

/* FAQ Accordion */
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #0F172A;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .faq-trigger:hover {
    color: #059669;
  }
}

.faq-icon-rotator {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: transform 0.4s var(--ease-drawer), background 0.3s ease;
}

.faq-item.open .faq-icon-rotator {
  transform: rotate(180deg);
  background: rgba(0, 210, 106, 0.15);
  color: #059669;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-drawer), opacity 0.3s ease;
  opacity: 0;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  max-height: 280px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

/* Custom Toast (Sonner-like) */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: rgba(14, 20, 16, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 210, 106, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 210, 106, 0.2);
  border-radius: 1rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.35s var(--ease-spring), opacity 0.35s ease;
}

.toast-item.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Modal Overlay (Mobile Safe Area & Backdrop Blur) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  max-width: 620px;
  width: 100%;
  max-height: calc(100dvh - 2.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease-spring);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

/* Floating WhatsApp / Direct Contact Bubble with iOS Home Indicator Protection */
.whatsapp-float-btn {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  left: calc(1.25rem + env(safe-area-inset-left, 0px));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 210, 106, 0.4);
  border-radius: 9999px;
  color: #0F172A;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1), 0 0 15px rgba(0, 210, 106, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  touch-action: manipulation;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(0, 210, 106, 0.7);
  }
}

.whatsapp-float-btn:active {
  transform: scale(0.96);
}

/* Mobile Navigation Fullscreen Drawer */
.mobile-nav-menu {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.65rem;
  padding: calc(2rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px)) 1.5rem;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  transition: opacity 0.35s var(--ease-drawer);
}

.mobile-nav-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.65rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  touch-action: manipulation;
  transition: color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-nav-link:hover {
    color: #00D26A;
    transform: translateX(6px);
  }
}

.mobile-nav-link:active {
  color: #00D26A;
  transform: scale(0.97);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-float-btn span {
    display: none;
  }
  .whatsapp-float-btn {
    padding: 0.75rem;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn-hero-major {
    padding: 0.85rem 0.95rem 0.85rem 1.25rem !important;
    gap: 0.65rem !important;
    font-size: 0.98rem !important;
  }
  .btn-hero-major .hero-icon-bubble {
    width: 2.35rem !important;
    height: 2.35rem !important;
  }
}

/* ==========================================================================
   LIGHT ARCHITECTURAL THEME OVERRIDES (White Squares Canvas)
   ========================================================================== */

/* Universal high-contrast text outside dark containers */
.text-white:not(footer *):not(.btn-nexentia-primary *):not(.btn-hero-major *):not(.toast-item *):not([data-keep-dark] *):not(.badge-keep-dark) {
  color: #0F172A !important;
}

.text-white\/90:not(footer *):not([data-keep-dark] *),
.text-white\/80:not(footer *):not([data-keep-dark] *),
.text-white\/70:not(footer *):not([data-keep-dark] *),
.text-\[\#F3F4F6\]:not(footer *):not([data-keep-dark] *),
.text-\[\#E2E8F0\]:not(footer *):not([data-keep-dark] *) {
  color: #1E293B !important;
}

.text-\[\#94A3B8\]:not(footer *):not([data-keep-dark] *),
.text-white\/60:not(footer *):not([data-keep-dark] *),
.text-white\/50:not(footer *):not([data-keep-dark] *) {
  color: #475569 !important;
}

.text-\[\#64748B\]:not(footer *):not([data-keep-dark] *) {
  color: #64748B !important;
}

/* Light Borders */
.border-white\/10:not(footer *):not([data-keep-dark] *),
.border-white\/20:not(footer *):not([data-keep-dark] *),
.border-white\/15:not(footer *):not([data-keep-dark] *) {
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.border-white\/5:not(footer *):not([data-keep-dark] *),
.border-white\/\[0\.04\]:not(footer *):not([data-keep-dark] *),
.border-white\/\[0\.06\]:not(footer *):not([data-keep-dark] *),
.border-white\/\[0\.08\]:not(footer *):not([data-keep-dark] *) {
  border-color: rgba(15, 23, 42, 0.05) !important;
}

/* Light Backgrounds */
.bg-white\/5:not(footer *):not([data-keep-dark] *),
.bg-white\/10:not(footer *):not([data-keep-dark] *),
.bg-white\/\[0\.02\]:not(footer *):not([data-keep-dark] *),
.bg-white\/\[0\.03\]:not(footer *):not([data-keep-dark] *),
.bg-white\/\[0\.04\]:not(footer *):not([data-keep-dark] *) {
  background-color: rgba(15, 23, 42, 0.025) !important;
}

/* Inputs, Selects & Form Fields */
input[type="text"]:not(footer *),
input[type="tel"]:not(footer *),
input[type="email"]:not(footer *),
select:not(footer *) {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border-color: rgba(15, 23, 42, 0.15) !important;
}

input::placeholder {
  color: #94A3B8 !important;
}

/* Bill Dropzone */
.bill-dropzone {
  border-color: rgba(15, 23, 42, 0.15) !important;
  background-color: rgba(15, 23, 42, 0.015);
}
.bill-dropzone:hover {
  border-color: #00D26A !important;
  background-color: rgba(0, 210, 106, 0.04) !important;
}

/* Modal Dialog Inner Card */
.modal-box .doppelrand-core {
  background-color: #FFFFFF !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

#closeModalBtn {
  background-color: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}
#closeModalBtn:hover {
  color: #0F172A !important;
  background-color: rgba(15, 23, 42, 0.1) !important;
}

/* Profile Toggle Buttons in Simulator */
.profile-toggle-btn {
  color: #475569 !important;
  cursor: pointer;
}
.profile-toggle-btn:hover {
  color: #0F172A !important;
}
.profile-toggle-btn.active {
  background-color: #00D26A !important;
  color: #04120A !important;
}

/* ==========================================================================
   HIGH-CONTRAST SVGS & ICONS FOR WHITE GRID BACKGROUND
   ========================================================================== */
svg:not(footer svg):not(.btn-hero-major svg):not(.btn-nexentia-primary svg):not(.whatsapp-float-btn svg) {
  stroke-width: 2.2px;
}

/* Ensure micro-icons in buttons and badges maintain crisp visual weight */
.btn-nexentia-ghost svg {
  stroke-width: 2.3px !important;
}

