:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --dim: rgba(255, 255, 255, 0.6);
  --accent-1: #7c86ff;
  --accent-2: #c27aff;
  --accent-3: #fb64b6;
  --pill-text: #a3b3ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(
    122deg,
    #0f0f23 0%,
    #111127 7%,
    #12122a 14%,
    #14142e 21%,
    #151532 28%,
    #171736 35%,
    #18183a 43%,
    #1a1a3e 50%,
    #18183a 57%,
    #171736 64%,
    #151532 71%,
    #14142e 79%,
    #12122a 86%,
    #111127 93%,
    #0f0f23 100%
  );
}

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(15, 15, 35, 0.82);
  border-bottom: 0.8px solid rgba(255, 255, 255, 0.1);
}

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

.brand {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1.4px;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.35px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.nav-links .active {
  color: var(--accent-1);
}

.contact-page {
  position: relative;
  overflow-x: hidden;
  padding: 128px 0 96px;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.ambient-a {
  width: 500px;
  height: 500px;
  left: 38%;
  top: 180px;
  background: rgba(97, 95, 255, 0.2);
  filter: blur(120px);
}

.ambient-b {
  width: 600px;
  height: 600px;
  left: 18%;
  top: -53px;
  background: rgba(173, 70, 255, 0.2);
  filter: blur(120px);
}

.ambient-c {
  width: 400px;
  height: 400px;
  left: 48%;
  top: 365px;
  background: rgba(246, 51, 154, 0.1);
  filter: blur(100px);
}

.about-card,
.connect-section {
  position: relative;
  z-index: 1;
}

.about-card {
  border-radius: 24px;
  overflow: hidden;
  border: 0.8px solid rgba(124, 134, 255, 0.3);
}

.about-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    148deg,
    rgba(97, 95, 255, 0.1) 0%,
    rgba(173, 70, 255, 0.05) 50%,
    rgba(246, 51, 154, 0.1) 100%
  );
}

.about-inner {
  position: relative;
  min-height: 700px;
  padding: 64px;
  background: linear-gradient(148deg, rgba(97, 95, 255, 0.05), rgba(173, 70, 255, 0.05));
}

.role-pill {
  display: inline-block;
  margin: 0;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0.8px solid rgba(124, 134, 255, 0.3);
  background: linear-gradient(90deg, rgba(97, 95, 255, 0.2), rgba(173, 70, 255, 0.2));
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.about-grid {
  margin-top: 71px;
  display: grid;
  grid-template-columns: minmax(0, 638px) minmax(280px, 1fr);
  gap: 60px;
  align-items: center;
}

.about-copy h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -1.2px;
}

.about-copy h1 span {
  font-weight: 400;
}

.about-text {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text p {
  margin: 0;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--muted);
}

.about-text strong {
  font-weight: 600;
}

.accent-purple {
  background: linear-gradient(90deg, #7c86ff, #c27aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-pink {
  background: linear-gradient(90deg, #c27aff, #fb64b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.resume-btn {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17.6px 33.6px;
  border-radius: 999px;
  border: 1.6px solid rgba(124, 134, 255, 0.3);
  background: transparent;
  text-decoration: none;
  color: var(--pill-text);
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.resume-btn:hover {
  background: rgba(124, 134, 255, 0.08);
  border-color: rgba(124, 134, 255, 0.5);
}

.resume-btn img {
  display: block;
  flex-shrink: 0;
}

.profile-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  justify-self: end;
  overflow: visible;
  z-index: 2;
}

.profile-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(97, 95, 255, 0.3),
    rgba(173, 70, 255, 0.2),
    rgba(246, 51, 154, 0.3)
  );
  filter: blur(64px);
  opacity: 0.56;
}

.profile-orbit {
  position: absolute;
  width: 479px;
  height: 479px;
  left: -80px;
  top: -80px;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.profile-ring-dashed {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 0.8px dashed rgba(124, 134, 255, 0.3);
  transform: rotate(-129.85deg);
}

.profile-ring-outer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  border: 1.6px solid rgba(124, 134, 255, 0.4);
  background: linear-gradient(135deg, rgba(97, 95, 255, 0.2), rgba(173, 70, 255, 0.1), transparent);
  box-shadow: 0 25px 50px rgba(97, 95, 255, 0.2);
  padding: 5.6px;
  overflow: hidden;
}

.profile-ring-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 0.8px solid rgba(124, 134, 255, 0.2);
  background: linear-gradient(135deg, rgba(97, 95, 255, 0.2), rgba(173, 70, 255, 0.1), rgba(246, 51, 154, 0.1));
  overflow: hidden;
}

.profile-photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: 96%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
}

.connect-section {
  margin-top: 96px;
}

.connect-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.connect-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    152deg,
    rgba(97, 95, 255, 0.2),
    rgba(173, 70, 255, 0.2),
    rgba(246, 51, 154, 0.2)
  );
  filter: blur(40px);
}

.connect-inner {
  position: relative;
  padding: 65px;
  border: 0.8px solid rgba(124, 134, 255, 0.3);
  border-radius: 24px;
  background: linear-gradient(
    152deg,
    rgba(97, 95, 255, 0.1),
    rgba(173, 70, 255, 0.05),
    rgba(246, 51, 154, 0.1)
  );
  text-align: center;
}

.connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10.8px 20.8px;
  border-radius: 999px;
  border: 0.8px solid rgba(124, 134, 255, 0.3);
  background: linear-gradient(90deg, rgba(97, 95, 255, 0.2), rgba(173, 70, 255, 0.2));
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
}

.connect-pill img {
  display: block;
}

.connect-inner h2 {
  margin: 24px 0 0;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 60px;
  font-weight: 300;
  letter-spacing: -1.5px;
}

.gradient-text {
  font-weight: 400;
  background: linear-gradient(90deg, #7c86ff, #c27aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.connect-subtitle {
  margin: 24px auto 0;
  max-width: 768px;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--muted);
}

.email-box {
  margin: 32px auto 0;
  max-width: 396px;
  padding: 32.8px;
  border-radius: 16px;
  border: 0.8px solid rgba(124, 134, 255, 0.2);
  background: linear-gradient(161deg, rgba(97, 95, 255, 0.1), rgba(173, 70, 255, 0.1));
}

.email-box p {
  margin: 0;
  font-size: 16px;
  color: var(--dim);
}

.email-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.email-link span {
  font-size: 24px;
  font-weight: 500;
  background: linear-gradient(90deg, #7c86ff, #c27aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.email-link img {
  display: block;
  flex-shrink: 0;
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 0.8px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.6px;
  font-weight: 300;
  background: linear-gradient(90deg, #7c86ff, #c27aff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-sub {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-row > a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 16px;
  opacity: 0.6;
}

.socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0.8px solid rgba(124, 134, 255, 0.2);
  display: grid;
  place-items: center;
}

.socials img {
  width: 24px;
  height: 24px;
}

@media (max-width: 1140px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile-wrap {
    justify-self: center;
  }

  .about-inner {
    min-height: auto;
    padding: 48px 32px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1240px, calc(100% - 32px));
  }

  .nav-links {
    gap: 20px;
  }

  .contact-page {
    padding-top: 96px;
  }

  .about-inner,
  .connect-inner {
    padding: 32px 20px;
  }

  .about-text p {
    font-size: 17px;
    line-height: 1.6;
  }

  .profile-wrap {
    width: 280px;
    height: 280px;
  }

  .profile-orbit {
    width: 380px;
    height: 380px;
    left: -50px;
    top: -50px;
  }

  .profile-ring-dashed {
    width: 280px;
    height: 280px;
  }

  .email-link span {
    font-size: 18px;
  }

  .footer-row {
    flex-direction: column;
    gap: 20px;
  }
}
