@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* {
  box-sizing: border-box;
}

/* ================== VARIABLES ================== */
:root {
  --bg-main: #0b0b0d;
  --bg-card: #141418;
  --bg-soft: #1c1c22;

  --accent: #b11226;
  --accent-light: #ff3b3b;
  --accent-glow: #b1122644;

  --text-main: #ffffff;
  --text-muted: #b3b3b3;

  --border: #2a2a30;
}

/* ================== RESET ================== */
* {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: #050507;
  color: #eaeaea;
  line-height: 1.6;
}

/* ================== HERO ================== */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at top, #2a0a0a, #050507);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.3rem;
  color: #aaa;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ================== BUTTONS ================== */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 20px 60px var(--accent-glow);
}

.cta-btn.ghost {
  border: 1px solid #333;
  color: #ccc;
  background: rgba(255,255,255,0.03);
  opacity: 0.7;
}

.cta-btn.small {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.cta-btn.ghost:hover {
  opacity: 1;
  box-shadow: none;
}

/* ================== VISUAL PROOF ================== */
.visual-proof {
  position: relative;
  padding: 6rem 8%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 400px;

  /* Imagen de fondo */
  background-image: url('mesociclos.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
}

/* Capa oscura para mejorar contraste texto */
.visual-proof .overlay {
  position: absolute;
  inset: 0;  /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 20px;
}

/* Contenido encima */
.visual-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  font-family: 'Arial', sans-serif;
}

.visual-content h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.visual-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: #ddd;
}

.cta-btn.primary.small {
  background-color: #ff0000;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-btn.primary.small:hover {
  background-color: #cc0000;
}

/* Responsive */
@media (max-width: 768px) {
  .visual-proof {
    min-height: 300px;
    padding: 3rem 5%;
    justify-content: center;
    text-align: center;
  }

  .visual-content {
    max-width: 100%;
  }
}

/* ================== FEATURES ================== */
.features {
  padding: 6rem 10%;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  background: #0e0e14;
  border: 1px solid #1a1a24;
  padding: 2rem;
  border-radius: 18px;
  transition: all 0.3s ease;
  background: #0c0c11;
  border-color: #161620;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px var(--accent-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px var(--accent-glow);
}

.feature h3 {
  margin-bottom: 0.6rem;
}

/* ================== HOW IT WORKS ================== */
.how-it-works {
  padding: 6rem 10%;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop: 3 columnas */
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  background: #0e0e14;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #1a1a24;
  transition: all 0.3s ease;
  text-align: center;
  width: auto;
}

.step:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.step span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  font-weight: 900;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  box-shadow: 0 0 30px var(--accent-glow);
}

.step img {
  width: 100%;
  max-width: 260px;   /* tamaño del mockup */
  height: auto;
  margin-bottom: 2rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}/* ================== HOW IT WORKS ================== */
.how-it-works {
  background: radial-gradient(circle at top, #240202, #000);
  padding: 6rem 2rem;
  color: #fff;
  text-align: center;
}

.how-it-works h2 {
  margin-bottom: 4rem;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.7));
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.step p {
  font-size: 0.95rem;
  color: #bcbcbc;
  line-height: 1.6;
}


/* ================== OUTCOMES ================== */
.outcomes {
  padding: 6rem 10%;
  background: radial-gradient(circle at top, #080808, #050507);
  text-align: center;
}

.outcomes-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.outcome-card {
  background: linear-gradient(180deg, #120b0f, #080406);
  border-radius: 22px;
  padding: 2.6rem;
  border: 1px solid #2a0f14;
  transition: all 0.35s ease;
  display: block;
  margin-top: 1.2rem;
  font-weight: 700;
  color: var(--accent-light);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.outcome-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(177,18,38,0.3);
}

.outcome-card p {
  color: #b5aeb2;
}

.imagen-seccion {
  width: 100%;
  max-width: 100vw; /* no superar el ancho de la ventana */
  overflow: hidden; /* evita scroll si algo se desborda */
  display: flex;
  justify-content: center; /* centrar imagen horizontalmente */
}

.imagen-seccion img {
  width: 100%;       /* ocupa todo el ancho del contenedor */
  height: auto;      /* mantiene proporción */
  max-width: 100%;   /* no crece más que su tamaño nativo */
  display: block;    /* elimina espacio blanco debajo */
  object-fit: contain; /* evita deformar, ajusta imagen */
}

/* ================== PRICING ================== */
.pricing {
  padding: 7rem 10%;
  background: #050507;
  text-align: center;
}

.pricing h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.pricing-sub {
  color: #aaa;
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1200px; /* antes era 900px */
  margin: auto;
}

.pricing-card {
  background: #0e0e14;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  border: 1px solid #1a1a24;
  transition: all 0.35s ease;
}

.pricing-card.pro {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(177,18,38,0.25);
  transform: translateY(-8px);
}

.pricing-card.pro::before {
  content: "RECOMENDADO";
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--accent-light);
}

.pricing-card.free {
  opacity: 0.85;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 1rem 0;
}

.plan-desc {
  color: #aaa;
  margin-bottom: 1.8rem;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pricing-card li {
  margin-bottom: 0.6rem;
}

.microcopy {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
}

/* ================== FOOTER ================== */
.site-footer {
  padding: 4rem 8% 2rem;
  border-top: 1px solid #2a0f14;
  background: #030305;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  color: #9a8a8f;
  text-decoration: none;
  margin-left: 1rem;
}

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

.footer-copy {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: #6f5a60;
}

/* ================== FAQ ================== */
.faq {
  padding: 4rem 2rem;
  background-color: #0b0b0b;
  text-align: center;
  color: #fff;
}

.faq h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #ffffff;
  font-weight: 700;
}

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

/* Card */
.faq-card {
  background: #121212;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.faq-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #ff3b3b; /* resalta la pregunta */
}

.faq-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ================== RESPONSIVE ================== */
@media (max-width: 900px) {
  .visual-proof {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pricing-card.pro {
    transform: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 6rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .imagen-seccion {
    height: auto;
    min-height: 70svh;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr; /* apila los pasos verticalmente */
    gap: 3.5rem;                /* espacio entre pasos */
  }

  .step img {
    max-width: 220px;           /* tamaño más pequeño para móvil */
    margin: 0 auto;             /* centrado */
  }
}

.plan-view {
  padding: 4rem 10%;
  text-align: center;
  background: var(--bg-soft);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 800px;
  color: #fff;
}
