/* ===== CK Office - Launcher ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  color: #1d2433;
  user-select: none;
}

body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #eef1f7 0%, #e7ecfa 45%, #f3eef8 100%);
}

.fondo { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.orbe { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.o1 { width: 480px; height: 480px; background: #7ec8ff; top: -140px; left: -120px; }
.o2 { width: 420px; height: 420px; background: #ffb37e; bottom: -160px; left: 22%; }
.o3 { width: 460px; height: 460px; background: #b0ffc8; top: 6%; right: -140px; }
.o4 { width: 400px; height: 400px; background: #ff9ed2; bottom: -120px; right: 16%; }

.vidrio {
  background: linear-gradient(160deg, rgba(255,255,255,.68), rgba(255,255,255,.4));
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 36px rgba(40, 60, 110, .14), inset 0 1px 0 rgba(255,255,255,.9);
  border-radius: 22px;
}

.cabecera {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 24px 0 24px;
  padding: 16px 24px;
}

.logo-principal {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(90, 70, 160, .38));
}

.cabecera-texto { flex: 1; }

.cabecera h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #2b65d9, #0f9d58, #f26b2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cabecera p {
  color: #556180;
  font-size: 14px;
  margin-top: 2px;
}

.cabecera-creditos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
  color: #3a4763;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.45));
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(40, 60, 110, .12);
  white-space: nowrap;
}

.cred-pill strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cred-pill--gold {
  background: linear-gradient(160deg, rgba(255,251,235,.85), rgba(254,243,199,.6));
}

.cred-icon {
  font-size: 13px;
  line-height: 1;
}

.cred-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .cabecera-creditos {
    gap: 6px;
  }
  .cred-pill {
    padding: 0 8px;
  }
  .cred-label {
    display: none;
  }
}

.btn-vidrio {
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,.8);
  color: #3a4763;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.45));
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(40, 60, 110, .12);
  transition: transform .15s, box-shadow .15s;
}

.btn-vidrio:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(40, 60, 110, .2);
}

.tarjetas {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px;
  align-content: start;
  overflow-y: auto;
}

.tarjeta {
  position: relative;
  min-height: 128px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.4,.6,1), box-shadow .18s;
}

.tarjeta:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 46px rgba(40, 60, 110, .22), inset 0 1px 0 rgba(255,255,255,.95);
}

.tarjeta-contenido {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 58px;
}

.tarjeta h2 {
  font-size: 19px;
  line-height: 1.15;
  font-weight: 700;
  color: #253052;
}

.tarjeta p {
  font-size: 12.8px;
  color: #556180;
  line-height: 1.45;
}

.tarjeta-icono {
  width: 62px;
  height: 62px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 12px 18px rgba(33, 52, 102, .14);
}

.tarjeta-icono svg {
  width: 34px;
  height: 34px;
  color: #ffffff;
}

.icono-docs { background: linear-gradient(180deg, #3b78e7, #2258c7); }
.icono-sheets { background: linear-gradient(180deg, #24a25a, #118244); }
.icono-slides { background: linear-gradient(180deg, #ef6c34, #d8531c); }
.icono-pdf { background: linear-gradient(180deg, #ef4444, #c22626); }

.chip-nuevo {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tarjeta-docs .chip-nuevo { background: #245fd5; }
.tarjeta-sheets .chip-nuevo { background: #15803d; }
.tarjeta-slides .chip-nuevo { background: #d8531c; }
.tarjeta-pdf .chip-nuevo { background: #b91c1c; }

.pie {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px;
  font-size: 11.5px;
  color: #6a7692;
}

@media (max-width: 900px) {
  .cabecera {
    margin: 24px 24px 0;
    padding: 14px 16px;
  }

  .logo-principal {
    width: 72px;
    height: 72px;
  }

  .cabecera h1 {
    font-size: 28px;
  }

  .tarjetas {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .tarjeta {
    min-height: 114px;
    padding: 18px;
    gap: 16px;
  }

  .tarjeta-contenido {
    padding-right: 42px;
  }
}
