:root {
  --bg: #0b1020; /* fondo oscuro elegante */
  --panel: #0f1733;
  --text: #e8ecf8;
  --muted: #9fb0d6;
  --brand: #6ee7b7; /* verde menta */
  --brand-2: #60a5fa; /* azul */
  --danger: #f87171; /* rojo suave */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(
    1000px 500px at 20% 0%,
    #172043 0%,
    #0b1020 40%,
    #0b1020 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
a {
  color: inherit;
  text-decoration: none;
}
p{
    color: #9fb0d6;
}
img {
  max-width: 100%;
  display: block;
}
h2{
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h3{
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: bold;
}
.container {
  width: min(1200px, 90vw);
  margin: auto;
}
.grid {
  display: grid;
  gap: 24px;
}
.url-recovery{
    font-style: oblique;
    font-size: 0.9rem;
    color: #00c0ed;
}
/*DROP BUTTON*/
 /* Contenedor */
 .dropdown {
    position: relative;
  }

  /* El botón (summary) */
  details summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap:0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    color:#08111f;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow .18s, transform .12s;
    font-weight:600;
  }

  details[open] summary{
    box-shadow: 0 10px 30px rgba(37,99,235,0.12);
  }

  details summary::-webkit-details-marker { display: none; } /* quitar triángulo por defecto */

  /* Icono flecha */
  .chev {
    width: 0.9rem;
    height: 0.9rem;
    display:inline-block;
    transition: transform .18s;
    transform-origin: center;
  }
  details[open] .chev { transform: rotate(180deg); }

  /* Panel del dropdown */
  .menu {
    position: absolute;
    right: 0;
    margin-top: 0.6rem;
    min-width: 14rem;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(2,6,23,0.12);
    padding: .45rem;
    border:1px solid rgba(0,0,0,0.06);
    z-index: 30;
    transform-origin: top right;
    animation: fadeIn .12s ease-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px) scale(.995); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .menu a, .menu button {
    display:flex;
    align-items:center;
    gap:.65rem;
    padding:.5rem .65rem;
    border-radius:8px;
    text-decoration:none;
    color:var(--text);
    font-size:0.95rem;
    cursor:pointer;
    background:transparent;
    border: none;
    width:100%;
    text-align:left;
  }

  .menu a:hover, .menu button:hover {
    background: rgba(37,99,235,0.06);
  }

  .menu .danger:hover {
    background: rgba(239,68,68,0.08);
  }

  /* accesibilidad: focus visible */
  .menu a:focus, .menu button:focus, details summary:focus { outline: 3px solid rgba(37,99,235,0.18); outline-offset: 3px; }

/* Header */
header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(11, 16, 32, 0.6);
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.5rem;
  gap: 0.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo {
  width: 100%;
  max-width: 100px;
}
.content-buttons{
  min-width: 230px;
  display: flex;
  gap:0.5rem;
  justify-content: flex-end;
}
.cta {
  line-height: 1;
  font-size: clamp(0.8rem,2vw,1rem);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #08111f;
  border: 0;
  font-weight: bold;
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.cta-login{
  background: transparent;
  line-height: 1;
  border: 0;
  font-weight: bold;
  font-size: clamp(0.8rem,2vw,1rem);
  color: #6de2bc;
  outline: 2px solid #62c9b0;
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.cta:hover {
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding-block: min(10rem,2rem);
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.headline {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.25;
  margin: 0 0 12px;
}
.sub {
  font-size: clamp(16px, 2.6vw, 20px);
  color: var(--muted);
  margin: 0 0 24px;
}
.hero-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 22px;
}
.form {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  gap: 12px;
}
label.required::after {
  content: " *";
  color: #60a5fa;
  font-weight: bold;
}
.input,
select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b132a;
  color: var(--text);
}
.information-input{
  font-size: 0.8rem;
  color: #0072ff;
}
.content-form-register {
  box-shadow: 1px 1px 20px 0px #60a5fa;
  padding: 1rem;
  border-radius: 1rem 16px;
}
.hint {
  font-size: 0.8rem;
  color: #bb0000;
  font-weight: bold;
  display: none;
}

.formRegister {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
}
.content-form {
  color: white;
  background-color: #08111f;
  border: none;
  box-shadow: 0px 0px 10px 0px #65bce3;
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 1rem;
}
.content-button {
  display: flex;
  justify-content: end;
  gap: 1rem;
  margin-top: 1rem;
}
.btnClose {
  font-size: 0.7rem;
  font-weight: bolder;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border-radius: 100%;
  padding: 0.15rem 0.25rem;
  border: 2px solid #ffffffa1;
  color: #ffffffa1;
  background: transparent;
}
.btnClose:hover {
  color: white;
  border-color: white;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}
.kpi b {
  display: block;
  font-size: 20px;
}

/* Features */
section {
  padding-block: min(10rem, 2rem);
  scroll-margin-top: 65px;
}
.cards {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.badge {
  display: inline-block;
  background: rgba(110, 231, 183, 0.12);
  color: var(--brand);
  border: 1px solid rgba(110, 231, 183, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Showcase */
.showcase {
  grid-template-columns: repeat(3, 1fr);
}
.shop-tile {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #0a1226;
}
.shop-top {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.subdomain {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 14px;
  color: var(--muted);
}
.thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1c274d, #0b132a);
  display: grid;
  place-items: center;
}
.demo-image {
  height: 100%;
}

/* Pricing */
.pricing {
  grid-template-columns: repeat(3, 1fr);
}
.tier {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.tier.popular {
  outline: 2px solid var(--brand);
}
.price {
  font-size: 34px;
  font-weight: 800;
}
.features {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.features li {
  margin: 8px 0;
  display: flex;
  gap: 8px;
}
/*carateristicas*/
.content-services{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%,20rem),1fr));
    align-items: center;
}
/*banner de llamada a la accion*/
.content-cta{
    text-align: center;
    padding: 2rem;
    background-color: #0b142e;
    border-radius: 1rem;
    box-shadow: 0px 0px 15px 0px #002bc5;;
}
/*LOGOS*/
.content-logos{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: space-between;

}
.logo-image{
    background-color: white;
    max-width: 150px;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 100%;
}
/*TESTIMONIOS*/
blockquote{
  margin: 0;
}

/* FAQ */
#faq details {
  background: #0b132a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
}
#faq details + details {
  margin-top: 10px;
}
#faq summary {
  cursor: pointer;
  font-weight: 600;
}

/* Footer */
footer {
  padding: 36px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.content-credits{
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
/* Responsive */
@media (max-width: 980px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .cards,
  .showcase,
  .pricing {
    grid-template-columns: 1fr;
  }
}
::backdrop {
  background-color: #08111f;
  opacity: 0.75;
}
/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #333;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    text-align: right;
    padding: 10px;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

