/* Estilo inspirado na identidade da Century
   Roxo principal + azul/ciano em degradê, com tema claro/escuro automático
*/

:root {
  --purple: #4b2ae8;
  --purple-dark: #2a1396;
  --blue: #02b7ff;
  --bg: #050b1e;
  --bg-card: rgba(7, 13, 40, 0.96);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.45);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.75);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f4ff;
    --bg-card: #ffffff;
    --text: #0b1020;
    --text-muted: #6b7280;
    --border-subtle: rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--text);
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(2, 183, 255, 0.4), transparent 55%),
    radial-gradient(circle at bottom right, rgba(75, 42, 232, 0.7), transparent 55%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 430px;
  background:
    linear-gradient(145deg, rgba(5, 11, 38, 0.98), rgba(18, 27, 77, 0.98));
  border-radius: 28px;
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* glow de fundo */
.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(2, 183, 255, 0.35), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(75, 42, 232, 0.7), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.logo {
  height: 34px;
  width: auto;
}

.avatar-wrapper {
  margin-bottom: 10px;
}

.avatar {
  width: 118px;
  height: 118px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.name {
  margin: 6px 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.role {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  font-weight: 500;
}

.company {
  margin: 4px 0 18px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c7d2fe;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.contact-line {
  font-size: 0.95rem;
  color: #e5e7eb;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  align-self: center;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(8px);
  transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease, color 0.18s ease;
}

.contact-line:hover {
  background: rgba(37, 99, 235, 0.45);
  border-color: rgba(2, 183, 255, 0.9);
  transform: translateY(-1px);
  color: #f9fafb;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background-image: linear-gradient(135deg, var(--purple), var(--blue));
  color: #f9fafb;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.75);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.9);
}

.btn.ghost {
  background: transparent;
  color: #e0e7ff;
  border-color: rgba(129, 140, 248, 0.7);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.65);
}

.footer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .card {
    padding: 30px 26px 24px;
  }

  .name {
    font-size: 1.55rem;
  }

  .actions {
    flex-direction: row;
  }

  .btn {
    flex: 1;
  }
}
