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

:root {
  --purple: #a78bfa;
  --purple-d: #7c3aed;
  --teal: #5eead4;
  --pink: #f472b6;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-b: rgba(255, 255, 255, 0.13);
  --glass-h: rgba(255, 255, 255, 0.12);
  --t1: rgba(255, 255, 255, 0.95);
  --t2: rgba(255, 255, 255, 0.58);
  --t3: rgba(255, 255, 255, 0.32);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background: #070412;
  color: var(--t1);
  overflow-x: hidden;
  cursor: none;
}

#cursor {
  width: 12px;
  height: 12px;
  background: var(--purple);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s;
  mix-blend-mode: screen;
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 90% 70% at 5% 5%, rgba(124, 58, 237, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 95% 15%, rgba(20, 184, 166, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 75% 55% at 55% 95%, rgba(236, 72, 153, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(124, 58, 237, 0.18) 0%, transparent 50%), #070412;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 18px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 26px;
  border-radius: 50px;
}

.nav-logo {
  font-family: "Clash Display", sans-serif;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--t2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-hire {
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-hire:hover {
  background: rgba(167, 139, 250, 0.22);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--t2);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  padding: 110px 0 90px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 234, 212, 0.09);
  border: 1px solid rgba(94, 234, 212, 0.2);
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero-name {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1px;
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.08s ease both;
}

.hero-name .grad {
  background: linear-gradient(110deg, var(--purple) 0%, var(--pink) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 16px;
  color: var(--t2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.16s ease both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.24s ease both;
}

.btn-p {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.55), rgba(244, 114, 182, 0.4));
  border: 1px solid rgba(167, 139, 250, 0.42);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}

.btn-p:hover {
  filter: brightness(1.18);
  transform: translateY(-2px);
}

.btn-s {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  color: var(--t2);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-s:hover {
  background: var(--glass-h);
  color: var(--t1);
  transform: translateY(-2px);
}

.profile-card {
  width: 210px;
  padding: 28px 22px;
  border-radius: var(--r-lg);
  text-align: center;
  animation: fadeUp 0.7s 0.32s ease both;
  flex-shrink: 0;
}

.avatar-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--teal));
  padding: 2px;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #120a28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Clash Display", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--purple);
  overflow: hidden;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.profile-name {
  font-family: "Clash Display", sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 12px;
  color: var(--t2);
  margin-bottom: 14px;
}

.profile-location {
  font-size: 11px;
  color: var(--t3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.profile-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.soc-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--t2);
  transition: all 0.2s;
}

.soc-btn:hover {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.3);
  color: var(--purple);
  transform: translateY(-2px);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
  animation: fadeUp 0.7s 0.38s ease both;
}

.stat-box {
  padding: 20px 16px;
  border-radius: var(--r-md);
  text-align: center;
  transition: background 0.2s, transform 0.2s;
}

.stat-box:hover {
  background: var(--glass-h);
  transform: translateY(-3px);
}

.stat-n {
  font-family: "Clash Display", sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l {
  font-size: 12px;
  color: var(--t3);
  margin-top: 4px;
  font-weight: 500;
}

/* SECTIONS */
section {
  padding: 88px 0;
}

.sec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-title {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 50px;
}

.sec-title span {
  background: linear-gradient(120deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.about-card {
  padding: 28px 30px;
  border-radius: var(--r-lg);
}

.about-text {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.85;
}

.about-text b {
  color: var(--t1);
  font-weight: 500;
}

.about-hl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.about-hl {
  padding: 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.about-hl-v {
  font-family: "Clash Display", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.about-hl-k {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
}

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

.skill-group {
  padding: 24px;
  border-radius: var(--r-lg);
  transition: transform 0.25s;
}

.skill-group:hover {
  transform: translateY(-4px);
}

.sg-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sg-title {
  font-family: "Clash Display", sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  transition: all 0.2s;
  cursor: default;
}

.pill:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.28);
  color: var(--purple);
}

.pill.t:hover {
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.25);
  color: var(--teal);
}

.pill.p:hover {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.25);
  color: var(--pink);
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proj-card {
  padding: 26px;
  border-radius: var(--r-lg);
  transition: transform 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.proj-card:hover {
  transform: translateY(-5px);
  background: var(--glass-h);
}

.proj-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.proj-title {
  font-family: "Clash Display", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.proj-desc {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 18px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.proj-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--t3);
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s;
}

.proj-card:hover .proj-link {
  opacity: 1;
  transform: translateY(0);
}

/* HACKATHONS */
.hack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hack-section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  margin-bottom: 16px;
}

.hack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hack-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  transition: background 0.2s, transform 0.2s;
}

.hack-item:hover {
  background: var(--glass-h);
  transform: translateX(4px);
}

.hack-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hack-info {
  flex: 1;
}

.hack-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.hack-meta {
  font-size: 12px;
  color: var(--t3);
}

.hack-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

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

.cert-card {
  padding: 22px;
  border-radius: var(--r-lg);
  transition: transform 0.25s, background 0.25s;
}

.cert-card:hover {
  transform: translateY(-4px);
  background: var(--glass-h);
}

.cert-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cert-name {
  font-family: "Clash Display", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
}

.cert-org {
  font-size: 12px;
  color: var(--t2);
  margin-bottom: 8px;
}

.cert-year {
  font-size: 11px;
  color: var(--t3);
}

/* CONTACT */
.contact-shell {
  padding: 56px 52px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.contact-shell::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 44px;
}

.contact-header h2 {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 15px;
  color: var(--t2);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--t2);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--t1);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--t3);
}

.form-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: "Clash Display", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.65), rgba(244, 114, 182, 0.5));
  border: 1px solid rgba(167, 139, 250, 0.4);
  transition: filter 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}

.form-submit:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.form-submit:active {
  transform: scale(0.98);
}

.form-msg {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--teal);
  display: none;
}

.contact-alt {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--t2);
  text-decoration: none;
  transition: all 0.2s;
}

.contact-chip:hover {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.25);
  color: var(--purple);
}

footer {
  text-align: center;
  padding: 30px 32px;
  font-size: 12px;
  color: var(--t3);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer span {
  color: var(--purple);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .profile-card {
    display: none;
  }
  .about-grid,
  .hack-grid {
    grid-template-columns: 1fr;
  }
  .skills-groups,
  .projects-grid,
  .certs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-shell {
    padding: 36px 24px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .skills-groups,
  .projects-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding: 0 18px;
  }
  .hero {
    padding: 72px 0 60px;
  }
}
