/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Inter, Helvetica, Arial, sans-serif;
}

/* ---------- COLOR SYSTEM ---------- */
:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.12);

  /* BetterMind-style accent (teal/blue – change if needed) */
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.18);

  --radius: 28px;
}

/* ---------- PAGE ---------- */
body {
  background: var(--bg);
  color: var(--text);
}

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

/* ---------- CARD ---------- */
.card {
  width: 100%;
  max-width: 390px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ---------- IMAGE ---------- */
.image-container {
  position: relative;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
}

/* subtle modern fade */
.fade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.18) 0%,
    rgba(15, 23, 42, 0.06) 40%,
    rgba(15, 23, 42, 0) 75%
  );
  pointer-events: none;
}

/* ---------- CONTENT ---------- */
.content {
  padding: 28px;
}

h1 {
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.job-title {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- CONTACT ICONS ---------- */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.contact-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

/* ---------- ACTION BUTTONS ---------- */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.action-button {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
}

.add-contact {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px var(--accent-soft);
}

.share {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

/* ---------- QR ---------- */
.qr-section {
  margin-top: 28px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.qr-image {
  width: 180px;
  height: 180px;
}

.qr-hint {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
