/* ================================
   TERMS PAGE (estilo screenshot)
   ================================ */

:root {
  --azul-marino: #0a1628;
  --azul-marino-profundo: #070A14;
  --azul-marino-oscuro: #050810;
  --azul-marino-claro: #1F2233;

  --azul-turquesa: #00d4ff;
  --celeste: #4a9eff;

  --naranja-1: #ff8a00;
  --naranja-2: #ff6a00;
  --orange-text-1: #ffb200;
  --orange-text-2: #ff6a00;

  --morado: #8b5cf6;
  --blanco: #ffffff;

  --font-main: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Poppins", var(--font-main);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: rgba(255, 255, 255, .92);
  background:
    radial-gradient(circle at 15% 15%, rgba(74, 158, 255, .10), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, .12), transparent 45%),
    radial-gradient(circle at center,
      var(--azul-marino-claro) 0%,
      var(--azul-marino-profundo) 55%,
      var(--azul-marino-oscuro) 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
}

/* Fondo estrellas */
.bg-stars {
  position: fixed;
  inset: -140px;
  pointer-events: none;
  opacity: .55;
  z-index: 0;

  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  top: 0;
  left: 0;

  box-shadow: 6vw 14vh rgba(255, 255, 255, .60), 14vw 30vh rgba(255, 255, 255, .35), 22vw 10vh rgba(255, 255, 255, .55), 28vw 46vh rgba(255, 255, 255, .28), 36vw 22vh rgba(255, 255, 255, .45), 44vw 34vh rgba(255, 255, 255, .35), 58vw 18vh rgba(255, 255, 255, .45), 66vw 42vh rgba(255, 255, 255, .30), 78vw 26vh rgba(255, 255, 255, .40), 90vw 36vh rgba(255, 255, 255, .28), 12vw 72vh rgba(255, 255, 255, .35), 34vw 82vh rgba(255, 255, 255, .28), 70vw 76vh rgba(255, 255, 255, .30), 92vw 86vh rgba(255, 255, 255, .25);

  animation: starsMoveSmall 80s linear infinite;
}

@keyframes starsMoveSmall {
  from {
    transform: translateX(0) translateY(0);
  }

  to {
    transform: translateX(-220px) translateY(80px);
  }
}

/* ===== HERO ===== */
.terms-hero {
  position: relative;
  z-index: 1;
  padding: 4.2rem 1.25rem 2.6rem;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

/* Back centrado (como pediste en el de privacidad) */
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;

  margin: 0 auto 1.35rem;
  text-decoration: none;

  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  width: fit-content;
  padding: .25rem .4rem;
  border-radius: 10px;
}

.back-arrow {
  color: var(--orange-text-1);
  font-size: 1.1rem;
  line-height: 1;
}

.hero-emoji {
  font-size: 2.8rem;
  line-height: 1;
  margin-left: .15rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
}

.back-link:hover {
  color: var(--orange-text-1);
  /* hover naranja */
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: .6rem;
}

.accent {
  color: var(--celeste);
  text-shadow: 0 10px 30px rgba(74, 158, 255, .18);
}

.hero-subtitle {
  color: rgba(255, 255, 255, .70);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(74, 158, 255, .95);
  box-shadow: 0 0 0 4px rgba(74, 158, 255, .12);
}

/* ===== CONTENEDOR ===== */
.terms-wrap {
  position: relative;
  z-index: 1;
  padding: 1.2rem 1.25rem 5rem;
  max-width: 980px;
  margin: 0 auto;
}

/* Card principal */
.card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

/* Bloques */
.block {
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
}

.block+.block {
  margin-top: .55rem;
}

.block-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .75rem;
}

.block h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0;
}

/* Numeritos */
.num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  color: #fff;
}

.num-blue {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
}

.num-pink {
  background: linear-gradient(180deg, #fb7185 0%, #ec4899 100%);
}

.num-green {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
}

.num-orange {
  background: linear-gradient(180deg, #ff9b2f 0%, #ff6a00 100%);
}

.num-purple {
  background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
}

.num-red {
  background: linear-gradient(180deg, #fb7185 0%, #ef4444 100%);
}

.num-cyan {
  background: linear-gradient(180deg, #22d3ee 0%, #06b6d4 100%);
}

.brand {
  color: var(--naranja-1);
  font-weight: 800;
}

.muted {
  color: rgba(255, 255, 255, .70);
  line-height: 1.8;
  font-size: .98rem;
}

.muted-sm {
  color: rgba(255, 255, 255, .70);
  line-height: 1.75;
  font-size: .92rem;
}

/* ====== 2) Servicios pills ====== */
.service-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.service-pill {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
}

.pill-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
}

.pill-ic {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
}

span.pill-ic {
  font-size: 1.5rem;
}

.service-pill h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
}

.service-pill p {
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
  line-height: 1.6;
}

/* fondos suaves como screenshot */
.pill-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(255, 255, 255, .02));
}

.pill-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, .14), rgba(255, 255, 255, .02));
}

.pill-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, .14), rgba(255, 255, 255, .02));
}

.pill-orange {
  background: linear-gradient(135deg, rgba(255, 106, 0, .14), rgba(255, 255, 255, .02));
}

/* ====== 3) Uso aceptable ====== */
.rules {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.rule-item {
  border-radius: 14px;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
}

.rule-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}

.rule-ic {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
}

.rule-item h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: .98rem;
}

.rule-item p {
  color: rgba(255, 255, 255, .68);
  font-size: .92rem;
  line-height: 1.6;
}

.rule-green {
  border-left: 4px solid rgba(16, 185, 129, .95);
}

.rule-green .rule-ic {
  background: rgba(16, 185, 129, .35);
  border: 1px solid rgba(16, 185, 129, .45);
}

.rule-blue {
  border-left: 4px solid rgba(59, 130, 246, .95);
}

.rule-blue .rule-ic {
  background: rgba(59, 130, 246, .35);
  border: 1px solid rgba(59, 130, 246, .45);
}

.rule-purple {
  border-left: 4px solid rgba(139, 92, 246, .95);
}

.rule-purple .rule-ic {
  background: rgba(139, 92, 246, .35);
  border: 1px solid rgba(139, 92, 246, .45);
}

.rule-orange {
  border-left: 4px solid rgba(255, 106, 0, .95);
}

.rule-orange .rule-ic {
  background: rgba(255, 106, 0, .30);
  border: 1px solid rgba(255, 106, 0, .40);
}

.rule-red {
  border-left: 4px solid rgba(239, 68, 68, .95);
}

.rule-red .rule-ic {
  background: rgba(239, 68, 68, .30);
  border: 1px solid rgba(239, 68, 68, .40);
}

/* ====== 4) IP Card ====== */
.ip-card {
  margin-top: .9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 1rem;
}

.ip-top {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .4rem .25rem .8rem;
}

.ip-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 900;
}

span.ip-icon {
  font-size: 2.4rem;
}

.ip-top h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.note-inline {
  margin-top: .6rem;
  padding: .6rem .75rem;
  border-radius: 12px;
  background: rgba(255, 178, 0, .10);
  border: 1px solid rgba(255, 178, 0, .18);
}

.ip-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.ip-row {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .75rem .75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .08);
}

.ip-row h4 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: .95rem;
  margin-bottom: .15rem;
}

.ip-row p {
  color: rgba(255, 255, 255, .68);
  font-size: .90rem;
  line-height: 1.6;
}

.ip-bullet {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .2rem;
  font-weight: 900;
}

.bullet-blue {
  background: rgba(59, 130, 246, .25);
  border: 1px solid rgba(59, 130, 246, .35);
}

.bullet-purple {
  background: rgba(139, 92, 246, .25);
  border: 1px solid rgba(139, 92, 246, .35);
}

.bullet-green {
  background: rgba(16, 185, 129, .25);
  border: 1px solid rgba(16, 185, 129, .35);
}

/* ====== 5) Responsabilidad ====== */
.liability-head {
  margin-top: .75rem;
  background: rgba(111, 22, 22, 0.404);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: .9rem 1rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
  font-size: .92rem;
}

.liability-list {
  margin-top: .8rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.liability-item {
  border-radius: 14px;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(168, 11, 11, 0.404);
}

.liability-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .25rem;
}

.warn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  background: rgba(255, 209, 102, .12);
  border: 1px solid rgba(255, 209, 102, .20);
}

.liability-item h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: .95rem;
}

.liability-item p {
  color: rgba(255, 255, 255, .68);
  font-size: .90rem;
  line-height: 1.6;
}

/* ====== 6) Simple box ====== */
.simple-box {
  margin-top: .75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 1rem;
}

.tiny-flag {
  margin-top: .7rem;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .75rem;
  border-radius: 14px;
  background: rgba(139, 92, 246, .10);
  border: 1px solid rgba(139, 92, 246, .18);
}

.flag-ic {
  margin-top: .05rem;
  font-size: 1.5rem;
}

/* ====== 7) Terminación ====== */
.terminate-list {
  margin-top: .85rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.terminate-item {
  border-radius: 14px;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .10);
}

.terminate-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .2rem;
}

.x {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, .16);
  border: 1px solid rgba(239, 68, 68, .25);
  color: rgba(255, 255, 255, .95);
  font-weight: 900;
  font-size: 12px;
}

.terminate-item h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: .95rem;
}

.terminate-item p {
  color: rgba(255, 255, 255, .68);
  font-size: .90rem;
  line-height: 1.6;
}

/* ====== 8) Ley ====== */
.law-box {
  margin-top: .75rem;
  border-radius: 14px;
  padding: .95rem 1rem;
  background: rgba(34, 211, 238, .10);
  border: 1px solid rgba(34, 211, 238, .16);
}

/* ===== CTA final (con degradado como screenshot) ===== */
.cta {
  margin-top: 1.1rem;
  border-radius: 18px;
  padding: 1.4rem 1.1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(135deg,
      rgba(34, 211, 238, .10) 0%,
      rgba(139, 92, 246, .18) 55%,
      rgba(255, 106, 0, .08) 100%);
}

.cta-ic {
  width: 83px;
  height: 66px;
  font-size: 3.9rem;
  border-radius: 14px;
  margin: 0 auto .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
}

.cta h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: .4rem;
}

.cta p {
  color: rgba(255, 255, 255, .70);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn {
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
  padding: .85rem 1.2rem;
  border-radius: 999px;

  background: linear-gradient(180deg, var(--naranja-1) 0%, var(--naranja-2) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 106, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);

  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(255, 106, 0, .28);
}

/* Responsive */
@media (max-width: 860px) {
  .terms-hero {
    padding-top: 2.8rem;
  }
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
  }

  .block {
    padding: 1rem;
  }
}