/* ==========================================================================
   AURA • COMPONENTS STYLESHEET (FROSTED GLASS & EDUCATIONAL SUITE)
   ========================================================================== */

/* Main Page Container */
.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ==========================================================================
   1. HERO SECTION (RECREATING FIGMA REFERENCE WITH LIVE 3D)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 70px;
  overflow: hidden;
}

/* ==========================================================================
   UNOBSTRUCTED 3D SPHERES HERO STAGE + RIGHT FROSTED APPS DOCK
   ========================================================================== */
.hero-spheres-stage {
  height: 100vh !important;
  min-height: 100vh !important;
  position: relative;
}

.hero-layout-container {
  width: 100%;
  max-width: 1680px;
  height: 100vh;
  position: sticky;
  top: 0;
  margin: 0 auto;
  padding: 95px 4vw 40px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  z-index: 10;
  pointer-events: none;
}

/* Left Editorial Lead kept clean for centered 3D DIGITAL S-COOL */
.hero-brand-lead {
  display: none !important;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--slate-blue-dark);
  box-shadow: 0 4px 12px rgba(50, 42, 34, 0.04);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27AE60;
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.7);
  animation: pulseDot 2s infinite;
}

.hero-brand-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(25, 45, 28, 0.25);
}

.hero-brand-gradient {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
}

.word-rendimiento {
  white-space: nowrap;
  display: inline-block;
  color: #FFFFFF;
}

.hero-nto-letters {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(25, 45, 28, 0.45);
  font-weight: 800;
  display: inline;
  will-change: color, text-shadow;
}

.hero-brand-subtitle {
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  max-width: 490px;
  text-shadow: 0 2px 10px rgba(25, 45, 28, 0.2);
}

.hero-cta-quick-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.hero-explore-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
}

.hero-console-btn {
  padding: 12px 22px;
  font-size: 0.9rem;
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  cursor: pointer;
  color: var(--slate-blue);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}

.hero-scroll-cue:hover {
  opacity: 1;
  transform: translateY(2px);
}

.mouse-scroll-indicator {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--slate-blue);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-scroll-wheel {
  width: 3px;
  height: 5px;
  background-color: var(--slate-blue);
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

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

/* ==========================================================================
   FROSTED GLASS SUITE APPS DOCK (Matching Reference Botanical Glass Tone)
   ========================================================================== */

.hero-apps-dock {
  position: fixed;
  top: 18px;
  right: 2.4vw;
  width: min(100%, 330px);
  display: flex;
  flex-direction: column;
  z-index: 120;
  pointer-events: none;
  /* Scroll entrance: Starts subtle & hidden at scroll = 0 to showcase 3D letters */
  opacity: 0;
  transform: translateY(-26px) scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-apps-dock.scrolled-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Floating Frosted Sparkle Badge pinned top-left of the dock */
.dock-floating-sparkle {
  position: absolute;
  top: -10px;
  left: -12px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 20px rgba(18, 48, 30, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  z-index: 25;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-apps-dock:hover .dock-floating-sparkle {
  transform: rotate(18deg) scale(1.10);
}

/* Accordion Vertical Container */
.dock-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.dock-accordion-slot {
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collapsed Minimal Row (for apps not currently active in slot) */
.dock-slot-collapsed {
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(10, 30, 15, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.40);
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dock-slot-collapsed:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 20px rgba(10, 30, 15, 0.15), inset 0 1px 1px #FFFFFF;
}

.dock-slot-collapsed .dock-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
}

.dock-slot-collapsed .dock-sub-sparkle {
  color: rgba(255, 255, 255, 0.80);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.dock-slot-collapsed:hover .dock-sub-sparkle {
  transform: rotate(20deg) scale(1.15);
  color: #FFFFFF;
}

.dock-slot-collapsed .dock-sub-text {
  display: flex;
  flex-direction: column;
}

.dock-slot-collapsed .dock-sub-kicker {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
}

.dock-slot-collapsed .dock-sub-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-top: 1px;
  text-shadow: 0 1px 2px rgba(10, 30, 15, 0.25);
}

/* Expanded Active Card in Place */
.dock-slot-expanded {
  animation: accordionSlotIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes accordionSlotIn {
  from {
    opacity: 0.6;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dock-hero-card {
  position: relative;
  border-radius: 18px;
  padding: 13px 16px 11px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.14) 100%) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 20px 48px -8px rgba(18, 48, 30, 0.20), inset 0 1px 1.5px rgba(255, 255, 255, 0.75) !important;
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  user-select: none;
}

.dock-hero-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.18) 100%) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 24px 54px -6px rgba(18, 48, 30, 0.26), inset 0 1px 2px #FFFFFF !important;
}

.dock-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.dock-card-titles {
  display: flex;
  flex-direction: column;
}

.dock-ecosystem-tag-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.dock-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Ecosystem Interactive Pill in Card Header */
.dock-ecosystem-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1.5px 7px;
  border-radius: 10px;
  background: rgba(0, 230, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #D6F8FF;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.dock-ecosystem-pill:hover {
  background: rgba(0, 230, 255, 0.30);
  border-color: rgba(0, 240, 255, 0.85);
  box-shadow: 0 0 12px rgba(0, 230, 255, 0.40);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.dock-ecosystem-pill .eco-pill-dot {
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 5px #00F0FF;
}

.dock-ecosystem-pill .eco-pill-sparkle {
  font-size: 0.55rem;
  opacity: 0.8;
  margin-left: 1px;
}

.dock-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.10rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(10, 30, 15, 0.20);
}

.dock-action-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(10, 30, 15, 0.10);
}

.dock-action-circle:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: #FFFFFF;
  transform: scale(1.10) translateX(2px);
  box-shadow: 0 6px 16px rgba(10, 30, 15, 0.20);
}

.dock-card-description {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.30;
  margin: 5px 0 8px 0;
  text-shadow: 0 1px 2px rgba(10, 30, 15, 0.15);
}

/* Photo Strip ("pequeñas foticos") */
.dock-photos-strip {
  display: flex;
  gap: 5px;
  align-items: stretch;
  height: 58px;
  width: 100%;
  margin-bottom: 8px;
}

.dock-photo-box {
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: 0 4px 12px rgba(10, 30, 15, 0.10);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.dock-photo-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.80);
}

.dock-photo-wide {
  flex: 1.85;
}

.dock-photo-thumb {
  flex: 0.85;
}

.dock-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.dock-photo-box:hover img {
  transform: scale(1.05);
}

/* Pagination Capsule */
.dock-pagination-capsule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.dock-pag-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-pag-indicator:hover {
  background: rgba(255, 255, 255, 0.85);
}

.dock-pag-indicator.active {
  width: 18px;
  height: 5px;
  border-radius: 3px;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .hero-layout-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
    padding-top: 20px;
  }
  .hero-brand-lead {
    align-items: center;
  }
  .hero-brand-subtitle {
    margin: 0 auto;
  }
  .hero-cta-quick-group {
    justify-content: center;
  }
  .hero-scroll-cue {
    justify-content: center;
  }
  .hero-apps-dock {
    width: 100%;
    max-width: 480px;
  }
}

.hero-glass-slab {
  position: relative;
  width: min(92%, 620px);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1.5px solid var(--glass-border);
  border-radius: 36px;
  padding: 48px 44px;
  box-shadow: var(--shadow-glass), var(--shadow-soft-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.hero-glass-slab:hover {
  box-shadow: 0 35px 80px rgba(50, 42, 34, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* Figma Header & Footer Tags inside Glass */
.slab-meta-top, .slab-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-blue);
  opacity: 0.85;
  font-weight: 600;
}

.slab-meta-top {
  margin-bottom: 24px;
}

.slab-meta-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-content-center {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--slate-blue-dark);
  text-transform: uppercase;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 440px;
}

/* Product Pills Tag Bar */
.hero-product-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.product-pill {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-blue-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-soft-sm);
  transition: all 0.2s ease;
}

.product-pill:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.btn-primary {
  background: var(--slate-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(68, 86, 96, 0.28);
  transition: all 0.25s var(--ease-smooth);
}

.btn-primary:hover {
  background: var(--slate-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(68, 86, 96, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--slate-blue-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-soft-sm);
  transition: all 0.25s var(--ease-smooth);
}

.btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. SCROLLYTELLING SHOWCASE: THE 4 APPLICATIONS
   ========================================================================== */
.scrolly-showcase-section {
  position: relative;
  width: 100%;
  min-height: 420vh;
}

.scrolly-pin-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5vw;
  overflow: hidden;
  perspective: 1600px;
  transform-style: preserve-3d;
}

/* Floating Scrolly Navigation Indicator - Minimal Dots Only */
.scrolly-steps-indicator {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 50;
  pointer-events: auto;
}

.step-indicator-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.4;
  position: relative;
  transition: all 0.3s ease;
}

.step-indicator-item:hover,
.step-indicator-item.active {
  opacity: 1;
}

.step-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--slate-blue);
  background: transparent;
  transition: all 0.3s ease;
}

.step-indicator-item.active .step-dot {
  background: var(--slate-blue);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(68, 86, 96, 0.45);
}

/* Hide overlapping cut-off text labels */
.step-label {
  display: none !important;
}

/* Transition Mode Switcher Pills */
.trans-mode-btn {
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-blue-dark);
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trans-mode-btn:hover {
  background: rgba(255, 255, 255, 0.85);
}

.trans-mode-btn.active {
  background: var(--slate-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(68, 86, 96, 0.25);
}

/* App Showcase Card in Scrollytelling (Authentic Frosted Glass / Vidrio Esmerilado) */
.app-scrolly-card {
  position: absolute;
  width: min(94%, 1340px);
  max-width: 1340px;
  min-height: min(72vh, 630px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.44) 100%);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1.5px solid var(--glass-border);
  border-radius: 38px;
  padding: 42px 50px;
  box-shadow: var(--shadow-glass), var(--shadow-soft-lg);
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 40px;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  z-index: 10;
  transition: box-shadow 0.4s var(--ease-smooth);
}

.app-scrolly-card:hover {
  box-shadow: 0 35px 80px rgba(50, 42, 34, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

/* Individual App Color Harmonies (Subtle Frosted Tints for the 5 Apps) */
#card-elan {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(254, 246, 240, 0.52) 100%);
}

#card-apex {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(240, 247, 252, 0.52) 100%);
}

#card-vector {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(254, 251, 240, 0.52) 100%);
}

#card-morpho {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(248, 243, 255, 0.52) 100%);
}

#card-pulse {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.74) 0%, rgba(242, 250, 244, 0.52) 100%);
}

#card-elan-ui,
#card-elan-video {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 245, 240, 0.92) 100%);
  width: min(94%, 1340px);
  max-width: 1340px;
  display: flex;
  flex-direction: column;
  padding: 22px 36px 26px;
  gap: 14px;
  align-items: center;
  overflow: visible !important;
}

.elan-puzzle-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 4px;
}

.elan-puzzle-main-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--slate-blue-dark);
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

/* Inactive cards initial state */
.app-scrolly-card:not(#card-elan) {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(100vw);
}

/* ==========================================================================
   ÉLAN TEF INTERFACE PUZZLE STAGE (SVG REVERSE EXPLOSION ENGINE)
   ========================================================================== */
.elan-ui-puzzle-card {
  align-items: center;
}

.puzzle-mockup-wrapper {
  background: transparent;
  border-radius: 28px;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  width: 100%;
}

.puzzle-canvas-stage {
  position: relative;
  width: 100%;
  height: 480px;
  max-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(245, 240, 233, 0.9) 60%, rgba(234, 226, 214, 0.8) 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(50, 42, 34, 0.10), inset 0 1px 2px #fff;
  padding: 16px 20px;
  transform: translateZ(0);
}

.glass-reconstruction-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 0%, rgba(200, 240, 255, 0.75) 35%, rgba(180, 220, 255, 0.2) 60%, transparent 80%);
  opacity: 0;
  transform: scale(0.3);
  mix-blend-mode: screen;
  z-index: 20;
  border-radius: 28px;
}

.flyer-puzzle-svg {
  width: 100%;
  height: auto;
  max-height: 450px;
  max-width: 100%;
  object-fit: contain;
  overflow: visible !important;
  transform: translateZ(0);
}

.puzzle-piece {
  transform-box: fill-box;
  transform-origin: center center;
  will-change: transform;
}

@media (max-width: 1080px) {
  #card-elan-ui,
  #card-elan-video {
    padding: 20px 20px 24px;
    width: 95%;
  }
  .elan-puzzle-main-title {
    font-size: 2.2rem;
  }
  .puzzle-canvas-stage,
  .video-large-mockup-wrapper .video-canvas-stage {
    height: 460px !important;
    padding: 16px;
  }
}

.puzzle-badge-tag {
  color: var(--terracotta-accent);
  background: rgba(200, 109, 81, 0.1);
  border-color: rgba(200, 109, 81, 0.25);
}

.puzzle-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 100px;
  background: #F8F5F0;
  border: 1px solid rgba(68, 86, 96, 0.12);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-blue-dark);
  margin-top: 8px;
}

.puzzle-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta-accent);
  box-shadow: 0 0 0 0 rgba(200, 109, 81, 0.7);
  animation: puzzlePulse 2s infinite;
  flex-shrink: 0;
}

@keyframes puzzlePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 109, 81, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(200, 109, 81, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(200, 109, 81, 0); }
}

/* ==========================================================================
   VIDEO SCROLLY CARD & HUD STYLES
   ========================================================================== */
.elan-video-scrolly-card {
  z-index: 12;
}

.video-badge-tag {
  color: #D96B43;
  background: rgba(217, 107, 67, 0.1);
  border-color: rgba(217, 107, 67, 0.25);
}

.video-scrub-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 100px;
  background: #F8F5F0;
  border: 1px solid rgba(68, 86, 96, 0.12);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-blue-dark);
  margin-top: 10px;
}

.video-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D96B43;
  box-shadow: 0 0 0 0 rgba(217, 107, 67, 0.7);
  animation: videoPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes videoPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 107, 67, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(217, 107, 67, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(217, 107, 67, 0); }
}

.video-status-hint {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.76rem;
}

.video-play-hint-action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.video-toggle-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(26, 42, 74, 0.18);
  color: var(--slate-blue-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.video-toggle-play-btn:hover {
  background: var(--slate-blue-dark);
  color: #FFFFFF;
  border-color: var(--slate-blue-dark);
  transform: translateY(-1px);
}

.video-hint-caption {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-style: italic;
}

.video-mockup-wrapper {
  flex: 1.4;
  background: #111622;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.video-large-mockup-wrapper {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #111622 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(50, 42, 34, 0.12), inset 0 1px 2px #fff !important;
  min-height: auto !important;
}

.video-large-mockup-wrapper .video-canvas-stage {
  height: 480px !important;
  max-height: 58vh !important;
  border-radius: 0 0 24px 24px !important;
}

.video-mockup-wrapper .mockup-header-bar {
  background: #1A2234;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-mockup-wrapper .mockup-status-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.video-rec-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #FF4D4D;
  background: rgba(255, 77, 77, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 77, 77, 0.3);
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF4D4D;
  animation: recBlink 1.2s infinite ease-in-out;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.video-large-mockup-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(50, 42, 34, 0.12), inset 0 1px 2px #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: #0B0E14;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.video-canvas-stage {
  position: relative;
  width: 100%;
  height: 480px;
  max-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #101520 0%, #06080D 100%);
  border-radius: 0 0 24px 24px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.elan-scrolly-canvas,
.elan-scrolly-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Minimal Hairline Scrub HUD Bar at bottom of video */
.video-scrub-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 10;
}

.video-hud-progress-bar {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-hud-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #D96B43 0%, #FF8A5C 100%);
  box-shadow: 0 0 10px rgba(217, 107, 67, 0.8);
  transition: width 0.04s linear;
}

/* Dynamic recording dot colors based on playback state */
.video-rec-badge.playing .rec-dot {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.video-rec-badge.paused .rec-dot {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: none;
}

/* Quick App Switcher Dock (Frosted Glass - Bottom Dock Mode macOS style) */
.scrolly-app-tabs-bar {
  position: absolute;
  bottom: 20px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 40px;
  box-shadow: 0 16px 40px rgba(45, 63, 71, 0.14), 0 4px 12px rgba(45, 63, 71, 0.06);
}

.scrolly-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-blue-dark);
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.scrolly-tab-btn:hover {
  background: rgba(255, 255, 255, 0.7);
}

.scrolly-tab-btn.active {
  background: var(--slate-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(68, 86, 96, 0.25);
}


.app-card-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform-style: preserve-3d;
}

.app-badge-tag,
.app-card-details h2,
.app-intent-phrase,
.app-description-body,
.app-feature-item,
.app-card-mockup-wrapper,
.mockup-header-bar,
.mockup-metric-highlight,
.mockup-preview-snippet {
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.app-badge-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--slate-blue);
}

.app-card-details h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--slate-blue-dark);
  margin: 0;
}

.app-intent-phrase {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--terracotta-accent);
  line-height: 1.4;
  margin: 0;
}

.app-description-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.app-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 0 0;
  padding: 0;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--slate-blue-dark);
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--slate-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* App Card Interactive Preview Mockup (Frosted Glass Plate) */
.app-card-mockup-wrapper {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 24px 28px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.85), var(--shadow-soft-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(68, 86, 96, 0.1);
  padding-bottom: 10px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(68, 86, 96, 0.2);
}

.mockup-status-text {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--slate-blue);
  font-weight: 700;
}

.mockup-metric-highlight {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft-sm);
}

.metric-highlight-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--slate-blue-dark);
  line-height: 1;
}

.metric-highlight-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-preview-snippet {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--slate-blue-dark);
}

/* ==========================================================================
   3. INTERACTIVE APP CONSOLE / LIVE DEMO EXPLORER
   ========================================================================== */
/* Shared Section Titles (Frosted Glass Header) */
.section-title-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 5;
  padding: 38px 46px;
  background: #FFFFFF;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  box-shadow: 0 16px 42px rgba(50, 42, 34, 0.07), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.section-title-wrap .section-title {
  color: #0F172A;
}

.section-title-wrap .section-desc {
  color: #475569;
}

.section-title-wrap:hover {
  box-shadow: 0 22px 52px rgba(50, 42, 34, 0.10), inset 0 1px 2px #fff;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-blue-dark);
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(50, 42, 34, 0.04);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--slate-blue-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 14px;
  line-height: 1.6;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.console-section {
  position: relative;
  width: 100%;
  padding: 100px 5vw;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 2000px;
  transform-style: preserve-3d;
}

#console-title-card {
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
}

.console-deck-wrapper {
  perspective: 2000px;
  transform-style: preserve-3d;
  width: 100%;
  will-change: transform, opacity;
}

/* Console Deck Glass Container */
.console-deck-container {
  background: #FFFFFF;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(50, 42, 34, 0.09), inset 0 1px 2px #fff;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
}

.console-tab-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.4);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

.console-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-blue);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.console-tab-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--slate-blue-dark);
}

.console-tab-btn.active {
  background: var(--slate-blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(68, 86, 96, 0.25);
}

.console-display-pane {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-soft-md);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pane-view {
  display: none;
  animation: fadeIn 0.4s var(--ease-smooth);
}

.pane-view.active-pane {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.console-video-frame {
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.console-video-frame:hover {
  box-shadow: 0 20px 48px rgba(50, 42, 34, 0.14);
}

/* ==========================================================================
   4. METHODOLOGY 3D TILT CARDS
   ========================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 40px;
  perspective: 1000px;
}

.method-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
}

.method-card:hover {
  box-shadow: var(--shadow-soft-lg);
}

.method-card-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--terracotta-accent);
  letter-spacing: 0.1em;
}

.method-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--slate-blue-dark);
}

.method-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   5. EL PROBLEMA / CONTEXTO (DEL PAPEL INERTE AL RENDIMIENTO ANALÍTICO)
   ========================================================================== */
.friction-section {
  position: relative;
  width: 100%;
  padding: 85px 5vw 30px;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 2000px;
  transform-style: preserve-3d;
}

#friction-title-card {
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
}

.friction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  perspective: 2000px;
  transform-style: preserve-3d;
  position: relative;
}

.friction-card-wrapper {
  transform-style: preserve-3d;
  will-change: transform, opacity;
  height: 100%;
  display: flex;
}

.friction-card {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 38px 32px;
  box-shadow: 0 20px 50px rgba(60, 50, 42, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
}

.friction-card:hover {
  box-shadow: 0 32px 75px rgba(50, 42, 34, 0.13), 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.friction-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-accent);
  background: rgba(200, 109, 81, 0.12);
  border: 1px solid rgba(200, 109, 81, 0.22);
  padding: 5px 12px;
  border-radius: 20px;
}

.friction-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}

.friction-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.62;
}

.friction-solution-pill {
  margin-top: auto;
  padding: 13px 18px;
  border-radius: 14px;
  background: #F8F5F0;
  border: 1px solid rgba(68, 86, 96, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   6. MATRIZ DE IMPACTO POR AUDIENCIA (4 PILARES)
   ========================================================================== */
.audience-section {
  position: relative;
  width: 100%;
  padding: 100px 5vw;
  max-width: 1280px;
  margin: 0 auto;
  perspective: 2000px;
  transform-style: preserve-3d;
}

#audience-title-card {
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  perspective: 2000px;
  transform-style: preserve-3d;
  position: relative;
}

.audience-card-wrapper {
  transform-style: preserve-3d;
  will-change: transform, opacity;
  height: 100%;
  display: flex;
}

.audience-card {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 36px 28px;
  box-shadow: 0 20px 50px rgba(60, 50, 42, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform-style: preserve-3d;
  will-change: transform, opacity, box-shadow;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 75px rgba(50, 42, 34, 0.13), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.audience-role-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--slate-blue);
  text-transform: uppercase;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}

.audience-card p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.62;
}

.audience-metric-badge {
  margin-top: auto;
  padding: 11px 16px;
  border-radius: 12px;
  background: #F8F5F0;
  border: 1px solid rgba(68, 86, 96, 0.12);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #1E293B;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   7. DATOS Y MÉTRICAS DE IMPACTO
   ========================================================================== */
.metrics-section {
  position: relative;
  width: 100%;
  padding: 100px 5vw;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 1600px;
}

#metrics-title-card {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  perspective: 1600px;
}

.metric-stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.10) 100%) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 28px;
  padding: 38px 28px;
  text-align: center;
  box-shadow: 0 16px 36px -8px rgba(18, 48, 30, 0.16), inset 0 1px 1.5px rgba(255, 255, 255, 0.65) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.metric-stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 28px 65px rgba(18, 48, 30, 0.22), inset 0 1px 2px #fff !important;
}

.metric-big-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(10, 30, 18, 0.35);
}

/* Micro-Telemetry Progress Bar */
.metric-telemetry-bar {
  width: 100%;
  height: 5px;
  background: rgba(68, 86, 96, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin: 4px 0 10px;
}

.metric-telemetry-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--slate-blue), var(--terracotta-accent));
  border-radius: 10px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-stat-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--terracotta-accent);
}

.metric-stat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   8. SECCIÓN DE CIERRE Y DOBLE CONVERSIÓN (DUAL MAGNETIC COMMAND PORTAL)
   ========================================================================== */
.conversion-section {
  position: relative;
  width: 100%;
  padding: 100px 5vw 70px;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 2000px;
}

#conversion-title-card {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  perspective: 2000px;
  transform-style: preserve-3d;
}

.conversion-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.10) 100%) !important;
  backdrop-filter: blur(32px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.45) !important;
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: 0 20px 48px -10px rgba(18, 48, 30, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 0.65) !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

/* Focus Dimming between the Dual Tracks */
.conversion-grid:has(.conversion-card:hover) .conversion-card:not(:hover) {
  opacity: 0.68;
  transform: scale(0.97);
  filter: blur(0.5px);
}

.conversion-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 75px rgba(18, 48, 30, 0.26), inset 0 1px 2px rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

.conversion-card.institutional {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.12) 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.conversion-pill-label {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  text-shadow: 0 1px 2px rgba(10, 30, 18, 0.25);
}

.conversion-card h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(10, 30, 18, 0.35);
}

.conversion-card p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.90) !important;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(10, 30, 18, 0.25);
}

.conversion-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.app-footer {
  position: relative;
  width: 100%;
  padding: 80px 5vw 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--slate-blue-dark);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .app-scrolly-card,
  #card-elan-ui,
  #card-elan-video {
    grid-template-columns: 1fr !important;
    padding: 24px 20px;
    width: 94%;
    border-radius: 28px;
    gap: 20px;
  }
  .puzzle-canvas-stage,
  .video-canvas-stage,
  .video-large-mockup-wrapper .video-canvas-stage {
    height: 300px !important;
  }
  .video-mockup-wrapper {
    min-height: 340px;
  }
  .scrolly-app-tabs-bar {
    width: 94%;
    overflow-x: auto;
    justify-content: flex-start;
    bottom: 16px;
    top: auto;
    padding: 4px 8px;
    scrollbar-width: none;
  }
  .scrolly-app-tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .scrolly-tab-btn {
    font-size: 0.72rem;
    padding: 6px 10px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   3D CLASSROOM HUD & CAMERA STATUS BADGE
   ========================================================================== */
.classroom-camera-status {
  position: absolute;
  bottom: 78px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 41, 34, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 100;
  pointer-events: none;
  transition: all 0.35s ease;
}

.camera-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite;
}

.camera-status-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Station Badges */
.tag-station-chalkboard {
  background: rgba(20, 41, 34, 0.12);
  color: #142922;
  border: 1px solid rgba(20, 41, 34, 0.3);
  font-weight: 800;
}

.tag-station-desk {
  background: rgba(200, 159, 116, 0.18);
  color: #8B5E3C;
  border: 1px solid rgba(200, 159, 116, 0.4);
  font-weight: 800;
}

.tag-station-guides {
  background: rgba(79, 70, 229, 0.12);
  color: #3730A3;
  border: 1px solid rgba(79, 70, 229, 0.3);
  font-weight: 800;
}

/* ==========================================================================
   VIDEO SABER 11 SHOWCASE SECTION
   ========================================================================== */
.video-saber-section {
  position: relative;
  width: 100%;
  padding: 100px 5vw 80px;
  background: linear-gradient(180deg, var(--bg-sand-base) 0%, rgba(247, 243, 238, 0.6) 100%);
  z-index: 10;
}

.video-saber-wrapper {
  margin-top: 36px;
}

/* ==========================================================================
   TRACK B: HUB ESPECIALIZADO DE IDIOMAS (TEF CANADÁ & IELTS)
   ========================================================================== */
.idiomas-hub-section {
  position: relative;
  width: 100%;
  padding: 110px 5vw 100px;
  background: linear-gradient(180deg, rgba(247, 243, 238, 0.9) 0%, #FFFFFF 50%, var(--bg-sand-base) 100%);
  z-index: 10;
  border-top: 1px solid var(--glass-border);
}

.idiomas-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 36px;
  max-width: 1340px;
  margin: 48px auto 0;
  align-items: stretch;
}

.idioma-specialty-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid var(--glass-border);
  border-radius: 36px;
  padding: 42px 38px;
  box-shadow: var(--shadow-glass), var(--shadow-soft-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.idioma-specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(45, 40, 35, 0.16);
}

.card-elan-hub {
  border-top: 4px solid var(--canadian-crimson);
}

.card-apex-hub {
  border-top: 4px solid var(--oxford-blue);
}

.idioma-card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.idioma-app-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--slate-blue-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.idioma-app-lead {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.idioma-metric-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}

.idioma-metric-box {
  background: var(--bg-sand-base);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.idioma-metric-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.idioma-metric-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
}

@media (max-width: 860px) {
  .classroom-camera-status {
    top: 75px;
    padding: 4px 12px;
    font-size: 0.65rem;
  }
  .idiomas-grid-container {
    grid-template-columns: 1fr;
  }
  .idioma-specialty-card {
    padding: 28px 22px;
  }
  .idioma-app-title {
    font-size: 1.8rem;
  }
}

/* Floating 3D Animation Replay Trigger (Removed by user request) */
.hero-replay-btn {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1.2px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: 999px;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(10, 30, 18, 0.35);
  box-shadow: 0 12px 30px -4px rgba(18, 48, 30, 0.18), inset 0 1px 1.5px rgba(255, 255, 255, 0.7) !important;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-replay-btn:hover {
  background: rgba(255, 255, 255, 0.38) !important;
  border-color: rgba(255, 255, 255, 0.90) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 36px -4px rgba(18, 48, 30, 0.26), inset 0 1px 2px #fff !important;
}

.hero-replay-btn svg {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-replay-btn:hover svg {
  transform: rotate(-180deg);
}

.hero-replay-btn:active {
  transform: translateY(0) scale(0.98);
}

