:root {
  --background: #0f172a;
  --surface: #111827;
  --surface-light: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --border: #334155;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1rem;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  margin-bottom: 0.75rem;
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.button.primary {
  background: var(--accent);
  color: #020617;
}

.button.primary:hover {
  background: var(--accent-dark);
  color: white;
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.skills-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.card:hover {
  border-color: var(--accent);
}

ul {
  list-style-position: inside;
  color: var(--muted);
}

.tech {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--accent);
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 700px) {
  .navbar {
    align-items: flex-start;
    gap: 1rem;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 1rem;
  }
}