* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: #ffffff;
  background: #0b101b;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.22) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.profile-container {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-container {
  text-align: center;
  margin-bottom: 28px;
}

.profile-logo {
  max-width: 200px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(255, 107, 44, 0.85));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo-initial {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-name {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
}

.profile-title {
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 6px;
  font-weight: 600;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.profile-company {
  font-size: 15px;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* BOTONES SUPERIORES - GLASSMORPHISM PURO */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  justify-items: center;
}

.action-btn-square {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  text-decoration: none;
}

.action-btn-square:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.action-btn-square i {
  font-size: 26px;
}

/* BOTÓN DATOS - REABRIR MODAL */
.datos-section {
  margin-bottom: 20px;
}

.datos-btn {
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.datos-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.datos-btn i {
  font-size: 17px;
}

/* BOTONES INFERIORES - GLASSMORPHISM PURO */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-btn-rect {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  text-decoration: none;
}

.contact-btn-rect:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact-btn-rect i {
  font-size: 20px;
}

/* BOTÓN NFC - GLASSMORPHISM CON COLOR */
.tapply-nfc {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nfc-btn-rect {
  width: 100%;
  height: 60px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1e3a8a;
  font-weight: 700;
  text-decoration: none;
}

.nfc-btn-rect:hover {
  background: #eef2ff;
}

.nfc-btn-rect i {
  font-size: 20px;
}

@media (max-width: 480px) {
  .profile-container {
    padding: 40px 20px 30px;
  }

  .profile-name {
    font-size: 28px;
  }
}
