*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  font-family: "Viga", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}

i {
  color: #59ecd3;
}

/* ══════════════════════════════
       HEADER
    ══════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* ── Canvas de estrellas ── */
#stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ── Viñeta suave en los bordes ── */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Contenido central ── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Logo placeholder ── */
.logo-slot {
  width: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Subtítulo ── */
.hero-subtitle {
  font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 520px;
  letter-spacing: 0.01em;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 480px) {
  .logo-slot {
    width: 25rem;
    border-radius: 18px;
  }
}

.a {
  --glow-color: #aae0ff;
  --glow-spread-color: #58ebd3c7;
  --enhanced-glow-color: #3da9ae;
  --btn-color: #00362d;
  border: 0.25em solid var(--glow-color);
  padding: 1em 3em;
  color: var(--glow-color);
  font-size: 15px;
  font-weight: bold;
  background-color: var(--btn-color);
  border-radius: 1em;
  outline: none;
  box-shadow:
    0 0 1em 0.25em var(--glow-color),
    0 0 2em 1em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
  text-shadow: 0 0 0.5em var(--glow-color);
  position: relative;
  transition: all 0.3s;
}

.a::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--glow-spread-color);
  filter: blur(2em);
  opacity: 0.7;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

.a:hover {
  color: var(--btn-color);
  background-color: var(--glow-color);
  box-shadow:
    0 0 1em 0.25em var(--glow-color),
    0 0 3em 2em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
}

.a:active {
  box-shadow:
    0 0 0.6em 0.25em var(--glow-color),
    0 0 2.5em 2em var(--glow-spread-color),
    inset 0 0 0.5em 0.25em var(--glow-color);
}

/* Cards Start */
.card {
  z-index: 10;
  background: #f7f7f7;
  border: 0.25em solid #3da9ae;
  border-radius: 12px;
  transition: ease 0.3s all;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border: 0.25em solid #00eeffc7;
  box-shadow: 0 8px 16px rgba(209, 209, 209, 0.726);
}

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #1a1a1a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 15;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-badge {
  opacity: 1;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.863) 50%,
    rgba(0, 0, 0, 0.678) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.card-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 12px;
  font-family: sans-serif;
}

.card-btn {
  all: unset;
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #3da9ae, #58ebd3);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(61, 169, 174, 0.4);
  margin-top: auto;
}

.card-btn:hover {
  background: linear-gradient(135deg, #58ebd3, #3da9ae);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(61, 169, 174, 0.6);
}
