/* ==========================================================================
   AGENDIFY DESIGN SYSTEM
   Premium Luxury Theme: Navy Blue (#0B1F3A) & Fuchsia (#E6007E)
   ========================================================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  /* Harmonious Dark Palette */
  --bg-deep: #061120;
  --bg-primary: #071526;
  --bg-secondary: #0b1f3a;
  --bg-tertiary: #132a4e;
  
  /* Brand Accents */
  --accent-fuchsia: #e6007e;
  --accent-fuchsia-glow: rgba(230, 0, 126, 0.4);
  --accent-fuchsia-hover: #ff1c98;
  --accent-purple: #9b00e8;
  --accent-purple-glow: rgba(155, 0, 230, 0.3);
  --accent-blue: #00d2ff;
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--accent-fuchsia) 0%, var(--accent-purple) 100%);
  --gradient-brand-glow: linear-gradient(135deg, rgba(230, 0, 126, 0.15) 0%, rgba(155, 0, 232, 0.05) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-deep) 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #f3a8ff 100%);
  --gradient-fuchsia-text: linear-gradient(135deg, #ff82cb 0%, #e6007e 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(11, 31, 58, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-focus: rgba(230, 0, 126, 0.5);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  
  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  /* System Tokens */
  --font-title: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Presentation Slide State Variables */
  --slide-index: 0;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--gradient-dark);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-fuchsia);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Background Animated Particles */
.space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.orb-1 {
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--accent-fuchsia);
}

.orb-2 {
  bottom: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-purple);
}

.orb-3 {
  top: 40%;
  left: 50%;
  width: 30vw;
  height: 30vw;
  background: var(--accent-blue);
  opacity: 0.08;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 5%;
  background: rgba(6, 17, 32, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.8rem 5%;
  background: rgba(6, 17, 32, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-fuchsia);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 15px var(--accent-fuchsia);
}

/* Dual Mode Toggle Switch */
.mode-toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 31, 58, 0.5);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
}

.mode-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.4);
}

.cta-nav-btn {
  background: transparent;
  color: #fff;
  border: 1px solid var(--accent-fuchsia);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cta-nav-btn:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(230, 0, 126, 0.5);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ==========================================================================
   LAYOUT: DUAL MODE CONTROLLER
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* LANDING MODE (DEFAULT) */
body:not(.presentation-mode) .slider-container {
  display: block;
  width: 100%;
}

body:not(.presentation-mode) .slide {
  padding: 8rem 5% 6rem 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* PRESENTATION MODE (ACTIVE) */
body.presentation-mode {
  overflow: hidden;
  height: 100vh;
}

body.presentation-mode .header {
  background: rgba(6, 17, 32, 0.9);
}

body.presentation-mode .slider-container {
  display: flex;
  width: 1200%; /* 12 slides */
  height: 100vh;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
  transform: translateX(calc(-100vw * var(--slide-index)));
}

body.presentation-mode .slide {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  padding: 6rem 8% 4rem 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Slider Controls (Only visible in Presentation Mode) */
.slider-controls {
  position: fixed;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

body.presentation-mode .slider-controls {
  opacity: 1;
  pointer-events: all;
}

.control-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.control-btn:hover {
  background: var(--accent-fuchsia);
  border-color: transparent;
  box-shadow: 0 0 15px var(--accent-fuchsia);
  transform: scale(1.1);
}

.control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  background: var(--glass-bg);
  box-shadow: none;
  border-color: var(--glass-border);
}

.slide-indicator {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 30px;
}

/* Indicator dots */
.indicator-dots {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

body.presentation-mode .indicator-dots {
  opacity: 1;
  pointer-events: all;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--accent-fuchsia);
  width: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--accent-fuchsia);
}

/* Keyboard Help Prompt */
.keyboard-tip {
  position: fixed;
  bottom: 2rem;
  left: 3rem;
  z-index: 99;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(11, 31, 58, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

body.presentation-mode .keyboard-tip {
  opacity: 1;
}

.key-cap {
  background: #fff;
  color: var(--bg-deep);
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
}

/* ==========================================================================
   COMMON COMPONENT STYLES (SLIDES & GRIDS)
   ========================================================================== */
.slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  margin: 0 auto;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  color: var(--accent-fuchsia);
  text-transform: uppercase;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-tag::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 2px;
  background-color: var(--accent-fuchsia);
}

.slide-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.slide-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.slide-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-btn {
  align-self: flex-start;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(230, 0, 126, 0.4);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(230, 0, 126, 0.6), 0 0 20px rgba(155, 0, 232, 0.4);
}

.cta-btn svg {
  transition: var(--transition-fast);
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
}

/* Slide Visual Container */
.slide-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.visual-backdrop-glow {
  position: absolute;
  width: 110%;
  height: 110%;
  background: var(--gradient-brand-glow);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Features Grid */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-wrapper {
  background: rgba(230, 0, 126, 0.15);
  color: var(--accent-fuchsia);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item p {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 400;
}

.feature-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   SLIDE-SPECIFIC CUSTOM COMPONENT DETAILS
   ========================================================================== */

/* --- Slide 1: Portada --- */
#slide-1 .slide-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.main-hero-mockup {
  position: relative;
  max-width: 100%;
  z-index: 1;
  transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.main-hero-mockup:hover {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) scale(1.02);
}

.main-hero-mockup img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(230, 0, 126, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

/* --- Slide 2: El problema del mercado --- */
.problem-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.problem-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.15);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateY(-5px);
}

.problem-card h4 {
  color: #ff8a8a;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.problem-card p {
  font-size: 0.9rem;
  color: #fca5a5;
}

.solution-highlight-card {
  margin-top: 1.5rem;
  background: var(--gradient-brand-glow);
  border: 1px solid var(--accent-fuchsia);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 0 25px rgba(230, 0, 126, 0.15);
}

.solution-highlight-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 5px;
}

.solution-highlight-card p {
  color: #ffb7e4;
  font-size: 0.95rem;
  font-weight: 500;
}

.problem-graphics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.problem-metric-bar {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.metric-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.bar-container {
  width: 100%;
  height: 12px;
  background: var(--bg-deep);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 10px;
}

.bar-fill.red {
  background: #ef4444;
  width: 85%;
}

.bar-fill.green {
  background: #10b981;
  width: 5%;
  box-shadow: 0 0 10px #10b981;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Slide 3: ¿Qué es Agendify? --- */
.ideal-for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.ideal-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-smooth);
  cursor: default;
}

.ideal-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-fuchsia);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.ideal-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: inline-block;
}

.ideal-card h4 {
  font-size: 0.95rem;
  color: #fff;
}

.diferenciador-tag {
  background: rgba(230, 0, 126, 0.2);
  color: #fff;
  border: 1px solid var(--accent-fuchsia);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.diferenciador-card {
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.15) 0%, rgba(155, 0, 232, 0.15) 100%);
  border: 1px dashed var(--accent-fuchsia);
}

/* --- Slide 4 & 5: Live Phone Simulators --- */
.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 600px;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 2px 8px rgba(255, 255, 255, 0.2);
  border: 4px solid #1e293b;
}

/* Speaker & Camera notch */
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0b1329;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  font-size: 0.8rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 25px 15px 10px 15px;
  background: rgba(11, 31, 58, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
}

.phone-body {
  padding: 12px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Interactive booking simulator inside phone */
.sim-step {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
  height: 100%;
}

.sim-step.active {
  display: block;
}

/* Theme color switcher mockup targets */
.phone-screen.theme-custom {
  background: var(--phone-bg, #0b1329);
  transition: var(--transition-smooth);
}

.phone-screen.theme-custom .phone-header {
  background: var(--phone-header-bg, rgba(11, 31, 58, 0.8));
}

.phone-screen.theme-custom .brand-accent-color {
  background: var(--phone-accent, var(--accent-fuchsia));
  color: #fff;
}

.phone-screen.theme-custom .brand-accent-border {
  border-color: var(--phone-accent, var(--accent-fuchsia));
}

.phone-screen.theme-custom .brand-accent-text {
  color: var(--phone-accent, var(--accent-fuchsia));
}

/* Service lists inside mockup */
.sim-service-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sim-service-item:hover, .sim-service-item.selected {
  background: rgba(230, 0, 126, 0.15);
  border-color: var(--accent-fuchsia);
}

/* Custom interactive calendar picker inside simulator */
.sim-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 10px 0;
  text-align: center;
}

.sim-cal-day {
  padding: 6px 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.02);
}

.sim-cal-day.active {
  background: var(--accent-fuchsia);
  color: #fff;
  font-weight: bold;
}

.sim-cal-day.muted {
  opacity: 0.3;
  cursor: not-allowed;
}

.sim-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.sim-time-slot {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 2px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.7rem;
}

.sim-time-slot.selected {
  background: var(--accent-fuchsia);
  color: #fff;
}

/* Mock checkout */
.checkout-card-preview {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 12px;
  border-radius: 10px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-phone-action {
  width: 100%;
  padding: 10px;
  border: none;
  background: var(--accent-fuchsia);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  margin-top: auto;
}

.btn-phone-action:hover {
  background: var(--accent-fuchsia-hover);
}

/* Simulator Steps buttons in Landing UI */
.sim-controls-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sim-nav-step {
  background: rgba(11, 31, 58, 0.4);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 15px;
}

.sim-nav-step.active {
  background: rgba(230, 0, 126, 0.1);
  border-color: var(--accent-fuchsia);
  box-shadow: 0 0 15px rgba(230, 0, 126, 0.1);
}

.sim-nav-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sim-nav-step.active .sim-nav-number {
  background: var(--accent-fuchsia);
  color: #fff;
}

.sim-nav-step h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sim-nav-step p {
  font-size: 0.8rem;
}

/* --- Slide 5: Brand customization UI --- */
.brand-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.brand-preset-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.brand-preset-card.active {
  border-color: var(--accent-fuchsia);
  background: var(--bg-tertiary);
  box-shadow: 0 0 15px rgba(230, 0, 126, 0.2);
}

.color-dot-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-top: 8px;
  border: 2px solid #fff;
}

/* --- Slide 6: Gestión Inteligente Admin Dashboard --- */
.admin-mockup {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glass-shadow);
}

.admin-mock-header {
  background: var(--bg-secondary);
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-window-dots {
  display: flex;
  gap: 6px;
}

.admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.admin-dot.red { background: #ef4444; }
.admin-dot.yellow { background: #f59e0b; }
.admin-dot.green { background: #10b981; }

.admin-mock-body {
  background: var(--bg-primary);
  padding: 15px;
  font-size: 0.75rem;
}

.calendar-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.calendar-header-row {
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.calendar-slot {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  padding: 6px;
  min-height: 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-slot.booked {
  background: rgba(230, 0, 126, 0.12);
  border-left: 3px solid var(--accent-fuchsia);
}

.calendar-slot.booked .slot-client {
  font-weight: 700;
  color: #fff;
}

.calendar-slot.booked .slot-status {
  color: #ff8bce;
  font-size: 0.65rem;
}

.calendar-slot.free {
  border-left: 3px dashed rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.calendar-slot.free:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* --- Slide 7: Pasarela de Pagos --- */
.payment-gateways-sim {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.gateway-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gateway-pill:hover, .gateway-pill.active {
  border-color: var(--accent-fuchsia);
  background: rgba(230, 0, 126, 0.05);
  transform: translateX(5px);
}

.gateway-brand-logo {
  height: 22px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.gateway-pill:hover .gateway-brand-logo {
  transform: scale(1.03);
}

.gateway-brand-logo.tk-logo {
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.gateway-brand-logo.mp-logo {
  height: 24px;
}

.gateway-brand-logo.tb-logo {
  height: 20px;
}

.status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
}

.credit-card-mockup {
  width: 320px;
  height: 190px;
  background: linear-gradient(135deg, #e6007e 0%, #6e00cc 100%);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}

.credit-card-mockup::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 80%);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  border-radius: 6px;
}

.card-brand-logo {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.card-number {
  font-size: 1.15rem;
  font-family: monospace;
  word-spacing: 4px;
  color: #fff;
  letter-spacing: 0.1em;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* --- Slide 8: Membresías --- */
.memberships-graphics {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.radial-progress-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radial-svg {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
  margin-bottom: 12px;
}

.radial-svg circle {
  fill: none;
  stroke-width: 8;
}

.radial-bg-circle {
  stroke: rgba(255, 255, 255, 0.05);
}

.radial-fill-circle {
  stroke: var(--accent-fuchsia);
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: calc(251 - (251 * var(--progress-pct, 80)) / 100);
  transition: stroke-dashoffset 1.5s ease-out;
}

.radial-progress-card.purple .radial-fill-circle {
  stroke: var(--accent-purple);
}

.progress-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.progress-card-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-fuchsia);
  margin-top: 4px;
}

.radial-progress-card.purple .progress-card-value {
  color: #b757ff;
}

/* --- Slide 9: Plataforma LatAm Ecosistema --- */
.ecosystem-diagram-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.ecosystem-diagram-container img {
  width: 100%;
  display: block;
}

/* --- Slide 10: Beneficios para tu negocio --- */
.benefits-dashboard {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
}

.benefit-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.kpi-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.kpi-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-list-clean {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item-clean {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-dot-clean {
  width: 8px;
  height: 8px;
  background: var(--accent-fuchsia);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-fuchsia);
}

/* --- Slide 11: Comparativa --- */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
  background: rgba(11, 31, 58, 0.9);
  font-family: var(--font-title);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td:nth-child(2) {
  font-weight: 700;
  color: #ff8ad0;
  background: rgba(230, 0, 126, 0.03);
}

.comparison-table td:nth-child(3) {
  color: var(--text-muted);
}

.check-icon {
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
}

.cross-icon {
  color: #ef4444;
  font-weight: bold;
  font-size: 1.1rem;
}

/* --- Slide 12: Call To Action & Form --- */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-fuchsia);
  box-shadow: 0 0 10px rgba(230, 0, 126, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
}

/* Custom Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 17, 32, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.success-modal.active {
  opacity: 1;
  pointer-events: all;
}

.success-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--accent-fuchsia);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(230, 0, 126, 0.2);
  transform: scale(0.85);
  transition: var(--transition-smooth);
}

.success-modal.active .success-modal-content {
  transform: scale(1);
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2.5rem;
}

.success-modal h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.success-modal p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(230, 0, 126, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(230, 0, 126, 0.7), 0 0 10px rgba(155, 0, 232, 0.5);
  }
}

.pulse-btn {
  animation: pulseGlow 2.5s infinite;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets and Laptops */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .slide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .slide-content {
    align-items: center;
  }
  
  .cta-btn {
    align-self: center;
  }
  
  body.presentation-mode .slide {
    padding: 6rem 5% 5rem 5%;
    overflow-y: auto;
  }
  
  .ideal-for-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .problem-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Small Tablets and Mobile Devices */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header {
    padding: 1rem 3%;
  }
  
  .header.scrolled {
    padding: 0.8rem 3%;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-actions {
    gap: 10px;
  }
  
  .cta-nav-btn {
    display: none; /* Hide secondary cta nav on small screens */
  }
  
  .slide-title {
    font-size: 2.2rem;
  }
  
  .ideal-for-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .memberships-graphics {
    flex-wrap: wrap;
  }
  
  .slider-controls {
    right: 50%;
    transform: translateX(50%);
    bottom: 1.5rem;
  }
  
  .keyboard-tip {
    display: none !important; /* Hide keyboard tips on mobile */
  }
  
  .indicator-dots {
    display: none !important; /* Hide pagination dots to avoid overlapping */
  }
  
  body.presentation-mode .slide {
    padding-bottom: 6rem; /* Extra spacing for control buttons on mobile */
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ideal-for-grid {
    grid-template-columns: 1fr;
  }
  
  .phone-mockup-wrapper {
    width: 280px;
    height: 520px;
  }
}
