:root {
  --bg: #070b14;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #eef4ff;
  --muted: #9ca8bd;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #58d5ff;
  --accent-2: #8b5cf6;
  --success: #5df2b6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  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;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 10%, rgba(88, 213, 255, 0.2), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.26), transparent 32%),
    radial-gradient(circle at 50% 80%, rgba(93, 242, 182, 0.12), transparent 34%),
    #070b14;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06111d;
  box-shadow: 0 10px 40px rgba(88, 213, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 56px;
  padding: 80px 0;
}

.eyebrow {
  color: var(--success);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  margin-bottom: 14px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), var(--success));
}

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

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

.stats-grid article,
.hero-card,
.skill-card,
.timeline-content,
.expertise-grid article,
.contact-section {
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.055));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stats-grid article {
  padding: 20px;
  border-radius: 20px;
}

.stats-grid strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.hero-card {
  border-radius: 34px;
  padding: 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -80px;
  right: -70px;
  background: radial-gradient(circle, rgba(88, 213, 255, 0.24), transparent 65%);
}

.profile-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--success));
}

.profile-ring span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b1020;
  font-size: 42px;
  font-weight: 900;
}

.hero-card h2 {
  margin-bottom: 6px;
}

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

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.quick-tags span {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

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

.section-heading h2,
.contact-section h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.section-heading p,
.contact-section p,
.expertise-grid p,
.skill-card p {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: #06111d;
  background: var(--accent);
  border-color: transparent;
}

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

.skill-card,
.expertise-grid article {
  border-radius: var(--radius);
  padding: 24px;
}

.skill-card {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skill-card.hide {
  display: none;
}

.skill-card:hover,
.expertise-grid article:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 18px;
  color: #06111d;
  background: linear-gradient(135deg, var(--accent), var(--success));
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 6px solid #0b1020;
  z-index: 1;
}

.timeline-content {
  border-radius: var(--radius);
  padding: 26px;
}

.timeline-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 4px;
}

.timeline-top h3 {
  margin-bottom: 0;
}

.timeline-top span,
.company {
  color: var(--muted);
  font-weight: 700;
}

.company {
  margin-bottom: 16px;
}

.timeline-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.timeline-content li + li {
  margin-top: 10px;
}

.contact-section {
  margin: 72px auto;
  border-radius: 34px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero,
  .skills-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 64px 0;
  }

  .contact-section,
  .timeline-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 11, 20, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 12px;
  }

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

  .hero-card,
  .contact-section {
    padding: 26px;
  }

  .timeline-item {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .timeline::before {
    left: 13px;
  }

  .timeline-dot {
    width: 28px;
    height: 28px;
    border-width: 5px;
  }
}
