:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.14), transparent 38%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-card {
  width: min(780px, 100%);
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}

.hero {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
  background: #f8fafc;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.8;
}

.contact-info {
  background: #f8fafc;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  align-items: baseline;
}

.contact-item span {
  font-weight: 700;
  color: var(--accent);
}

.contact-item a,
.contact-item div {
  color: var(--text);
  word-break: break-word;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills li {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 780px) {
  .profile-card {
    grid-template-columns: 1fr;
  }

  .contact-item {
    grid-template-columns: 1fr;
  }

  .contact-item span {
    display: block;
  }
}
