:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #4a5568;
  --primary: #2563eb;
  --primary-light: #dbeafe;
  --primary-dark: #1e40af;
  --accent: #7c3aed;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrapper {
  max-width: 880px;
}

.page-content {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e3a5f 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.headline {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 400;
}

/* ── Section headings ────────────────────────────── */
h2 {
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
  font-weight: 650;
  color: var(--text);
}

p, li {
  color: var(--muted);
  font-size: 0.97rem;
}

strong {
  color: var(--text);
}

/* ── Skills chips ────────────────────────────────── */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.chip {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.chip:hover {
  background: #bfdbfe;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

/* ── Cards (projects, experience, education) ───── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.card p, .card li {
  margin-bottom: 0.35rem;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}

.card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
}

.card .meta .role {
  font-weight: 600;
  color: var(--primary);
}

.card .meta .separator {
  color: var(--border);
}

.card .tech-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.6rem;
}

.card .tech-label strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Awards ──────────────────────────────────────── */
.awards-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.awards-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.8rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.awards-list li:last-child {
  border-bottom: none;
}

.awards-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-size: 1rem;
}

/* ── Contact section ─────────────────────────────── */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 1rem;
}

.contact-sep {
  color: var(--border);
}

/* ── Hide minima default footer ──────────────────── */
.site-footer {
  display: none !important;
}

/* ── Links ───────────────────────────────────────── */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ── Footer area ─────────────────────────────────── */
.footer-note {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ── Utilities ───────────────────────────────────── */
blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 4px solid var(--primary);
  background: #f8fafc;
  color: #334155;
  border-radius: 0 8px 8px 0;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .hero {
    padding: 2rem 1.5rem;
    border-radius: 10px;
  }

  .page-content {
    padding-top: 1.5rem;
  }

  .card {
    padding: 1.2rem 1.25rem;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-sep {
    display: none;
  }
}
