/* ============================================
   MODO DE USO - MANUAL DE USUARIO
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-icon {
  font-size: 4.5rem;
  color: white;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.6s ease-out 0.2s backwards;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: slideInDown 0.8s ease-out;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out 0.4s backwards;
}

/* ============================================
   SELECTOR DE PERFIL
   ============================================ */
.profile-selector {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.6s ease-out;
  border-bottom: 3px solid #06b6d4;
}

.selector-wrapper {
  max-width: 550px;
  margin: 0 auto;
}

.selector-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.8rem;
  text-align: center;
}

.selector-label i {
  color: #06b6d4;
  margin-right: 0.6rem;
  font-size: 1.2rem;
}

.profile-select {
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.9rem 1.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-select:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.15);
  outline: none;
}

.profile-select:hover {
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25);
}

/* ============================================
   CONTENIDO MANUAL
   ============================================ */
.manual-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.manual-content.active {
  display: block;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0.02) 100%);
  border-radius: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.section-header i {
  font-size: 3.5rem;
  color: #06b6d4;
  margin-bottom: 1rem;
  display: block;
  animation: bounceIn 0.8s ease-out 0.2s backwards;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   PASOS DEL MANUAL
   ============================================ */
.manual-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  border: 2px solid transparent;
}

.manual-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
}

.manual-step:nth-child(1) { animation-delay: 0.1s; }
.manual-step:nth-child(2) { animation-delay: 0.2s; }
.manual-step:nth-child(3) { animation-delay: 0.3s; }
.manual-step:nth-child(4) { animation-delay: 0.4s; }
.manual-step:nth-child(5) { animation-delay: 0.5s; }
.manual-step:nth-child(6) { animation-delay: 0.6s; }

.step-number {
  min-width: 80px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  animation: bounceIn 0.6s ease-out backwards;
  transition: transform 0.3s ease;
}

.manual-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.step-number i {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.step-content h3 i {
  color: #06b6d4;
  font-size: 1.6rem;
}

.step-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ============================================
   MODO DE USO - MANUAL DE USUARIO
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-icon {
  font-size: 4.5rem;
  color: white;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.6s ease-out 0.2s backwards;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: slideInDown 0.8s ease-out;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out 0.4s backwards;
}

/* ============================================
   SELECTOR DE PERFIL
   ============================================ */
.profile-selector {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.6s ease-out;
  border-bottom: 3px solid #06b6d4;
}

.selector-wrapper {
  max-width: 550px;
  margin: 0 auto;
}

.selector-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.8rem;
  text-align: center;
}

.selector-label i {
  color: #06b6d4;
  margin-right: 0.6rem;
  font-size: 1.2rem;
}

.profile-select {
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.9rem 1.8rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-select:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.15);
  outline: none;
}

.profile-select:hover {
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25);
}

/* ============================================
   CONTENIDO MANUAL
   ============================================ */
.manual-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.manual-content.active {
  display: block;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(6, 182, 212, 0.02) 100%);
  border-radius: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.section-header i {
  font-size: 3.5rem;
  color: #06b6d4;
  margin-bottom: 1rem;
  display: block;
  animation: bounceIn 0.8s ease-out 0.2s backwards;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   PASOS DEL MANUAL
   ============================================ */
.manual-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  border: 2px solid transparent;
}

.manual-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
}

.manual-step:nth-child(1) { animation-delay: 0.1s; }
.manual-step:nth-child(2) { animation-delay: 0.2s; }
.manual-step:nth-child(3) { animation-delay: 0.3s; }
.manual-step:nth-child(4) { animation-delay: 0.4s; }
.manual-step:nth-child(5) { animation-delay: 0.5s; }
.manual-step:nth-child(6) { animation-delay: 0.6s; }

.step-number {
  min-width: 80px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  animation: bounceIn 0.6s ease-out backwards;
  transition: transform 0.3s ease;
}

.manual-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.step-number i {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.step-content h3 i {
  color: #06b6d4;
  font-size: 1.6rem;
}

.step-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ============================================
   IMÁGENES DEL MANUAL
   ============================================ */
.image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  animation: zoomIn 0.6s ease-out backwards;
  background: #f8fafc;
  max-width: 700px;
  margin: 0 auto;
}

.image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.25);
}

.manual-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.3s forwards;
}

.manual-image.loaded {
  opacity: 1;
}

.image-container:hover .manual-image {
  transform: scale(1.05);
}

.image-caption {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.image-caption i {
  font-size: 1.3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ============================================
   SECCIÓN DE VIDEOS
   ============================================ */
.videos-section {
  margin-top: 5rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.03) 0%, rgba(255,255,255,1) 100%);
  border-radius: 20px;
}

.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  border: 2px solid #e2e8f0;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
}

.col-md-6:nth-child(1) .video-card { animation-delay: 0.1s; }
.col-md-6:nth-child(2) .video-card { animation-delay: 0.2s; }
.col-md-6:nth-child(3) .video-card { animation-delay: 0.3s; }
.col-md-6:nth-child(4) .video-card { animation-delay: 0.4s; }

.video-header {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  padding: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.video-header i {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.video-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.video-card iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.video-description {
  padding: 1.5rem;
  background: white;
}

.video-description p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
  padding: 2rem 1rem;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(6, 182, 212, 0.2);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: shimmer 3s infinite;
}

footer p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-primary-custom {
  color: #06b6d4 !important;
}

.bg-primary-custom {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
}

.border-primary-custom {
  border-color: #06b6d4 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2.3rem;
  }

  .manual-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .step-content h3 {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-icon {
    font-size: 3.5rem;
  }

  .section-header {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  .section-header i {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  .manual-step {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .step-number {
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 2rem;
  }

  .step-content h3 {
    font-size: 1.5rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .videos-section {
    padding: 2rem 0;
    margin-top: 3rem;
  }

  .video-header {
    padding: 1.2rem;
  }

  .video-header h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .selector-wrapper {
    padding: 0 1rem;
  }

  .profile-select {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .manual-step {
    padding: 1.5rem 1rem;
  }

  .step-content h3 {
    font-size: 1.3rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .image-caption {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }

  .video-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================
   SCROLL SUAVE
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */
:focus {
  outline: 3px solid #06b6d4;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   OPTIMIZACIÓN DE RENDIMIENTO
   ============================================ */
.manual-image {
  will-change: transform;
}

.video-card {
  will-change: transform;
}

.manual-step {
  will-change: transform;
}