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

:root {
  --bg: #0a0a12;
  --bg2: #0f0f1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --accent1: #7c3aed;
  --accent2: #2563eb;
  --accent3: #06b6d4;
  --gradient: linear-gradient(135deg, var(--accent1), var(--accent2), var(--accent3));
  --gradient-text: linear-gradient(135deg, #a78bfa, #60a5fa, #22d3ee);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── BACKGROUND ORBS ─────────────────────────────── */
.orb-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.orb-1 { width: 600px; height: 600px; background: var(--accent1); top: -200px; left: -100px; animation: orb-drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 500px; height: 500px; background: var(--accent2); bottom: -150px; right: -80px; animation: orb-drift 22s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 350px; height: 350px; background: var(--accent3); top: 40%; left: 50%; transform: translate(-50%, -50%); animation: orb-drift 16s ease-in-out infinite alternate; }

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}
.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ─── LAYOUT ──────────────────────────────────────── */
main { position: relative; z-index: 1; }
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* ─── HERO ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  background: var(--surface);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ─── SECTION HEADINGS ────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--surface-border);
  margin: 0 auto;
  max-width: 1100px;
}

/* ─── ABOUT ───────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}
.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-3px);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── INTERESTS ───────────────────────────────────── */
.interests-intro {
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.interest-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, transform 0.25s;
}
.interest-card:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-4px);
}
.interest-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.interest-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.interest-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── QUOTE ────────────────────────────────────────── */
.quote-block {
  margin: 0 0 3rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid;
  border-image: var(--gradient) 1;
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.quote-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.quote-author {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ─── TECH STRIP ───────────────────────────────────── */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.tech-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-muted);
}

/* ─── CONTACT ─────────────────────────────────────── */
#contact {
  text-align: center;
}
.contact-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.2s;
}
.contact-link:hover {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-3px);
}
.contact-link svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ─── FADE-IN ANIMATIONS ──────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  section { padding: 5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
}
