:root {
  --bg: #05050a;
  --card: rgba(18, 17, 32, 0.78);
  --purple: #8b5cf6;
  --purple-bright: #a855f7;
  --white: #ffffff;
  --muted: #a1a1aa;
  --line: rgba(168, 85, 247, 0.28);
  --glow: rgba(139, 92, 246, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.25), transparent 34rem),
    radial-gradient(circle at 10% 25%, rgba(168, 85, 247, 0.18), transparent 28rem),
    linear-gradient(135deg, #030305 0%, #070711 45%, #0d061a 100%);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  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: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  z-index: -2;
}

.orb {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d8b4fe, #7c3aed 38%, #1e063d 72%);
  opacity: 0.1;
  animation: floatOrb 11s ease-in-out infinite alternate;
  z-index: -1;
}

.orb.one {
  top: 12%;
  right: -12rem;
}

.orb.two {
  bottom: 8%;
  left: -8rem;
  width: 17rem;
  height: 17rem;
  animation-delay: -4s;
}

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

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 10, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.08));
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.26);
  color: #c084fc;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: 0.25s ease;
}

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

.nav-links a.active {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(168, 85, 247, 0.55);
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 18px 48px rgba(124, 58, 237, 0.32);
  color: var(--white);
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(124, 58, 237, 0.46);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  color: #e9d5ff;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 82px 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #c084fc;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}


.hero h1 {
  max-width: 1000px;
  font-size: clamp(42px, 7vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #ffffff 5%, #a78bfa 37%, #7c3aed 70%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.2s linear infinite;
}

.hero-copy {
  max-width: 620px;
  margin: 28px auto 34px;
  color: #d4d4d8;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-copy span {
  color: #a855f7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 660px;
  margin: 0 auto;
}

.info-card,
.panel,
.skill-card,
.experience-card,
.project-card {
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: linear-gradient(145deg, rgba(18, 17, 32, 0.8), rgba(8, 8, 16, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.info-card {
  padding: 18px;
  border-radius: 20px;
  color: var(--muted);
}

.info-card strong {
  display: block;
  color: var(--white);
  font-size: 20px;
}


.showcase {
  position: absolute;
  inset: 34px 0 0;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.42);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(15, 15, 26, 0.96), rgba(25, 13, 48, 0.84)),
    radial-gradient(circle at 76% 35%, rgba(124, 58, 237, 0.45), transparent 24rem);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 42px 100px rgba(92, 22, 197, 0.28);
  transform: rotateY(-7deg) rotateX(4deg);
  animation: cardFloat 6s ease-in-out infinite;
}

.mock-window {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.36);
  border-radius: 24px;
  background: rgba(3, 3, 8, 0.72);
}

.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
}

.mock-brand {
  color: #c084fc;
  font-weight: 800;
}

.mock-links {
  display: flex;
  gap: 18px;
}

.mock-content {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  min-height: 300px;
  padding: 20px 34px 38px;
}

.mock-content h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.mock-content h2 span {
  color: #a855f7;
}

.mock-content p {
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
}

.sphere-wrap {
  position: relative;
  height: 320px;
}

.sphere {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #f5d0fe, #8b5cf6 36%, #3b0764 74%);
  box-shadow: 0 28px 80px rgba(124, 58, 237, 0.56);
  animation: spherePulse 4s ease-in-out infinite;
}

.platform {
  position: absolute;
  right: 0;
  bottom: 26px;
  width: 330px;
  height: 160px;
  transform: skewY(-15deg);
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3), rgba(124, 58, 237, 0.74));
  border: 1px solid rgba(196, 181, 253, 0.2);
  box-shadow: 0 34px 80px rgba(124, 58, 237, 0.22);
}

.mock-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mock-feature {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.mock-feature:last-child {
  border-right: 0;
}

.mock-feature b {
  display: block;
  margin-bottom: 8px;
}

.mock-feature small {
  color: var(--muted);
}

section {
  padding: 86px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.about-bio {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.about-bio-left h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
  position: sticky;
  top: 100px;
}

.about-intro {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--white);
  margin-bottom: 20px;
}

.about-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 36px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.panel {
  border-radius: 28px;
  padding: 32px;
}

.panel h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.panel p,
.experience-card p,
.project-card p {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.stat strong {
  display: block;
  color: #c084fc;
  font-size: 34px;
  line-height: 1;
}

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

.process-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 28px;
  border-radius: 26px;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: linear-gradient(145deg, rgba(18, 17, 32, 0.82), rgba(8, 8, 16, 0.76));
  backdrop-filter: blur(14px);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--step-color, #a78bfa);
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--step-color, #a78bfa) 20%, transparent), transparent 60%);
  pointer-events: none;
}

.process-step-num {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--step-color, #a78bfa);
  text-transform: uppercase;
  opacity: 0.8;
}

.process-icon-wrap {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--step-color, #a78bfa) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--step-color, #a78bfa) 35%, transparent);
  color: var(--step-color, #a78bfa);
}

.process-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.process-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-card:hover,
.experience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.55);
}

.skills-table {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.skills-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.skills-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
}

.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-pills span {
  padding: 7px 16px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.07);
  color: #e4e4e7;
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.skills-pills span:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  transition: 0.28s ease;
}


.project-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.project-card .meta {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: #d8b4fe;
  font-size: 13px;
  font-weight: 700;
}

.project-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 28%, rgba(168, 85, 247, 0.35), transparent 11rem),
    linear-gradient(145deg, rgba(124, 58, 237, 0.18), rgba(255, 255, 255, 0.035));
}

.project-visual--img {
  padding: 0;
  height: 220px;
  min-height: unset;
  background: none;
}

.project-visual--img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-visual--img img {
  transform: scale(1.04);
}

.project-screen {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(5, 5, 10, 0.72);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.project-bar {
  height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.18), transparent);
}

.project-lines {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.project-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.project-lines span:nth-child(1) {
  width: 84%;
  background: rgba(168, 85, 247, 0.44);
}

.project-lines span:nth-child(2) {
  width: 58%;
}

.project-lines span:nth-child(3) {
  width: 72%;
}

.project-content {
  position: relative;
  z-index: 1;
  padding: 8px 4px;
}

.project-details {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.project-detail {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.project-detail b {
  display: block;
  margin-bottom: 4px;
  color: #e9d5ff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-detail span {
  color: var(--muted);
  font-size: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 700;
}

.project-cta {
  margin-top: 22px;
  font-size: 14px;
  min-height: 42px;
  padding: 0 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: linear-gradient(var(--purple), rgba(168, 85, 247, 0.06));
}

.experience-card {
  position: relative;
  margin-left: 54px;
  padding: 28px;
  border-radius: 26px;
  transition: 0.28s ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 31px;
  left: -45px;
  width: 16px;
  height: 16px;
  border: 4px solid #05050a;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 0 1px var(--purple), 0 0 30px var(--glow);
}

.experience-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.experience-card h3 {
  font-size: 22px;
}

.company {
  color: #c4b5fd;
  font-weight: 700;
}

.date {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 36px;
  background:
    radial-gradient(circle at 80% 10%, rgba(168, 85, 247, 0.28), transparent 26rem),
    linear-gradient(135deg, rgba(18, 17, 32, 0.9), rgba(8, 8, 16, 0.86));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.contact-card p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

footer {
  padding: 32px 0 46px;
  color: var(--muted);
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(168, 85, 247, 0.06);
  color: #c4b5fd;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 14px;
}

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

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

@keyframes shimmer {
  to {
    background-position: 220% center;
  }
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-44px, 36px, 0) scale(1.08);
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: rotateY(-7deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: rotateY(-3deg) rotateX(2deg) translateY(-16px);
  }
}

@keyframes spherePulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-16px) scale(1.04);
  }
}

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

  .hero {
    padding-top: 58px;
  }

  .process-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-visual {
    min-height: 250px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-links {
    display: none;
  }

  .quick-info,
  .projects-grid,
  .project-card,
  .mock-content,
  .mock-bottom,
  .stats {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding: 18px;
    transform: none;
  }

  .mock-window {
    overflow-y: auto;
  }

  .mock-links {
    display: none;
  }

  .sphere-wrap {
    height: 250px;
  }

  .sphere {
    right: 52px;
    width: 150px;
    height: 150px;
  }

  .platform {
    width: 250px;
  }

  .experience-top {
    flex-direction: column;
    gap: 6px;
  }

  .contact-card {
    padding: 34px 20px;
  }
}
