/*
 * Documentation
 * LinkedIn-inspired visual theme for the davidazofeifa site.
 */

:root {
  --bg: #f5f3ff;
  --surface: #ffffff;
  --surface-muted: #eef2ff;
  --border: rgba(148, 163, 184, 0.3);
  --text: #0f172a;
  --muted: #475569;
  --highlight: #0f172a;
  --accent: #4f46e5;
  --accent-strong: #312e81;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --error: #c2410c;
  --success: #16a34a;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

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

body {
  background: radial-gradient(circle at top, #eef2ff 0%, transparent 55%),
    radial-gradient(circle at 20% 20%, #f0f9ff 0%, transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--highlight);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.section {
  display: grid;
  gap: 32px;
}

.profile {
  display: grid;
  gap: 32px;
}

.profile-banner {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 70%);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.profile-banner::after {
  content: "";
  position: absolute;
  inset: auto -40% -50% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}

.profile-avatar {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
  z-index: 1;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-intro h1 {
  font-size: clamp(2.4rem, 3.5vw, 3.6rem);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.headline {
  font-size: 1.1rem;
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 6px;
}

.location {
  color: var(--muted);
  margin-bottom: 18px;
}

.profile-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.25);
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
  border-color: var(--border);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--accent-strong);
}

.button.secondary:hover {
  background: var(--surface-muted);
}

.profile-stats {
  display: grid;
  gap: 12px;
  color: var(--muted);
  z-index: 1;
}

.stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 6px;
}

.stat-value {
  font-weight: 600;
  color: var(--highlight);
}

.about-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  animation: fadeUp 0.8s ease;
}

.about-card p {
  color: var(--muted);
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-highlights h3 {
  margin-bottom: 10px;
}

.about-highlights ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.about-highlights li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 20px;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.timeline-content {
  padding: 22px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content h3 {
  margin-bottom: 6px;
}

.timeline-content .meta {
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.6;
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.grid-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.detail-list a {
  color: inherit;
}

.detail-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.focus {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.focus-card {
  background: linear-gradient(140deg, #ffffff 0%, #f8fafc 80%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.focus-card h3 {
  margin-bottom: 10px;
}

.focus-card p {
  color: var(--muted);
  line-height: 1.6;
}

.focus-cta {
  margin-top: 24px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card h3 {
  margin-bottom: 12px;
}

.skill-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.skill-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.connect {
  display: grid;
  gap: 28px;
}

.connect-card {
  background: var(--highlight);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.connect-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.connect-card .button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

#interest-form {
  width: 100%;
  max-width: 460px;
}

#interest-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

#interest-form input[type="email"] {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--highlight);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

#interest-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}

#interest-form button {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s, opacity 0.2s;
}

#interest-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#interest-form button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.interest-status.message {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.5em;
  opacity: 0;
  transition: opacity 0.3s;
}

.interest-status.message.pending,
.interest-status.message.success,
.interest-status.message.error {
  opacity: 1;
}

.interest-status.message.success {
  color: var(--success);
}

.interest-status.message.pending {
  color: var(--muted);
}

.interest-status.message.error {
  color: var(--error);
}

footer {
  margin-top: 60px;
  padding: 40px 24px 60px;
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

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

@media (min-width: 860px) {
  .profile-banner {
    grid-template-columns: auto 1fr 240px;
    align-items: center;
  }

  .profile-stats {
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .profile-ctas,
  .connect-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Confirmation page styles */
.confirmation-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

.confirmation-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}

.confirmation-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--highlight);
}

.confirmation-message {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
}

.confirmation-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.25);
}

.confirmation-action:hover {
  transform: translateY(-1px);
}

.confirmation-page--success .confirmation-action {
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.25);
}

.confirmation-page--error .confirmation-action {
  background: var(--error);
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.25);
}
/* Last-Modified: 2026-01-11T09:44:58.0000000Z */