* { 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(145,70,255,0.12) 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;
}

/* 3 tool icons in hero */
.hero-tools-icons {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 2rem;
}
.tool-icon {
  width: 80px; height: 80px;
  border-radius: 18px; object-fit: cover;
  border: 2px solid rgba(145,70,255,0.25);
  box-shadow: 0 0 20px rgba(145,70,255,0.2);
  animation: iconFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
  filter: brightness(1.05);
}
.tool-icon.main-icon {
  width: 110px; height: 110px;
  border-radius: 22px;
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 30px rgba(0,229,255,0.25), 0 0 60px rgba(145,70,255,0.15);
  animation-delay: -1s;
}
.tool-icon:nth-child(1) { animation-delay: -0.5s; }
.tool-icon:nth-child(3) { animation-delay: -1.5s; }
.tool-icon:hover { transform: scale(1.1); box-shadow: 0 0 30px rgba(145,70,255,0.5); }

@keyframes iconFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-badge-pill {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,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-hero {
  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-hero .texto {
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.titulo-hero .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: 640px; 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.twitch  { background: rgba(145,70,255,0.15); border-color: #9146ff; color: #9146ff; }
.badge.tiktok  { background: rgba(255,0,80,0.12);   border-color: #ff0050; color: #ff0050; }
.badge.kick    { background: rgba(83,252,24,0.12);   border-color: #53fc18; color: #53fc18; }
.badge.youtube { background: rgba(255,0,0,0.12);     border-color: #ff0000; color: #ff4444; }

/* CTA Button */
.btn-abrir {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.1rem 2.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 800; font-size: 1.1rem;
  text-decoration: none; border-radius: 50px;
  box-shadow: 0 10px 35px rgba(145,70,255,0.4);
  transition: all 0.3s ease;
  animation: ctaGlow 3s ease-in-out infinite;
  margin-bottom: 0.9rem;
}
.btn-abrir:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(145,70,255,0.6);
}
@keyframes ctaGlow {
  0%,100% { box-shadow: 0 10px 35px rgba(145,70,255,0.4); }
  50%      { box-shadow: 0 10px 50px rgba(145,70,255,0.7); }
}
.hero-nota {
  font-size: 0.82rem; color: var(--text-muted); margin: 0 !important;
}

/* Hero buttons row */
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-bottom: 0.9rem;
}

/* Botón video en hero */
.btn-video-hero {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, #cc0000, #ff0000);
  color: white; font-weight: 700; font-size: 1rem;
  border: none; border-radius: 50px; cursor: pointer;
  box-shadow: 0 8px 25px rgba(255,0,0,0.25);
  transition: all 0.3s ease;
}
.btn-video-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(255,0,0,0.4); }

/* Modal */
.modal {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(12px);
  justify-content: center; align-items: center;
}
.modal-content {
  background: var(--card-bg); padding: 3rem;
  border: 1px solid rgba(145,70,255,0.3); border-radius: 20px;
  max-width: 900px; width: 90%; color: white; position: relative;
  box-shadow: 0 20px 60px rgba(145,70,255,0.25);
  animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-content h2 { color: var(--accent); margin-bottom: 2rem; font-size: 1.8rem; text-align: center; }
.close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.8rem; color: var(--text-muted); cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,0.05); transition: all 0.2s;
}
.close:hover { color: #ff4466; background: rgba(255,255,255,0.1); }
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: 12px;
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none; border-radius: 12px;
}

@media (max-width: 768px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-video-hero { justify-content: center; }
}

/* ── 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; }

/* ── HERRAMIENTAS SECTION ── */
.herramientas-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; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}
.tool-card::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;
}
.tool-card:hover::after { opacity: 0.05; }
.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(145,70,255,0.4);
  box-shadow: 0 20px 50px rgba(145,70,255,0.18);
}
.tool-card.featured {
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 8px 30px rgba(0,229,255,0.08);
}
.tool-card.featured:hover {
  border-color: rgba(0,229,255,0.5);
  box-shadow: 0 20px 50px rgba(0,229,255,0.2);
}

/* Card header strip */
.tool-card-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.chat-header    { background: linear-gradient(135deg, rgba(145,70,255,0.1), transparent); }
.timer-header   { background: linear-gradient(135deg, rgba(0,229,255,0.1), transparent); }
.overlay-header { background: linear-gradient(135deg, rgba(255,0,0,0.06), transparent); }

.tool-card-img {
  width: 52px; height: 52px;
  border-radius: 12px; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.tool-card-title {
  display: flex; align-items: center; gap: 0.5rem;
}
.tool-emoji { font-size: 1.3rem; }
.tool-card-title h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); }

.tool-card > p {
  padding: 1rem 1.5rem 0.5rem;
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.6;
}
.tool-features {
  list-style: none; padding: 0.5rem 1.5rem 1rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.tool-features li { font-size: 0.88rem; color: var(--text-muted); }

.tool-platforms {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0 1.5rem 1.5rem;
}
.tp {
  padding: 0.2rem 0.7rem; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; border: 1px solid;
}
.tp.twitch  { background: rgba(145,70,255,0.1); border-color: rgba(145,70,255,0.4); color: #9146ff; }
.tp.tiktok  { background: rgba(255,0,80,0.08);  border-color: rgba(255,0,80,0.4);   color: #ff0050; }
.tp.kick    { background: rgba(83,252,24,0.08);  border-color: rgba(83,252,24,0.4);  color: #53fc18; }
.tp.youtube { background: rgba(255,0,0,0.08);    border-color: rgba(255,0,0,0.4);    color: #ff4444; }

/* ── CÓMO USAR ── */
.como-usar-section {
  position: relative; z-index: 1;
  padding: 4rem 2rem;
  background: var(--dark);
}
.pasos {
  max-width: 750px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.paso {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 1.6rem 2rem;
  display: flex; align-items: center; gap: 1.6rem;
  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.12);
}
.paso-numero {
  position: relative; z-index: 1;
  min-width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; flex-shrink: 0;
  box-shadow: 0 5px 18px rgba(145,70,255,0.4);
}
.paso-contenido { position: relative; z-index: 1; }
.paso-contenido h3 { color: var(--accent); margin-bottom: 0.3rem; font-size: 1.1rem; font-weight: 700; }
.paso-contenido p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }
.paso-contenido strong { color: var(--text); }

/* ── CTA FINAL ── */
.cta-section {
  position: relative; z-index: 1;
  padding: 5rem 2rem;
  background: radial-gradient(ellipse at center, #1a0a2e 0%, var(--dark) 70%);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-badge {
  display: inline-block; padding: 0.35rem 1.1rem;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  color: var(--accent); margin-bottom: 1.2rem; letter-spacing: 0.5px;
}
.cta-inner h2 {
  font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-inner > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.btn-cta-final {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.1rem 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; border-radius: 50px;
  box-shadow: 0 10px 35px rgba(145,70,255,0.4);
  transition: all 0.3s ease; margin-bottom: 1rem;
}
.btn-cta-final:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(145,70,255,0.6);
}
.cta-nota { font-size: 0.82rem; color: var(--text-muted); }

/* ── 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; }
  .tool-icon { width: 60px; height: 60px; }
  .tool-icon.main-icon { width: 80px; height: 80px; }
  .tools-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); }
  .paso { flex-direction: column; text-align: center; gap: 1rem; padding: 1.4rem; }
  .paso:hover { transform: none; }
  .btn-abrir, .btn-cta-final { width: 100%; justify-content: center; }
}
