:root {
  --bg: #090a13;
  --panel: #111329;
  --text: #f3f5ff;
  --muted: #a8afcc;
  --accent: #6d7bff;
  --accent-2: #15d0b4;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(109, 123, 255, 0.25), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(21, 208, 180, 0.16), transparent 25%),
    radial-gradient(circle at 60% 85%, rgba(109, 123, 255, 0.14), transparent 30%);
  z-index: -1;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(9, 10, 19, 0.75);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand span {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.45rem 0.7rem;
}

.hero {
  padding: 8.5rem 0 4rem;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 17ch;
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}

.hero-text {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 1.2rem 0 0;
}

.social-links a,
.inline-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 500;
}

.section {
  padding: 3rem 0;
}

.section-heading p,
.section p,
.time {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.timeline-item,
.resume-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding: 1.3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.footer-content p,
.footer-content a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 4vw;
    background: rgba(17, 19, 41, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem;
    width: min(220px, 90vw);
    flex-direction: column;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-content,
  .social-links {
    flex-wrap: wrap;
  }
}
