:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #1e293b;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --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(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  min-height: 80vh;
  background:
    linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.25), transparent 30%);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text);
  font-weight: bold;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

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

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
}

.hero-text {
  max-width: 780px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

h3 {
  margin-bottom: 12px;
}

.hero p,
.section-heading p,
.about-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
}

.btn.primary {
  background: var(--accent);
  color: #082f49;
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.alt-section {
  max-width: none;
  background: var(--bg-soft);
}

.alt-section .section-heading,
.alt-section .skills-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 36px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card,
.skills-grid div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.project-card p,
.skills-grid p {
  color: var(--muted);
  margin-bottom: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tags span {
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 9px;
  border-radius: 999px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.about-text {
  max-width: 850px;
}

.contact-section p {
  color: var(--muted);
  margin-bottom: 8px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 750px) {
  .navbar {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding: 70px 20px;
  }

  .project-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }
}
