/* ================================
   GLOBAL
================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #080812;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  margin: auto;
}


/* ================================
   BACKGROUND
================================ */

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(circle at top, #17152c 0%, #080812 55%, #05050a 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: #5b3df5;
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #008cff;
  right: -150px;
  top: 30%;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: #d64cff;
  left: 20%;
  bottom: -150px;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(40px, 50px);
  }
}


/* ================================
   HERO
================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.profile-wrapper {
  width: 300px;
  height: 300px;
  margin-bottom: 30px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #ffffff,
    #8a5cff,
    #35a8ff
  );
  box-shadow:
    0 0 40px rgba(116, 92, 255, 0.4),
    0 0 80px rgba(53, 168, 255, 0.15);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FFFFFF;
  display: block;
}

.eyebrow {
  color: #8cbcff;
  font-size: 0.75rem;
  letter-spacing: 5px;
  margin-bottom: 18px;
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -4px;
}

h1 span {
  background: linear-gradient(
    90deg,
    #8d65ff,
    #4aa8ff,
    #ff70ca
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 650px;
  margin-top: 32px;
  color: #b9b9c8;
  font-size: 1.1rem;
  line-height: 1.8;
}

.scroll-indicator {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.scroll-indicator span {
  color: #8f8f9e;
  font-size: 0.65rem;
  letter-spacing: 4px;
}

.mouse {
  width: 25px;
  height: 42px;
  border: 1px solid #55556a;
  border-radius: 20px;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  margin: auto;
  border-radius: 10px;
  background: #7baeff;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}


/* ================================
   SECTIONS
================================ */

.section {
  padding: 120px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 55px;
}

.section-heading p {
  color: #7faeff;
  font-size: 0.7rem;
  letter-spacing: 4px;
  margin-bottom: 15px;
}

.section-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1;
}

.section-heading h2 span {
  color: #9d7aff;
}


/* ================================
   GLASS CARD
================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 25px 70px rgba(0, 0, 0, 0.25);
}


/* ================================
   ABOUT
================================ */

.about-card {
  max-width: 850px;
  margin: auto;
  padding: 50px;
  text-align: center;
}

.about-card > p {
  color: #c4c4d0;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-card strong {
  color: #ffffff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.info-item {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.label {
  display: block;
  color: #7faeff;
  font-size: 0.65rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.value {
  color: #e8e8ef;
  line-height: 1.6;
  font-size: 0.95rem;
}


/* ================================
   SKILLS
================================ */

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

.skill-card {
  padding: 35px 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
}

.skill-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;

  border-radius: 18px;
  background: rgba(117, 88, 255, 0.18);
  color: #a58bff;
  font-size: 1.4rem;
}

.skill-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.skill-card p {
  color: #a9a9b8;
  line-height: 1.7;
  font-size: 0.9rem;
}


/* ================================
   PROJECTS
================================ */

.project-section {
  padding-bottom: 140px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1050px;
  margin: auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: #694cff;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.25;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-label {
  color: #7faeff;
  font-size: 0.7rem;
  letter-spacing: 4px;
}

.project-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 7vw, 5rem);
  margin: 15px 0 25px;
}

.project-card h3 span {
  background: linear-gradient(90deg, #5ea9ff, #b064ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-card > .project-content > p:not(.project-label) {
  max-width: 600px;
  margin: auto;
  color: #b9b9c8;
  line-height: 1.8;
}

.project-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.project-tags span {
  padding: 9px 15px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.07);
  color: #a9c9ff;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;

  padding: 17px 28px;
  border-radius: 50px;

  color: #ffffff;
  text-decoration: none;
  font-weight: bold;

  background: linear-gradient(
    135deg,
    #5d52ff,
    #a34cff
  );

  box-shadow:
    0 10px 35px rgba(103, 76, 255, 0.35);

  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.download-button:hover {
  transform: translateY(-4px);
  box-shadow:
    0 15px 45px rgba(103, 76, 255, 0.5);
}

.download-button span {
  font-size: 1.3rem;
}


/* ================================
   FOOTER
================================ */

footer {
  text-align: center;
  padding: 40px 0 60px;
}

.footer-line {
  height: 1px;
  width: 100%;
  margin-bottom: 35px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
}

footer > p:first-of-type {
  color: #c9c9d4;
  font-size: 0.7rem;
  letter-spacing: 3px;
}

.footer-small {
  margin-top: 15px;
  color: #6e6e7e;
  font-size: 0.75rem;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {

  main {
    width: min(92%, 600px);
  }

  .profile-wrapper {
    width: 250px;
    height: 250px;
  }

  .section {
    padding: 90px 0;
  }

  .about-card {
    padding: 32px 22px;
  }

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

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

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

  .project-card {
    padding: 50px 22px;
  }

  h1 {
    letter-spacing: -2px;
  }

}