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

:root {
  --bg: #f5f7fb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --card: #ffffff;
  --dark: #0f172a;
  --dark-card: #111c33;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}

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

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  max-width: 1150px;
  margin: 0 auto;
  padding: 95px 22px 75px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 45px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn.primary {
  color: white;
  background: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.secondary {
  background: white;
  border: 1px solid var(--border);
}

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

.hero-card {
  background: var(--card);
  padding: 34px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.profile-circle {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
}

.hero-card h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.hero-card p {
  color: var(--muted);
}

.status {
  margin: 22px auto 0;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

.status span {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
}

.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 75px 22px;
}

.section.dark {
  max-width: none;
  background: var(--dark);
  color: white;
}

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

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

.section-heading h2,
.split h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

.card.large {
  grid-row: span 2;
}

.card h3,
.skill-card h3,
.timeline-item h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p,
.skill-card p,
.timeline-item p,
.split p,
.contact-box p {
  color: var(--muted);
}

.clean-list {
  list-style: none;
}

.clean-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.clean-list li:last-child {
  border-bottom: none;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skill-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  border-radius: 24px;
}

.skill-card p {
  color: #cbd5e1;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}

.timeline-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #dbeafe;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 25px;
}

.stats div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.stats strong {
  display: block;
  margin-bottom: 4px;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.image-placeholder {
  min-height: 330px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.86), rgba(124,58,237,0.86)),
    radial-gradient(circle at top left, rgba(255,255,255,0.45), transparent 35%);
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 1.2rem;
  font-weight: 800;
}

.contact {
  text-align: center;
}

.contact-box {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 800;
}

.footer {
  max-width: 1150px;
  margin: 0 auto;
  padding: 28px 22px 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer a {
  font-weight: 800;
  color: var(--primary);
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
  }

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

  .hero,
  .about-grid,
  .skills-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 65px;
  }

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

  .footer {
    flex-direction: column;
  }
}
