:root {
  color-scheme: dark;
  --bg: #030611;
  --bg-soft: #07111f;
  --panel: rgba(12, 24, 43, 0.66);
  --panel-strong: rgba(17, 33, 58, 0.82);
  --text: #f4f8ff;
  --muted: #a7b5c9;
  --blue: #1aa7ff;
  --blue-bright: #5fd3ff;
  --violet: #8a6cff;
  --mint: #27f5cf;
  --line: rgba(134, 191, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(26, 167, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 30%, rgba(138, 108, 255, 0.16), transparent 26rem),
    linear-gradient(180deg, #02040c 0%, var(--bg) 42%, #02030a 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 75%, transparent);
}

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

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(142, 202, 255, 0.2);
  border-radius: 999px;
  background: rgba(4, 10, 20, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--blue), var(--violet)),
    radial-gradient(circle at 30% 20%, white, transparent 34%);
  box-shadow: 0 0 28px rgba(26, 167, 255, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.section-jump {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 21;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(153, 220, 255, 0.48);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(95, 211, 255, 0.08)),
    rgba(4, 10, 20, 0.82);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(26, 167, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  animation: section-jump-pulse 2.2s ease-in-out infinite;
}

.section-jump:hover {
  border-color: rgba(39, 245, 207, 0.72);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.4),
    0 0 46px rgba(39, 245, 207, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.section-jump:focus-visible {
  outline: 3px solid rgba(39, 245, 207, 0.7);
  outline-offset: 4px;
}

.section-jump__icon {
  width: 16px;
  height: 16px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.section-jump.is-at-end .section-jump__icon {
  transform: translateY(4px) rotate(225deg);
}

@keyframes section-jump-pulse {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 7px;
  }
}

.section {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 112px 24px;
  isolation: isolate;
}

.section-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.two-column,
.year-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 980px;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  font-size: 7.2rem;
}

.hero-line {
  display: inline;
}

h2 {
  font-size: 4.9rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  padding-top: 136px;
}

.hero-content,
.final-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-subtitle,
.section-copy,
.final-content p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.primary-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid rgba(153, 220, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 46px rgba(26, 167, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-cta:hover {
  box-shadow: 0 24px 62px rgba(26, 167, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-2px);
}

.hero-media,
.final-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  perspective: 900px;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 6, 17, 0.92) 0%, rgba(3, 6, 17, 0.46) 44%, rgba(3, 6, 17, 0.68) 100%),
    linear-gradient(180deg, rgba(3, 6, 17, 0.32), rgba(3, 6, 17, 0.92)),
    url("assets/hero-roadmap.png") center / cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
  opacity: 0.78;
}

.final-scene::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 6, 17, 0.68) 0%, rgba(3, 6, 17, 0.18) 42%, rgba(3, 6, 17, 0.58) 100%),
    radial-gradient(circle at 73% 48%, rgba(39, 245, 207, 0.12), transparent 24rem),
    radial-gradient(circle at 24% 38%, rgba(26, 167, 255, 0.12), transparent 22rem);
  pointer-events: none;
}

.hero-media::after,
.final-scene::after {
  position: absolute;
  inset: auto -10% 0;
  height: 46%;
  content: "";
  background: linear-gradient(to top, rgba(3, 6, 17, 0.98), rgba(3, 6, 17, 0));
  pointer-events: none;
}

.final-scene::after {
  z-index: 4;
}

.road-horizon {
  position: absolute;
  left: 50%;
  bottom: -2vh;
  width: min(94vw, 1120px);
  height: 64vh;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(39, 245, 207, 0.52) 24.4% 24.7%, transparent 25.2% 49.5%, rgba(95, 211, 255, 0.95) 50% 50.5%, transparent 51% 74.6%, rgba(138, 108, 255, 0.42) 75% 75.4%, transparent 76%),
    repeating-linear-gradient(to top, rgba(95, 211, 255, 0.34) 0 2px, transparent 2px 48px);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 34px rgba(26, 167, 255, 0.6));
  opacity: 0.78;
  transform: translateX(-50%) rotateX(58deg);
  transform-origin: bottom;
}

.road-glow {
  position: absolute;
  left: 50%;
  bottom: 14vh;
  width: 28vw;
  height: 28vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 211, 255, 0.24), transparent 64%);
  transform: translateX(-50%);
}

.person {
  position: absolute;
  width: clamp(54px, 7vw, 94px);
  aspect-ratio: 0.58;
  filter: drop-shadow(0 0 24px rgba(95, 211, 255, 0.38));
}

.person::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7e8ff, #6abfff);
  content: "";
  transform: translateX(-50%);
}

.person span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 58%;
  height: 72%;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(26, 167, 255, 0.96), rgba(138, 108, 255, 0.78));
  transform: translateX(-50%);
}

.student {
  left: max(34px, 11vw);
  bottom: 12vh;
}

.hero-media .student {
  display: none;
}

.engineer {
  right: max(48px, 13vw);
  bottom: 42vh;
  scale: 0.82;
  opacity: 0.62;
}

.engineer span {
  background: linear-gradient(180deg, #f9fbff, #51baff 48%, #805fff);
}

.tech-orbit span {
  position: absolute;
  display: grid;
  min-width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(143, 213, 255, 0.32);
  border-radius: 50%;
  background: rgba(10, 24, 45, 0.58);
  box-shadow: 0 0 30px rgba(26, 167, 255, 0.16);
  color: #dff6ff;
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.tech-orbit span:nth-child(1) { top: 28%; right: 20%; }
.tech-orbit span:nth-child(2) { top: 18%; right: 12%; }
.tech-orbit span:nth-child(3) { right: 10%; bottom: 30%; }
.tech-orbit span:nth-child(4) { right: 34%; bottom: 19%; }
.tech-orbit span:nth-child(5) { top: 44%; right: 36%; }

.scene-card,
.architecture-card,
.system-visual,
.build-visual {
  position: relative;
  min-height: clamp(320px, 44vw, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.student-struggle {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(138, 108, 255, 0.22), transparent 17rem),
    radial-gradient(circle at 18% 78%, rgba(39, 245, 207, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 18, 34, 0.72);
}

.confusion-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 211, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 211, 255, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.72;
  animation: grid-drift 10s linear infinite;
}

.confusion-grid::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.026) 18px 19px);
  content: "";
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 9px;
  width: clamp(126px, 14vw, 166px);
  padding: 14px;
  border: 1px solid rgba(153, 220, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(5, 15, 29, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 28px rgba(26, 167, 255, 0.12);
  color: #eaf7ff;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
  animation: card-float 4s ease-in-out infinite;
}

.floating-card i {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.floating-card i::before {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  box-shadow: 0 0 16px rgba(39, 245, 207, 0.42);
  content: "";
  animation: loading-loop 2.2s ease-in-out infinite;
}

.course-card {
  top: 14%;
  left: 8%;
}

.error-card {
  top: 19%;
  right: 8%;
  border-color: rgba(255, 95, 125, 0.34);
  animation-delay: -1.2s;
}

.error-card i::before {
  background: linear-gradient(90deg, #ff5f7d, var(--violet));
}

.copy-card {
  right: 12%;
  bottom: 14%;
  animation-delay: -2.4s;
}

.code-window {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  display: grid;
  width: min(74%, 360px);
  min-height: 218px;
  padding: 18px;
  border: 1px solid rgba(95, 211, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38px),
    rgba(2, 8, 18, 0.84);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), 0 0 46px rgba(95, 211, 255, 0.14);
  transform: translate(-50%, -50%) rotate(-2deg);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.window-dots i:nth-child(2) {
  background: var(--mint);
}

.window-dots i:nth-child(3) {
  background: var(--violet);
}

.code-lines {
  display: grid;
  gap: 13px;
  align-content: center;
  padding-top: 22px;
}

.code-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 211, 255, 0.9), rgba(39, 245, 207, 0.42), transparent);
  box-shadow: 0 0 20px rgba(95, 211, 255, 0.18);
  transform-origin: left;
  animation: code-scan 2.8s ease-in-out infinite;
}

.code-lines span:nth-child(1) { width: 78%; }
.code-lines span:nth-child(2) { width: 52%; animation-delay: -0.4s; }
.code-lines span:nth-child(3) { width: 88%; animation-delay: -0.8s; }
.code-lines span:nth-child(4) { width: 44%; animation-delay: -1.2s; }
.code-lines span:nth-child(5) { width: 68%; animation-delay: -1.6s; }

.lost-student {
  position: absolute;
  z-index: 3;
  left: 19%;
  bottom: 12%;
  width: clamp(82px, 10vw, 118px);
  aspect-ratio: 0.66;
  filter: drop-shadow(0 0 28px rgba(26, 167, 255, 0.28));
  animation: student-breathe 3s ease-in-out infinite;
}

.lost-student::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4fbff, #6abfff);
  content: "";
  transform: translateX(-50%);
}

.lost-student span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64%;
  height: 72%;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, rgba(26, 167, 255, 0.95), rgba(10, 20, 45, 0.98));
  transform: translateX(-50%);
}

.question-orbit span {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(138, 108, 255, 0.2);
  box-shadow: 0 0 26px rgba(138, 108, 255, 0.26);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  animation: question-drift 3.6s ease-in-out infinite;
}

.question-orbit span:nth-child(1) { left: 24%; top: 31%; }
.question-orbit span:nth-child(2) { left: 46%; top: 13%; animation-delay: -1.1s; }
.question-orbit span:nth-child(3) { right: 23%; top: 42%; animation-delay: -2.2s; }

@keyframes grid-drift {
  to {
    background-position: 34px 34px;
  }
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}

@keyframes loading-loop {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

@keyframes code-scan {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.62);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes student-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes question-drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-18px) scale(1.08);
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.problem-card,
.timeline-step,
.compare-card,
.difference-grid article {
  border: 1px solid rgba(142, 202, 255, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.problem-card {
  min-height: 74px;
  padding: 22px;
  color: #f6fbff;
  font-size: 1.08rem;
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.timeline::before {
  position: absolute;
  top: 50%;
  left: 8%;
  z-index: -1;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--mint), var(--violet));
  box-shadow: 0 0 24px rgba(95, 211, 255, 0.48);
  content: "";
}

.timeline-step {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px;
  background-color: rgba(8, 18, 34, 0.76);
}

.timeline-step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 900;
}

.timeline-step p,
.difference-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.material-download {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid rgba(95, 211, 255, 0.4);
  border-radius: 999px;
  background: rgba(39, 245, 207, 0.1);
  color: #f6fbff;
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.material-download:hover,
.material-download:focus-visible {
  border-color: rgba(39, 245, 207, 0.78);
  background: rgba(39, 245, 207, 0.18);
  transform: translateY(-2px);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-grid span {
  padding: 10px 13px;
  border: 1px solid rgba(126, 204, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #deedff;
  font-size: 0.9rem;
  font-weight: 700;
}

.foundation-title {
  font-size: clamp(3.3rem, 5.8vw, 4.35rem);
}

.foundation-visual {
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 48% 40%, rgba(39, 245, 207, 0.16), transparent 16rem),
    radial-gradient(circle at 74% 74%, rgba(138, 108, 255, 0.16), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 18, 34, 0.74);
}

.foundation-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(39, 245, 207, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 211, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.76;
  animation: foundation-grid-slide 12s linear infinite;
}

.logic-terminal {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: min(72%, 350px);
  min-height: 166px;
  padding: 16px;
  border: 1px solid rgba(95, 211, 255, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38px),
    rgba(2, 8, 18, 0.84);
  box-shadow: 0 26px 66px rgba(0, 0, 0, 0.38), 0 0 38px rgba(39, 245, 207, 0.12);
  transform: translateX(-50%) rotate(2deg);
}

.terminal-lines {
  display: grid;
  gap: 12px;
  align-content: center;
  padding-top: 20px;
}

.terminal-lines span {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(39, 245, 207, 0.92), rgba(95, 211, 255, 0.48), transparent);
  box-shadow: 0 0 18px rgba(39, 245, 207, 0.18);
  transform-origin: left;
  animation: terminal-type 2.7s ease-in-out infinite;
}

.terminal-lines span:nth-child(1) { width: 56%; }
.terminal-lines span:nth-child(2) { width: 84%; animation-delay: -0.45s; }
.terminal-lines span:nth-child(3) { width: 68%; animation-delay: -0.9s; }
.terminal-lines span:nth-child(4) { width: 44%; animation-delay: -1.35s; }

.foundation-path {
  position: absolute;
  inset: 26% 16% 18%;
  z-index: 1;
  border: 1px solid rgba(95, 211, 255, 0.14);
  border-radius: 38%;
  transform: rotate(-8deg);
}

.foundation-path i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 24px rgba(39, 245, 207, 0.78);
  animation: path-pulse 2.3s ease-in-out infinite;
}

.foundation-path i:nth-child(1) { left: 14%; top: 68%; }
.foundation-path i:nth-child(2) { left: 48%; top: 36%; animation-delay: -0.75s; }
.foundation-path i:nth-child(3) { right: 14%; top: 61%; animation-delay: -1.5s; }

.foundation-stack {
  position: absolute;
  right: 9%;
  bottom: 18%;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(86px, 1fr));
  gap: 12px;
}

.foundation-tile {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid rgba(153, 220, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(95, 211, 255, 0.22), rgba(138, 108, 255, 0.12));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 24px rgba(26, 167, 255, 0.12);
  color: #f2fbff;
  font-weight: 900;
  animation: tile-lift 3.2s ease-in-out infinite;
}

.foundation-tile:nth-child(2) { animation-delay: -0.55s; }
.foundation-tile:nth-child(3) { animation-delay: -1.1s; }
.foundation-tile:nth-child(4) { animation-delay: -1.65s; }

.project-badges {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(56%, 260px);
  justify-self: start;
  align-self: end;
}

.project-badges span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.syntax-orbit span {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(143, 213, 255, 0.28);
  border-radius: 50%;
  background: rgba(10, 24, 45, 0.6);
  box-shadow: 0 0 28px rgba(26, 167, 255, 0.16);
  color: #dff6ff;
  font-size: 0.84rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
  animation: syntax-float 3.8s ease-in-out infinite;
}

.syntax-orbit span:nth-child(1) { top: 16%; right: 13%; }
.syntax-orbit span:nth-child(2) { top: 39%; left: 10%; animation-delay: -0.8s; }
.syntax-orbit span:nth-child(3) { right: 8%; top: 46%; animation-delay: -1.6s; }
.syntax-orbit span:nth-child(4) { left: 36%; bottom: 10%; animation-delay: -2.4s; }

@keyframes foundation-grid-slide {
  to {
    background-position: 42px 42px;
  }
}

@keyframes terminal-type {
  0%,
  100% {
    opacity: 0.42;
    transform: scaleX(0.42);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes path-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.72);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes tile-lift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes syntax-float {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.outcome-band {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  margin: -44px auto 0;
  gap: 12px;
}

.outcome-band span {
  flex: 1;
  padding: 18px;
  border: 1px solid rgba(39, 245, 207, 0.2);
  border-radius: var(--radius);
  background: rgba(7, 24, 32, 0.78);
  color: #dffff8;
  text-align: center;
  font-weight: 900;
}

.architecture-card {
  display: grid;
  place-items: center;
  gap: 28px;
  padding: 44px;
}

.backend-lab {
  min-height: 560px;
  place-items: stretch;
  padding: 0;
  background:
    radial-gradient(circle at 48% 48%, rgba(26, 167, 255, 0.18), transparent 17rem),
    radial-gradient(circle at 80% 76%, rgba(39, 245, 207, 0.14), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 18, 34, 0.74);
}

.backend-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 211, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 245, 207, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.76;
  animation: backend-grid-flow 11s linear infinite;
}

.client-panel,
.api-core,
.data-cluster,
.endpoint-list,
.layer-stack {
  position: absolute;
  z-index: 3;
}

.client-panel {
  top: 13%;
  left: 8%;
  display: grid;
  width: min(42%, 230px);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(153, 220, 255, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38px),
    rgba(2, 8, 18, 0.82);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.38), 0 0 34px rgba(26, 167, 255, 0.14);
  animation: backend-float 4s ease-in-out infinite;
}

.client-panel span {
  color: #f1fbff;
  font-weight: 900;
}

.client-panel > i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 211, 255, 0.84), rgba(39, 245, 207, 0.42), transparent);
}

.client-panel > i:last-child {
  width: 68%;
}

.api-core {
  top: 35%;
  left: 50%;
  display: grid;
  width: clamp(128px, 18vw, 170px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(39, 245, 207, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(26, 167, 255, 0.9), rgba(138, 108, 255, 0.76));
  box-shadow: 0 0 46px rgba(26, 167, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
  animation: api-pulse 3.2s ease-in-out infinite;
}

.api-core span {
  font-size: 1.1rem;
  font-weight: 900;
}

.api-core small {
  margin-top: -42px;
  color: #dff6ff;
  font-size: 0.68rem;
  font-weight: 800;
}

.data-cluster {
  right: 9%;
  bottom: 12%;
  display: grid;
  width: clamp(126px, 16vw, 170px);
  min-height: 166px;
  place-items: center;
  color: #effcff;
  font-weight: 900;
}

.data-cluster span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(39, 245, 207, 0.42);
  border-radius: 50%;
  background: rgba(5, 15, 29, 0.86);
  box-shadow: 0 0 34px rgba(39, 245, 207, 0.18);
}

.data-cluster i {
  position: absolute;
  width: 92px;
  height: 54px;
  border: 1px solid rgba(95, 211, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 15, 29, 0.62);
  animation: db-stack 2.8s ease-in-out infinite;
}

.data-cluster i:nth-of-type(1) { top: 35px; }
.data-cluster i:nth-of-type(2) { top: 61px; animation-delay: -0.8s; }
.data-cluster i:nth-of-type(3) { top: 87px; animation-delay: -1.6s; }

.request-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  overflow: visible;
  background: linear-gradient(90deg, transparent, rgba(95, 211, 255, 0.7), transparent);
  box-shadow: 0 0 20px rgba(95, 211, 255, 0.22);
  transform-origin: left;
}

.request-line i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 24px rgba(39, 245, 207, 0.86);
  transform: translateY(-50%);
  animation: request-travel 1.9s ease-in-out infinite;
}

.client-to-api {
  top: 36%;
  left: 31%;
  width: 31%;
  transform: rotate(16deg);
}

.api-to-data {
  right: 21%;
  bottom: 34%;
  width: 31%;
  transform: rotate(27deg);
}

.api-to-data i {
  animation-delay: -0.7s;
}

.endpoint-list {
  left: 7%;
  bottom: 13%;
  display: grid;
  gap: 9px;
  width: min(42%, 218px);
}

.endpoint-list span,
.layer-stack span {
  padding: 11px 13px;
  border: 1px solid rgba(153, 220, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(5, 15, 29, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: #e9f8ff;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.endpoint-list span {
  animation: endpoint-blink 3s ease-in-out infinite;
}

.endpoint-list span:nth-child(2) { animation-delay: -1s; }
.endpoint-list span:nth-child(3) { animation-delay: -2s; }

.layer-stack {
  top: 12%;
  right: 8%;
  display: grid;
  gap: 10px;
  width: min(38%, 190px);
}

.layer-stack span {
  background: linear-gradient(145deg, rgba(95, 211, 255, 0.18), rgba(138, 108, 255, 0.08));
  animation: layer-shift 3.6s ease-in-out infinite;
}

.layer-stack span:nth-child(2) { animation-delay: -0.8s; }
.layer-stack span:nth-child(3) { animation-delay: -1.6s; }

@keyframes backend-grid-flow {
  to {
    background-position: 38px 38px;
  }
}

@keyframes backend-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

@keyframes api-pulse {
  0%,
  100% {
    box-shadow: 0 0 46px rgba(26, 167, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  50% {
    box-shadow: 0 0 72px rgba(39, 245, 207, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  }
}

@keyframes db-stack {
  0%,
  100% {
    opacity: 0.54;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

@keyframes request-travel {
  0% {
    left: 0;
    opacity: 0;
  }

  15%,
  82% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 13px);
    opacity: 0;
  }
}

@keyframes endpoint-blink {
  0%,
  100% {
    border-color: rgba(153, 220, 255, 0.2);
  }

  50% {
    border-color: rgba(39, 245, 207, 0.48);
  }
}

@keyframes layer-shift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-8px);
  }
}

.result-line {
  margin-top: 28px;
  color: var(--mint);
  font-size: 1.05rem;
  font-weight: 900;
}

.system-visual {
  min-height: 560px;
}

.engineering-lab {
  background:
    radial-gradient(circle at 50% 48%, rgba(26, 167, 255, 0.2), transparent 16rem),
    radial-gradient(circle at 79% 70%, rgba(39, 245, 207, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 18, 34, 0.74);
}

.engineering-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 211, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 108, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.76;
  animation: engineering-grid-flow 12s linear infinite;
}

.blueprint-shell {
  position: absolute;
  inset: 10% 9%;
  z-index: 1;
  border: 1px solid rgba(153, 220, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(95, 211, 255, 0.16) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(39, 245, 207, 0.12) 50%, transparent 50.2%),
    rgba(2, 8, 18, 0.28);
  box-shadow:
    inset 0 0 48px rgba(26, 167, 255, 0.08),
    0 28px 78px rgba(0, 0, 0, 0.26);
}

.blueprint-shell::before,
.blueprint-shell::after {
  position: absolute;
  border: 1px solid rgba(95, 211, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.blueprint-shell::before {
  inset: 12%;
}

.blueprint-shell::after {
  inset: 28%;
  border-style: dashed;
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: clamp(152px, 19vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(39, 245, 207, 0.44);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(26, 167, 255, 0.88), rgba(39, 245, 207, 0.36), rgba(138, 108, 255, 0.78));
  box-shadow:
    0 0 58px rgba(26, 167, 255, 0.32),
    0 28px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: system-core-pulse 3.4s ease-in-out infinite;
}

.system-core > * {
  transform: rotate(-45deg);
}

.system-core span {
  font-size: 1.08rem;
  font-weight: 900;
}

.system-core small {
  margin-top: -50px;
  color: #dff6ff;
  font-size: 0.7rem;
  font-weight: 900;
}

.flow-ring {
  position: absolute;
  inset: 16%;
  z-index: 2;
  border: 1px solid rgba(95, 211, 255, 0.18);
  border-radius: 28px;
  animation: ring-spin 16s linear infinite;
}

.flow-ring::before {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(39, 245, 207, 0.22);
  border-radius: 22px;
  content: "";
}

.flow-ring i {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 24px rgba(39, 245, 207, 0.86);
}

.flow-ring i:nth-child(1) { top: -7px; left: 50%; }
.flow-ring i:nth-child(2) { right: 10%; bottom: 12%; animation-delay: -0.6s; }
.flow-ring i:nth-child(3) { left: 9%; bottom: 18%; animation-delay: -1.2s; }

.system-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 118px;
  min-height: 78px;
  place-items: center;
  gap: 3px;
  padding: 13px;
  border: 1px solid rgba(153, 220, 255, 0.3);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(95, 211, 255, 0.04)),
    rgba(5, 15, 29, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 30px rgba(26, 167, 255, 0.14);
  color: #eaf8ff;
  text-align: center;
  backdrop-filter: blur(16px);
  animation: node-float 3.4s ease-in-out infinite;
}

.system-node span {
  font-weight: 900;
}

.system-node small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-node { top: 25%; left: 10%; }
.api-node { top: 25%; right: 10%; animation-delay: -0.7s; }
.cache-node { bottom: 22%; left: 10%; animation-delay: -1.4s; }
.queue-node { right: 10%; bottom: 22%; animation-delay: -2.1s; }

.deploy-pipeline {
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 5;
  display: flex;
  width: min(70%, 430px);
  gap: 9px;
  transform: translateX(-50%);
}

.deploy-pipeline span,
.architecture-notes span {
  flex: 1;
  padding: 11px 13px;
  border: 1px solid rgba(153, 220, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 15, 29, 0.74);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: #e9f8ff;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.deploy-pipeline span {
  position: relative;
  overflow: hidden;
}

.deploy-pipeline span::before {
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(39, 245, 207, 0.28), transparent);
  content: "";
  animation: pipeline-sweep 2.6s ease-in-out infinite;
}

.deploy-pipeline span:nth-child(2)::before { animation-delay: -0.8s; }
.deploy-pipeline span:nth-child(3)::before { animation-delay: -1.6s; }

.observability-panel {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: min(58%, 330px);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(153, 220, 255, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38px),
    rgba(2, 8, 18, 0.84);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.38), 0 0 34px rgba(26, 167, 255, 0.14);
  transform: translateX(-50%);
}

.observability-panel strong {
  color: #f1fbff;
  font-size: 0.9rem;
}

.observability-panel i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.observability-panel i::before {
  display: block;
  width: var(--metric);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint), var(--violet));
  box-shadow: 0 0 18px rgba(39, 245, 207, 0.28);
  content: "";
  animation: metric-grow 2.8s ease-in-out infinite;
}

.architecture-notes {
  position: absolute;
  right: 8%;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 9px;
  width: min(30%, 170px);
  transform: translateY(-50%);
}

.architecture-notes span {
  flex: none;
  background: linear-gradient(145deg, rgba(95, 211, 255, 0.18), rgba(138, 108, 255, 0.08));
  animation: note-shift 3.5s ease-in-out infinite;
}

.status-strip {
  position: absolute;
  left: 8%;
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 9px;
  width: min(30%, 170px);
  transform: translateY(-50%);
}

.status-strip span {
  padding: 11px 13px;
  border: 1px solid rgba(39, 245, 207, 0.24);
  border-radius: var(--radius);
  background: rgba(3, 26, 27, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: #eafffb;
  font-size: 0.76rem;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.architecture-notes span:nth-child(2) { animation-delay: -0.8s; }
.architecture-notes span:nth-child(3) { animation-delay: -1.6s; }

@keyframes engineering-grid-flow {
  to {
    background-position: 40px 40px;
  }
}

@keyframes system-core-pulse {
  0%,
  100% {
    box-shadow: 0 0 54px rgba(26, 167, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 82px rgba(39, 245, 207, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pipeline-sweep {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(260%);
  }
}

@keyframes metric-grow {
  0%,
  100% {
    transform: scaleX(0.62);
  }

  50% {
    transform: scaleX(1);
  }
}

@keyframes note-shift {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-8px);
  }
}

.chart {
  display: grid;
  margin-top: 46px;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.skills-dashboard {
  position: relative;
  min-height: 560px;
  gap: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(26, 167, 255, 0.18), transparent 16rem),
    radial-gradient(circle at 78% 74%, rgba(39, 245, 207, 0.12), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(8, 18, 34, 0.74);
}

.skills-dashboard::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 211, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 245, 207, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  opacity: 0.72;
  animation: skills-grid-flow 12s linear infinite;
}

.skills-radar {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: clamp(166px, 22vw, 230px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(95, 211, 255, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(39, 245, 207, 0.14), transparent 48%),
    rgba(2, 8, 18, 0.38);
  box-shadow: 0 0 54px rgba(26, 167, 255, 0.16), inset 0 0 42px rgba(95, 211, 255, 0.08);
  transform: translate(-50%, -50%);
}

.skills-radar::before,
.skills-radar::after {
  position: absolute;
  border: 1px solid rgba(95, 211, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.skills-radar::before {
  inset: 18%;
}

.skills-radar::after {
  inset: 34%;
  border-style: dashed;
}

.skills-radar span {
  z-index: 2;
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(39, 245, 207, 0.42);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 167, 255, 0.92), rgba(138, 108, 255, 0.78));
  box-shadow: 0 0 42px rgba(26, 167, 255, 0.3);
  color: #fff;
  font-weight: 900;
}

.skills-radar i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 22px rgba(39, 245, 207, 0.78);
  animation: radar-dot 3s ease-in-out infinite;
}

.skills-radar i:nth-of-type(1) { top: 10%; left: 50%; }
.skills-radar i:nth-of-type(2) { right: 12%; bottom: 24%; animation-delay: -1s; }
.skills-radar i:nth-of-type(3) { left: 14%; bottom: 26%; animation-delay: -2s; }

.chart-row {
  display: grid;
  align-items: center;
}

.skill-card {
  position: absolute;
  z-index: 3;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  width: min(42%, 290px);
  padding: 18px;
  border: 1px solid rgba(153, 220, 255, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(95, 211, 255, 0.04)),
    rgba(5, 15, 29, 0.76);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28), 0 0 30px rgba(26, 167, 255, 0.12);
  backdrop-filter: blur(16px);
  animation: skill-card-float 3.8s ease-in-out infinite;
}

.problem-skill { top: 9%; left: 8%; }
.programming-skill { top: 13%; right: 8%; animation-delay: -0.7s; }
.backend-skill { top: 50%; left: 6%; animation-delay: -1.4s; }
.architecture-skill { top: 50%; right: 6%; animation-delay: -2.1s; }
.mindset-skill {
  left: 50%;
  bottom: 13%;
  width: min(50%, 340px);
  transform: translateX(-50%);
  animation-name: skill-card-float-centered;
  animation-delay: -2.8s;
}

.skill-card span {
  color: #e8f5ff;
  font-weight: 900;
}

.skill-card strong {
  color: var(--mint);
  font-size: 1rem;
}

.chart-row i {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.chart-row i::before {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint), var(--violet));
  box-shadow: 0 0 28px rgba(95, 211, 255, 0.34);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-row i.is-visible::before {
  transform: scaleX(1);
}

.animations-off .chart-row i::before {
  transform: scaleX(1);
}

.skills-summary {
  position: absolute;
  left: 50%;
  bottom: 5%;
  z-index: 3;
  display: flex;
  width: min(78%, 620px);
  gap: 10px;
  transform: translateX(-50%);
}

.skills-summary span {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(39, 245, 207, 0.2);
  border-radius: var(--radius);
  background: rgba(3, 26, 27, 0.68);
  color: #eafffb;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(14px);
}

@keyframes skills-grid-flow {
  to {
    background-position: 38px 38px;
  }
}

@keyframes radar-dot {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.78);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes skill-card-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes skill-card-float-centered {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

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

.comparison {
  display: grid;
  grid-template-columns: 1fr minmax(72px, 0.2fr) 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 46px;
}

.portfolio-transform {
  position: relative;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(26, 167, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 86% 62%, rgba(39, 245, 207, 0.12), transparent 14rem),
    rgba(8, 18, 34, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.portfolio-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 211, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 245, 207, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  animation: portfolio-grid-flow 12s linear infinite;
}

.compare-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
}

.portfolio-before,
.portfolio-after {
  min-height: 420px;
  align-content: start;
}

.compare-card h3 {
  margin-bottom: 10px;
}

.compare-card span {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-weight: 800;
}

.portfolio-before {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(5, 15, 29, 0.68);
}

.empty-profile {
  display: grid;
  gap: 12px;
  min-height: 130px;
  place-items: center;
  margin-bottom: 6px;
  border: 1px dashed rgba(153, 220, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-weight: 800;
}

.empty-profile i {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(153, 220, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(153, 220, 255, 0.28) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(153, 220, 255, 0.28) 48% 52%, transparent 53%);
  opacity: 0.72;
}

.after {
  border-color: rgba(39, 245, 207, 0.32);
  background: linear-gradient(145deg, rgba(39, 245, 207, 0.12), rgba(26, 167, 255, 0.06));
}

.after span {
  color: #eafffb;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}

.project-showcase span {
  display: grid;
  min-height: 84px;
  place-items: center;
  border: 1px solid rgba(39, 245, 207, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(26, 167, 255, 0.28), rgba(39, 245, 207, 0.08));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 20px rgba(39, 245, 207, 0.12);
  color: #f4fffd !important;
  font-weight: 900;
  animation: project-card-lift 3.4s ease-in-out infinite;
}

.project-showcase span:nth-child(2) { animation-delay: -0.7s; }
.project-showcase span:nth-child(3) { animation-delay: -1.4s; }

.commit-strip {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.commit-strip i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(39, 245, 207, 0.22);
  box-shadow: 0 0 18px rgba(39, 245, 207, 0.14);
  animation: commit-glow 2.8s ease-in-out infinite;
}

.commit-strip i:nth-child(2) { animation-delay: -0.4s; }
.commit-strip i:nth-child(3) { animation-delay: -0.8s; }
.commit-strip i:nth-child(4) { animation-delay: -1.2s; }
.commit-strip i:nth-child(5) { animation-delay: -1.6s; }

.transform-line {
  position: relative;
  z-index: 2;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--mint), var(--violet));
  box-shadow: 0 0 30px rgba(95, 211, 255, 0.44);
}

.portfolio-bridge {
  display: grid;
  height: 96px;
  place-items: center;
  background: none;
  box-shadow: none;
}

.portfolio-bridge::before {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--mint), var(--violet));
  box-shadow: 0 0 30px rgba(95, 211, 255, 0.44);
  content: "";
  transform: translateX(-50%);
}

.portfolio-bridge i {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 24px rgba(39, 245, 207, 0.76);
  animation: bridge-pulse 2.4s ease-in-out infinite;
}

.portfolio-bridge i:nth-child(2) { animation-delay: -0.8s; }
.portfolio-bridge i:nth-child(3) { animation-delay: -1.6s; }

@keyframes portfolio-grid-flow {
  to {
    background-position: 40px 40px;
  }
}

@keyframes project-card-lift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes commit-glow {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes bridge-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.72);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.difference-grid article {
  min-height: 220px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.difference-grid h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.difference-icon {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(153, 220, 255, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(95, 211, 255, 0.05)),
    rgba(5, 15, 29, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22), 0 0 22px rgba(26, 167, 255, 0.12);
}

.difference-icon::before,
.difference-icon::after {
  position: absolute;
  content: "";
}

.project-icon::before {
  width: 20px;
  height: 16px;
  border: 2px solid var(--mint);
  border-radius: 4px;
}

.project-icon::after {
  width: 10px;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 5px 0 var(--mint);
}

.review-icon::before {
  width: 21px;
  height: 15px;
  border: 2px solid var(--blue-bright);
  border-radius: 5px;
}

.review-icon::after {
  bottom: 11px;
  left: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue-bright);
  border-bottom: 2px solid var(--blue-bright);
  transform: rotate(45deg);
}

.mentor-icon::before {
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--mint);
}

.mentor-icon::after {
  bottom: 9px;
  width: 22px;
  height: 12px;
  border: 2px solid var(--mint);
  border-radius: 999px 999px 6px 6px;
}

.architecture-icon::before {
  width: 22px;
  height: 14px;
  border: 2px solid var(--blue-bright);
  border-radius: 4px;
  transform: translateY(-5px);
}

.architecture-icon::after {
  width: 22px;
  height: 14px;
  border: 2px solid var(--violet);
  border-radius: 4px;
  transform: translateY(5px);
}

.industry-icon::before {
  width: 22px;
  height: 17px;
  border: 2px solid var(--mint);
  border-radius: 4px;
  transform: translateY(3px);
}

.industry-icon::after {
  top: 11px;
  width: 12px;
  height: 7px;
  border: 2px solid var(--mint);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.mindset-icon::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
}

.mindset-icon::after {
  width: 18px;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 -6px 0 var(--violet), 0 6px 0 var(--blue-bright);
  transform: rotate(-22deg);
}

.difference-grid article:hover {
  border-color: rgba(95, 211, 255, 0.5);
  background: linear-gradient(145deg, rgba(26, 167, 255, 0.13), rgba(138, 108, 255, 0.08));
  transform: translateY(-5px);
}

.final-section {
  min-height: 100svh;
  overflow: hidden;
  text-align: left;
}

.apply-photo {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(153, 220, 255, 0.28);
  border-radius: 30px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38), 0 0 78px rgba(26, 167, 255, 0.18);
  filter: saturate(1.12) contrast(1.06) brightness(1.08);
}

.apply-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 6, 17, 0), rgba(3, 6, 17, 0.16)),
    radial-gradient(circle at 50% 34%, transparent 0 52%, rgba(3, 6, 17, 0.12) 82%);
}

.apply-photo-one {
  top: 5%;
  left: 3%;
  width: min(40vw, 460px);
  height: 86vh;
  background-image: url("assets/1.jpeg");
  transform: rotate(-4deg);
}

.apply-photo-two {
  right: 3%;
  bottom: 4%;
  width: min(40vw, 460px);
  height: 84vh;
  background-image: url("assets/2.jpeg");
  transform: rotate(4deg);
}

.apply-scan-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(95, 211, 255, 0.055) 72px 73px),
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(39, 245, 207, 0.04) 52px 53px);
  mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
  animation: apply-grid-drift 13s linear infinite;
}

.apply-orbit i {
  position: absolute;
  z-index: 5;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 26px rgba(39, 245, 207, 0.86);
  animation: apply-dot-pulse 2.8s ease-in-out infinite;
}

.apply-orbit i:nth-child(1) { top: 20%; left: 43%; }
.apply-orbit i:nth-child(2) { top: 72%; left: 58%; animation-delay: -0.9s; }
.apply-orbit i:nth-child(3) { top: 42%; right: 22%; animation-delay: -1.8s; }

.final-content {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.apply-content {
  max-width: 560px;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.apply-copy {
  display: grid;
  justify-items: center;
  max-width: 560px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(153, 220, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(95, 211, 255, 0.05)),
    rgba(3, 8, 18, 0.72);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.apply-copy h2 {
  max-width: 520px;
  font-size: clamp(2.6rem, 5vw, 3.85rem);
}

.final-content h2 {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.final-content p {
  margin-right: auto;
  margin-left: auto;
}

.presenter {
  color: var(--blue-bright) !important;
  font-weight: 900;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 340px);
  margin-top: 10px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(153, 220, 255, 0.44);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(95, 211, 255, 0.06)),
    rgba(5, 15, 29, 0.76);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.38),
    0 0 54px rgba(26, 167, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.apply-qr-card {
  justify-self: center;
  width: min(100%, 300px);
  margin-top: 4px;
  padding: 14px 14px 16px;
  border-color: rgba(39, 245, 207, 0.36);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(39, 245, 207, 0.07)),
    rgba(5, 15, 29, 0.88);
}

.qr-card:hover {
  border-color: rgba(39, 245, 207, 0.68);
  box-shadow:
    0 32px 86px rgba(0, 0, 0, 0.44),
    0 0 68px rgba(39, 245, 207, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.qr-frame {
  display: grid;
  width: min(100%, 214px);
  aspect-ratio: 1;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(5, 15, 29, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-caption {
  color: #f4fbff;
  font-size: 1rem;
  font-weight: 900;
}

.qr-link {
  color: var(--mint);
  font-size: 0.84rem;
  font-weight: 800;
}

@keyframes apply-grid-drift {
  to {
    background-position: 73px 53px;
  }
}

@keyframes apply-dot-pulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.72);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@media (max-width: 860px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .brand span:last-child {
    overflow: hidden;
    max-width: 190px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links a {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .section {
    min-height: auto;
    padding: 104px 18px;
  }

  .hero,
  .final-section {
    min-height: 100svh;
  }

  .apply-content {
    max-width: 540px;
  }

  .apply-copy {
    max-width: 540px;
  }

  .apply-photo-one {
    left: -5%;
    width: 52vw;
    height: 76vh;
    opacity: 0.86;
  }

  .apply-photo-two {
    right: -5%;
    width: 52vw;
    height: 74vh;
    opacity: 0.84;
  }

  .two-column,
  .year-layout,
  .reverse {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .timeline,
  .comparison,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before,
  .transform-line {
    display: none;
  }

  .portfolio-transform {
    min-height: auto;
    gap: 18px;
  }

  .portfolio-before,
  .portfolio-after {
    min-height: auto;
  }

  .portfolio-bridge {
    display: flex;
    height: 34px;
    justify-content: center;
    gap: 18px;
  }

  .portfolio-bridge::before {
    top: 50%;
    left: 12%;
    width: 76%;
    height: 2px;
    transform: translateY(-50%);
  }

  .timeline-step {
    min-height: 180px;
  }

  .outcome-band {
    flex-direction: column;
    width: calc(100% - 36px);
    margin-top: -34px;
  }

  .chart-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skills-dashboard {
    min-height: 720px;
  }

  .skills-radar {
    top: 46%;
    width: 178px;
  }

  .skill-card {
    width: min(44%, 260px);
  }

  .problem-skill { top: 8%; left: 5%; }
  .programming-skill { top: 8%; right: 5%; }
  .backend-skill { top: 58%; left: 5%; }
  .architecture-skill { top: 58%; right: 5%; }
  .mindset-skill {
    bottom: 13%;
    width: min(70%, 360px);
  }

  .skills-summary {
    width: min(88%, 620px);
  }

  .system-visual {
    min-height: 420px;
  }

  .system-core {
    width: 138px;
  }

  .system-node {
    width: 100px;
    min-height: 68px;
    font-size: 0.78rem;
  }

  .observability-panel {
    width: min(52%, 260px);
  }

  .deploy-pipeline {
    width: min(68%, 360px);
  }

  .architecture-notes,
  .status-strip {
    width: min(28%, 148px);
  }

  .backend-lab {
    min-height: 460px;
  }

  .client-panel {
    width: min(44%, 190px);
  }

  .api-core {
    width: 128px;
  }

  .endpoint-list {
    width: min(40%, 188px);
  }

  .layer-stack {
    width: min(36%, 164px);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3.42rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .foundation-title {
    font-size: 2.28rem;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 18px;
  }

  .section-jump {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .section-jump__icon {
    width: 14px;
    height: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero-subtitle,
  .section-copy,
  .final-content p {
    font-size: 1rem;
  }

  .hero-content {
    max-width: 354px;
    margin-left: 0;
  }

  .hero-subtitle {
    max-width: 340px;
  }

  .hero-line {
    display: block;
  }

  .hero-media .engineer,
  .tech-orbit {
    display: none;
  }

  .student {
    left: 26px;
  }

  .engineer {
    right: 28px;
  }

  .tech-orbit span {
    min-width: 44px;
    height: 44px;
    font-size: 0.7rem;
  }

  .scene-card,
  .architecture-card,
  .system-visual,
  .build-visual {
    min-height: 330px;
  }

  .portfolio-transform {
    padding: 16px;
  }

  .empty-profile {
    min-height: 112px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-showcase span {
    min-height: 58px;
  }

  .commit-strip {
    flex-wrap: wrap;
  }

  .floating-card {
    width: 118px;
    padding: 11px;
    font-size: 0.68rem;
  }

  .course-card {
    top: 10%;
    left: 6%;
  }

  .error-card {
    top: 12%;
    right: 6%;
  }

  .copy-card {
    right: 7%;
    bottom: 9%;
  }

  .code-window {
    width: min(78%, 290px);
    min-height: 190px;
    padding: 15px;
  }

  .lost-student {
    left: 10%;
    bottom: 8%;
    width: 78px;
  }

  .question-orbit span {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .skills-dashboard {
    min-height: 820px;
    padding: 18px;
  }

  .skills-radar {
    top: 48%;
    width: 142px;
  }

  .skills-radar span {
    width: 78px;
    font-size: 0.8rem;
  }

  .skill-card,
  .mindset-skill {
    left: 50%;
    right: auto;
    width: min(100%, 300px);
    padding: 14px;
    transform: translateX(-50%);
    animation-name: skill-card-float-centered;
  }

  .problem-skill { top: 4%; }
  .programming-skill { top: 17%; }
  .backend-skill { top: 58%; }
  .architecture-skill { top: 70%; }
  .mindset-skill { bottom: 4%; }

  .skill-card span {
    font-size: 0.84rem;
  }

  .skill-card strong {
    font-size: 0.86rem;
  }

  .chart-row i {
    height: 14px;
  }

  .skills-summary {
    display: none;
  }

  .logic-terminal {
    top: 9%;
    width: min(78%, 280px);
    min-height: 146px;
    padding: 14px;
  }

  .foundation-stack {
    right: 7%;
    bottom: 17%;
    grid-template-columns: repeat(2, 72px);
    gap: 10px;
  }

  .foundation-tile {
    min-height: 62px;
    font-size: 0.82rem;
  }

  .project-badges {
    width: min(52%, 178px);
    gap: 8px;
  }

  .project-badges span {
    padding: 10px 11px;
    font-size: 0.72rem;
  }

  .syntax-orbit span {
    min-width: 40px;
    height: 40px;
    font-size: 0.72rem;
  }

  .syntax-orbit span:nth-child(2) {
    left: 7%;
  }

  .backend-lab {
    min-height: 390px;
  }

  .client-panel {
    top: 10%;
    left: 6%;
    width: 132px;
    padding: 12px;
  }

  .client-panel span,
  .endpoint-list span,
  .layer-stack span {
    font-size: 0.68rem;
  }

  .api-core {
    top: 38%;
    width: 104px;
  }

  .api-core span {
    font-size: 0.86rem;
  }

  .api-core small {
    margin-top: -34px;
    font-size: 0.56rem;
  }

  .data-cluster {
    right: 5%;
    bottom: 8%;
    width: 108px;
    min-height: 124px;
  }

  .data-cluster span,
  .data-cluster i {
    width: 72px;
    height: 42px;
  }

  .data-cluster i:nth-of-type(1) { top: 31px; }
  .data-cluster i:nth-of-type(2) { top: 51px; }
  .data-cluster i:nth-of-type(3) { top: 71px; }

  .endpoint-list {
    left: 6%;
    bottom: 8%;
    width: 136px;
    gap: 7px;
  }

  .endpoint-list span,
  .layer-stack span {
    padding: 8px 9px;
  }

  .layer-stack {
    top: 9%;
    right: 6%;
    width: 126px;
    gap: 7px;
  }

  .client-to-api {
    left: 31%;
    width: 28%;
  }

  .api-to-data {
    right: 18%;
    width: 29%;
  }

  .engineering-lab {
    min-height: 410px;
  }

  .blueprint-shell {
    inset: 13% 7%;
  }

  .system-core {
    width: 108px;
  }

  .system-core span {
    font-size: 0.86rem;
  }

  .system-core small {
    margin-top: -34px;
    font-size: 0.58rem;
  }

  .flow-ring {
    inset: 20%;
  }

  .system-node {
    width: 70px;
    min-height: 54px;
    padding: 9px;
    border-radius: 14px;
    font-size: 0.68rem;
  }

  .system-node small {
    display: none;
  }

  .auth-node { top: 28%; left: 7%; }
  .api-node { top: 28%; right: 7%; }
  .cache-node { bottom: 24%; left: 7%; }
  .queue-node { right: 7%; bottom: 24%; }

  .observability-panel {
    top: 7%;
    width: 178px;
    gap: 8px;
    padding: 12px;
  }

  .observability-panel strong {
    font-size: 0.72rem;
  }

  .observability-panel i {
    height: 8px;
  }

  .deploy-pipeline {
    bottom: 8%;
    width: min(88%, 300px);
    gap: 7px;
  }

  .architecture-notes,
  .status-strip {
    display: none;
  }

  .deploy-pipeline span,
  .architecture-notes span,
  .status-strip span {
    padding: 8px 9px;
    font-size: 0.68rem;
  }

  .final-section {
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .apply-photo {
    border-radius: 20px;
  }

  .apply-photo-one {
    top: 7%;
    left: -20%;
    width: 82vw;
    height: 58vh;
    opacity: 0.72;
  }

  .apply-photo-two {
    right: -20%;
    bottom: 4%;
    width: 82vw;
    height: 58vh;
    opacity: 0.68;
  }

  .apply-copy {
    padding: 20px;
    border-radius: 22px;
  }

  .apply-copy h2 {
    font-size: 2.35rem;
  }

  .qr-card {
    width: min(100%, 286px);
    padding: 14px 14px 16px;
    border-radius: 20px;
  }

  .qr-frame {
    width: min(100%, 214px);
    padding: 10px;
    border-radius: 16px;
  }

  .qr-caption {
    font-size: 0.94rem;
  }

  .architecture-card {
    padding: 28px;
  }

  .pill-grid span {
    font-size: 0.82rem;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 3.18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
