:root{ 
  --bg:#000000;
  --text:#ffffff;
  --muted:#ffffff;
  --primary:#000000;        /* verde del botón principal */
  --primary-700:#060706;    /* verde más oscuro para hover */
  --surface:#101010;
  --white:#fff;
  --radius-xl:22px;
  --radius-lg:14px;
  --shadow-lg:0 18px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
 background-image: url('../img/fondo2.jpg');
 /* ← tu imagen */
  background-repeat: no-repeat;
  background-size: cover;       /* ocupa toda la pantalla */
  background-position: center;  /* centrada */
  background-attachment: fixed; /* se mantiene fija al hacer scroll */
  min-height:100vh;
  display:grid;
  place-items:center;
}



/* halo detrás del logo */
.hero::before{
  content:"";
  position:absolute; inset:auto 0 42% 0;
  margin-inline:auto;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
  filter:blur(28px);
  z-index:-1;
  opacity:.9;
}

.brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
}

.brand img{
  width:min(550px, 68vw);
  height:auto;
  display:block;
  object-fit:contain;
  user-select:none;
  -webkit-user-drag:none;
}

.tagline{
  margin:10px auto 26px;
  max-width:640px;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  transition:transform .06s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  will-change:transform;
}

.btn-primary{
  background:var(--primary);
  color:var(--white);
  box-shadow:0 10px 26px rgba(11, 14, 20, 0.35);
}
.btn-primary:hover{ background:var(--primary-700); transform:translateY(-1px); }
.btn-primary:active{ transform:translateY(0); }

.btn-ghost{
  background:#2b2b2b;
  color:var(--white);
  border-color:#3d3d3d;
  box-shadow:0 8px 20px rgba(0,0,0,.3);
}
.btn-ghost:hover{ background:#3d3d3d; transform:translateY(-1px); }
.btn-ghost:active{ transform:translateY(0); }

.icon{
  width:18px; height:18px; display:block;
}

/* Suaviza fuentes durante la animación para evitar parpadeo */
html, body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Animación limpia sin mover ni escalar */
@keyframes revealClean {
  from {
    opacity: 0;
    filter: blur(10px);
    /* opcional: leve “cortinita” sin deformar */
    clip-path: inset(4% 4% 4% 4% round 20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 0);
  }
}

/* Aplica solo al contenedor para no afectar el layout global */
.page.animate-in {
  animation: revealClean .6s cubic-bezier(.16,.84,.44,1) both;
  will-change: opacity, filter, clip-path;
}

/* Stagger (si lo quieres) sin scale ni translate */
.page.animate-in .brand { animation: revealClean .6s .05s cubic-bezier(.16,.84,.44,1) both; }
.page.animate-in .tagline { animation: revealClean .6s .10s cubic-bezier(.16,.84,.44,1) both; }
.page.animate-in .actions { animation: revealClean .6s .14s cubic-bezier(.16,.84,.44,1) both; }

/* Hover botones – si quieres evitar cualquier “cambio de tamaño”, quita el scale */

.btn:active{ transform: translateY(0); }
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.btn:active {
  transform: scale(0.96);
}