:root {
  --bg: #0f172a;
  --card: #ffffff;
  --text: #101827;
  --muted: #64748b;
  --light: #f8fafc;
  --brand: #f97316;
  --brand-dark: #c2410c;
  --border: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style-position: inside;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
.section {
  padding: 84px 0;
}
.alt {
  background: var(--card);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    radial-gradient(
      circle at bottom right,
      rgba(249, 115, 22, 0.15),
      transparent 50%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo span {
  color: var(--brand);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  color: #e2e8f0;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand);
}
.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(249, 115, 22, 0.22),
      transparent 50%
    ),
    linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  min-height: 650px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}
.hero-text {
  color: #cbd5e1;
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.primary {
  background: var(--brand);
  color: #fff;
}
.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}
.secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
}
.secondary:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.profile-card {
  background: var(--card);
  color: var(--text);
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.avatar {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.profile-card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.profile-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.profile-card li {
  margin-bottom: 8px;
}

.stats {
  padding: 32px 0;
  background: var(--card);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stats-grid > div {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--light);
}
.stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--bg);
}
.stats span {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-heading h2,
.seo-grid h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.section-heading p,
.seo-grid p,
.contact-card p {
  color: var(--muted);
  font-size: 1.05rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card,
.skills-grid > div,
.checklist,
.timeline li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}
.project-card.featured {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow);
}
.project-tag {
  display: inline-block;
  color: var(--brand-dark);
  background: #ffedd5;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.project-card h3,
.skills-grid h3,
.checklist h3,
.timeline h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.project-card p,
.skills-grid p,
.timeline p {
  color: var(--muted);
  margin-bottom: 16px;
}
.project-card li,
.checklist li {
  margin-bottom: 8px;
  color: #334155;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.checklist {
  background: var(--bg);
  color: #fff;
}
.checklist li {
  color: #dbeafe;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.timeline span {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 900;
  margin-bottom: 10px;
}
.contact {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}
.contact-card {
  background: var(--card);
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-actions {
  justify-content: center;
  margin: 28px 0 14px;
}
.contact .secondary {
  color: var(--text);
  border-color: var(--border);
}
.contact small {
  color: var(--muted);
}
.footer {
  background: #020617;
  color: #94a3b8;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .project-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .skills-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .section {
    padding: 60px 0;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding: 70px 0;
  }
  .project-grid,
  .skills-grid,
  .stats-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 32px 20px;
  }
  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
