:root {
  --bg-top: #0b0e14;
  --bg-bottom: #111827;
  --ink: #e5e7eb;
  --ink-muted: #94a3b8;
  --panel: rgba(17, 21, 32, 0.84);
  --panel-stroke: rgba(255, 255, 255, 0.12);
  --accent: #60a5fa;
  --accent-strong: #3b82f6;
  --shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(96, 165, 250, 0.2), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(167, 139, 250, 0.18), transparent 40%),
    linear-gradient(170deg, var(--bg-top), var(--bg-bottom));
  padding: 18px 14px 20px;
}

.card-shell {
  margin: 0 auto;
  width: min(100%, 420px);
}

.card-panel {
  background: var(--panel);
  border: 1px solid var(--panel-stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.profile {
  text-align: center;
}

.photo-wrap {
  width: 132px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.identity h1 {
  margin: 6px 0 0;
  font-size: 1.85rem;
  line-height: 1.1;
}

.title {
  margin: 7px auto 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 30ch;
}

.summary,
.actions,
.certifications {
  margin-top: 18px;
}

.summary h2,
.actions h2 {
  margin: 0 0 8px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.summary p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
  color: #d1d5db;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.action-btn,
.cert-toggle,
.home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius-lg);
  border: 0;
  text-decoration: none;
  color: #f8fbff;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 6px 14px rgba(30, 64, 175, 0.32);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.action-btn:hover,
.cert-toggle:hover,
.home-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 9px 16px rgba(30, 64, 175, 0.36);
}

.action-btn:focus-visible,
.cert-toggle:focus-visible,
.home-link:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.5);
  outline-offset: 2px;
}

.cert-toggle {
  cursor: pointer;
}

.cert-list {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cert-list li {
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.24);
  padding: 9px 10px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.footer {
  margin-top: 16px;
}

.home-link {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 500px) {
  body {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .card-panel {
    padding: 20px;
  }
}
