/* =========================================================
   index.css - Estilos principales del landing de Chillit Pay
   Diseñado con atención al detalle y efectos orgánicos
   ========================================================= */

:root {
  /* =========================
     PALETA DE COLORES
  =========================== */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #eef2ff;
  --primary-soft: #f0f4ff;
  --secondary: #3a0ca3;
  --accent: #f72585;
  --accent-light: #fce4ec;
  --success: #06d6a0;
  --success-dark: #05b888;
  --warning: #ffd166;
  --danger: #ef476f;

  /* Escala de grises con personalidad */
  --ink: #0f172a;
  --slate: #1e293b;
  --stone: #475569;
  --smoke: #64748b;
  --cloud: #94a3b8;
  --mist: #cbd5e1;
  --snow: #f1f5f9;
  --pure-white: #ffffff;

  /* =========================
     SOMBRAS
  =========================== */
  --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-regular: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 10px 40px rgba(15, 23, 42, 0.12);
  --shadow-bold: 0 20px 60px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 40px rgba(67, 97, 238, 0.15);

  /* =========================
     RADIOS
  =========================== */
  --radius-tight: 8px;
  --radius-smooth: 12px;
  --radius-pill: 50px;
  --radius-card: 16px;
  --radius-modern: 20px;
  --radius-rounded: 24px;

  /* =========================
     TRANSICIONES
  =========================== */
  --transition-brisk: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-flowing: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* =========================
     GRADIENTES
  =========================== */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ff6b9d 100%);
  --gradient-success: linear-gradient(135deg, var(--success) 0%, #05b888 100%);
  --gradient-surface: linear-gradient(135deg, var(--pure-white) 0%, var(--primary-soft) 100%);
  --gradient-dark: linear-gradient(135deg, var(--slate) 0%, var(--ink) 100%);
}

/* =========================
   RESET Y ESTILOS BASE
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #eef2ff 100%);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

::selection {
  background: rgba(67, 97, 238, 0.2);
  color: var(--ink);
}

/* =========================
   CONTENEDOR PRINCIPAL
========================== */
.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
}

/* Línea decorativa sutil */
.container-main::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.1;
  z-index: -1;
}

/* =========================
   HERO SECTION
========================== */
.hero-section {
  background: var(--gradient-surface);
  border-radius: var(--radius-rounded);
  padding: 50px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-regular);
  border: 1px solid rgba(67, 97, 238, 0.08);
  transition: var(--transition-smooth);
}

.hero-section:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

/* Elementos decorativos orgánicos */
.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(247, 37, 133, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Logo Badge con efecto de luz */
.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--pure-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(67, 97, 238, 0.35);
}

.logo-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.logo-badge:hover::before {
  left: 100%;
}

/* Título con subrayado decorativo */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.8;
}

/* Subtítulo con buen espaciado */
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--stone);
  max-width: 600px;
  margin-bottom: 35px;
  line-height: 1.7;
  font-weight: 400;
}

/* Botón CTA con efecto de brillo */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--pure-white);
  border: none;
  padding: 15px 30px;
  border-radius: var(--radius-smooth);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition-flowing);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.25);
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(67, 97, 238, 0.35);
  color: var(--pure-white);
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

/* =========================
   TIMELINE STEPS
========================== */
.steps-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;
  padding: 0 30px;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg,
    var(--primary) 0%,
    color-mix(in srgb, var(--primary) 60%, transparent) 50%,
    rgba(67, 97, 238, 0.1) 100%);
  z-index: 0;
  border-radius: 3px;
}

/* Paso individual con efectos de hover */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  transition: var(--transition-flowing);
}

.step:hover {
  transform: translateY(-8px);
}

.step-icon-container {
  position: relative;
  margin-bottom: 20px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  box-shadow: var(--shadow-elevated);
  border: 3px solid var(--pure-white);
  transition: var(--transition-flowing);
  position: relative;
  z-index: 2;
}

.step.active .step-icon {
  background: var(--gradient-primary);
  color: var(--pure-white);
  transform: scale(1.15);
  box-shadow: var(--shadow-glow);
}

/* Anillo decorativo alrededor del icono */
.step-icon-container::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: var(--transition-smooth);
}

.step:hover .step-icon-container::before {
  opacity: 0.2;
  transform: scale(1.1);
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gradient-accent);
  color: var(--pure-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
  z-index: 3;
}

.step-title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
  transition: var(--transition-smooth);
}

.step:hover .step-title {
  color: var(--primary);
}

.step-desc {
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  max-width: 200px;
  line-height: 1.5;
}

/* =========================
   FEATURE CARDS
========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-card {
  background: var(--pure-white);
  border-radius: var(--radius-modern);
  overflow: hidden;
  box-shadow: var(--shadow-regular);
  transition: var(--transition-flowing);
  height: 100%;
  border: 1px solid rgba(67, 97, 238, 0.08);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-bold);
}

/* Header de la feature card */
.feature-header {
  padding: 35px 30px 0;
  position: relative;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.feature-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.feature-badge:hover::before {
  left: 100%;
}

.feature-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 15px;
  line-height: 1.3;
  position: relative;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.7;
}

.feature-desc {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Body de la feature card */
.feature-body {
  padding: 25px 30px;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.requirements-list li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--stone);
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-brisk);
}

.requirements-list li:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list li i {
  color: var(--success);
  margin-top: 3px;
  font-size: 14px;
  transition: var(--transition-brisk);
}

.requirements-list li:hover i {
  transform: scale(1.2);
}

.feature-benefits {
  background: var(--snow);
  padding: 18px;
  border-radius: var(--radius-smooth);
  margin-top: 25px;
  border: 1px solid rgba(67, 97, 238, 0.1);
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pure-white);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin: 4px;
  border: 1px solid rgba(67, 97, 238, 0.15);
  transition: var(--transition-brisk);
}

.benefit-tag:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.1);
}

/* Footer de la feature card */
.feature-footer {
  padding: 0 30px 35px;
}

.btn-secondary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 16px 32px;
  border-radius: var(--radius-smooth);
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  transition: var(--transition-flowing);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
  color: var(--primary);
}

.btn-secondary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
  transition: left 0.7s ease;
}

.btn-secondary-custom:hover::before {
  left: 100%;
}

/* =========================
   TIPS SECTION
========================== */
.tips-card {
  background: linear-gradient(135deg, #fff8e6 0%, #fff0cc 100%);
  border-radius: var(--radius-modern);
  padding: 40px;
  margin: 50px 0;
  border-left: 6px solid var(--warning);
  box-shadow: var(--shadow-regular);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.tips-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.tips-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tips-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tips-icon {
  width: 60px;
  height: 60px;
  background: var(--pure-white);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--warning);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.3);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.tips-card:hover .tips-icon {
  transform: rotate(15deg) scale(1.1);
}

.tips-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tip-item {
  background: var(--pure-white);
  padding: 25px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-flowing);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.tip-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.tip-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tip-item:hover::before {
  opacity: 1;
}

.tip-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}

.tip-desc {
  color: var(--stone);
  font-size: 14px;
  line-height: 1.6;
}

/* Iconos de tips */
.tip-icon-primary { color: var(--primary); }
.tip-icon-accent { color: var(--accent); }
.tip-icon-success { color: var(--success); }
.tip-icon-warning { color: var(--warning); }

/* =========================
   FAQ SECTION
========================== */
.faq-section {
  background: var(--pure-white);
  border-radius: var(--radius-modern);
  padding: 50px 40px;
  margin: 50px 0;
  box-shadow: var(--shadow-regular);
  position: relative;
  overflow: hidden;
}

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

.faq-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: var(--ink);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.3;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 22px 0;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  font-size: 17px;
}

.faq-question:hover {
  color: var(--primary);
  padding-left: 10px;
}

.faq-question i {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  color: var(--primary);
}

.faq-question.active i {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--stone);
  line-height: 1.7;
  padding: 0 20px 0 0;
}

.faq-answer.active {
  max-height: 500px;
  padding-bottom: 25px;
}

/* =========================
   FOOTER
========================== */
.footer {
  background: var(--pure-white);
  border-radius: var(--radius-rounded);
  padding: 50px 40px;
  margin-top: 60px;
  box-shadow: var(--shadow-regular);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 97, 238, 0.08);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.25);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.footer-logo:hover {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 12px 35px rgba(67, 97, 238, 0.35);
}

.footer h4 {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  font-size: 1.5rem;
}

.footer-subtitle {
  color: var(--stone);
  font-size: 14px;
  margin-top: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 25px;
}

.footer-links a {
  color: var(--stone);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  font-size: 15px;
  position: relative;
  padding: 5px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-contact {
  background: var(--snow);
  padding: 25px;
  border-radius: var(--radius-card);
  margin-top: 30px;
  border: 1px solid rgba(67, 97, 238, 0.1);
  transition: var(--transition-smooth);
}

.footer-contact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-regular);
}

.footer-head {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-support {
  color: var(--stone);
  font-size: 14px;
  margin: 0;
}

.footer-contact-info {
  color: var(--stone);
  font-size: 14px;
  margin: 0;
  line-height: 1.8;
}

.footer-copyright {
  color: var(--stone);
  font-size: 14px;
  margin: 0;
}

/* =========================
   UTILITARIOS
========================== */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-badge-success {
  background: rgba(6, 214, 160, 0.1) !important;
  color: #06d6a0 !important;
}

.btn-primary-success {
  background: linear-gradient(135deg, #06d6a0 0%, #05b888 100%) !important;
  color: var(--pure-white) !important;
}

.btn-primary-success:hover {
  background: linear-gradient(135deg, #05b888 0%, #049a72 100%) !important;
  color: var(--pure-white) !important;
}

/* =========================
   ANIMACIONES
========================== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(67, 97, 238, 0.2); }
  50% { box-shadow: 0 0 40px rgba(67, 97, 238, 0.4); }
}

/* Aplicar animaciones */
.fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

.logo-badge:hover {
  animation: float 1.5s ease-in-out infinite;
}

/* Efecto de brillo en botones */
.btn-primary-custom {
  background-size: 200% auto;
}

.btn-primary-custom:hover {
  animation: shimmer 2s linear infinite;
}

/* =========================
   SCROLLBAR
========================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--snow);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
  border: 2px solid var(--snow);
  transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* =========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .steps-timeline {
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
  }

  .timeline-line {
    display: none;
  }

  .step {
    width: 100%;
    padding: 20px;
    background: var(--pure-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
  }

  .step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-regular);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container-main {
    padding: 20px 15px;
  }

  .hero-section {
    padding: 35px 25px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .feature-card,
  .faq-section,
  .footer {
    padding: 30px 25px;
  }

  .tips-card {
    padding: 30px;
  }

  .footer-links {
    gap: 15px;
    justify-content: center;
  }

  .footer-links a {
    padding: 8px 15px;
    background: var(--snow);
    border-radius: var(--radius-smooth);
  }

  .footer-links a::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .feature-header,
  .feature-body,
  .feature-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 14px 20px;
    font-size: 15px;
  }

  .tips-card {
    padding: 25px 20px;
  }

  .faq-section {
    padding: 30px 20px;
  }

  .footer {
    padding: 30px 20px;
  }
}

/* =========================
   ESTILOS DE TEXTO MEJORADOS
========================== */
h1, h2, h3, h4, h5, h6 {
  text-rendering: optimizeLegibility;
  letter-spacing: -0.02em;
}

p, li, .faq-answer, .feature-desc {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Estilo para código inline */
code {
  background: rgba(67, 97, 238, 0.1);
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--primary);
}

/* Transiciones globales para elementos interactivos */
a, button, .feature-card, .tip-item, .faq-question {
  transition: var(--transition-smooth);
}

/* Clase para el efecto de carga */
.loading-pulse {
  animation: pulseGlow 2s ease-in-out infinite;
}