/* Ajustes públicos EarVu (reutiliza home.css + plans.css) */

.evu-public-hero {
  padding-top: 3.5rem;
}

.evu-public-section {
  position: relative;
}

/* 5 pasos en desktop (colapsa a 1 columna por el media query de home.css si hace falta) */
.evu-flow-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 2.2rem;
}

@media (max-width: 1100px) {
  .evu-flow-5 {
    grid-template-columns: 1fr;
  }
}

/* 4 cards */
.evu-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .evu-grid-4 {
    grid-template-columns: 1fr;
  }
}

.evu-beta-note p {
  font-style: normal;
  opacity: 0.85;
}

.evu-public-cta {
  margin-bottom: 3rem;
}

.evu-public-cta-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.6rem 0;
  text-align: center;
}

.evu-public-cta-subtitle {
  margin: 0 auto 1.3rem auto;
  max-width: 760px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.evu-public-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* HOW IT WORKS — HERO */

.hiw-hero{
  position: relative;
  height: 85vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hiw-hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.90;
}

.hiw-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,12,22,0.55),
    rgba(8,12,22,0.75)
  );
}

.hiw-hero-inner{
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hiw-hero h1{
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: #ffffff;
  margin: 0 0 1.2rem 0;
  font-weight: 800;
}

.hiw-hero-sub{
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto 2.2rem auto;
  max-width: 720px;
}

.hiw-hero-flow{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.hiw-hero-flow .dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(90deg,#8fb9ff,#a9f0c8);
  opacity: 0.9;
}

/* HOW IT WORKS — FLOW */

.hiw-flow{
  padding: 6rem 2rem 7rem;
  background: linear-gradient(
    180deg,
    rgba(8,12,22,1),
    rgba(8,12,22,0.96)
  );
}

.hiw-flow-inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hiw-flow h2{
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4rem;
}

.hiw-flow-line{
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.hiw-flow-line::before{
  content:"";
  position:absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #f28c2f 0%,     /* naranja */
    #f2c94c 25%,    /* amarillo */
    #6fcf97 55%,    /* verde */
    #56ccf2 75%,    /* azul claro */
    #2f80ed 100%    /* azul profundo */
  );
  border-radius: 2px;
  opacity: 0.9;
  z-index: 0;
  box-shadow: 0 0 14px rgba(86,204,242,0.35);
}

.hiw-node{
  position: relative;
  z-index: 1;
  text-align: center;
}

.hiw-node-circle{
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  background: radial-gradient(circle, rgba(143,180,255,0.15), rgba(8,12,22,0.9));
  box-shadow: 0 0 25px rgba(143,180,255,0.25);
  color: #ffffff;
}

.hiw-node h3{
  color: #ffffff;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.hiw-node p{
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* Responsive */

@media (max-width: 1100px){
  .hiw-flow-line{
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hiw-flow-line::before{
    display: none;
  }
}

/* HOW IT WORKS — TRANSFORMATION */

.hiw-transform{
  padding: 7rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(8,12,22,0.96),
    rgba(8,12,22,1)
  );
}

.hiw-transform-inner{
  max-width: 1200px;
  margin: 0 auto;
}

.hiw-transform h2{
  text-align: center;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4rem;
}

.hiw-transform-grid{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
}

.hiw-raw,
.hiw-structured{
  background:
    radial-gradient(140% 140% at 10% 0%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border-radius: 22px;
  padding: 2rem;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

.hiw-raw h3,
.hiw-structured h3{
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hiw-raw-chat p{
  background: rgba(255,255,255,0.05);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.hiw-arrow{
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #f28c2f,
    #f2c94c,
    #6fcf97,
    #56ccf2,
    #2f80ed
  );
  border-radius: 2px;
}

.hiw-structured-card{
  background: rgba(255,255,255,0.04);
  padding: 1.5rem;
  border-radius: 16px;
}

.hiw-structured-title{
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.hiw-structured-summary{
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
}

.hiw-structured ul{
  padding-left: 1rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.hiw-structured-status{
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(111,207,151,0.2);
  color: #6fcf97;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Responsive */

@media (max-width: 1000px){
  .hiw-transform-grid{
    grid-template-columns: 1fr;
  }

  .hiw-arrow{
    display: none;
  }
}


/* HOW IT WORKS — CONTROL */

.hiw-control{
  position: relative;
  padding: 7rem 2rem 8rem;
  overflow: hidden;
}

.hiw-control-bg{
  position: absolute;
  inset: 0;
  background-image: url("/static/img/hiw-controls.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.40;
  filter: blur(1px);
  z-index: 0;
}

.hiw-control-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,12,22,0.65),
    rgba(8,12,22,0.85)
  );
  z-index: 0;
}

.hiw-control-inner{
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hiw-control-inner{
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hiw-control-inner{
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hiw-control h2{
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.hiw-control-sub{
  color: rgba(255,255,255,0.75);
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.6;
}

.hiw-states{
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hiw-state{
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.hiw-state-ready{
  background: rgba(242,201,76,0.15);
  color: #f2c94c;
  box-shadow: inset 0 0 0 1px rgba(242,201,76,0.4);
}

.hiw-state-published{
  background: rgba(111,207,151,0.15);
  color: #6fcf97;
  box-shadow: inset 0 0 0 1px rgba(111,207,151,0.4);
}

.hiw-generate-note{
  margin-top: 3rem;
  font-weight: 600;
  color: #ffffff;
}


/* HOW IT WORKS — LOOP PREMIUM */

.hiw-loop{
  padding: 9rem 2rem;
  background:
    radial-gradient(circle at center, rgba(79,140,255,0.08), transparent 70%),
    linear-gradient(180deg, rgba(8,12,22,1), rgba(8,12,22,0.98));
  text-align:center;
}

.hiw-loop-inner{
  max-width: 900px;
  margin: 0 auto;
}

.hiw-loop h2{
  color:#ffffff;
  font-size: clamp(1.9rem,3vw,2.5rem);
  margin-bottom:5rem;
}

.hiw-loop-system{
  position:relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
}

.hiw-loop-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border:2px solid transparent;
  background:
    linear-gradient(#0a0f1e,#0a0f1e) padding-box,
    linear-gradient(
      45deg,
      #f28c2f,
      #f2c94c,
      #6fcf97,
      #56ccf2,
      #2f80ed
    ) border-box;
  opacity:0.9;
}

.hiw-loop-node{
  position:absolute;
  padding:0.7rem 1.2rem;
  background:rgba(255,255,255,0.04);
  border-radius:999px;
  font-size:0.85rem;
  color:rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 20px rgba(86,204,242,0.08);
  transition: transform 0.3s ease;
}

.hiw-loop-node:hover{
  transform: translateY(-4px);
}

.hiw-loop-top{
  top:-20px;
  left:50%;
  transform:translateX(-50%);
}

.hiw-loop-right{
  right:-20px;
  top:50%;
  transform:translateY(-50%);
}

.hiw-loop-bottom{
  bottom:-20px;
  left:50%;
  transform:translateX(-50%);
}

.hiw-loop-left{
  left:-20px;
  top:50%;
  transform:translateY(-50%);
}

.hiw-loop-center{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  max-width:220px;
  color:#ffffff;
  font-weight:600;
  font-size:1rem;
  line-height:1.4;
}

/* Responsive */

@media (max-width: 900px){
  .hiw-loop-system{
    width: 320px;
    height: 320px;
  }

  .hiw-loop-node{
    font-size:0.75rem;
    padding:0.6rem 1rem;
  }
}

/* HOW IT WORKS — CTA */

.hiw-cta{
  padding: 9rem 2rem 10rem;
  background:
    radial-gradient(
      circle at center,
      rgba(242,140,47,0.12),
      rgba(47,128,237,0.12),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(8,12,22,1),
      rgba(8,12,22,0.95)
    );
  text-align:center;
}

.hiw-cta-inner{
  max-width: 900px;
  margin: 0 auto;
}

.hiw-cta h2{
  font-size: clamp(2rem,4vw,2.8rem);
  color:#ffffff;
  margin-bottom:1.5rem;
}

.hiw-cta-sub{
  max-width: 720px;
  margin: 0 auto 3rem auto;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.hiw-cta-actions{
  display:flex;
  justify-content:center;
  gap:1.2rem;
  flex-wrap:wrap;
  margin-bottom:2.5rem;
}

.btn-primary-hiw{
  padding:0.9rem 2rem;
  border-radius:999px;
  font-weight:600;
  font-size:1rem;
  color:#ffffff;
  background: linear-gradient(
    90deg,
    #f28c2f,
    #f2c94c,
    #6fcf97,
    #56ccf2,
    #2f80ed
  );
  text-decoration:none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 30px rgba(86,204,242,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.btn-primary-hiw:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(242,140,47,0.35);
}

.btn-secondary-hiw{
  padding:0.9rem 2rem;
  border-radius:999px;
  font-weight:600;
  color:#ffffff;
  text-decoration:none;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  transition: transform 0.25s ease;
}

.btn-secondary-hiw:hover{
  transform: translateY(-3px);
}

.hiw-cta-note{
  font-size:0.9rem;
  color: rgba(255,255,255,0.6);
}