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

:root {
  --primary: #9146ff;
  --secondary: #c84bff;
  --accent: #00e5ff;
  --dark: #0b0b0f;
  --dark-light: #141419;
  --card-bg: #1a1a24;
  --text: #efeff1;
  --text-muted: #9a9ab0;
  --border: rgba(255,255,255,0.07);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark); color: var(--text);
  overflow-x: hidden; line-height: 1.6;
}

.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--primary); opacity: 0.07;
  animation: float 15s infinite ease-in-out;
}
@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  33%      { transform: translateY(-30px) translateX(20px); }
  66%      { transform: translateY(20px) translateX(-20px); }
}

/* ── VOLVER ── */
.volver-inicio {
  position: fixed; top: 1.5rem; left: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: rgba(145,70,255,0.1); border: 1px solid rgba(145,70,255,0.3);
  color: var(--primary); text-decoration: none;
  border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  backdrop-filter: blur(10px); transition: all 0.3s ease; z-index: 100;
}
.volver-inicio:hover { background: rgba(145,70,255,0.2); transform: translateX(-5px); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(ellipse at top, #1a0a2e 0%, var(--dark) 70%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(255,0,0,0.1) 0%, transparent 65%);
  animation: pulse 8s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  max-width: 820px; margin: 0 auto;
}

.hero-logo {
  width: 160px; height: 160px;
  border-radius: 50%; object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(255,0,0,0.25);
  box-shadow: 0 0 40px rgba(255,0,0,0.3), 0 0 80px rgba(145,70,255,0.15);
  animation: logoFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
}
.hero-logo:hover { transform: scale(1.08) !important; box-shadow: 0 0 60px rgba(255,0,0,0.5); }
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-badge-pill {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: rgba(145,70,255,0.12); border: 1px solid rgba(145,70,255,0.3);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1.2rem; letter-spacing: 0.5px;
}

.titulo-down {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; margin-bottom: 1rem;
}
.titulo-down .texto {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.titulo-down .icono {
  color: var(--accent) !important; -webkit-text-fill-color: initial !important;
  filter: drop-shadow(0 0 10px rgba(0,229,255,0.6));
}

.hero-inner > p {
  font-size: clamp(1rem,2vw,1.15rem); color: var(--text-muted);
  max-width: 600px; margin-bottom: 1.8rem;
}

/* Platform badges */
.plataformas-badges {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  justify-content: center; margin-bottom: 2rem;
}
.badge {
  padding: 0.4rem 1rem; border-radius: 50px; font-weight: 600;
  font-size: 0.85rem; border: 1px solid; backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}
.badge:hover { transform: translateY(-2px); }
.badge.youtube  { background: rgba(255,0,0,0.12);    border-color: #ff0000; color: #ff4444; }
.badge.facebook { background: rgba(24,119,242,0.12); border-color: #1877f2; color: #5599ff; }
.badge.instagram { background: rgba(225,48,108,0.12); border-color: #e1306c; color: #e1306c; }
.badge.tiktok   { background: rgba(255,0,80,0.12);   border-color: #ff0050; color: #ff0050; }
.badge.twitter  { background: rgba(29,155,240,0.12); border-color: #1d9bf0; color: #1d9bf0; }

/* Buttons */
.botones {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.btn {
  padding: 0.9rem 2rem; font-weight: 700; font-size: 0.95rem;
  border: none; border-radius: 50px; cursor: pointer;
  transition: all 0.3s ease; display: inline-flex;
  align-items: center; gap: 0.5rem; text-decoration: none; color: white;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 25px rgba(145,70,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(145,70,255,0.5); }
.btn-video {
  background: linear-gradient(135deg, #cc0000, #ff0000);
  box-shadow: 0 8px 25px rgba(255,0,0,0.25);
}
.btn-video:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(255,0,0,0.4); }

/* ── STATS BAR ── */
.stats-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4,1fr);
  background: linear-gradient(135deg, rgba(145,70,255,0.07), rgba(0,229,255,0.04));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.2rem 1rem; border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 0.2rem; }

/* ── CARACTERÍSTICAS ── */
.caracteristicas-section {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  background: var(--dark-light);
}
.sec-header { text-align: center; margin-bottom: 2.5rem; }
.sec-titulo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 800; margin-bottom: 0.5rem;
}
.sec-titulo .texto {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sec-titulo .icono { color: var(--accent) !important; -webkit-text-fill-color: initial !important; }
.sec-sub { color: var(--text-muted); font-size: 1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
}
.feature::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.feature:hover::after { opacity: 0.07; }
.feature:hover {
  transform: translateY(-8px);
  border-color: rgba(145,70,255,0.4);
  box-shadow: 0 20px 50px rgba(145,70,255,0.2);
}
.card-icon {
  font-size: 2.2rem; margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.4));
}
.feature h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.feature p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── CÓMO USAR ── */
.como-usar {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  background: var(--dark);
}

.pasos {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.paso {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 1.8rem 2rem;
  display: flex; align-items: center; gap: 1.8rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.paso::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0; transition: opacity 0.3s;
}
.paso:hover::before { opacity: 0.05; }
.paso:hover {
  transform: translateX(8px);
  border-color: rgba(145,70,255,0.35);
  box-shadow: 0 10px 30px rgba(145,70,255,0.15);
}
.paso-numero {
  position: relative; z-index: 1;
  min-width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900;
  box-shadow: 0 5px 20px rgba(145,70,255,0.4);
  flex-shrink: 0;
}
.paso-contenido { position: relative; z-index: 1; }
.paso-contenido h3 {
  color: var(--accent); margin-bottom: 0.4rem; font-size: 1.15rem; font-weight: 700;
}
.paso-contenido p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── ADVERTENCIA ── */
.advertencia-section {
  position: relative; z-index: 1;
  padding: 0 2rem 4rem;
  background: var(--dark);
}
.advertencia {
  max-width: 800px; margin: 0 auto;
  padding: 2rem 2.5rem;
  background: rgba(255,193,7,0.06);
  border: 1px solid rgba(255,193,7,0.25);
  border-left: 4px solid #FFC107;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.advertencia h3 {
  color: #FFC107; font-size: 1.3rem; font-weight: 800;
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.advertencia > p {
  color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem;
}
.advertencia-lista {
  list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
}
.advertencia-lista li {
  color: var(--text-muted); font-size: 0.93rem;
  padding-left: 1.4rem; position: relative;
}
.advertencia-lista li::before {
  content: '•';
  position: absolute; left: 0;
  color: #FFC107; font-weight: 700;
}

/* ── FOOTER ── */
.footer {
  text-align: center; padding: 2.5rem 2rem;
  background: var(--card-bg); border-top: 1px solid var(--border);
}
.footer p   { color: var(--text-muted); margin: 0.4rem 0; font-size: 0.9rem; }
.footer a   { color: var(--primary); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--accent); }

/* Toast */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--card-bg); color: white;
  padding: 1.2rem 2rem; border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(145,70,255,0.3);
  z-index: 9999; opacity: 0; transition: opacity 0.5s ease; max-width: 350px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .volver-inicio { top: 1rem; left: 1rem; padding: 0.5rem 1rem; font-size: 0.82rem; }
  .hero { padding: 6rem 1.2rem 3rem; }
  .hero-logo { width: 120px; height: 120px; }
  .botones { flex-direction: column; align-items: stretch; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .plataformas-badges { gap: 0.5rem; }
  .paso { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
  .paso:hover { transform: none; }
}
