/* Liquid Glass (White Liquid Glass & High-Contrast Obsidian Pill) Design System for iuris Go */

:root {
  --bg-canvas: #fafbfc;
  --bg-pure-white: #ffffff;
  --champagne-50: #fbf9f5;
  --champagne-100: #f5efe4;
  --champagne-200: #eadfcb;
  --champagne-300: #dbc8a7;
  --champagne-500: #bfa175;
  --champagne-700: #857456;
  --glass-bg: #ffffff;
  --glass-bg-hover: #ffffff;
  --glass-bg-active: #ffffff;
  --glass-border: rgba(226, 232, 240, 0.9);
  --glass-border-subtle: rgba(226, 232, 240, 0.7);
  --glass-highlight: #ffffff;
  --glass-shadow: inset 0 1px 1px 0 #ffffff, 0 12px 32px -4px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  background-color: #fafbfc;
  color: #0f172a;
  overflow-x: clip;
  width: 100%;
  min-height: 100vh;
  -webkit-overflow-scrolling: touch;
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 65% 45% at 90% 18%, rgba(241, 245, 249, 0.55) 0%, rgba(241, 245, 249, 0) 65%),
    radial-gradient(ellipse 55% 40% at 8% 42%, rgba(248, 250, 252, 0.6) 0%, rgba(248, 250, 252, 0) 60%),
    radial-gradient(ellipse 70% 50% at 80% 85%, rgba(241, 245, 249, 0.45) 0%, rgba(241, 245, 249, 0) 65%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-position: center top;
  background-attachment: fixed;
  letter-spacing: -0.012em;
}

/* Linear / Liquid Glass Architectural Cards & Panels (Cristal Líquido Real) */
.glass-panel,
.glass-card,
.liquid-glass-card,
.vg-card,
.lp-card,
.showcase-glass-card {
  background: #ffffff !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 1px 3px 0 rgba(15, 23, 42, 0.04),
    0 16px 36px -4px rgba(15, 23, 42, 0.06) !important;
  border-radius: 1.5rem;
  color: #0f172a;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover,
.glass-card:hover,
.liquid-glass-card:hover,
.vg-card:hover,
.lp-card:hover,
.showcase-glass-card:hover {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 1) !important;
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 2px 0 #ffffff,
    0 20px 42px -4px rgba(15, 23, 42, 0.10) !important;
}

/* Dark glass panels & summary cards (preserve midnight background and high contrast text) */
.glass-panel-dark,
.glass-panel.text-white,
.glass-panel[class*="bg-slate-9"],
.glass-panel[class*="bg-indigo-9"],
.glass-panel[class*="from-indigo-9"],
.glass-panel[class*="from-slate-9"] {
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 60%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  box-shadow: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.1), 0 20px 42px -4px rgba(15, 23, 42, 0.4) !important;
}

.glass-panel-dark:hover,
.glass-panel.text-white:hover,
.glass-panel[class*="bg-slate-9"]:hover,
.glass-panel[class*="bg-indigo-9"]:hover,
.glass-panel[class*="from-indigo-9"]:hover,
.glass-panel[class*="from-slate-9"]:hover {
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 60%, #0f172a 100%) !important;
  border-color: rgba(129, 140, 248, 0.5) !important;
}

.glass-panel-interactive {
  background: #ffffff;
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 8px 24px -2px rgba(15, 23, 42, 0.05),
    0 2px 6px -1px rgba(15, 23, 42, 0.02);
  border-radius: 1.5rem;
  color: #0f172a;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-interactive:hover {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 1);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 2px 0 #ffffff,
    0 18px 36px -4px rgba(15, 23, 42, 0.08);
}

/* Translucent inner subcards */
.vg-panel,
.lp-card-panel,
.glass-subcard {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.95), 0 6px 18px -2px rgba(15, 23, 42, 0.04) !important;
}

/* White Liquid Glass Panel & Card Aliases */
.liquid-glass-black-panel {
  background: #ffffff !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 14px 34px -4px rgba(15, 23, 42, 0.06) !important;
  border-radius: 1.25rem;
  color: #0f172a;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-black-card {
  background: #ffffff !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 
    inset 0 1px 1px 0 #ffffff,
    0 6px 18px -2px rgba(15, 23, 42, 0.04) !important;
  border-radius: 0.875rem;
  color: #0f172a;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-black-card:hover {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 1);
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 14px 30px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1.5px);
}

.liquid-glass-black-subcard {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(15, 23, 42, 0.02);
  border-radius: 0.5rem;
}

/* Floating Pill Dock Container */
.glass-pill-dock {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.95), 0 12px 32px -4px rgba(15, 23, 42, 0.06);
  border-radius: 9999px;
  padding: 0.375rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Floating Liquid Glass Navbar Capsule (Matches User Reference media_1793568398071) */
.liquid-glass-navbar-capsule {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 14px 34px -6px rgba(15, 23, 42, 0.07),
    0 4px 12px -2px rgba(15, 23, 42, 0.03) !important;
  border-radius: 9999px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Headline Typography (Exact match to media_1793599655085) */
.hero-headline-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
  color: #0b0f19 !important;
}

.hero-headline-gold {
  background: linear-gradient(90deg, #5f5336 0%, #8c7f5d 50%, #625637 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}


/* Sidebar & Header Dark Obsidian Liquid Glass (Matches User Reference Screenshots) */
.glass-sidebar {
  background: rgba(9, 12, 19, 0.96);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px -2px rgba(0, 0, 0, 0.45);
  color: #f1f5f9;
}

.glass-header {
  background: rgba(9, 12, 19, 0.96);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  color: #f1f5f9;
}

/* Dark Obsidian Liquid Glass Dropdowns (Notification Center, User Profile) */
.dark-glass-dropdown,
#notifDropdown,
#profileDropdown {
  background: rgba(11, 15, 25, 0.98) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 
    0 24px 60px -8px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: 1.25rem !important;
  color: #f8fafc !important;
}

.dark-glass-dropdown:hover,
#notifDropdown:hover,
#profileDropdown:hover {
  background: rgba(11, 15, 25, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  transform: none !important;
}

/* Liquid Glass Ambient Shimmer & Sheen Animation */
@keyframes liquid-glass-shimmer {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  30% {
    transform: translateX(250%) skewX(-25deg);
  }
  100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

@keyframes liquid-pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 16px -1px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 4px 22px -1px rgba(99, 102, 241, 0.35), 0 0 12px rgba(56, 189, 248, 0.2), inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.32);
  }
}

/* Floating & Ambient Motion Keyframes for High-Style Hero */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes mesh-glow-1 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(30px, -20px) scale(1.12);
    opacity: 0.75;
  }
}

@keyframes mesh-glow-2 {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-25px, 25px) scale(1.15);
    opacity: 0.7;
  }
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 7s ease-in-out infinite;
}

.animate-badge-float {
  animation: badge-float 5s ease-in-out infinite;
}

.hero-mesh-orb-1 {
  animation: mesh-glow-1 12s ease-in-out infinite;
}

.hero-mesh-orb-2 {
  animation: mesh-glow-2 14s ease-in-out infinite;
}

/* ==========================================================================
   Liquid Glass "Flashes" & Atmospheric Glowing Aura System
   Inspired by Champagne Silk & Pearl Liquid Glass Aesthetic
   ========================================================================== */

/* 1. Atmospheric Ambient Flash Auroras */
@keyframes ambient-flash-champagne {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.38;
    filter: blur(80px);
  }
  35% {
    transform: translate(30px, -20px) scale(1.18);
    opacity: 0.70; /* Radiant champagne flash */
    filter: blur(95px);
  }
  70% {
    transform: translate(-25px, 20px) scale(1.06);
    opacity: 0.42;
    filter: blur(85px);
  }
}

@keyframes ambient-flash-pearl {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.35;
    filter: blur(75px);
  }
  45% {
    transform: translate(-35px, -15px) scale(1.22);
    opacity: 0.68; /* Radiant pearl liquid flash */
    filter: blur(92px);
  }
  80% {
    transform: translate(25px, 18px) scale(0.96);
    opacity: 0.38;
    filter: blur(80px);
  }
}

@keyframes ambient-flash-gold {
  0%, 100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.28;
    filter: blur(85px);
  }
  50% {
    transform: translate(20px, 30px) scale(1.15);
    opacity: 0.55; /* Rich warm gold flash */
    filter: blur(100px);
  }
}

.ambient-flash-violet-orb,
.ambient-flash-champagne-orb {
  animation: ambient-flash-champagne 10s ease-in-out infinite;
  will-change: transform, opacity;
}

.ambient-flash-cyan-orb,
.ambient-flash-pearl-orb {
  animation: ambient-flash-pearl 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.ambient-flash-magenta-orb,
.ambient-flash-gold-orb {
  animation: ambient-flash-gold 14s ease-in-out infinite;
  will-change: transform, opacity;
}

/* 2. Glass Specular Surface & Border Flash Sweep */
@keyframes glass-specular-sweep {
  0% {
    transform: translateX(-160%) translateY(-50%) rotate(25deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85; /* Specular flash passes across */
  }
  35% {
    transform: translateX(260%) translateY(50%) rotate(25deg);
    opacity: 0;
  }
  100% {
    transform: translateX(260%) translateY(50%) rotate(25deg);
    opacity: 0;
  }
}

.liquid-glass-flash {
  position: relative;
  overflow: hidden;
}

.liquid-glass-flash::before {
  content: '';
  position: absolute;
  top: -70%;
  left: -70%;
  width: 240%;
  height: 240%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.1) 44%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(253, 248, 240, 0.98) 50%,
    rgba(235, 220, 198, 0.85) 52%,
    rgba(255, 255, 255, 0.15) 56%,
    transparent 65%
  );
  animation: glass-specular-sweep 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events-none;
  z-index: 2;
}

.liquid-glass-flash:hover::before {
  animation-duration: 3s;
}

/* 3. Subtle Edge Glint / Prismatic Border Glow Pulse */
@keyframes border-prismatic-flash {
  0%, 100% {
    border-color: rgba(226, 232, 240, 0.9);
    box-shadow: 
      inset 0 1px 1.5px 0 #ffffff, 
      0 12px 32px -4px rgba(15, 23, 42, 0.05),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    border-color: rgba(203, 213, 225, 0.95);
    box-shadow: 
      inset 0 1px 2px 0 #ffffff, 
      0 16px 36px -4px rgba(15, 23, 42, 0.08),
      0 0 16px 1px rgba(255, 255, 255, 0.5);
  }
}

.glass-panel-flash {
  animation: border-prismatic-flash 8s ease-in-out infinite;
}

/* 4. Twinkling Diamond Starlight Sparkles */
@keyframes star-flash-twinkle {
  0%, 100% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  35% {
    transform: scale(1.15) rotate(90deg);
    opacity: 0.95;
    filter: drop-shadow(0 0 8px rgba(217, 185, 140, 0.85));
  }
  55% {
    transform: scale(0.95) rotate(90deg);
    opacity: 0.8;
  }
  75% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
}

.star-flash-1 {
  animation: star-flash-twinkle 5.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.star-flash-2 {
  animation: star-flash-twinkle 6.5s cubic-bezier(0.16, 1, 0.3, 1) infinite 2.2s;
}

.star-flash-3 {
  animation: star-flash-twinkle 7.2s cubic-bezier(0.16, 1, 0.3, 1) infinite 3.8s;
}

/* 5. Showcase Glass Flare Aura */
.showcase-flash-glow {
  position: relative;
}

.showcase-flash-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(235, 220, 198, 0.6) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(212, 186, 153, 0.5) 100%);
  z-index: -1;
  opacity: 0.42;
  filter: blur(14px);
  transition: opacity 0.4s ease, filter 0.4s ease;
  pointer-events-none;
}

.showcase-flash-glow:hover::after {
  opacity: 0.75;
  filter: blur(18px);
}


/* Interactive Floating Showcase Glass Window */
.showcase-glass-card {
  background: #ffffff !important;
  backdrop-filter: blur(40px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 
    inset 0 1px 1.5px 0 #ffffff,
    0 20px 45px -12px rgba(15, 23, 42, 0.08),
    0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  border-radius: 1.5rem !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 2px 0 #ffffff,
    0 25px 50px -12px rgba(15, 23, 42, 0.12),
    0 4px 8px -1px rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(203, 213, 225, 0.95) !important;
}

.floating-satellite-badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 1),
    0 12px 28px -4px rgba(15, 23, 42, 0.1);
  border-radius: 9999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  transition: all 0.25s ease;
}

.floating-satellite-badge:hover {
  transform: scale(1.05);
  background: #ffffff;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14);
}

/* Navigation Item Pills (Dark Obsidian Liquid Glass — media_1790879582170.png) */
.nav-pill-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-pill-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.nav-pill-item.active {
  color: #ffffff !important;
  font-weight: 600;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px -1px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
  animation: liquid-pulse-glow 4s infinite ease-in-out;
}

.nav-pill-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: liquid-glass-shimmer 4.5s infinite ease-in-out;
  pointer-events-none;
}

.nav-pill-item.active svg {
  color: #ffffff !important;
}

/* Inputs & Form Elements */
.glass-input, select.glass-input, textarea.glass-input {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.9);
  color: #0f172a;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 0.75rem;
  padding: 0.55rem 0.875rem;
  outline: none;
  font-size: 0.8125rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.18s ease;
  width: 100%;
}

.glass-input::placeholder {
  color: #94a3b8;
}

.glass-input:focus, select.glass-input:focus, textarea.glass-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), inset 0 1px 2px rgba(15, 23, 42, 0.03);
  background-color: #ffffff;
}

select.glass-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.glass-input optgroup, select.glass-input option {
  background-color: #ffffff;
  color: #0f172a;
}

input[type="date"].glass-input,
input[type="time"].glass-input {
  color-scheme: light;
}

/* Obsidian Pill Primary Buttons with Liquid Glass Animation Sweep */
.glass-button-primary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px -1px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
  position: relative;
  overflow: hidden;
}

.glass-button-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: liquid-glass-shimmer 4.5s infinite ease-in-out;
  pointer-events-none;
}

.glass-button-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px -2px rgba(0, 0, 0, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.glass-button-primary:active {
  transform: translateY(0.5px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.glass-button-primary svg {
  color: #ffffff !important;
}

/* Universal Top Header Action Pills (Exact height, box-sizing, and alignment) */
.glass-header-pill {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9999px !important;
  box-sizing: border-box !important;
  padding: 0 0.85rem !important;
  font-size: 0.75rem !important; /* 12px */
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  box-shadow: 0 2px 8px -1px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

.glass-header-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff;
}

/* Variant Día de Nota */
.glass-header-pill.pill-nota {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.40) !important;
  color: #fcd34d !important;
}
.glass-header-pill.pill-nota:hover {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.55) !important;
}

/* Variant Button Primary (Nueva Causa / Nueva Tarea) */
.glass-header-pill.glass-button-primary {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 14px -1px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.28) !important;
}
.glass-header-pill.glass-button-primary:hover {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Top Bar Icon Buttons (Chat, Bell, Hamburger) */
.glass-header-icon-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  color: #cbd5e1 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  position: relative !important;
  cursor: pointer !important;
}
.glass-header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
}

/* Profile Pill */
.glass-header-profile-btn {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  color: #cbd5e1 !important;
  padding: 0 0.65rem 0 0.2rem !important;
  gap: 0.5rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.glass-header-profile-btn:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
}

/* Secondary Frosted Glass Pill Buttons */
.glass-button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  font-weight: 500;
  font-size: 0.8125rem;
  border-radius: 9999px;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(203, 213, 225, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: all 0.18s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}

.glass-button-secondary:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-0.5px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Segmented Controls */
.glass-segmented {
  background: rgba(241, 245, 249, 0.9);
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: inline-flex;
  gap: 0.25rem;
  backdrop-filter: blur(24px);
}

.glass-segmented-item {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  color: #64748b;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.glass-segmented-item:hover {
  color: #0f172a;
}

.glass-segmented-item.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

/* Badges & Micro Labels */
.glass-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(16px);
  line-height: 1.3;
}

.glass-badge-red {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.glass-badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.glass-badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.glass-badge-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.28);
}

.glass-badge-sky {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.28);
}

/* Compact Metrics Card */
.metric-card-compact {
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card-compact:hover {
  transform: translateY(-1.5px);
  border-color: rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 1), 0 8px 20px -3px rgba(15, 23, 42, 0.06);
}

/* Ultra Slim Light Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.55);
}

/* ==========================================================================
   Mobile Responsive Enhancements & Touch UX (iOS / Android / Tablets)
   ========================================================================== */

/* 1. Prevent iOS Safari auto-zoom on form inputs focus (Must be >= 16px) */
@media (max-width: 768px) {
  input, 
  select, 
  textarea, 
  .glass-input,
  input.glass-input,
  select.glass-input,
  textarea.glass-input,
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="time"] {
    font-size: 16px !important;
  }
}

/* 2. Touch ergonomics and responsiveness */
html, body {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* 3. Dynamic Viewport Heights (Avoids mobile browser address bar jumps) */
.h-dvh {
  height: 100vh;
  height: 100dvh;
}

.min-h-dvh {
  min-height: 100vh;
  min-height: 100dvh;
}

.max-h-dvh {
  max-height: 100vh;
  max-height: 100dvh;
}

/* 4. Hide scrollbar for horizontal chips / tabs touch containers */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch;
}

/* 5. Smooth touch scrolling */
.touch-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.touch-scroll-y {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* 6. Safe Area Insets for modern devices (iPhone notch, dynamic island, home bar) */
.pb-safe {
  padding-bottom: max(env(safe-area-inset-bottom, 0.75rem), 0.75rem);
}

.pt-safe {
  padding-top: max(env(safe-area-inset-top, 0.5rem), 0.5rem);
}

.pl-safe {
  padding-left: max(env(safe-area-inset-left, 0.5rem), 0.5rem);
}

.pr-safe {
  padding-right: max(env(safe-area-inset-right, 0.5rem), 0.5rem);
}

.mb-safe {
  margin-bottom: max(env(safe-area-inset-bottom, 0.75rem), 0.75rem);
}

/* 7. Mobile Drawer Transitions & Backdrop Blur */
@media (max-width: 1023px) {
  .glass-sidebar {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform;
    max-width: 85vw;
  }
  
  .glass-sidebar.drawer-open {
    transform: translateX(0) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 10px 0 30px rgba(0, 0, 0, 0.5) !important;
  }
}

/* 8. Touch-friendly Tap Feedback */
.tap-highlight-transparent {
  -webkit-tap-highlight-color: transparent;
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 9. Mobile Bottom Navigation Bar (Glass Native Dock) */
.glass-bottom-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.08);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.375rem 0.25rem;
  color: #64748b;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
  transform: scale(0.92);
}

.mobile-nav-item.active {
  color: #4f46e5;
  font-weight: 800;
}

.mobile-nav-item.active svg {
  color: #4f46e5;
  transform: translateY(-1px);
}

.mobile-fab-center {
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
  margin-top: -18px;
  border: 3px solid #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.mobile-fab-center:active {
  transform: scale(0.92);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

/* 10. Word Processor Legal Canvas on Mobile */
@media (max-width: 768px) {
  #wordPaperSheet {
    width: 100% !important;
    min-height: 480px !important;
    padding: 1.25rem 1rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 0.75rem !important;
  }
  #wordRuler {
    display: none !important;
  }
  .ribbon-tab-pane {
    gap: 0.5rem !important;
  }
}

/* 11. Mobile Table Smooth Momentum Scrolling */
.table-responsive-mobile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 12. Floating Action Elements on Mobile */
@media (max-width: 640px) {
  .fixed.bottom-5.right-5 {
    bottom: 5.5rem !important; /* Avoid overlap with bottom nav bar */
    right: 1rem !important;
  }
}

/* 13. Mobile Modal BottomSheet & Scroll Architecture */
body.modal-open,
html.modal-open,
body.sidebar-open,
html.sidebar-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Hide mobile bottom navigation dock automatically when any modal or sidebar drawer is open */
body.modal-open #mobileBottomNav,
body.sidebar-open #mobileBottomNav {
  transform: translateY(150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}

#mobileBottomNav {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Universal Modal Overlay on Mobile */
.modal-overlay-safe {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
}

/* Mobile BottomSheet container */
@media (max-width: 640px) {
  .modal-sheet-panel {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
    max-height: 88dvh !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    margin-top: auto !important;
  }
}

/* Smooth Independent Modal Body Scroll */
.modal-scrollable-body {
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

/* Pinned Modal Footer */
.modal-pinned-footer {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  border-top-width: 1px;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
}

/* ==========================================================================
   14. Interactive UI Demo Cards & Live Simulation Stages (Veredicta Style)
   ========================================================================== */

/* Card Panel Background Themes */
.lp-surface-sky {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fe 50%, #d8ebfe 100%);
  border: 1px solid rgba(186, 230, 253, 0.7);
}

.lp-surface-amber {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.lp-surface-violet {
  background: linear-gradient(135deg, #f8f6ff 0%, #ede9fe 50%, #e0e7ff 100%);
  border: 1px solid rgba(221, 214, 254, 0.7);
}

/* Stage container */
.lp-card-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  padding: 1rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.9), 0 10px 30px -10px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.lp-card:hover .lp-card-panel {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), 0 16px 36px -12px rgba(15, 23, 42, 0.10);
}

/* Top bar with count & play button pill */
.lp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  z-index: 2;
}

.lp-card-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.lp-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 1.85rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-video-pill:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.04);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.12), inset 0 1px 1.5px #ffffff;
}

/* Card stage area */
.lp-card-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 200px;
}

/* Infinite Ticker Vertical Continuous Scrolling */
.lp-ticker-wrapper {
  max-height: 190px;
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

@keyframes lp-ticker-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.lp-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: lp-ticker-vertical 24s linear infinite;
}

.lp-ticker-list:hover {
  animation-play-state: paused;
}

/* Card typography & footer */
.lp-card-body {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lp-card-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #857456;
}

.lp-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lp-card-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  font-weight: 400;
}

.lp-card-foot {
  padding-top: 0.5rem;
}

.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  transition: gap 0.2s ease, color 0.2s ease;
}

.lp-link:hover {
  color: #857456;
  gap: 0.55rem;
}

/* ==========================================================================
   15. iPhone 18 Pro Max with Dynamic Island (Physical Device Mockup)
   ========================================================================== */
.iphone-18-frame {
  border-radius: 56px;
  background: linear-gradient(165deg, #44403c 0%, #292524 25%, #1c1917 65%, #0c0a09 100%);
  padding: 3.5px;
  box-shadow: 
    0 35px 90px -15px rgba(28, 25, 23, 0.45),
    0 10px 25px -5px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  width: 100%;
}

/* Side button details for iPhone 18 Pro Max realism */
/* Left side: Action Button + Volume Up + Volume Down */
.iphone-18-frame::before {
  content: '';
  position: absolute;
  left: -2.5px;
  top: 95px;
  width: 2.5px;
  height: 28px;
  background: #44403c;
  border-radius: 2px 0 0 2px;
  box-shadow: 
    0 46px 0 #44403c, /* Volume Up */
    0 106px 0 #44403c; /* Volume Down */
}

/* Right side: Power/Siri Button + Camera Control (capacitive) */
.iphone-18-frame::after {
  content: '';
  position: absolute;
  right: -2.5px;
  top: 130px;
  width: 2.5px;
  height: 65px;
  background: #44403c;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 340px 0 0 #332f2b; /* Camera Control capacitive flush sensor */
}

.iphone-18-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    0 45px 95px -15px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.iphone-18-screen {
  border-radius: 52px;
  overflow: hidden;
  background: #fafaf9;
  position: relative;
  border: 1px solid #000000;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
}

.iphone-dynamic-island {
  width: 122px;
  height: 32px;
  background: #000000;
  border-radius: 9999px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
  z-index: 30;
}

.dynamic-island-cam {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #182236 0%, #080d16 60%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dynamic-island-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

.iphone-home-indicator {
  width: 135px;
  height: 4.5px;
  background: #0f172a;
  border-radius: 9999px;
  margin: 8px auto 6px auto;
  opacity: 0.85;
}

/* iuris Go Metallic Gold & Bronze utilities inspired by the brand logo */
.text-logo-gold {
  background: linear-gradient(135deg, #a89371 0%, #857456 50%, #5c4e36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-logo-gold {
  background: linear-gradient(135deg, #a89371 0%, #857456 100%);
  color: #ffffff;
}

.border-logo-gold {
  border-color: #857456;
}

/* ==========================================================================
   16. Scroll Reveal Engine & Professional Micro-Interactions
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.delay-75 { transition-delay: 75ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }

/* 8-Card Micro-UI Stage Containers (Cristal Líquido Real) */
.vg-card {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border-radius: 28px;
  padding: 16px 16px 22px 16px;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 1px 1.5px 0 #ffffff, 0 12px 32px -4px rgba(15, 23, 42, 0.06) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vg-card:hover {
  transform: translateY(-4px);
  background: #ffffff !important;
  box-shadow: inset 0 1px 2px 0 #ffffff, 0 20px 42px -4px rgba(15, 23, 42, 0.10) !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
}

.vg-stage {
  height: 152px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.vg-panel {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
  width: 100%;
  max-width: 236px;
}

/* ==========================================================================
   Chat intra-estudio: eliminación total de recuadros de foco / outlines
   ========================================================================== */
#chatMessageInput,
#chatMessageInput:focus,
#chatMessageInput:focus-visible,
#chatMessageInput:active,
#fullChatMessageInput,
#fullChatMessageInput:focus,
#fullChatMessageInput:focus-visible,
#fullChatMessageInput:active,
.chat-clean-input,
.chat-clean-input:focus,
.chat-clean-input:focus-visible,
.chat-clean-input:active {
  outline: none !important;
  outline-width: 0 !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-color: transparent !important;
}

/* ==========================================================================
   16. Apple-Style Interactive Liquid Glass Showcase & Kinetic Typography
   ========================================================================== */

/* Kinetic Typography Horizontal Marquee */
.kinetic-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee-text-outline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.12);
  text-transform: uppercase;
}

.marquee-text-filled {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(15, 23, 42, 0.06);
  text-transform: uppercase;
}

/* Apple Showcase 3D Deck */
.apple-showcase-container {
  perspective: 1400px;
  position: relative;
}

.apple-showcase-deck {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  will-change: transform;
}

.showcase-glass-card {
  background: #ffffff !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 
    0 20px 45px -12px rgba(15, 23, 42, 0.08),
    0 2px 6px -1px rgba(15, 23, 42, 0.03),
    inset 0 1px 1.5px #ffffff !important;
  border-radius: 28px !important;
  position: relative;
}

/* Interactive Pill Tab Switcher */
.showcase-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  overflow-x: auto;
  scrollbar-width: none;
}

.showcase-tabs-nav::-webkit-scrollbar {
  display: none;
}

.showcase-tab-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.showcase-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.8);
}

.showcase-tab-btn.is-active {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Module Panels with Smooth Apple Fade & Scale */
.showcase-module-panel {
  display: none !important;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-module-panel.is-active {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 0%;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Satellite Floating Badges */
.satellite-badge {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  z-index: 20;
}

.badge-float-1 {
  animation: floatApple1 6s ease-in-out infinite;
}

.badge-float-2 {
  animation: floatApple2 7s ease-in-out infinite 1s;
}

.badge-float-3 {
  animation: floatApple3 6.5s ease-in-out infinite 0.5s;
}

@keyframes floatApple1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
}

@keyframes floatApple2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(9px) rotate(0.8deg); }
}

@keyframes floatApple3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.6deg); }
}

/* Radar Pulse for Court Synchronization */
.radar-pulse-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: radarWave 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes radarWave {
  0% { width: 10px; height: 10px; opacity: 0.9; }
  100% { width: 34px; height: 34px; opacity: 0; }
}

@media (max-width: 640px) {
  /* Mobile Tab Navigation: Smooth Horizontal Snap & Touch Momentum */
  .showcase-tabs-nav {
    padding: 0.25rem !important;
    gap: 0.25rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .showcase-tab-btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.6875rem !important;
    letter-spacing: -0.01em !important;
    scroll-snap-align: start !important;
    min-height: 36px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .showcase-tab-btn svg {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }
  .showcase-glass-card {
    border-radius: 1.25rem !important;
    padding: 0.875rem 0.875rem 1rem 0.875rem !important;
  }

  /* Micro-UI Cards in Bento Grid */
  .vg-card {
    border-radius: 1.25rem !important;
    padding: 0.875rem 0.875rem 1.125rem 0.875rem !important;
  }
  .vg-stage {
    min-height: 135px !important;
    border-radius: 1rem !important;
    padding: 0.625rem !important;
  }
  .vg-panel {
    max-width: 100% !important;
    padding: 0.625rem !important;
    border-radius: 0.75rem !important;
  }

  /* Landing Page UI Cards (Como funciona) */
  .lp-card {
    border-radius: 1.25rem !important;
    padding: 0.875rem !important;
  }
  .lp-card-panel {
    border-radius: 1rem !important;
    padding: 0.75rem !important;
  }

  /* Pricing Cards on Mobile */
  .glass-card {
    border-radius: 1.25rem !important;
  }

  /* Touch-Friendly Targets */
  .btn-touch-mobile,
  .showcase-tab-btn,
  .uma-val-btn {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ==========================================================================
   Liquid Glass Nested Subcards (Cuadros dentro de cuadros de alta distinción)
   ========================================================================== */
.liquid-glass-subcard {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 
    0 1px 3px 0 rgba(15, 23, 42, 0.04),
    0 4px 12px -2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-glass-subcard:hover {
  background: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 
    0 3px 8px 0 rgba(15, 23, 42, 0.06),
    0 8px 20px -3px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-indigo {
  border-color: rgba(199, 210, 254, 0.9);
  border-left: 3.5px solid #4f46e5;
  box-shadow: 
    0 2px 6px -1px rgba(79, 70, 229, 0.08),
    0 4px 14px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-indigo:hover {
  border-color: rgba(165, 180, 252, 1);
  border-left-color: #4338ca;
  box-shadow: 
    0 4px 12px -2px rgba(79, 70, 229, 0.16),
    0 8px 22px -3px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-amber {
  border-color: rgba(253, 230, 138, 0.95);
  border-left: 3.5px solid #f59e0b;
  box-shadow: 
    0 2px 6px -1px rgba(217, 119, 6, 0.08),
    0 4px 14px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-amber:hover {
  border-color: rgba(252, 211, 77, 1);
  border-left-color: #d97706;
  box-shadow: 
    0 4px 12px -2px rgba(217, 119, 6, 0.16),
    0 8px 22px -3px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-rose {
  border-color: rgba(254, 205, 211, 0.9);
  border-left: 3.5px solid #e11d48;
  box-shadow: 
    0 2px 6px -1px rgba(225, 29, 72, 0.08),
    0 4px 14px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.liquid-glass-subcard-rose:hover {
  border-color: rgba(253, 164, 175, 1);
  border-left-color: #be123c;
  box-shadow: 
    0 4px 12px -2px rgba(225, 29, 72, 0.16),
    0 8px 22px -3px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

/* ==========================================================================
   Mobile-First Touch & Usability Architecture
   ========================================================================== */
.touch-scroll-snap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}

.touch-scroll-snap::-webkit-scrollbar {
  display: none !important;
}

.touch-snap-start {
  scroll-snap-align: start !important;
}

/* Mobile specific overrides */
@media (max-width: 640px) {
  /* Prevent iOS Safari auto-zoom on form field focus by ensuring >= 16px font-size */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Bottom sheet behavior for dialogs & modals on smartphones */
  .mobile-bottom-sheet {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 1.75rem !important;
    border-top-right-radius: 1.75rem !important;
    max-height: 92dvh !important;
    margin-bottom: 0 !important;
    margin-top: auto !important;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Manual module cards compact padding */
  .manual-module-card {
    padding: 1rem 0.875rem !important;
    border-radius: 1.25rem !important;
  }

  /* Smooth touch response without tap delay or gray overlay */
  button, a, input, select, textarea {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

