:root {
  --bg: #020817;
  --bg-soft: #06142a;
  --panel: #07162e;
  --panel-soft: #0a1d39;

  --blue: #00b7ff;
  --blue-strong: #0878f9;
  --cyan: #27d9ff;

  --white: #ffffff;
  --text: #d9e3f0;
  --muted: #93a4ba;
  --muted-2: #718198;

  --border: rgba(0, 183, 255, 0.28);
  --border-strong: rgba(0, 183, 255, 0.55);

  --success: #22d98a;
  --warning: #ffc857;
  --danger: #ff7185;

  --max-width: 1120px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --shadow:
    0 18px 50px rgba(0, 0, 0, 0.34);

  --glow:
    0 0 36px rgba(0, 183, 255, 0.14);
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(0, 183, 255, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(8, 120, 249, 0.10),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #020817 0%,
      #03101f 45%,
      #01050d 100%
    );

  color: var(--text);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================================================
   CONTENEDOR
   ========================================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background:
    rgba(2, 8, 23, 0.88);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom:
    1px solid rgba(0, 183, 255, 0.12);
}

.navbar {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--white);

  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--blue-strong)
    );

  box-shadow:
    0 0 24px rgba(0, 183, 255, 0.30);

  font-size: 18px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;

  border-radius: 10px;

  color: #afbdd0;

  font-size: 13px;
  font-weight: 700;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);

  background:
    rgba(0, 183, 255, 0.10);

  transform: translateY(-1px);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  padding:
    96px 0 82px;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;

  width: 430px;
  height: 430px;

  left: 50%;
  top: -190px;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    rgba(0, 183, 255, 0.10);

  filter: blur(90px);

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;

  max-width: 820px;

  margin-inline: auto;

  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 20px;

  padding:
    8px 13px;

  border:
    1px solid rgba(0, 183, 255, 0.30);

  border-radius: 999px;

  background:
    rgba(0, 183, 255, 0.06);

  color: var(--cyan);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.hero h1 {
  color: var(--white);

  font-size:
    clamp(40px, 7vw, 72px);

  line-height: 1;

  font-weight: 950;

  letter-spacing: -2.5px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  max-width: 680px;

  margin:
    24px auto 0;

  color: #aebdd0;

  font-size:
    clamp(16px, 2vw, 19px);

  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding:
    12px 20px;

  border-radius: 13px;

  font-size: 13px;
  font-weight: 850;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #00111c;

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--blue)
    );

  box-shadow:
    0 10px 32px rgba(0, 183, 255, 0.22);
}

.btn-primary:hover {
  box-shadow:
    0 14px 36px rgba(0, 183, 255, 0.32);
}

.btn-secondary {
  color: var(--white);

  border:
    1px solid rgba(0, 183, 255, 0.32);

  background:
    rgba(5, 20, 43, 0.74);
}

/* =========================================================
   SECCIONES
   ========================================================= */

.section {
  padding:
    72px 0;
}

.section-sm {
  padding:
    46px 0;
}

.section-title {
  margin-bottom: 12px;

  color: var(--white);

  font-size:
    clamp(28px, 4vw, 40px);

  font-weight: 900;

  line-height: 1.15;
}

.section-description {
  max-width: 720px;

  color: var(--muted);

  font-size: 15px;
}

/* =========================================================
   GRID / CARDS
   ========================================================= */

.grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin-top: 30px;
}

.card {
  position: relative;

  padding: 24px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(8, 31, 62, 0.96),
      rgba(4, 15, 32, 0.96)
    );

  box-shadow:
    var(--shadow);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.card:hover {
  transform:
    translateY(-4px);

  border-color:
    var(--border-strong);

  box-shadow:
    var(--shadow),
    var(--glow);
}

.card-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  border-radius: 15px;

  color: var(--blue);

  background:
    rgba(0, 183, 255, 0.09);

  border:
    1px solid rgba(0, 183, 255, 0.18);

  font-size: 21px;
}

.card h3 {
  margin-bottom: 8px;

  color: var(--white);

  font-size: 18px;
  font-weight: 850;
}

.card p {
  color: var(--muted);

  font-size: 14px;
}

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */

.page-hero {
  padding:
    76px 0 38px;

  border-bottom:
    1px solid rgba(0, 183, 255, 0.10);
}

.page-hero h1 {
  color: var(--white);

  font-size:
    clamp(32px, 5vw, 52px);

  font-weight: 950;

  line-height: 1.08;

  letter-spacing: -1.5px;
}

.page-hero p {
  max-width: 720px;

  margin-top: 14px;

  color: var(--muted);

  font-size: 15px;
}

.legal-content {
  width: min(
    calc(100% - 40px),
    860px
  );

  margin-inline: auto;

  padding:
    52px 0 80px;
}

.legal-content section {
  margin-bottom: 42px;
}

.legal-content h2 {
  margin-bottom: 13px;

  color: var(--white);

  font-size: 23px;
  font-weight: 850;

  line-height: 1.25;
}

.legal-content h3 {
  margin:
    24px 0 9px;

  color: #e8f2ff;

  font-size: 17px;
  font-weight: 800;
}

.legal-content p,
.legal-content li {
  color: #aebbd0;

  font-size: 14px;

  line-height: 1.8;
}

.legal-content p + p {
  margin-top: 13px;
}

.legal-content ul,
.legal-content ol {
  margin:
    14px 0 14px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--blue);

  font-weight: 700;

  word-break: break-word;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* =========================================================
   AVISOS / CAJAS
   ========================================================= */

.notice {
  margin:
    26px 0;

  padding: 18px;

  border:
    1px solid rgba(0, 183, 255, 0.26);

  border-radius:
    16px;

  background:
    rgba(0, 183, 255, 0.055);
}

.notice strong {
  color: var(--white);
}

.notice p {
  margin: 0;
}

.notice-success {
  border-color:
    rgba(34, 217, 138, 0.28);

  background:
    rgba(34, 217, 138, 0.06);
}

.notice-warning {
  border-color:
    rgba(255, 200, 87, 0.30);

  background:
    rgba(255, 200, 87, 0.06);
}

/* =========================================================
   SOPORTE
   ========================================================= */

.support-box {
  margin-top: 28px;

  padding: 28px;

  border:
    1px solid var(--border-strong);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(0, 183, 255, 0.08),
      rgba(5, 20, 43, 0.82)
    );

  box-shadow:
    var(--glow);
}

.support-email {
  display: inline-flex;
  align-items: center;

  margin-top: 14px;

  color: var(--cyan);

  font-size:
    clamp(14px, 3vw, 18px);

  font-weight: 850;

  word-break: break-all;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding:
    34px 0;

  border-top:
    1px solid rgba(0, 183, 255, 0.11);

  background:
    rgba(1, 5, 13, 0.74);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: var(--muted-2);

  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}

.footer-links a:hover {
  color: var(--blue);
}

/* =========================================================
   UTILIDADES
   ========================================================= */

.text-center {
  text-align: center;
}

.text-blue {
  color: var(--blue);
}

.text-white {
  color: var(--white);
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .navbar {
    align-items: flex-start;

    padding:
      14px 0;

    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(
      calc(100% - 28px),
      var(--max-width)
    );
  }

  .hero {
    padding:
      72px 0 60px;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero-actions {
    align-items: stretch;

    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding:
      54px 0;
  }

  .legal-content {
    width:
      calc(100% - 28px);

    padding:
      38px 0 64px;
  }

  .footer-content {
    align-items: flex-start;

    flex-direction: column;
  }

  .nav-links {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 5px;
  }

  .nav-links a {
    padding:
      9px 8px;
  }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

:focus-visible {
  outline:
    2px solid var(--cyan);

  outline-offset: 3px;
}

@media (
  prefers-reduced-motion: reduce
) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration:
      0.01ms !important;

    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;
  }
}