/* ============================
   Design tokens
============================ */
:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #14181f;
  --text-muted: #5b6472;
  --border: #e6e8ee;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-soft: #eef1ff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   Background decoration
   (replaces the old particles.js canvas)
============================ */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-decor::before,
.bg-decor::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
}

.bg-decor::before {
  top: -160px;
  right: -120px;
  background: var(--accent);
}

.bg-decor::after {
  bottom: -180px;
  left: -140px;
  background: var(--accent-2);
}

/* ============================
   Navbar
============================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-nav .brand {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  color: var(--text-muted);
  font-size: 22px;
  transition: color 0.2s ease;
}

.nav-social a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .site-nav .container {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================
   Buttons
============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================
   Placeholder avatar
   Swap the div.avatar-placeholder for a real <img> once photos are ready
============================ */
.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-lg);
}

.avatar-placeholder.small {
  font-size: 48px;
}

/* ============================
   Section heading helper
============================ */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
