:root {
  --bg: #070b17;
  --bg-soft: #0c1222;
  --card: rgba(16, 23, 42, 0.72);
  --card-solid: #10172a;
  --text: #f4f7ff;
  --muted: #9ca8c1;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #9b7cff;
  --cyan: #4be1d0;
  --blue: #60a5fa;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.section {
  padding: 110px 0;
}
.page-noise {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
  background: radial-gradient(circle, var(--purple), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.site-header.scrolled {
  background: rgba(7, 11, 23, 0.82);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk';
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #07101b;
  font-size: 14px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c7d0e4;
  font-size: 14px;
}
.nav-links a:hover {
  color: white;
}
.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: white;
}
.hero {
  min-height: 930px;
  padding-top: 170px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 55px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  left: -360px;
  top: 120px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.19), transparent 66%);
  z-index: -1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 700;
  color: #aeb9d2;
  margin: 0 0 22px;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 9px;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.12);
}
h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  margin-top: 0;
}
h1 {
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  letter-spacing: -0.065em;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  letter-spacing: -0.05em;
  max-width: 920px;
}
h3 {
  letter-spacing: -0.025em;
}
.gradient-text {
  background: linear-gradient(100deg, #a88bff, #60a5fa 48%, #4be1d0);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-animated-word {
  display: inline-block;
  min-width: 10.5ch;
  margin: 0 0.2rem;
  color: transparent;
  background: linear-gradient(100deg, #a88bff, #60a5fa 48%, #4be1d0);
  background-clip: text;
  -webkit-background-clip: text;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.hero-animated-word.is-changing {
  opacity: 0;
  transform: translateY(8px);
}
.hero-lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 35px 0 45px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 11px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
}
.button.primary {
  color: #080c16;
  background: linear-gradient(135deg, #b39cff, #65e5d6);
  border: 0;
  box-shadow: 0 14px 45px rgba(92, 203, 210, 0.18);
}
.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta strong {
  font-size: 13px;
}
.hero-meta span {
  font-size: 12px;
  color: var(--muted);
}
.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  perspective: 1000px;
}
.code-window {
  width: min(100%, 540px);
  background: rgba(10, 16, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease-out;
}
.window-bar {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}
.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}
.window-bar span:nth-child(2) {
  background: #ffd166;
}
.window-bar span:nth-child(3) {
  background: #65d889;
}
.window-bar small {
  margin-left: auto;
  color: #7f8ba4;
}
pre {
  margin: 0;
  padding: 30px;
  overflow: auto;
  font:
    13px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #d8e1f4;
}
.code-purple {
  color: #c084fc;
}
.code-blue {
  color: #67e8f9;
}
.code-yellow {
  color: #fde68a;
}
.code-green {
  color: #86efac;
}
.code-comment {
  color: #64748b;
}
.code-result {
  margin: 0 20px 20px;
  padding: 11px 14px;
  border-radius: 9px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.17);
  color: #9ce9b7;
  font-size: 12px;
}
.code-result span {
  margin-right: 8px;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}
.orbit-one {
  width: 510px;
  height: 510px;
}
.orbit-two {
  width: 390px;
  height: 390px;
}
.floating-chip {
  position: absolute;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  backdrop-filter: blur(15px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: float 5s ease-in-out infinite;
}
.chip-python {
  top: 9%;
  right: 2%;
  background: rgba(96, 165, 250, 0.12);
}
.chip-ai {
  bottom: 12%;
  left: 2%;
  background: rgba(168, 139, 250, 0.12);
  animation-delay: -2s;
}
.chip-web {
  bottom: 22%;
  right: -2%;
  background: rgba(75, 225, 208, 0.12);
  animation-delay: -3.3s;
}
@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  color: #aab5ca;
  background: rgba(255, 255, 255, 0.018);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 26px;
  align-items: center;
  animation: scroll 35s linear infinite;
  font-family: 'Space Grotesk';
  font-size: 13px;
  letter-spacing: 0.08em;
}
.marquee-track i {
  color: var(--purple);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
.section-heading {
  margin-bottom: 50px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: end;
}
.split-heading > div:first-child {
  max-width: 760px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.glass-card,
.skill-card,
.stat-card,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(12px);
}
.about-copy {
  border-radius: 22px;
  padding: 36px;
  color: #b7c1d7;
  font-size: 1.03rem;
}
.text-link {
  display: inline-block;
  margin-top: 15px;
  color: white;
  font-weight: 700;
}
.text-link span {
  color: var(--cyan);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-card strong {
  font: 700 2.6rem 'Space Grotesk';
  color: #eef2ff;
}
.stat-card span {
  font-size: 13px;
  color: var(--muted);
}
.skills-section,
.journey-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  border-block: 1px solid var(--line);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.skill-card {
  border-radius: 20px;
  padding: 28px;
  transition: 0.3s;
}
.skill-card:hover {
  transform: translateY(-7px);
  border-color: rgba(155, 124, 255, 0.4);
}
.skill-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  background: linear-gradient(
    135deg,
    rgba(155, 124, 255, 0.2),
    rgba(75, 225, 208, 0.12)
  );
  font: 700 14px 'Space Grotesk';
}
.skill-card h3 {
  font-size: 20px;
}
.skill-card p {
  color: var(--muted);
  font-size: 14px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags span {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #c8d2e6;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.filter-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: #aab5ca;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
}
.filter-btn.active,
.filter-btn:hover {
  background: #eef2ff;
  color: #0b1020;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.project-card {
  border-radius: 22px;
  overflow: hidden;
  transition:
    opacity 0.35s,
    transform 0.35s,
    border-color 0.3s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.23);
}
.project-card.hidden {
  display: none;
}
.project-card.featured {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.project-art {
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.featured .project-art {
  min-height: 440px;
}
.art-purple {
  background: radial-gradient(circle at 30% 20%, #7454c9, #1e2049 55%, #0c1022);
}
.art-blue {
  background: radial-gradient(circle at 50% 50%, #174f7e, #0d2039 52%, #09101f);
}
.art-cyan {
  background: linear-gradient(145deg, #15505a, #0d2831 55%, #09101d);
}
.art-orange {
  background: linear-gradient(145deg, #6b3b1c, #241a20);
}
.art-pink {
  background: linear-gradient(145deg, #5d294d, #211322);
}
.art-green {
  background: linear-gradient(145deg, #164936, #0c211e);
}
.project-content {
  padding: 28px;
}
.featured .project-content {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #95a1ba;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.project-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 18px 0 14px;
}
.project-content p {
  color: var(--muted);
  font-size: 14px;
}
.project-links {
  display: flex;
  gap: 20px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
}
.project-links a:hover {
  color: var(--cyan);
}
.dashboard-mockup {
  width: 82%;
  height: 72%;
  display: flex;
  background: #0d1324;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.mock-sidebar {
  width: 28%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-right: 1px solid var(--line);
  font-size: 11px;
}
.mock-sidebar span {
  height: 7px;
  background: #26304a;
  border-radius: 4px;
}
.mock-main {
  flex: 1;
  padding: 20px;
}
.mock-top {
  height: 33px;
  background: #242d49;
  border-radius: 8px;
  margin-bottom: 30px;
}
.mock-chart {
  height: 105px;
  display: flex;
  align-items: end;
  gap: 10px;
}
.mock-chart i {
  flex: 1;
  background: linear-gradient(#73e1d5, #816ae6);
  border-radius: 5px 5px 0 0;
}
.mock-chart i:nth-child(1) {
  height: 40%;
}
.mock-chart i:nth-child(2) {
  height: 65%;
}
.mock-chart i:nth-child(3) {
  height: 52%;
}
.mock-chart i:nth-child(4) {
  height: 90%;
}
.mock-chart i:nth-child(5) {
  height: 74%;
}
.mock-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.mock-row span {
  height: 50px;
  flex: 1;
  background: #19223a;
  border-radius: 8px;
}
.neural-art {
  width: 230px;
  height: 170px;
  position: relative;
}
.neural-art span {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #70cdf9;
  box-shadow: 0 0 25px #50aee0;
}
.neural-art span:nth-child(1) {
  left: 10px;
  top: 20px;
}
.neural-art span:nth-child(2) {
  left: 10px;
  bottom: 20px;
}
.neural-art span:nth-child(3) {
  left: 102px;
  top: 4px;
}
.neural-art span:nth-child(4) {
  left: 102px;
  top: 73px;
}
.neural-art span:nth-child(5) {
  left: 102px;
  bottom: 3px;
}
.neural-art span:nth-child(6) {
  right: 5px;
  top: 73px;
}
.neural-art i {
  position: absolute;
  height: 2px;
  background: #4d8ab0;
  transform-origin: left;
}
.neural-art i:nth-of-type(1) {
  width: 115px;
  left: 28px;
  top: 31px;
  transform: rotate(-8deg);
}
.neural-art i:nth-of-type(2) {
  width: 105px;
  left: 28px;
  top: 31px;
  transform: rotate(35deg);
}
.neural-art i:nth-of-type(3) {
  width: 112px;
  left: 121px;
  top: 84px;
}
.weather-ui {
  width: 210px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}
.weather-ui strong {
  display: block;
  font: 700 4rem 'Space Grotesk';
}
.weather-ui small {
  color: #b9d7db;
}
.weather-ui section {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 10px;
  color: #cbe6e8;
}
.path-grid {
  width: 235px;
  height: 185px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  position: relative;
}
.path-grid i,
.path-grid span {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.path-grid i:nth-child(3),
.path-grid i:nth-child(4),
.path-grid i:nth-child(7),
.path-grid i:nth-child(8) {
  background: #de9250;
}
.path-grid .start {
  background: #70e6ba;
}
.path-grid .end {
  background: #9c7ef3;
}
.cv-ui {
  display: flex;
  align-items: center;
  gap: 22px;
}
.paper-lines {
  width: 135px;
  height: 175px;
  background: #f3eff4;
  border-radius: 8px;
  padding: 28px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.paper-lines i {
  display: block;
  height: 7px;
  background: #c5b8c4;
  border-radius: 4px;
  margin-bottom: 15px;
}
.score-ring {
  width: 90px;
  height: 90px;
  border: 9px solid #f189bf;
  border-left-color: rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 20px 'Space Grotesk';
  transform: rotate(-12deg);
}
.finance-chart {
  width: 75%;
  color: #7ee5ad;
}
.finance-chart strong {
  font: 700 2rem 'Space Grotesk';
  color: white;
}
.finance-chart svg {
  width: 100%;
  height: 130px;
  filter: drop-shadow(0 0 8px rgba(126, 229, 173, 0.4));
  margin-top: 25px;
}
.timeline {
  max-width: 900px;
  margin-left: auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.timeline-year {
  color: var(--cyan);
  font: 600 13px 'Space Grotesk';
}
.timeline-item h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.timeline-item p {
  color: var(--muted);
  margin: 0;
}
.contact-card {
  border-radius: 28px;
  padding: 55px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  background:
    radial-gradient(
      circle at 85% 30%,
      rgba(75, 225, 208, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 100%,
      rgba(155, 124, 255, 0.15),
      transparent 38%
    ),
    var(--card);
}
.contact-card h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin-bottom: 15px;
}
.contact-card p:not(.eyebrow) {
  color: var(--muted);
  max-width: 650px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.social-links {
  display: flex;
  gap: 22px;
  color: #aab5ca;
  font-size: 13px;
}
.social-links a:hover {
  color: white;
}
.footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #78849d;
  font-size: 12px;
}
.footer a:hover {
  color: white;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }
  .hero-visual {
    min-height: 500px;
  }
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured .project-art {
    min-height: 380px;
  }
  .split-heading {
    display: block;
  }
  .project-filters {
    justify-content: flex-start;
    margin-top: 30px;
  }
}
@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 80px 0;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0d1426;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 14px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 125px;
  }
  .hero-visual {
    min-height: 410px;
  }
  .orbit-one {
    width: 380px;
    height: 380px;
  }
  .orbit-two {
    width: 290px;
    height: 290px;
  }
  .floating-chip {
    display: none;
  }
  .hero-meta {
    gap: 18px;
  }
  .stats-grid,
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card.featured {
    grid-column: auto;
    display: block;
  }
  .featured .project-art {
    min-height: 310px;
  }
  .featured .project-content {
    padding: 28px;
  }
  .project-art {
    min-height: 260px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-card {
    padding: 32px 24px;
  }
  .footer {
    flex-direction: column;
    gap: 8px;
  }
  .cursor-glow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
