/* ── Digital visiting card ───────────────────────────────────── */
.vcard-page {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(72, 182, 147, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(249, 115, 22, 0.1), transparent 50%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: var(--slate-300);
}

.vcard-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 1.5rem 1rem 2rem;
}

.vcard {
  width: min(420px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(72, 182, 147, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: vcard-in 0.55s ease both;
}

@keyframes vcard-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vcard-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vcard-logo {
  height: 28px;
  width: auto;
  opacity: 0.95;
}

.vcard-identity {
  text-align: center;
  margin-bottom: 1.5rem;
}

.vcard-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-600));
  border: 2px solid rgba(72, 182, 147, 0.45);
  color: var(--teal-bright);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: avatar-pulse 2.8s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(72, 182, 147, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(72, 182, 147, 0);
  }
}

.vcard-name {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.vcard-role {
  color: var(--orange-bright);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.vcard-company {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.vcard-tagline {
  color: var(--teal-bright);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.vcard-focus {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--slate-400);
  max-width: 22rem;
  margin-inline: auto;
}

.vcard-details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.vcard-details li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.9375rem;
}

.vcard-detail-label {
  color: var(--slate-400);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vcard-details a {
  color: var(--white);
  font-weight: 500;
  word-break: break-word;
}

.vcard-details a:hover {
  color: var(--teal-bright);
}

.vcard-actions {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.vcard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.vcard-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.vcard-btn:hover {
  transform: translateY(-1px);
  color: var(--white);
}

.vcard-btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.35);
}

.vcard-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.45);
}

.vcard-btn-whatsapp {
  background: #128c7e;
}

.vcard-btn-whatsapp:hover {
  background: #075e54;
}

.vcard-btn-linkedin {
  background: #0a66c2;
}

.vcard-btn-linkedin:hover {
  background: #004182;
}

.vcard-blurb {
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.vcard-site-link {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-bright);
}

.vcard-site-link + .vcard-site-link {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--slate-400);
}

.vcard-site-link:hover {
  color: var(--white);
}

@media (min-width: 480px) {
  .vcard {
    padding: 2rem 1.75rem 1.75rem;
  }

  .vcard-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) {
  .vcard-shell {
    padding: 2rem;
  }

  .vcard-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .vcard-btn {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.875rem 0.5rem;
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vcard,
  .vcard-avatar {
    animation: none;
  }

  .vcard-btn:hover {
    transform: none;
  }
}
