:root {
  color-scheme: dark;
  --bg: #0c0f1a;
  --bg-alt: #11162a;
  --text: #e6ebff;
  --muted: #a9b2d8;
  --accent: #9b5cff;
  --accent-2: #35d3ff;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.15);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
}

.blob {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, #8e7bff, transparent 60%);
  filter: blur(40px);
  opacity: 0.6;
  animation: float 14s ease-in-out infinite;
}

.blob-1 {
  top: -120px;
  left: -80px;
}

.blob-2 {
  bottom: -160px;
  right: -120px;
  background: radial-gradient(circle at 30% 30%, #35d3ff, transparent 60%);
  animation-delay: 2s;
}

.blob-3 {
  top: 30%;
  right: 20%;
  background: radial-gradient(circle at 30% 30%, #ff7ad9, transparent 60%);
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-40px) translateX(20px) scale(1.05);
  }
}

.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8vw;
  backdrop-filter: blur(18px);
  background: rgba(10, 13, 24, 0.72);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav nav {
  display: flex;
  gap: 24px;
}

.nav a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 16px 40px rgba(155, 92, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(155, 92, 255, 0.45);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  box-shadow: none;
}

main {
  padding: 0 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 90px 0 70px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.eyebrow {
  font-size: 1rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 10px;
}

.typing {
  font-size: 1.1rem;
  color: var(--text);
  min-height: 32px;
  margin-bottom: 18px;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.quick-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(155, 92, 255, 0.4), transparent 60%);
  opacity: 0.8;
}

.card-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
}

.stats {
  display: grid;
  gap: 10px;
}

.stats div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.stats strong {
  color: var(--text);
}

.section {
  padding: 70px 0;
}

.section-title {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
  line-height: 1.6;
}

.about-grid,
.focus-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.stack h3 {
  margin: 26px 0 12px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.stats-grid img {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.footer {
  text-align: center;
  padding: 30px 0 50px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }

  .hero-card {
    padding: 24px;
  }

  .nav {
    padding: 16px 6vw;
  }
}

body.light {
  color-scheme: light;
  --bg: #f7f8ff;
  --bg-alt: #ffffff;
  --text: #111225;
  --muted: #50567a;
  --glass: rgba(255, 255, 255, 0.75);
  --border: rgba(17, 18, 37, 0.12);
  --shadow: 0 30px 80px rgba(57, 59, 71, 0.15);
}
