:root{
  --bg1:#53486e;
  --bg2:#955caf;
  --bg3:#05010a;

  --glass: rgba(12, 8, 24, 0.68);
  --stroke: rgba(255,255,255,0.18);

  --text:#ffffff;
  --muted:#e4ddff;

  --shadow: rgba(0,0,0,0.55) 0px 18px 40px;

  /* CTA Blue Neon (coherente con tu logo) */
  --cta1: rgba(40, 120, 255, 0.28);
  --cta2: rgba(0, 210, 255, 0.22);
  --ctaStroke: rgba(120, 200, 255, 0.45);
  --ctaGlow: rgba(0, 160, 255, 0.55);
}

*{ box-sizing:border-box; margin:0; padding:0; }

html, body{
  font-family: Inter, sans-serif;
  color: var(--text);
  background: #03010a;
  overflow-x: hidden;
}

.qhse-bg{
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg1) 0%, var(--bg2) 45%, var(--bg3) 90%);
  background-size: 120% 160%;
}

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 28px 0 60px;
}

.glass{
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* ===== TOPBAR ===== */
.topbar{
  width: min(1100px, 92vw);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
}

.nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a{
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
}

.nav a:hover{ border-color: var(--stroke); }
.nav a.active{ border-color: var(--stroke); color:#fff; }

/* ===== HERO ===== */
.hero{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 22px;
  margin-top: 18px;
}

.hero-compact{
  padding: 22px;
  margin-top: 18px;
}

.hero h1{
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(to right, #ffffff, #d0c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p{ color: var(--muted); line-height: 1.6; }

.hero-media{
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card{
  width: min(320px, 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.media-card img{ width: 100%; display:block; }

/* ===== SECTIONS ===== */
.section{ margin-top: 26px; }

.section-title{
  font-size: 1.2rem;
  margin: 0 0 12px 6px;
  color: #fff;
}

.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{ padding: 16px; }
.card h3{ font-size: 1.05rem; margin-bottom: 8px; }
.card p{ color: var(--muted); line-height: 1.6; font-size: .95rem; }

/* ===== STEPS ===== */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step{ padding: 16px; position: relative; }

.badge{
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  margin-bottom: 10px;
  color: #fff;
}

/* ===== CTA ===== */
.cta{
  margin-top: 26px;
  padding: 20px;
  text-align: center;
}

.cta p{
  color: var(--muted);
  margin: 10px 0 16px;
}

/* ===== BUTTONS (CORREGIDO) ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 16px;

  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;

  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.18);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: rgba(0,0,0,0.45) 0px 12px 26px;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: rgba(0,0,0,0.55) 0px 16px 34px;
}

.btn:active{
  transform: translateY(0px);
  box-shadow: rgba(0,0,0,0.40) 0px 10px 22px;
}

.btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(208,195,255,0.28),
    rgba(0,0,0,0.55) 0px 16px 34px;
}

/* Ghost: glass discreto */
.btn-ghost{
  background: rgba(0,0,0,0.16);
  border-color: rgba(255,255,255,0.18);
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.26);
}

/* Primary: Blue Neon (CTA) */
.btn-primary{
  background: linear-gradient(135deg, var(--cta1), var(--cta2));
  border-color: var(--ctaStroke);
  box-shadow:
    0 10px 30px rgba(0,140,255,0.35),
    inset 0 0 18px rgba(120,220,255,0.25);
}

.btn-primary:hover{
  background: linear-gradient(135deg, rgba(60,160,255,0.38), rgba(40,220,255,0.32));
  border-color: rgba(160,220,255,0.75);
  box-shadow:
    0 14px 36px var(--ctaGlow),
    inset 0 0 22px rgba(160,240,255,0.35);
}

/* Layout de botones */
.cta-row{
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ===== PRICING ===== */
.pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card{ padding: 18px; position:relative; }
.price-card ul{ margin-top: 12px; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.price{ font-size: 1.6rem; margin-top: 6px; }
.price span{ font-size: .9rem; color: var(--muted); }

.featured{
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-4px);
}

.ribbon{
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.06);
}

/* ===== TABLE ===== */
.table{ padding: 10px; overflow:auto; }

.row{
  display: grid;
  grid-template-columns: 1.6fr .6fr .6fr .8fr;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  gap: 8px;
  align-items: center;
}

.row.head{ font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.18); }

/* ===== FAQ ===== */
.faq details{ padding: 14px 16px; margin-bottom: 10px; }
.faq summary{ cursor: pointer; font-weight: 600; }
.faq p{ color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* ===== FORMS ===== */
.two-col{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 14px;
  align-items: start;
}

.form{ padding: 18px; }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom: 12px; }
label{ color: var(--muted); font-size: .9rem; }

input, textarea{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 12px 12px;
  outline: none;
}

input:focus, textarea:focus{ border-color: rgba(255,255,255,0.28); }

.micro{ margin-top: 10px; font-size: .85rem; color: rgba(228,221,255,0.8); }
.list{ margin-top: 10px; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.muted{ color: var(--muted); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer{
  width: min(1100px, 92vw);
  margin: 0 auto 30px;
  color: rgba(228,221,255,0.75);
  text-align: center;
  font-size: .9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }

  /* Botones más grandes en móvil */
  .btn{
    width: min(92vw, 420px);
    padding: 18px 20px;
    font-size: 1.08rem;
    border-radius: 20px;
  }

  .cta-row{ justify-content: center; }
}