@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy-950: #061224;
  --navy-900: #08172c;
  --navy-800: #0b1f3a;
  --navy-700: #123052;
  --blue-500: #4d78c9;
  --ink: #102238;
  --muted: #6f7d91;
  --line: #dde5ef;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --surface-blue: #eef4fb;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-sm: 0 8px 24px rgba(8, 23, 44, 0.06);
  --shadow-md: 0 18px 50px rgba(8, 23, 44, 0.10);
  --shadow-lg: 0 30px 90px rgba(8, 23, 44, 0.16);

  /* Premium accent palette — derived from the site's navy/blue theme */
  --accent-100: #eef4fb;
  --accent-300: #b7cdec;
  --accent-500: #4d78c9;
  --accent-700: #2c4d80;
  --accent-gradient: linear-gradient(135deg, #eef4fb 0%, #a9c3e8 45%, #4d78c9 100%);
  --btn-shadow-rest: 0 10px 26px rgba(8, 23, 44, 0.14), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
  --btn-shadow-hover: 0 20px 42px rgba(8, 23, 44, 0.22), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  --btn-shadow-accent: 0 14px 32px rgba(45, 77, 128, 0.3), 0 1px 0 rgba(255, 255, 255, 0.5) inset;

  --container: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ===================== Animated Glassmorphism Background ===================== */
.glass-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.glass-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}

.glass-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  opacity: 0.55;
}

.glass-blob-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle at 30% 30%, rgba(77, 120, 201, 0.55), rgba(77, 120, 201, 0) 70%);
  animation: glassFloat1 22s var(--ease) infinite alternate;
}

.glass-blob-2 {
  width: 520px;
  height: 520px;
  top: 20%;
  right: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(11, 31, 58, 0.4), rgba(11, 31, 58, 0) 70%);
  animation: glassFloat2 26s var(--ease) infinite alternate;
}

.glass-blob-3 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: 15%;
  background: radial-gradient(circle at 40% 60%, rgba(95, 137, 211, 0.45), rgba(95, 137, 211, 0) 70%);
  animation: glassFloat3 24s var(--ease) infinite alternate;
}

.glass-blob-4 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(18, 48, 82, 0.4), rgba(18, 48, 82, 0) 70%);
  animation: glassFloat4 20s var(--ease) infinite alternate;
}

.glass-pane {
  position: absolute;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(8, 23, 44, 0.05);
}

.glass-pane-1 {
  width: 220px;
  height: 220px;
  top: 8%;
  right: 12%;
  transform: rotate(-8deg);
  animation: glassDrift1 30s ease-in-out infinite;
}

.glass-pane-2 {
  width: 160px;
  height: 160px;
  bottom: 14%;
  left: 6%;
  transform: rotate(12deg);
  animation: glassDrift2 34s ease-in-out infinite;
}

@keyframes glassFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes glassFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, 50px) scale(1.1); }
}

@keyframes glassFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.12); }
}

@keyframes glassFloat4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -60px) scale(1.08); }
}

@keyframes glassDrift1 {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  50%      { transform: translate(-20px, 25px) rotate(-2deg); }
}

@keyframes glassDrift2 {
  0%, 100% { transform: translate(0, 0) rotate(12deg); }
  50%      { transform: translate(18px, -20px) rotate(6deg); }
}

@media (max-width: 1050px) {
  .rpl-tech-animation {
    right: -2%;
    width: 600px;
    opacity: 0.68;
  }
}

@media (max-width: 800px) {
  .rpl-tech-animation {
    right: -210px;
    top: 22%;
    width: 560px;
    height: 540px;
    opacity: 0.27;
  }

  .rpl-tech-core {
    width: 250px;
    height: 250px;
  }

  .rpl-tech-code {
    transform: scale(0.9);
  }

  .label-a,
  .label-b {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rpl-tech-animation * {
    animation: none !important;
  }

  .glass-blob,
  .glass-pane {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .glass-blob-1, .glass-blob-2, .glass-blob-3, .glass-blob-4 {
    filter: blur(50px);
    opacity: 0.4;
  }
  .glass-pane { display: none; }
}
/* =============================================================== */

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(77, 120, 201, 0.28);
  outline-offset: 3px;
}

::selection {
  background: #dce9fb;
  color: var(--navy-900);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  color: #77879c;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 0 3px rgba(77, 120, 201, 0.16);
  flex: 0 0 auto;
}

.eyebrow.light {
  color: #b8c7d9;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2 {
  font: 800 clamp(2rem, 4vw, 3.55rem) / 1.05 Manrope, sans-serif;
  letter-spacing: -0.055em;
  color: var(--navy-900);
  margin-top: 10px;
}

.section-heading > p {
  max-width: 435px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading.centered > p {
  margin: 16px auto 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-950);
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

body.loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: rgba(255, 255, 255, 0.78);
  z-index: 250;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(6, 18, 36, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font: 800 0.95rem Manrope, sans-serif;
  letter-spacing: -0.02em;
}

.brand-logos {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease-smooth);
}

.brand:hover img {
  transform: translateY(-1px) scale(1.04);
}

.brand-logo-divider {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  flex: 0 0 auto;
}

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

.nav-menu a {
  position: relative;
  padding: 11px 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 1.5px;
  background: var(--accent-gradient);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-smooth);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition:
    transform 0.3s var(--ease-smooth),
    border-color 0.3s ease,
    background 0.3s ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 120, 201, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: #fff;
  margin: 4px auto;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s ease;
}

.hero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 83% 24%,
      rgba(89, 133, 204, 0.22),
      transparent 27%
    ),
    radial-gradient(
      circle at 54% 84%,
      rgba(31, 73, 126, 0.26),
      transparent 30%
    ),
    linear-gradient(140deg, var(--navy-950), var(--navy-800) 53%, #0d2747);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: transparent !important;
  opacity: 0 !important;
  pointer-events: none;
}

.hero-galaxy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0 72%, transparent 98%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.hero-glow-one {
  width: 340px;
  height: 340px;
  right: 5%;
  top: 13%;
  background: rgba(95, 137, 211, 0.14);
}

.hero-glow-two {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: -90px;
  background: rgba(67, 103, 157, 0.14);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px;
  align-items: end;
  padding-top: 100px;
}

.hero-copy {
  max-width: 730px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker > span {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.hero h1 {
  font: 800 clamp(5rem, 14vw, 10.5rem) / 0.83 Manrope, sans-serif;
  letter-spacing: -0.09em;
  color: #fff;
  margin-top: 20px;
}

.hero h1 span {
  font-weight: 500;
  color: #8ea6c6;
}

.hero h2 {
  font: 600 clamp(1rem, 2.3vw, 1.45rem) / 1.25 Manrope, sans-serif;
  color: #cad6e4;
  margin-top: 16px;
}

.hero-tagline {
  font: 700 clamp(1.2rem, 2.5vw, 2rem) / 1.15 Manrope, sans-serif;
  color: #fff;
  letter-spacing: -0.035em;
  margin-top: 16px;
}

.hero-description {
  max-width: 550px;
  color: #aabbd0;
  font-size: 0.85rem;
  line-height: 1.9;
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth),
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.3s ease;
}

/* Luxe sheen sweep, shared by every button */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease-smooth);
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn span {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  opacity: 0.75;
}

.btn > :not(span) {
  position: relative;
  z-index: 2;
}

.btn:hover {
  transform: translateY(-3px) scale(1.015);
}

.btn:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.15s;
}

.btn-primary {
  color: #16283f;
  background: linear-gradient(160deg, #ffffff 0%, #eef3fb 55%, #d7e3f4 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: var(--btn-shadow-rest);
}

.btn-primary:hover {
  box-shadow: var(--btn-shadow-hover), 0 0 0 1px rgba(77, 120, 201, 0.32);
}

.btn-ghost {
  color: #eef4fb;
  border-color: rgba(157, 195, 232, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(157, 195, 232, 0.55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(157, 195, 232, 0.2);
}

.btn-light {
  color: var(--navy-900);
  background: linear-gradient(160deg, #ffffff, #f3f6fb);
  box-shadow: var(--btn-shadow-rest);
}

.btn-light:hover {
  box-shadow: var(--btn-shadow-hover);
}

.hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  color: #93a8c3;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.hero-meta b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #718aa7;
}

.hero-side {
  align-self: end;
  display: grid;
  gap: 18px;
  margin-bottom: 6px;
}

.hero-side-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 21px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.035)
  );
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.hero-side-label {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: #8ea3bd;
  font-weight: 800;
}

.hero-side-card strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font: 700 1.05rem / 1.25 Manrope, sans-serif;
  letter-spacing: -0.03em;
}

.hero-side-card p {
  margin-top: 10px;
  color: #9db1c9;
  font-size: 0.68rem;
  line-height: 1.7;
}

.hero-side-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #91a4bc;
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.hero-side-index span {
  font: 800 1.15rem Manrope;
  color: #d7e2ef;
}

/* =========================================================
   RPL TECH HERO ANIMATION
   ========================================================= */
.rpl-tech-animation {
  position: absolute;
  z-index: 1;
  right: 4.2%;
  top: 10%;
  width: min(660px, 51vw);
  height: 610px;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.16));
}

.rpl-tech-core {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.rpl-tech-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(184, 215, 255, 0.20);
  box-shadow: inset 0 0 60px rgba(92, 145, 224, 0.08), 0 0 45px rgba(89, 140, 222, 0.08);
}

.rpl-tech-ring::before,
.rpl-tech-ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8ebff;
  box-shadow: 0 0 14px rgba(168, 211, 255, 0.85);
}

.rpl-tech-ring::before {
  top: 16%;
  left: 12%;
}

.rpl-tech-ring::after {
  right: 7%;
  bottom: 28%;
}

.ring-outer {
  inset: -20px;
  border-color: rgba(147, 190, 243, 0.13);
  animation: rplOrbit 18s linear infinite;
}

.ring-inner {
  inset: 24px;
  border-style: dashed;
  border-color: rgba(170, 206, 250, 0.17);
  animation: rplOrbitReverse 12s linear infinite;
}

.rpl-tech-mark {
  position: relative;
  z-index: 4;
  font: 800 clamp(3.8rem, 6vw, 5.4rem) / 0.9 Manrope, sans-serif;
  letter-spacing: -0.09em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 0 22px rgba(178, 215, 255, 0.18), 0 10px 36px rgba(0, 0, 0, 0.20);
  animation: rplCorePulse 4.8s ease-in-out infinite;
}

.rpl-tech-mark span {
  display: inline-block;
  margin-left: 7px;
  color: #9fc3ec;
  font-weight: 500;
  animation: rplNumberGlow 2.8s ease-in-out infinite;
}

.rpl-tech-cursor {
  position: absolute;
  left: 50%;
  top: 65%;
  width: 2px;
  height: 26px;
  background: #d7ebff;
  box-shadow: 0 0 10px rgba(199, 228, 255, 0.8);
  animation: rplCursorBlink 0.85s steps(2, end) infinite;
}

.rpl-tech-orbit {
  position: absolute;
  border: 1px solid rgba(168, 205, 247, 0.13);
  border-radius: 50%;
  transform-origin: center;
}

.rpl-tech-orbit::before,
.rpl-tech-orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(224, 241, 255, 0.92);
  box-shadow: 0 0 15px rgba(166, 211, 255, 0.95);
}

.orbit-one {
  width: 400px;
  height: 160px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(19deg);
  animation: rplOrbitTilt 10s linear infinite;
}

.orbit-one::before { left: 9%; top: 18%; }
.orbit-one::after { right: 8%; bottom: 16%; }

.orbit-two {
  width: 160px;
  height: 400px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-27deg);
  animation: rplOrbitTiltReverse 13s linear infinite;
}

.orbit-two::before { left: 16%; top: 9%; }
.orbit-two::after { right: 15%; bottom: 9%; }

.orbit-three {
  width: 500px;
  height: 260px;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-11deg);
  border-style: dashed;
  opacity: 0.62;
  animation: rplOrbit 22s linear infinite reverse;
}

.rpl-tech-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(222, 239, 255, 0.7);
  background: rgba(111, 165, 230, 0.55);
  box-shadow: 0 0 0 5px rgba(128, 179, 236, 0.04), 0 0 22px rgba(135, 194, 255, 0.58);
  animation: rplNodePulse 3.4s ease-in-out infinite;
}

.node-a { left: 7%; top: 30%; animation-delay: -0.7s; }
.node-b { right: 13%; top: 22%; animation-delay: -1.6s; }
.node-c { left: 18%; bottom: 18%; animation-delay: -2.4s; }
.node-d { right: 7%; bottom: 29%; animation-delay: -3.0s; }

.rpl-tech-node::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 1px;
  top: 50%;
  background: linear-gradient(90deg, rgba(173, 211, 250, 0.45), transparent);
  transform-origin: left center;
}

.node-a::after { left: 7px; transform: rotate(-14deg); }
.node-b::after { right: 7px; transform: rotate(164deg); }
.node-c::after { left: 7px; transform: rotate(24deg); }
.node-d::after { right: 7px; transform: rotate(202deg); }

.rpl-tech-code,
.rpl-tech-label {
  position: absolute;
  border: 1px solid rgba(206, 229, 252, 0.12);
  background: rgba(8, 25, 47, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.14);
  color: #b7cbe2;
}

.rpl-tech-code {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-width: 178px;
  padding: 11px 13px;
  border-radius: 12px;
  font: 600 0.58rem / 1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.rpl-tech-code b {
  color: #e5f2ff;
  font-size: 0.72rem;
}

.code-a {
  left: 2%;
  top: 12%;
  animation: rplFloatOne 6.2s ease-in-out infinite;
}

.code-b {
  right: 2%;
  bottom: 11%;
  animation: rplFloatTwo 7.4s ease-in-out infinite;
}

.rpl-tech-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font: 800 0.48rem / 1 Manrope, sans-serif;
  letter-spacing: 0.14em;
}

.rpl-tech-label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d5edff;
  box-shadow: 0 0 10px rgba(187, 226, 255, 0.9);
}

.label-a {
  right: 17%;
  top: 6%;
}

.label-b {
  left: 12%;
  bottom: 8%;
}

.rpl-tech-scan {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 224, 255, 0.36), transparent);
  box-shadow: 0 0 14px rgba(170, 216, 255, 0.28);
  animation: rplScan 5.5s ease-in-out infinite;
}

@keyframes rplOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rplOrbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes rplOrbitTilt {
  from { transform: translate(-50%, -50%) rotate(19deg) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(19deg) rotate(360deg); }
}

@keyframes rplOrbitTiltReverse {
  from { transform: translate(-50%, -50%) rotate(-27deg) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-27deg) rotate(-360deg); }
}

@keyframes rplCorePulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.96; }
  50% { transform: translateY(-5px) scale(1.035); opacity: 1; }
}

@keyframes rplNumberGlow {
  0%, 100% { text-shadow: 0 0 6px rgba(173, 216, 255, 0.18); }
  50% { text-shadow: 0 0 18px rgba(173, 216, 255, 0.55); }
}

@keyframes rplCursorBlink {
  0%, 42% { opacity: 1; }
  43%, 100% { opacity: 0.08; }
}

@keyframes rplNodePulse {
  0%, 100% { transform: scale(0.86); opacity: 0.56; }
  50% { transform: scale(1.22); opacity: 1; }
}

@keyframes rplFloatOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -11px, 0) rotate(1deg); }
}

@keyframes rplFloatTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50% { transform: translate3d(0, 10px, 0) rotate(-1deg); }
}

@keyframes rplScan {
  0%, 100% { transform: translateY(-116px); opacity: 0; }
  12%, 82% { opacity: 1; }
  50% { transform: translateY(116px); }
}

.rpl-tech-animation + .hero-interface {
  opacity: 0.78;
}

.hero-interface {
  position: absolute;
  z-index: 1;
  right: 5.5%;
  top: 23%;
  width: min(560px, 46vw);
  height: 500px;
  pointer-events: none;
  opacity: 0.88;
}

.floating-ui-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(247, 250, 255, 0.09);
  backdrop-filter: blur(17px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  color: #d9e4f1;
}

.ui-window-main {
  inset: 80px 25px 80px 10px;
  padding: 16px;
}

.ui-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #98abc1;
  font-size: 0.54rem;
}

.ui-window-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.ui-window-bar b {
  font-weight: 700;
  margin-left: auto;
}

.ui-window-body {
  padding-top: 22px;
}

.ui-line {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.ui-line-lg {
  width: 58%;
  height: 14px;
}

.ui-line-sm {
  width: 34%;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.ui-chip-row {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.ui-chip-row i {
  display: block;
  width: 42px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
}

.ui-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  margin-top: 22px;
}

.ui-layout-grid span {
  height: 82px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-layout-grid span:nth-child(1) {
  grid-row: span 2;
  height: auto;
  min-height: 174px;
}

.ui-palette {
  right: -10px;
  top: 22px;
  padding: 16px;
  width: 160px;
  transform: rotate(3deg);
  animation: floatA 6s ease-in-out infinite;
}

.ui-palette small,
.ui-type small,
.ui-wireframe small {
  display: block;
  color: #91a6bf;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.palette-row {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.palette-row i {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.palette-row i:nth-child(1) {
  background: #0b1f3a;
}

.palette-row i:nth-child(2) {
  background: #486ba3;
}

.palette-row i:nth-child(3) {
  background: #d7e3f2;
}

.palette-row i:nth-child(4) {
  background: #fff;
}

.ui-palette strong {
  display: block;
  margin-top: 10px;
  font: 700 0.7rem Manrope;
  color: #eaf2fb;
}

.ui-type {
  left: -14px;
  bottom: 46px;
  width: 158px;
  padding: 16px;
  transform: rotate(-4deg);
  animation: floatB 7s ease-in-out infinite;
}

.ui-type strong {
  display: block;
  font: 800 2.8rem / 0.8 Manrope;
  margin: 15px 0 9px;
  color: #fff;
}

.ui-type span {
  font-size: 0.51rem;
  color: #91a6bd;
}

.ui-wireframe {
  right: 18px;
  bottom: 12px;
  width: 150px;
  padding: 16px;
  transform: rotate(4deg);
  animation: floatA 7.5s ease-in-out infinite;
}

.wire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}

.wire-grid span {
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}

.wire-grid span:first-child {
  grid-column: span 2;
}

.stats {
  position: relative;
  z-index: 5;
  margin-top: -72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  position: relative;
  min-height: 130px;
  padding: 21px;
  border-radius: 20px;
  border: 1px solid rgba(10, 29, 53, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth),
    border-color 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 120, 201, 0.32);
  box-shadow: var(--shadow-lg);
}

.stat-card::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  right: -24px;
  bottom: -35px;
  background: #eef4fb;
}

.stat-label,
.stat-meta {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #8a98a9;
}

.stat-meta {
  margin-top: 3px;
  letter-spacing: 0.08em;
  color: #a0acba;
}

.counter {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 13px;
  font: 800 2.45rem / 0.95 Manrope, sans-serif;
  letter-spacing: -0.05em;
  color: var(--navy-900);
}

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

.about-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #d9e3ef;
  min-height: 560px;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(4, 15, 31, 0.62)
  );
}

.about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 23px;
  z-index: 2;
  color: #fff;
}

.image-caption span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  font-weight: 800;
}

.image-caption strong {
  display: block;
  margin-top: 6px;
  font: 700 1rem Manrope;
}

.about-content {
  max-width: 570px;
}

.about-content .lead {
  font: 700 1.25rem / 1.45 Manrope, sans-serif;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.about-content > p:not(.lead) {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}

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

.info-grid > div {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfcfe;
}

.info-grid span {
  display: block;
  color: #8795a7;
  font-size: 0.54rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
}

.info-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font: 700 0.73rem / 1.45 Manrope;
}

/* =========================================================
   UI / UX
   ========================================================= */

.uiux-section {
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.55), rgba(255, 255, 255, 0.55));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.capability-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 9px 30px rgba(8, 23, 44, 0.04);
  min-height: 204px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.capability-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 120, 201, 0.35);
  box-shadow: var(--shadow-md);
}

.capability-number {
  float: right;
  color: #b2bfce;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-blue);
  color: var(--navy-800);
  font: 800 0.59rem Manrope;
  letter-spacing: 0.07em;
}

.capability-card h3 {
  margin-top: 23px;
  font: 800 1rem Manrope;
  color: var(--navy-900);
}

.capability-card p {
  margin-top: 8px;
  font-size: 0.69rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   FIGMA
   ========================================================= */

.figma-section {
  background: var(--navy-950);
}

.figma-showcase {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.02)
  );
  overflow: hidden;
}

.figma-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 10px 14px 6px;
}

.figma-copy .eyebrow {
  color: #9ab0ca;
}

.figma-copy h2 {
  font: 800 clamp(2.2rem, 5vw, 4.4rem) / 0.98 Manrope;
  color: #fff;
  letter-spacing: -0.07em;
  margin-top: 13px;
}

.figma-copy > p:not(.eyebrow) {
  color: #9fb1c7;
  font-size: 0.75rem;
  line-height: 1.85;
  max-width: 390px;
  margin-top: 18px;
}

.figma-copy .btn {
  align-self: flex-start;
  margin-top: 25px;
}

.figma-note {
  margin-top: 10px;
  color: #72869f;
  font-size: 0.54rem;
  line-height: 1.6;
  max-width: 300px;
}

.figma-canvas {
  min-height: 510px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b1730;
  padding: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.figma-toolbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  color: #72859f;
  font-size: 0.5rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.figma-toolbar span:first-child {
  color: #d8e3ef;
}

.figma-toolbar b {
  margin-left: auto;
  color: #aabbd0;
}

.figma-board {
  position: relative;
  height: 450px;
  margin-top: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #11254a, #0b1730);
  overflow: hidden;
}

.figma-device {
  position: absolute;
  background: #f9fbff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.desktop-device {
  left: 7%;
  top: 12%;
  width: 52%;
  height: 58%;
  border-radius: 13px;
  transform: rotate(-3deg);
}

.mobile-device {
  right: 7%;
  top: 17%;
  width: 24%;
  height: 56%;
  border-radius: 18px;
  transform: rotate(7deg);
}

.screen-top {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-bottom: 1px solid #e3eaf3;
}

.screen-top strong {
  font: 800 0.9rem Manrope;
  color: var(--navy-900);
}

.screen-top small {
  font-size: 0.42rem;
  color: #8491a1;
}

.screen-top em {
  display: block;
  font-style: normal;
  font-size: 0.4rem;
  line-height: 1.5;
  color: #6e8096;
  margin-top: 2px;
  max-width: 92%;
}

.screen-hero {
  margin: 14px;
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 12px;
  background: #eff4fb;
}

.screen-hero i {
  width: 52%;
  height: 9px;
  border-radius: 999px;
  background: #123052;
}

.screen-hero b {
  width: 33%;
  height: 6px;
  border-radius: 999px;
  background: #b7c6d8;
}

.screen-hero em {
  width: 40%;
  height: 22px;
  border-radius: 8px;
  background: #d9e5f2;
}

.screen-hero > strong {
  display: block;
  font: 800 0.62rem / 1.25 Manrope;
  color: #17304f;
  margin-top: 2px;
  max-width: 95%;
}

.screen-hero > small {
  display: block;
  font-size: 0.39rem;
  line-height: 1.45;
  color: #72859b;
  max-width: 92%;
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 14px;
}

.screen-cards span {
  height: 67px;
  border-radius: 10px;
  background: #f0f4f9;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
  gap: 3px;
  text-align: left;
}

.screen-cards span b {
  font: 800 0.43rem / 1.15 Manrope;
  color: #294764;
}

.screen-cards span small {
  font-size: 0.34rem;
  line-height: 1.25;
  color: #8a98a9;
}

.mobile-notch {
  width: 38%;
  height: 10px;
  border-radius: 0 0 8px 8px;
  background: #0f1f34;
  margin: auto;
}

.mobile-screen {
  padding: 13px;
  display: grid;
  gap: 9px;
}

.mobile-screen span {
  height: 46px;
  border-radius: 9px;
  background: #eef4fb;
}

.mobile-screen b {
  width: 72%;
  height: 8px;
  border-radius: 999px;
  background: #183455;
}

.mobile-screen i {
  width: 48%;
  height: 5px;
  border-radius: 999px;
  background: #b7c5d5;
}

.mobile-screen em {
  height: 60px;
  border-radius: 10px;
  background: #dbe6f1;
}

.mobile-screen u {
  height: 27px;
  border-radius: 9px;
  background: #0f2747;
  text-decoration: none;
  display: grid;
  place-items: center;
  text-align: center;
  font: 700 0.36rem / 1.2 Manrope;
  color: #f5f8fc;
}

.mobile-screen strong {
  font: 800 0.7rem / 1.1 Manrope;
  color: #163653;
}

.mobile-screen small {
  font-size: 0.36rem;
  color: #74879d;
  line-height: 1.25;
}

.mobile-screen label {
  font: 700 0.35rem / 1.2 Manrope;
  color: #6f8196;
}

.figma-component,
.figma-type-panel,
.figma-palette-panel {
  position: absolute;
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.97);
  border: 1px solid rgba(12, 33, 61, 0.1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  padding: 12px;
}

.figma-component {
  left: 8%;
  bottom: 7%;
  width: 180px;
}

.figma-type-panel {
  right: 7%;
  bottom: 8%;
  width: 145px;
  transform: rotate(-3deg);
}

.figma-palette-panel {
  right: 32%;
  bottom: 4%;
  width: 150px;
}

.figma-component small,
.figma-type-panel small,
.figma-palette-panel small {
  display: block;
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  color: #8795a7;
  font-weight: 800;
}

.figma-component > div {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.figma-component i {
  display: block;
  height: 25px;
  flex: 1;
  border-radius: 8px;
  background: #eef4fb;
  border: 1px solid #d9e2ec;
}

.figma-type-panel strong {
  display: block;
  font: 800 1.8rem Manrope;
  color: #17304f;
  margin: 8px 0 2px;
}

.figma-type-panel span {
  font-size: 0.45rem;
  color: #8997a8;
}

.figma-palette-panel > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.figma-palette-panel i {
  height: 28px;
  border-radius: 7px;
}

.figma-palette-panel i:nth-child(1) {
  background: #0b1f3a;
}

.figma-palette-panel i:nth-child(2) {
  background: #486ba3;
}

.figma-palette-panel i:nth-child(3) {
  background: #dbe5f0;
}

.figma-palette-panel i:nth-child(4) {
  background: #fff;
  border: 1px solid #e2e7ed;
}

.figma-component > strong {
  display: block;
  margin-top: 5px;
  font: 800 0.53rem / 1.2 Manrope;
  color: #274764;
}

.figma-type-panel em {
  display: block;
  font-style: normal;
  font-size: 0.39rem;
  line-height: 1.45;
  color: #78899c;
  margin-top: 6px;
}

.figma-palette-panel p {
  margin: 7px 0 0;
  font-size: 0.37rem;
  line-height: 1.45;
  color: #718399;
}

.figma-insights {
  display: grid;
  gap: 8px;
  margin-top: 19px;
  max-width: 455px;
}

.figma-insight {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease;
}

.figma-insight:hover,
.figma-insight:focus-visible {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.16);
}

.figma-insight-index {
  font: 800 0.55rem / 1 Manrope;
  color: #7187a2;
}

.figma-insight strong {
  display: block;
  font: 700 0.66rem / 1.2 Manrope;
  color: #eaf0f7;
}

.figma-insight small {
  display: block;
  margin-top: 3px;
  font-size: 0.54rem;
  line-height: 1.45;
  color: #8ea2b9;
}

.figma-insight b {
  font-size: 0.72rem;
  color: #90a3bb;
  text-align: right;
}

.figma-hotspot {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(12, 33, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #58708d;
  font: 800 0.47rem / 1 Manrope;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.figma-hotspot:hover,
.figma-hotspot:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  color: #17304f;
}

.hotspot-desktop {
  left: 9%;
  top: 7%;
}

.hotspot-mobile {
  right: 7%;
  top: 11%;
}

.figma-component,
.figma-type-panel,
.figma-palette-panel {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.figma-component:hover,
.figma-component:focus-visible,
.figma-type-panel:hover,
.figma-type-panel:focus-visible,
.figma-palette-panel:hover,
.figma-palette-panel:focus-visible {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.figma-component b,
.figma-type-panel b,
.figma-palette-panel b {
  display: block;
  margin-top: 8px;
  font: 800 0.46rem / 1.2 Manrope;
  color: #62758e;
}

/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.process-timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: #d8e1eb;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 22px 0;
}

.process-step > span {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border: 1px solid #dbe4ee;
  color: #24415f;
  font: 800 0.68rem Manrope;
}

.process-step small {
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #8190a2;
}

.process-step h3 {
  font: 800 1.08rem / 1.25 Manrope;
  color: var(--navy-900);
  margin-top: 6px;
}

.process-step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  max-width: 520px;
}

/* =========================================================
   STUDENTS
   ========================================================= */

.students-section {
  background: rgba(247, 249, 252, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.student-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.search-box {
  display: block;
  flex: 1;
  max-width: 410px;
}

.search-box > span {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #8895a5;
  margin-bottom: 6px;
}

.search-box input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
  outline: none;
  box-shadow: 0 7px 20px rgba(8, 23, 44, 0.03);
}

.search-box input:focus {
  border-color: #9fb5d1;
  box-shadow: 0 0 0 4px rgba(77, 120, 201, 0.08);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.filter-btn,
.gallery-filter-btn {
  border: 1px solid #d7e0eb;
  background: #fff;
  color: #68798e;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(8, 23, 44, 0.03);
  transition:
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.filter-btn:hover,
.gallery-filter-btn:hover {
  transform: translateY(-2px);
  border-color: #c1cfe0;
  box-shadow: 0 10px 22px rgba(8, 23, 44, 0.08);
}

.filter-btn.active,
.gallery-filter-btn.active {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px rgba(8, 23, 44, 0.22), 0 0 0 1px rgba(77, 120, 201, 0.32) inset;
  transform: translateY(-1px);
}

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

/* ===================== 3D Floating Student Card ===================== */
.student-card {
  position: relative;
  border: 1px solid #dfe6ee;
  border-radius: 23px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 23, 44, 0.045);
  cursor: pointer;
  will-change: transform;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  --tilt-scale: 1;
  --mx: 50%;
  --my: 50%;
  --float-amp: -9px;
  --float-rotz: 0.35deg;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.35s ease;
  animation: studentFloat 6.4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.student-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.55),
    transparent 55%
  );
  mix-blend-mode: overlay;
  transition: opacity 0.35s ease;
}

.student-card:nth-child(3n+1) {
  --float-delay: 0s;
}

.student-card:nth-child(3n+2) {
  --float-delay: -1.6s;
}

.student-card:nth-child(3n) {
  --float-delay: -3.2s;
}

@keyframes studentFloat {
  0%, 100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(var(--float-amp)) rotateZ(var(--float-rotz));
  }
}

.student-card:hover {
  box-shadow: 0 28px 60px rgba(8, 23, 44, 0.16);
  border-color: #c8d5e5;
}

/* Pointer-driven 3D tilt (fine pointers / mouse only, applied via JS) */
.student-card.is-tilting {
  transform:
    perspective(1200px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translateY(var(--tilt-lift))
    scale(var(--tilt-scale)) !important;
  transition: transform 0.12s linear, box-shadow 0.3s ease !important;
  box-shadow: 0 32px 70px rgba(8, 23, 44, 0.2) !important;
  z-index: 3;
}

.student-card.is-tilting::before {
  opacity: 1;
}

.student-card .student-photo-wrap,
.student-card .student-card-body {
  position: relative;
  z-index: 1;
}

/* Touch devices: no pointer tilt, use a simple press effect instead */
.student-card:active {
  transform: scale(0.97) translateY(2px) !important;
  transition: transform 0.15s ease !important;
}

.student-card.hidden {
  display: none;
}

.student-photo-wrap {
  position: relative;
  aspect-ratio: 1.2 / 1;
  background: #dce5ef;
  overflow: hidden;
}

.student-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s var(--ease),
    filter 0.4s;
}

.student-card:hover .student-photo {
  transform: scale(1.035);
  filter: saturate(0.92);
}

.student-number {
  position: absolute;
  left: 14px;
  top: 13px;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7, 20, 38, 0.56);
  backdrop-filter: blur(8px);
  font: 800 0.58rem Manrope;
}

.student-photo-glass {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 13px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 17, 33, 0.54);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  color: #fff;
}

.student-photo-glass span {
  display: block;
  font-size: 0.47rem;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.student-photo-glass span + span {
  margin-top: 2px;
  color: #a9bad0;
  letter-spacing: 0.08em;
}

.student-card-body {
  padding: 18px;
}

.student-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: start;
}

.student-heading h3 {
  font: 800 1rem / 1.1 Manrope;
  color: var(--navy-900);
}

.student-heading p {
  font-size: 0.62rem;
  color: #7d8a9c;
  margin-top: 5px;
}

.student-tag {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #edf3fa;
  color: #436486;
  font-size: 0.49rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.student-links {
  margin-top: 15px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  border: 1px solid #e0e7ef;
  border-radius: 10px;
  padding: 0 9px;
  color: #597089;
  font-size: 0.55rem;
  font-weight: 700;
  transition:
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    border-color 0.3s ease,
    background 0.3s ease;
}

.instagram-link:hover {
  border-color: #4d78c9;
  background: #f7f9fc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(8, 23, 44, 0.08);
}

.instagram-link.is-empty {
  opacity: 0.58;
}

.instagram-mark {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.link-arrow {
  margin-left: auto;
  color: #9aa8b8;
  font-size: 0.48rem;
}

.student-audio {
  display: none;
}

.audio-topline,
.audio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.audio-kicker {
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #93a0b0;
}

.audio-status {
  font-size: 0.48rem;
  font-weight: 800;
  color: #8290a1;
}

.audio-row {
  margin-top: 8px;
  justify-content: flex-start;
}

.audio-play {
  width: 38px;
  height: 38px;
  border: 1px solid #d5dfea;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f4f7fb);
  color: var(--navy-900);
  box-shadow: 0 7px 17px rgba(8, 23, 44, 0.06);
  transition:
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    background 0.3s ease;
}

.audio-play:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px rgba(8, 23, 44, 0.12);
}

.audio-play.playing {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  box-shadow: 0 10px 22px rgba(8, 23, 44, 0.28), 0 0 0 1px rgba(77, 120, 201, 0.28) inset;
}

.audio-button-icon {
  display: block;
  position: relative;
  width: 15px;
  height: 15px;
  margin: auto;
}

.audio-button-icon.play-icon {
  background: url("../assets/play-icon.png") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(13%) sepia(19%) saturate(950%)
    hue-rotate(176deg);
}

.audio-play.playing .audio-button-icon.pause-icon {
  filter: brightness(0) invert(1);
}

.audio-button-icon.pause-icon {
  background: url("../assets/pause-icon.png") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(13%) sepia(19%) saturate(950%)
    hue-rotate(176deg);
}

.audio-track {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.audio-track strong {
  font: 700 0.65rem Manrope;
  color: #263a53;
}

.audio-track span {
  font-size: 0.51rem;
  color: #8a98a9;
}

.audio-range,
.profile-audio-range {
  width: 100%;
  margin-top: 9px;
  height: 1px;
  accent-color: #6c84a2;
}

.empty-state {
  display: none;
  padding: 28px;
  text-align: center;
  color: #8693a4;
  font-size: 0.72rem;
}

/* =========================================================
   ACTIVITIES
   ========================================================= */

.activities-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.activity-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.activity-card {
  position: relative;
  border-radius: 23px;
  overflow: hidden;
  background: #dfe7f1;
  min-height: 240px;
}

.activity-card:first-child {
  grid-row: span 2;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.activity-card:hover img {
  transform: scale(1.045);
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 17, 34, 0.78));
}

.activity-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: end;
  color: #fff;
}

.activity-overlay > span {
  font: 800 0.65rem Manrope;
  color: #a7b7ca;
}

.activity-overlay small {
  font-size: 0.47rem;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #b2c0d0;
}

.activity-overlay h3 {
  font: 800 0.95rem / 1.15 Manrope;
  margin-top: 5px;
  letter-spacing: -0.02em;
}

.activity-featured .activity-overlay h3 {
  font-size: 1.25rem;
}

/* =========================================================
   ORGANIZATION
   ========================================================= */

.organization-section {
  background: rgba(247, 249, 252, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.org-chart {
  max-width: 980px;
  margin: auto;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.org-level.two > div,
.org-level.three > div {
  flex: 1;
}

.org-card {
  padding: 20px;
  border-radius: 19px;
  border: 1px solid #dce5ee;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s ease;
}

.org-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 120, 201, 0.35);
  box-shadow: var(--shadow-md);
}

.org-card.featured {
  max-width: 300px;
  margin: auto;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 20px 46px rgba(6, 18, 36, 0.28), 0 0 0 1px rgba(77, 120, 201, 0.24) inset;
}

.org-card span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8391a3;
}

.org-card.featured span {
  color: #95aac4;
}

.org-card strong {
  display: block;
  margin-top: 7px;
  font: 800 0.85rem Manrope;
  color: var(--navy-900);
}

.org-card.featured strong {
  color: #fff;
}

.org-line.vertical {
  width: 1px;
  height: 34px;
  background: #cfd9e4;
  margin: 0 auto;
}

.org-level.three {
  max-width: 790px;
  margin: auto;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-filter {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(219, 229, 239, 0.9);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn {
  position: relative;
}

.gallery-filter-btn:active {
  transform: translateY(0) scale(0.96);
}

.gallery-filter-btn.active {
  animation: galleryPillPop 0.4s var(--ease-smooth);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, #e3eaf3, #c9d7e9);
  text-align: left;
  isolation: isolate;
  cursor: pointer;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 10px 26px rgba(8, 23, 44, 0.09);
  transition:
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.gallery-item.reveal {
  transition:
    opacity 0.7s var(--ease),
    transform 0.45s var(--ease-smooth);
}

.gallery-item.reveal.visible {
  transition:
    opacity 0.7s var(--ease),
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px) scale(1.015);
  box-shadow: 0 28px 60px rgba(8, 23, 44, 0.24), 0 0 0 1px rgba(77, 120, 201, 0.28);
  z-index: 3;
}

.gallery-item:active {
  transform: translateY(-3px) scale(0.985);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

.gallery-large {
  grid-row: span 2;
}

.gallery-item .gallery-img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.8s var(--ease-smooth),
    filter 0.5s ease;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover img {
  transform: scale(1.09);
  filter: saturate(1.12) brightness(1.03);
}

/* soft skeleton shimmer sweep that plays once when the section appears */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  animation: galleryShimmer 1.5s ease-in-out 1;
  animation-fill-mode: forwards;
  pointer-events: none;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 14, 29, 0.78));
  opacity: 0.88;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  background: linear-gradient(190deg, rgba(4, 14, 29, 0.08) 0%, rgba(4, 14, 29, 0.18) 40%, rgba(4, 14, 29, 0.9) 100%);
}

.gallery-zoom-icon {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  transition:
    opacity 0.4s var(--ease-smooth),
    transform 0.4s var(--ease-smooth),
    background 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-zoom-icon,
.gallery-item:focus-visible .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(77, 120, 201, 0.4);
}

.gallery-caption {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.45s var(--ease-smooth);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  transform: translateY(0);
}

.gallery-caption b {
  font: 800 0.76rem/1.3 Manrope;
  letter-spacing: 0.01em;
}

.gallery-caption small {
  font: 700 0.54rem/1 Manrope;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.08s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.16s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.24s; }
.gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.32s; }

.gallery-grid .gallery-item:nth-child(1)::before { animation-delay: 0.05s; }
.gallery-grid .gallery-item:nth-child(2)::before { animation-delay: 0.16s; }
.gallery-grid .gallery-item:nth-child(3)::before { animation-delay: 0.27s; }
.gallery-grid .gallery-item:nth-child(4)::before { animation-delay: 0.38s; }
.gallery-grid .gallery-item:nth-child(5)::before { animation-delay: 0.49s; }

@keyframes galleryShimmer {
  0% { background-position: 150% 0; opacity: 1; }
  65% { opacity: 1; }
  100% { background-position: -55% 0; opacity: 0; }
}

@keyframes galleryPillPop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* =========================================================
   QUOTE
   ========================================================= */

.quote-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(140deg, var(--navy-950), var(--navy-800));
}

.quote-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  right: -80px;
  top: -120px;
  background: radial-gradient(
    circle,
    rgba(102, 143, 207, 0.22),
    transparent 68%
  );
}

.quote-inner {
  position: relative;
  text-align: center;
}

.quote-inner blockquote {
  margin-top: 17px;
  color: #fff;
  font: 800 clamp(2.5rem, 6vw, 5.3rem) / 0.98 Manrope;
  letter-spacing: -0.07em;
}

.quote-inner > span {
  display: inline-block;
  margin-top: 22px;
  color: #8fa4bd;
  font-size: 0.57rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}

/* =========================================================
   JOURNEY
   ========================================================= */

.journey-section {
  background: rgba(247, 249, 252, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.journey-list {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.journey-list::before {
  content: "";
  position: absolute;
  left: 83px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #d5dee8;
}

.journey-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 25px;
  padding: 22px 0;
  position: relative;
}

.journey-item > span {
  font: 800 1rem Manrope;
  color: var(--navy-900);
}

.journey-item > div {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8ef;
}

.journey-item small {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #8391a3;
}

.journey-item h3 {
  font: 800 1.08rem / 1.25 Manrope;
  color: #16304f;
  margin-top: 7px;
}

.journey-future > span,
.journey-future h3 {
  color: #49688d;
}

.journey-future > div {
  border-bottom: 0;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
}

.contact-info {
  display: grid;
  gap: 10px;
}

.contact-item {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fbfcfe;
  transition:
    transform 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    border-color 0.35s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 120, 201, 0.32);
  box-shadow: 0 14px 30px rgba(8, 23, 44, 0.07);
}

.contact-item span {
  display: block;
  font-size: 0.53rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8795a5;
}

.contact-item strong {
  display: block;
  margin-top: 7px;
  color: var(--navy-900);
  font: 700 0.76rem / 1.55 Manrope;
}

.contact-form {
  display: grid;
  gap: 13px;
}

.contact-form label {
  font-size: 0.59rem;
  font-weight: 800;
  color: #65758a;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a6b8ce;
  box-shadow: 0 0 0 4px rgba(77, 120, 201, 0.07);
}

.contact-form textarea {
  resize: vertical;
  min-height: 145px;
}

.contact-form .btn {
  justify-self: start;
}

.form-message {
  font-size: 0.62rem;
  color: #6d7c90;
}

.contact-social-item {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-social-item:hover {
  transform: translateY(-2px);
  border-color: #c6d2df;
  box-shadow: 0 14px 28px rgba(8, 23, 44, 0.06);
}

.contact-social-item strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #4b6481;
}

.contact-arrow {
  margin-left: auto;
  color: #7b8ca0;
  font-size: 0.85rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-social-item:hover .contact-arrow {
  transform: translate(2px, -2px);
  color: #1d3550;
}

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

.footer {
  background: var(--navy-950);
  color: #d6e0ec;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 40px;
  padding-bottom: 35px;
}

.footer-brand .brand-logos {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand .brand-logo-divider {
  height: 26px;
}

.footer-brand h3 {
  font: 800 1.05rem Manrope;
  color: #fff;
  margin-top: 12px;
}

.footer-brand p {
  font-size: 0.62rem;
  color: #91a3b9;
  line-height: 1.7;
  margin-top: 6px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links h4,
.footer-note > p {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8094ab;
}

.footer-links a {
  font-size: 0.62rem;
  color: #a8b8c9;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-note > p {
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  line-height: 1.6;
  color: #d6e0ec;
  text-transform: none;
}

.socials {
  display: flex;
  gap: 7px;
  margin-top: 16px;
  align-items: center;
}

.socials a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.55rem;
  color: #c9d5e2;
}

.social-icon {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9d5e2 !important;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(77, 120, 201, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  color: #fff !important;
}

.social-icon:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.12);
  outline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.54rem;
  color: #6f839d;
}

.footer-bottom a {
  color: #a3b3c7;
}

/* =========================================================
   STUDENT PROFILE / LIGHTBOX
   ========================================================= */

.student-profile-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.student-profile-modal.open,
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.student-profile-backdrop,
.lightbox {
  background: rgba(3, 11, 23, 0.74);
  backdrop-filter: blur(16px);
}

.student-profile-panel {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.student-profile-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.student-profile-close,
.lightbox-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #dbe3ec;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(8, 23, 44, 0.1);
  transition:
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    border-color 0.3s ease,
    background 0.3s ease;
}

.student-profile-close:hover,
.lightbox-close:hover {
  transform: rotate(90deg) scale(1.05);
  border-color: #4d78c9;
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 23, 44, 0.16);
}

.student-profile-photo-wrap {
  position: relative;
  min-height: 100%;
  background: #d8e2ee;
}

.student-profile-photo-wrap img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.student-profile-number {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 18, 36, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 800 0.62rem Manrope;
}

.student-profile-content {
  padding: 45px;
}

.student-profile-heading h2 {
  font: 800 clamp(2rem, 5vw, 3.6rem) / 1 Manrope;
  color: var(--navy-900);
  letter-spacing: -0.06em;
  margin-top: 9px;
}

.student-profile-heading p:last-child {
  margin-top: 7px;
  color: #7c8b9e;
  font-size: 0.74rem;
}

.profile-instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 10px 15px;
  border: 1px solid #d8e1eb;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffffff, #f5f8fc);
  color: #253a54;
  font-size: 0.6rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(8, 23, 44, 0.05);
  transition:
    transform 0.3s var(--ease-smooth),
    box-shadow 0.3s var(--ease-smooth),
    border-color 0.3s ease;
}

.profile-instagram-button:hover {
  transform: translateY(-2px);
  border-color: #4d78c9;
  box-shadow: 0 14px 28px rgba(8, 23, 44, 0.1);
}

.profile-instagram-button img {
  width: 20px;
  height: 20px;
}

.profile-instagram-button.is-empty {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================================================
   VINYL PLAYER
   ========================================================= */

.vinyl-player {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) 1.22fr;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 25px;
  border-radius: 24px;
  background: linear-gradient(145deg, #08172c, #102846);
  color: #dce6f0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 23, 44, 0.18);
}

.vinyl-player::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  left: -100px;
  top: -120px;
  background: radial-gradient(
    circle,
    rgba(91, 127, 186, 0.13),
    transparent 70%
  );
}

.vinyl-disc-wrap {
  position: relative;
  width: min(250px, 100%);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
}

.vinyl-disc {
  position: relative;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../assets/vinyl-player.png") center / contain no-repeat;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.42);
  animation: vinylSpin 7s linear infinite;
  animation-play-state: paused;
  overflow: hidden;
}

.vinyl-disc.playing {
  animation-play-state: running;
}

.vinyl-center-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  background: #d9e2ea;
  z-index: 3;
}

.vinyl-hole {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  z-index: 4;
}

.vinyl-info {
  position: relative;
  z-index: 1;
}

.vinyl-info h3 {
  font: 800 1.5rem / 1.1 Manrope;
  color: #eff5fb;
  margin-top: 5px;
}

.vinyl-info > p {
  font-size: 0.67rem;
  color: #8fa2b7;
  margin-top: 5px;
}

.vinyl-time {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  color: #8b9cb0;
  font-size: 0.53rem;
  font-weight: 700;
}

.profile-audio-range {
  margin-top: 8px;
  opacity: 0.78;
  accent-color: #050505;
}

.vinyl-controls {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 8px;
  margin-top: 17px;
}

.vinyl-controls button {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: #b8c7d8;
  font-size: 0.52rem;
  font-weight: 800;
}

.vinyl-main-play {
  width: 54px;
  height: 54px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.16);
}

.vinyl-main-play .play-icon,
.vinyl-main-play .pause-icon {
  filter: brightness(0) saturate(100%) invert(13%) sepia(18%) saturate(1021%)
    hue-rotate(175deg);
}

.student-profile-tip {
  margin-top: 13px;
  color: #78889c;
  font-size: 0.58rem;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  padding: 28px;
  touch-action: pan-y;
}

.lightbox figure {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  display: grid;
  place-items: center;
  gap: 14px;
}

.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: 78vh;
  transform: scale(0.9) translateY(14px);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-smooth),
    opacity 0.35s ease;
}

.lightbox.open .lightbox-frame {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 20px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  transition: opacity 0.25s ease;
}

.lightbox figcaption {
  color: #dfe7ef;
  font-size: 0.65rem;
  font-weight: 700;
}

.lightbox-counter {
  color: rgba(223, 231, 239, 0.75);
  font: 700 0.6rem/1 Manrope;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease-smooth);
}

.lightbox.open .lightbox-nav {
  opacity: 1;
  visibility: visible;
}

.lightbox-nav:hover {
  background: rgba(77, 120, 201, 0.5);
  border-color: rgba(77, 120, 201, 0.7);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.94);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

/* =========================================================
   BACK TO TOP / REVEAL
   ========================================================= */

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid #d5dfe9;
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

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

@keyframes vinylSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

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

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

  50% {
    transform: translateY(9px) rotate(-4deg);
  }
}

/* =========================================================
   INTERACTIVE UI / UX LEARNING CARDS
   ========================================================= */

.capability-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
}

.capability-card .capability-content {
  position: relative;
  z-index: 1;
}

.capability-card .capability-open {
  margin-top: auto;
  padding-top: 18px;
  font: 800 0.55rem / 1 Manrope;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8799ae;
  transition: color 0.25s ease, transform 0.25s ease;
}

.capability-card:hover .capability-open,
.capability-card:focus-visible .capability-open {
  color: var(--navy-900);
  transform: translateX(3px);
}

.capability-card:focus-visible {
  outline: 3px solid rgba(73, 111, 159, 0.22);
  outline-offset: 4px;
}

/* =========================================================
   HOME HERO BACKGROUND PHOTO ENHANCEMENT
   ========================================================= */

.hero-media {
  z-index: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 14, 28, 0.88) 0%,
      rgba(3, 14, 28, 0.58) 46%,
      rgba(3, 14, 28, 0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 12, 24, 0.14) 0%,
      rgba(3, 12, 24, 0.42) 100%
    ),
    url("../assets/birthday-class-photo.png");
  background-size: cover;
  background-position: center 43%;
  background-repeat: no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 14, 27, 0.08) 0%,
    rgba(4, 14, 27, 0.05) 45%,
    rgba(4, 14, 27, 0.56) 100%
  );
}

.hero-content {
  max-width: var(--container);
}

/* =========================================================
   CINEMATIC RPL LIFE LAYER
   ========================================================= */
.rpl-tech-animation {
  isolation: isolate;
  transform: translate3d(var(--rpl-shift-x, 0px), var(--rpl-shift-y, 0px), 0);
  transition: transform 0.24s ease-out;
}

.rpl-tech-animation::before,
.rpl-tech-animation::after {
  content: "";
  position: absolute;
  inset: 7% 6%;
  border-radius: 50%;
  pointer-events: none;
}

.rpl-tech-animation::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(171, 214, 255, 0.15) 0 6%, transparent 19%),
    radial-gradient(circle at 50% 50%, rgba(69, 124, 196, 0.15) 0 22%, transparent 48%);
  filter: blur(12px);
  animation: rplAtmosphere 5.5s ease-in-out infinite;
}

.rpl-tech-animation::after {
  border: 1px solid rgba(190, 222, 255, 0.07);
  box-shadow: inset 0 0 80px rgba(84, 145, 218, 0.08), 0 0 70px rgba(84, 145, 218, 0.07);
  animation: rplFrameBreath 7s ease-in-out infinite;
}

.rpl-tech-core::before {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255,255,255,.12), transparent 24%),
    radial-gradient(circle at 52% 52%, rgba(74, 146, 225, .26), transparent 60%),
    rgba(4, 17, 33, .22);
  border: 1px solid rgba(197, 226, 255, .11);
  box-shadow: inset 0 0 38px rgba(103, 170, 236, .13), 0 0 55px rgba(75, 144, 218, .12);
  animation: rplCoreBreath 4s ease-in-out infinite;
}

.rpl-tech-core::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eaf6ff;
  box-shadow: 0 0 0 7px rgba(180, 220, 255, .05), 0 0 28px rgba(179, 220, 255, .9), 0 0 70px rgba(97, 173, 247, .5);
  animation: rplCoreFlash 2.2s ease-in-out infinite;
}

.rpl-tech-ring::marker { display: none; }

.rpl-tech-ring.ring-outer::after {
  width: 16px;
  height: 16px;
  top: -8px;
  left: 50%;
  right: auto;
  bottom: auto;
  background: radial-gradient(circle, #f3f9ff 0 25%, rgba(178,219,255,.45) 45%, transparent 70%);
  box-shadow: 0 0 18px rgba(181, 222, 255, .9), 0 0 40px rgba(99, 175, 247, .55);
}

.rpl-tech-ring.ring-inner::before {
  animation: rplDotTravel 4.2s linear infinite;
}

.rpl-tech-orbit {
  box-shadow: 0 0 34px rgba(77, 145, 224, .05);
}

.rpl-tech-orbit::before,
.rpl-tech-orbit::after {
  animation: rplOrbitDot 2.7s ease-in-out infinite;
}

.orbit-one::after { animation-delay: -1.1s; }
.orbit-two::before { animation-delay: -1.8s; }
.orbit-two::after { animation-delay: -0.35s; }
.orbit-three::before { width: 7px; height: 7px; animation-delay: -1.5s; }
.orbit-three::after { width: 7px; height: 7px; animation-delay: -.3s; }

.rpl-tech-mark {
  animation: rplCorePulse 4.8s ease-in-out infinite, rplTextShimmer 5.5s linear infinite;
}

.rpl-tech-mark::before {
  content: "";
  position: absolute;
  inset: -18px -28px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(211, 236, 255, .12), transparent);
  transform: translateX(-120%);
  animation: rplTextSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

.rpl-cinematic-beam {
  mix-blend-mode: screen;
  filter: blur(.2px);
}

.rpl-lens-flare {
  animation: rplFlareBreathe 3.8s ease-in-out infinite;
}

.rpl-lens-flare.flare-b { animation-delay: -1.7s; }

.rpl-spark-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rpl-spark-field i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(225, 243, 255, .92);
  box-shadow: 0 0 8px rgba(188, 226, 255, .85), 0 0 18px rgba(94, 166, 240, .4);
  animation: rplSparkDrift 4.5s ease-in-out infinite;
}
.rpl-spark-field i:nth-child(1){left:18%;top:19%;animation-delay:-1.2s}
.rpl-spark-field i:nth-child(2){left:31%;top:9%;animation-delay:-3.1s}
.rpl-spark-field i:nth-child(3){left:77%;top:17%;animation-delay:-.5s}
.rpl-spark-field i:nth-child(4){left:88%;top:43%;animation-delay:-2.4s}
.rpl-spark-field i:nth-child(5){left:20%;top:58%;animation-delay:-3.7s}
.rpl-spark-field i:nth-child(6){left:75%;top:70%;animation-delay:-1.8s}
.rpl-spark-field i:nth-child(7){left:58%;top:87%;animation-delay:-.7s}
.rpl-spark-field i:nth-child(8){left:41%;top:79%;animation-delay:-2.8s}
.rpl-spark-field i:nth-child(9){left:7%;top:43%;animation-delay:-1.4s}
.rpl-spark-field i:nth-child(10){left:92%;top:73%;animation-delay:-3.3s}

.rpl-data-stream {
  position: absolute;
  display: grid;
  gap: 3px;
  width: 80px;
  color: rgba(184, 216, 247, .48);
  font: 700 7px/1.3 ui-monospace, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: .72;
}
.rpl-data-stream span:nth-child(odd){opacity:.42}
.stream-a{left:6%;top:43%;transform:rotate(-6deg);animation:rplStreamA 7s ease-in-out infinite}
.stream-b{right:4%;top:55%;transform:rotate(7deg);text-align:right;animation:rplStreamB 8s ease-in-out infinite}

.rpl-energy-pulse {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(184, 221, 255, .5);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: rplEnergyPulse 3.4s ease-out infinite;
}
.pulse-b { animation-delay: -1.7s; }

@keyframes rplAtmosphere { 0%,100%{transform:scale(.92);opacity:.54} 50%{transform:scale(1.08);opacity:.9} }
@keyframes rplFrameBreath { 0%,100%{transform:scale(.95);opacity:.35} 50%{transform:scale(1.02);opacity:.7} }
@keyframes rplCoreBreath { 0%,100%{transform:scale(.94);opacity:.62} 50%{transform:scale(1.05);opacity:.95} }
@keyframes rplCoreFlash { 0%,100%{transform:translate(-50%,-50%) scale(.8);opacity:.4} 50%{transform:translate(-50%,-50%) scale(1.25);opacity:1} }
@keyframes rplOrbitDot { 0%,100%{transform:scale(.7);opacity:.45} 50%{transform:scale(1.5);opacity:1} }
@keyframes rplDotTravel { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes rplTextSweep { 0%,18%{transform:translateX(-120%);opacity:0} 38%,64%{transform:translateX(120%);opacity:1} 80%,100%{transform:translateX(160%);opacity:0} }
@keyframes rplTextShimmer { 0%,100%{filter:drop-shadow(0 0 0 rgba(197,226,255,0))} 50%{filter:drop-shadow(0 0 10px rgba(171,215,255,.2))} }
@keyframes rplSparkDrift { 0%,100%{transform:translate3d(0,8px,0) scale(.7);opacity:.25} 50%{transform:translate3d(0,-9px,0) scale(1.35);opacity:1} }
@keyframes rplStreamA { 0%,100%{transform:translate3d(0,0,0) rotate(-6deg);opacity:.45} 50%{transform:translate3d(10px,-14px,0) rotate(-2deg);opacity:.9} }
@keyframes rplStreamB { 0%,100%{transform:translate3d(0,0,0) rotate(7deg);opacity:.42} 50%{transform:translate3d(-12px,10px,0) rotate(3deg);opacity:.85} }
@keyframes rplEnergyPulse { 0%{transform:translate(-50%,-50%) scale(.3);opacity:0} 15%{opacity:.7} 100%{transform:translate(-50%,-50%) scale(18);opacity:0} }
@keyframes rplFlareBreathe { 0%,100%{transform:scale(.75);opacity:.28} 50%{transform:scale(1.25);opacity:.78} }

@media (max-width: 1050px) {
  .rpl-tech-animation { right: 0; width: min(600px, 62vw); height: 560px; opacity: .82; }
}

@media (max-width: 800px) {
  .rpl-tech-animation {
    width: min(460px, 108vw);
    height: 440px;
    right: 50%;
    top: 34px;
    transform: translate3d(calc(50% + var(--rpl-shift-x, 0px)), var(--rpl-shift-y, 0px), 0) scale(.88);
    opacity: .72;
  }
  .rpl-tech-core { width: 205px; height: 205px; }
  .orbit-one { width: 300px; height: 125px; }
  .orbit-two { width: 125px; height: 300px; }
  .orbit-three { width: 380px; height: 200px; }
  .rpl-tech-code { transform:scale(.82); transform-origin:center; }
  .code-a { left: 0; top: 8%; }
  .code-b { right: 0; bottom: 7%; }
  .label-a { right: 10%; top: 4%; }
  .label-b { left: 7%; bottom: 4%; }
  .rpl-data-stream { font-size: 6px; width: 65px; }
  .rpl-corner-mark { transform:scale(.75); transform-origin:center; }
  .corner-tl { left: 1%; top: 16%; }
  .corner-br { right: 1%; bottom: 12%; }
}

@media (max-width: 520px) {
  .rpl-tech-animation {
    width: 390px;
    height: 365px;
    top: 48px;
    transform: translate3d(calc(50% + var(--rpl-shift-x, 0px)), var(--rpl-shift-y, 0px), 0) scale(.82);
    opacity: .62;
  }
  .rpl-tech-core { width: 170px; height: 170px; }
  .rpl-tech-mark { font-size: 3rem; }
  .rpl-tech-code { min-width: 136px; padding: 8px 10px; font-size: .48rem; }
  .rpl-tech-label { font-size: .42rem; padding: 6px 8px; }
  .rpl-tech-node { width: 7px; height: 7px; }
  .rpl-tech-node::after { width: 32px; }
  .rpl-tech-scan { left: 18%; right: 18%; }
  .rpl-spark-field i { width: 2px; height: 2px; }
  .rpl-data-stream { opacity:.52; }
}

@media (prefers-reduced-motion: reduce) {
  .rpl-tech-animation,
  .rpl-tech-animation * { animation: none !important; transition: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  :root {
    --container: min(100% - 32px, 900px);
  }

  .nav-menu a {
    padding-inline: 7px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    grid-template-columns: 1fr 250px;
    gap: 30px;
  }

  .hero-interface {
    right: -80px;
    width: 540px;
    opacity: 0.55;
  }

  .about-grid {
    gap: 38px;
  }

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

  .student-card {
    --float-amp: -6px;
  }

  .activity-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
  }

  .activity-card:first-child {
    grid-row: span 2;
  }

  .activity-card:nth-child(2),
  .activity-card:nth-child(3),
  .activity-card:nth-child(4) {
    grid-row: auto;
  }

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

  .figma-copy {
    padding: 5px;
  }

  .figma-canvas {
    min-height: 500px;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 3px;
    padding: 8px;
    border-radius: 17px;
    background: rgba(6, 18, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.25s;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu a {
    padding: 12px 13px;
    border-radius: 11px;
  }

  .nav-menu a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 730px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 80px;
    align-items: end;
  }

  .hero-side {
    display: none;
  }

  .hero-interface {
    right: -160px;
    top: 26%;
    opacity: 0.4;
  }

  .hero-meta {
    flex-wrap: wrap;
  }

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image,
  .about-image img {
    min-height: 420px;
    height: 420px;
  }

  .about-content {
    max-width: none;
  }

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

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

  .figma-canvas {
    min-height: 440px;
  }

  .figma-board {
    height: 386px;
  }

  .desktop-device {
    width: 57%;
    height: 58%;
  }

  .mobile-device {
    width: 23%;
    height: 53%;
  }

  .org-level.two,
  .org-level.three {
    flex-direction: column;
    max-width: 420px;
    margin: auto;
  }

  .org-card {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 13px;
  }

  .gallery-item {
    border-radius: 20px;
  }

  .gallery-large {
    grid-row: span 2;
  }

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

  .footer-note {
    grid-column: 1 / -1;
  }

  .student-profile-panel {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }

  .student-profile-photo-wrap {
    max-height: 330px;
    min-height: 280px;
  }

  .student-profile-photo-wrap img {
    min-height: 280px;
  }

  .student-profile-content {
    padding: 29px 24px;
  }

  .vinyl-player {
    grid-template-columns: 1fr;
  }

  .vinyl-disc-wrap {
    max-width: 220px;
  }

  .section-heading h2 {
    font-size: clamp(1.85rem, 7.2vw, 3rem);
    line-height: 1.05;
  }

  .section-heading > p,
  .about-content p,
  .lead {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .capability-card h3 {
    font-size: 1.02rem;
  }

  .capability-card p {
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .capability-card .capability-open {
    font-size: 0.54rem;
  }

  .figma-copy {
    padding: 8px 2px;
  }

  .figma-copy h2 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    line-height: 0.98;
  }

  .figma-copy > p:not(.eyebrow) {
    font-size: 0.76rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .figma-insights {
    max-width: none;
  }

  .figma-insight strong {
    font-size: 0.67rem;
  }

  .figma-insight small {
    font-size: 0.56rem;
  }

  .figma-canvas {
    min-height: 430px;
  }

  .figma-board {
    height: 380px;
  }

  .desktop-device {
    left: 4%;
    top: 15%;
    width: 64%;
    height: 54%;
  }

  .mobile-device {
    right: 5%;
    top: 21%;
    width: 25%;
    height: 50%;
  }

  .hotspot-desktop {
    left: 7%;
    top: 7%;
  }

  .hotspot-mobile {
    right: 5%;
    top: 10%;
  }

  .figma-component {
    left: 6%;
    bottom: 6%;
    width: 145px;
  }

  .figma-palette-panel {
    right: 26%;
    bottom: 4%;
    width: 132px;
  }

  .activity-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 8px;
    align-items: flex-start;
  }

  .activity-overlay > span {
    font-size: 0.58rem;
    line-height: 1.1;
    min-width: 26px;
  }

  .activity-overlay small {
    font-size: 0.5rem;
    line-height: 1.25;
  }

  .activity-overlay h3 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .activity-featured .activity-overlay h3 {
    font-size: 1.05rem;
  }

  .gallery-caption {
    left: 14px;
    right: 14px;
    bottom: 13px;
  }

  .gallery-caption b {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .student-heading h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .student-heading p {
    font-size: 0.7rem;
  }

  .student-card-body {
    padding: 15px;
  }

  .instagram-link {
    font-size: 0.64rem;
  }

  .capability-card .capability-open {
    padding-top: 14px;
  }

  .brand-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

@media (max-width: 780px) {
  .capability-card .capability-open {
    padding-top: 14px;
  }

  .brand-icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 540px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 28px, 540px);
  }

  .students-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .student-card {
    --float-amp: -4px;
  }

  .navbar {
    min-height: 70px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-menu a {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero h1 {
    font-size: clamp(4rem, 21vw, 5.9rem);
  }

  .hero h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .hero-tagline {
    font-size: 1.28rem;
    line-height: 1.15;
  }

  .hero-description {
    font-size: 0.78rem;
    line-height: 1.7;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 9px;
    font-size: 0.48rem;
  }

  .hero-interface {
    right: -240px;
    top: 27%;
    opacity: 0.28;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    min-height: 108px;
    padding: 16px;
  }

  .stat-label,
  .stat-meta {
    font-size: 0.54rem;
  }

  .counter {
    font-size: 1.85rem;
  }

  .about-image,
  .about-image img {
    height: 330px;
    min-height: 330px;
  }

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

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

  .capability-card {
    min-height: 165px;
    padding: 17px;
  }

  .capability-icon {
    width: 40px;
    height: 40px;
  }

  .capability-number {
    font-size: 0.5rem;
  }

  .capability-card h3 {
    font-size: 1rem;
  }

  .capability-card p {
    font-size: 0.72rem;
  }

  .figma-showcase {
    padding: 16px;
  }

  .figma-copy h2 {
    font-size: 2.75rem;
  }

  .figma-insight {
    padding: 10px;
  }

  .figma-insight-index {
    font-size: 0.5rem;
  }

  .figma-insight strong {
    font-size: 0.63rem;
  }

  .figma-insight small {
    font-size: 0.53rem;
  }

  .figma-canvas {
    min-height: 375px;
    padding: 7px;
  }

  .figma-toolbar {
    height: 32px;
    font-size: 0.46rem;
    gap: 10px;
  }

  .figma-board {
    height: 310px;
  }

  .desktop-device {
    left: 2%;
    top: 16%;
    width: 68%;
    height: 52%;
    border-radius: 11px;
  }

  .mobile-device {
    right: 3%;
    top: 23%;
    width: 27%;
    height: 48%;
    border-radius: 15px;
  }

  .hotspot-desktop {
    left: 5%;
    top: 7%;
    font-size: 0.43rem;
    padding: 6px 7px;
  }

  .hotspot-mobile {
    right: 3%;
    top: 11%;
    font-size: 0.43rem;
    padding: 6px 7px;
  }

  .figma-component {
    left: 5%;
    bottom: 5%;
    width: 126px;
    padding: 9px;
    border-radius: 11px;
  }

  .figma-palette-panel {
    right: 29%;
    bottom: 4%;
    width: 116px;
    padding: 9px;
    border-radius: 11px;
  }

  .figma-component b,
  .figma-palette-panel b {
    font-size: 0.4rem;
  }

  .figma-component > div {
    margin-top: 7px;
  }

  .figma-component i {
    height: 20px;
  }

  .figma-palette-panel > div {
    margin-top: 7px;
  }

  .figma-palette-panel i {
    height: 22px;
  }

  .figma-copy .btn {
    width: 100%;
    justify-content: center;
  }

  .screen-top em {
    font-size: 0.34rem;
    line-height: 1.35;
    max-width: 94%;
  }

  .screen-hero > strong {
    font-size: 0.48rem;
  }

  .screen-hero > small {
    font-size: 0.31rem;
  }

  .screen-cards span {
    padding: 5px;
    gap: 2px;
  }

  .screen-cards span b {
    font-size: 0.34rem;
  }

  .screen-cards span small {
    font-size: 0.28rem;
  }

  .mobile-screen {
    gap: 7px;
    padding: 10px;
  }

  .mobile-screen strong {
    font-size: 0.52rem;
  }

  .mobile-screen small,
  .mobile-screen label {
    font-size: 0.28rem;
  }

  .mobile-screen u {
    font-size: 0.28rem;
  }

  .figma-component > strong {
    font-size: 0.42rem;
  }

  .figma-type-panel em,
  .figma-palette-panel p {
    font-size: 0.31rem;
    line-height: 1.35;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 230px 190px 190px 190px 190px;
  }

  .activity-card {
    min-height: 190px;
  }

  .activity-card:first-child {
    grid-row: auto;
  }

  .activity-card:nth-child(4) {
    grid-column: auto;
  }

  .activity-overlay {
    bottom: 12px;
  }

  .activity-overlay h3 {
    font-size: 0.83rem;
  }

  .activity-featured .activity-overlay h3 {
    font-size: 1rem;
  }

  .activity-overlay small {
    font-size: 0.48rem;
  }

  /* Galeri berubah jadi carousel horizontal yang bisa di-swipe di layar kecil */
  .gallery-filter {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .gallery-filter-btn {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
  }

  .gallery-grid {
    display: flex;
    grid-template-columns: unset;
    grid-auto-rows: unset;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 4px 6px;
    margin: 0 -4px;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .gallery-item {
    flex: 0 0 80%;
    height: 320px;
    grid-row: auto !important;
    grid-column: auto !important;
    scroll-snap-align: center;
  }

  .gallery-large {
    flex: 0 0 86%;
    height: 360px;
  }

  .gallery-item:hover,
  .gallery-item:focus-visible {
    transform: translateY(0) scale(1);
  }

  .gallery-item:active {
    transform: scale(0.97);
  }

  .gallery-caption b {
    font-size: 0.72rem;
  }

  .journey-list::before {
    left: 70px;
  }

  .journey-item {
    grid-template-columns: 82px 1fr;
    gap: 14px;
  }

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

  .footer-note {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .back-top {
    right: 13px;
    bottom: 13px;
  }

  .student-profile-modal {
    padding: 9px;
  }

  .student-profile-panel {
    border-radius: 24px;
  }

  .student-profile-content {
    padding: 24px 18px;
  }

  .student-profile-heading h2 {
    font-size: 2.15rem;
  }

  .vinyl-player {
    padding: 19px 14px;
    border-radius: 21px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox img {
    border-radius: 15px;
  }

  .hero {
    min-height: 735px;
  }

  .hero-media {
    background-position: 58% center;
    background-size: auto 100%;
    background-color: #0a1c32;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 26px;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 21vw, 5.6rem);
    margin-top: 17px;
  }

  .hero h2 {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 0.73rem;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-meta {
    margin-top: 20px;
    gap: 8px;
    font-size: 0.46rem;
  }

  .hero-interface {
    right: -285px;
    top: 34%;
    opacity: 0.11;
    transform: scale(0.8);
  }

  .activity-grid {
    grid-template-rows: 230px 190px 190px 190px 190px;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 760px;
    background: var(--navy-950);
  }

  .hero-media {
    background-image:
      linear-gradient(
        180deg,
        rgba(3, 13, 27, 0.56) 0%,
        rgba(3, 13, 27, 0.48) 42%,
        rgba(3, 13, 27, 0.82) 100%
      ),
      url("../assets/birthday-class-photo.png");
    background-position: center center;
    background-size: cover;
  }

  .hero-content {
    padding-top: 105px;
    padding-bottom: 38px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 20vw, 7rem);
  }

  .hero-description {
    max-width: 480px;
  }

  .hero-interface {
    right: -220px;
    top: 31%;
    opacity: 0.18;
    transform: scale(0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .floating-ui-card,
  .vinyl-disc,
  .student-card {
    animation: none !important;
  }

  .student-card,
  .gallery-item img,
  .capability-card,
  .btn {
    transition: none;
  }

  .gallery-item,
  .gallery-item::before,
  .gallery-item::after,
  .gallery-item .gallery-img,
  .gallery-item img,
  .gallery-zoom-icon,
  .gallery-caption,
  .gallery-filter-btn.active,
  .lightbox-frame,
  .lightbox-frame img {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   ADDITIONAL READABILITY
   ========================================================= */

.gallery-caption,
.activity-overlay h3,
.activity-overlay small,
.activity-overlay > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.student-profile-panel {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.student-profile-panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}


/* =========================================================
   MUSIC PLAYER REDESIGN - REFERENCE INSPIRED
   Only the music profile panel is restyled.
   ========================================================= */

.vinyl-player {
  grid-template-columns: minmax(235px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 62px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 135, 196, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(242, 247, 252, 0.96), rgba(224, 232, 241, 0.92));
  color: #18283d;
  box-shadow: 0 26px 65px rgba(25, 49, 80, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.vinyl-player::before {
  width: 360px;
  height: 360px;
  left: -130px;
  top: -145px;
  background: radial-gradient(circle, rgba(81, 118, 169, 0.12), transparent 70%);
}

.vinyl-disc-wrap {
  width: min(310px, 100%);
  justify-self: center;
}

.vinyl-disc {
  width: 92%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background-color: #0d1116;
  box-shadow: 0 22px 42px rgba(9, 18, 30, 0.26);
}

.vinyl-center-photo {
  width: 29%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.30);
}

.vinyl-hole {
  width: 5.2%;
  background: #0d1116;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.vinyl-info {
  min-width: 0;
  z-index: 2;
}

.vinyl-track-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.vinyl-track-head > div {
  min-width: 0;
}

.vinyl-info .audio-kicker {
  display: inline-block;
  color: #586a7f;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
}

.vinyl-info h3 {
  margin-top: 8px;
  color: #12253c;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.vinyl-info > .vinyl-track-head p,
.vinyl-track-head p {
  margin-top: 6px;
  color: #6c7e91;
  font-size: 0.7rem;
  line-height: 1.5;
}

.vinyl-like {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.52);
  color: #18283d;
  box-shadow: inset 0 0 0 1px rgba(24, 40, 61, 0.10);
  cursor: pointer;
}

.vinyl-like svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.vinyl-like[aria-pressed="true"] svg {
  fill: currentColor;
}

.vinyl-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  color: #64758a;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.profile-audio-range {
  width: 100%;
  height: 22px;
  margin-top: 1px;
  opacity: 1;
  accent-color: #12253c;
}

.profile-audio-range::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 999px;
  background: #050505;
}

.profile-audio-range::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
  -webkit-appearance: none;
  appearance: none;
}

.profile-audio-range::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: #1a2837;
}

.profile-audio-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.28);
}

.vinyl-controls {
  grid-template-columns: 1fr 58px 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
}

.vinyl-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  justify-self: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #12253c;
  box-shadow: none;
  cursor: pointer;
}

.vinyl-controls button:hover {
  background: rgba(18, 37, 60, 0.07);
}

.vinyl-controls button svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.vinyl-main-play {
  width: 58px;
  height: 58px !important;
  border-radius: 50% !important;
  background: #12253c !important;
  color: #fff !important;
  box-shadow: 0 11px 24px rgba(18, 37, 60, 0.22);
}

.vinyl-main-play:hover {
  background: #12253c !important;
}

.vinyl-main-play .play-icon,
.vinyl-main-play .pause-icon {
  filter: brightness(0) invert(1);
}

.vinyl-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  min-height: 46px;
  margin-top: 22px;
  overflow: hidden;
}

.vinyl-equalizer span {
  width: 3px;
  height: 18px;
  border-radius: 999px;
  background: #15283e;
  opacity: 0.9;
}

.vinyl-equalizer span:nth-child(2n) { height: 24px; }
.vinyl-equalizer span:nth-child(3n) { height: 15px; }
.vinyl-equalizer span:nth-child(4n) { height: 31px; }
.vinyl-equalizer span:nth-child(5n) { height: 21px; }
.vinyl-equalizer span:nth-child(7n) { height: 37px; }
.vinyl-equalizer span:nth-child(9n) { height: 28px; }
.vinyl-equalizer span:nth-child(11n) { height: 33px; }

.vinyl-player:has(.vinyl-disc.playing) .vinyl-equalizer span {
  animation: musicBars 0.75s ease-in-out infinite alternate;
}

.vinyl-player:has(.vinyl-disc.playing) .vinyl-equalizer span:nth-child(2n) { animation-delay: 0.08s; }
.vinyl-player:has(.vinyl-disc.playing) .vinyl-equalizer span:nth-child(3n) { animation-delay: 0.16s; }
.vinyl-player:has(.vinyl-disc.playing) .vinyl-equalizer span:nth-child(4n) { animation-delay: 0.24s; }

@keyframes musicBars {
  from { transform: scaleY(0.62); }
  to { transform: scaleY(1.08); }
}

@media (max-width: 900px) {
  .vinyl-player {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .vinyl-disc-wrap {
    width: min(280px, 72vw);
  }

  .vinyl-info {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .vinyl-player {
    gap: 22px;
    margin-top: 22px;
    padding: 18px 14px 20px;
    border-radius: 22px;
  }

  .vinyl-disc-wrap {
    width: min(255px, 78vw);
  }

  .vinyl-track-head {
    gap: 10px;
  }

  .vinyl-like {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .vinyl-like svg {
    width: 19px;
    height: 19px;
  }

  .vinyl-info h3 {
    font-size: clamp(1rem, 6vw, 1.32rem);
  }

  .vinyl-info > .vinyl-track-head p,
  .vinyl-track-head p {
    font-size: 0.62rem;
  }

  .vinyl-progress-row {
    margin-top: 20px;
    font-size: 0.49rem;
  }

  .vinyl-controls {
    grid-template-columns: 1fr 54px 1fr;
    gap: 14px;
  }

  .vinyl-controls button {
    width: 38px;
    height: 38px;
  }

  .vinyl-controls button svg {
    width: 23px;
    height: 23px;
  }

  .vinyl-main-play {
    width: 54px;
    height: 54px !important;
  }

  .vinyl-equalizer {
    gap: 3px;
    min-height: 40px;
    margin-top: 16px;
  }

  .vinyl-equalizer span {
    width: 2.5px;
  }
}


/* =========================================================
   MUSIC PLAYER CONTROLS — SPOTIFY-INSPIRED
   ========================================================= */

.vinyl-controls {
  grid-template-columns: 1fr 64px 1fr;
  gap: 22px;
  margin-top: 18px;
}

.vinyl-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #12253c;
  box-shadow: none;
  cursor: pointer;
  transition: transform .3s var(--ease-smooth), background-color .3s ease, opacity .18s ease;
}

.vinyl-controls button:hover {
  transform: scale(1.08);
  background: rgba(77, 120, 201, .14);
  color: #2c4d80;
}

.vinyl-controls button:active {
  transform: scale(.94);
}

.vinyl-controls .spotify-skip-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.vinyl-main-play {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: linear-gradient(150deg, #1a2f4b, #0a1a2d) !important;
  color: #ffffff !important;
  box-shadow: var(--btn-shadow-hover), 0 0 0 1px rgba(77, 120, 201, 0.28) inset;
}

.vinyl-main-play:hover {
  background: linear-gradient(150deg, #1a2f4b, #0a1a2d) !important;
  transform: scale(1.07);
  box-shadow: var(--btn-shadow-hover), 0 0 0 2px rgba(77, 120, 201, 0.45) inset;
  color: #cfe0f7 !important;
}

.vinyl-main-play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.vinyl-main-play .spotify-play-icon {
  margin-left: 2px;
}

.vinyl-main-play .spotify-pause-icon rect {
  fill: currentColor;
}

.vinyl-main-play .spotify-pause-icon {
  width: 28px;
  height: 28px;
}

/* Love/favorite control removed from the music player. */
.vinyl-like {
  display: none !important;
}

@media (max-width: 560px) {
  .vinyl-controls {
    grid-template-columns: 1fr 58px 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .vinyl-controls button {
    width: 42px;
    height: 42px;
  }

  .vinyl-controls .spotify-skip-icon {
    width: 27px;
    height: 27px;
  }

  .vinyl-main-play {
    width: 58px !important;
    height: 58px !important;
  }
}

/* ===================== WebGL Animated Background (all pages) ===================== */
#webglBg {
  position: fixed;
  inset: 0;
  z-index: -1; /* di depan .glass-bg (-2), tetap di belakang konten (0+) */
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
}

/* Saat WebGL aktif (ditandai lewat class dari webgl-background.js), background CSS lama
   yang berat (blur 70px + backdrop-filter + animasi tanpa henti) dimatikan total supaya
   tidak dobel render dengan WebGL. Kalau WebGL tidak didukung browser, class ini tidak
   pernah ditambahkan, sehingga .glass-bg tetap tampil seperti semula (fallback aman). */
body.webgl-bg-active .glass-bg {
  display: none;
}
/* =============================================================== */

/* =========================================================
   CINEMATIC RPL HERO — film-like tech layer + mobile polish
   ========================================================= */
.rpl-tech-animation {
  isolation: isolate;
  overflow: visible;
  transform: translate3d(var(--rpl-shift-x, 0px), var(--rpl-shift-y, 0px), 0);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.rpl-tech-animation::before,
.rpl-tech-animation::after {
  content: "";
  position: absolute;
  inset: 8% 5% 8% 5%;
  pointer-events: none;
}
.rpl-tech-animation::before {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(139,194,255,.08) 0 9%, transparent 29%),
    radial-gradient(circle at 45% 55%, rgba(71,142,255,.09), transparent 56%);
  filter: blur(8px);
  animation: rplAtmosphere 7s ease-in-out infinite alternate;
  z-index: -2;
}
.rpl-tech-animation::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(177,221,255,.08) 50%, transparent 100%),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(191,225,255,.018) 11px 12px);
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 40%, transparent 78%);
  animation: rplFilmFlicker 9s steps(8,end) infinite;
  z-index: 5;
}
.rpl-cinematic-beam {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 150%;
  transform-origin: center;
  background: linear-gradient(180deg, transparent, rgba(191,224,255,.48), rgba(92,160,238,.1), transparent);
  filter: blur(.2px);
  opacity: .45;
  mix-blend-mode: screen;
  z-index: 1;
}
.beam-a { transform: translate(-50%,-50%) rotate(28deg); animation: rplBeamA 8s ease-in-out infinite; }
.beam-b { transform: translate(-50%,-50%) rotate(-34deg); animation: rplBeamB 11s ease-in-out infinite; opacity: .24; }
.rpl-lens-flare {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,239,255,.9) 0 1.5%, rgba(142,203,255,.25) 5%, transparent 52%);
  filter: blur(1px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 6;
}
.flare-a { left: 42%; top: 45%; animation: rplFlareA 6.5s ease-in-out infinite; }
.flare-b { left: 68%; top: 26%; width: 90px; height: 90px; opacity: .5; animation: rplFlareB 8s ease-in-out infinite; }
.rpl-hud-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,228,255,.32), transparent);
  opacity: .6;
}
.hud-line-a { width: 38%; left: 2%; top: 31%; animation: rplHudA 4.5s ease-in-out infinite; }
.hud-line-b { width: 30%; right: 2%; top: 68%; animation: rplHudB 5.2s ease-in-out infinite; }
.rpl-corner-mark {
  position: absolute;
  z-index: 7;
  font: 800 9px/1 Manrope,sans-serif;
  letter-spacing: .14em;
  color: rgba(217,236,255,.72);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(132,190,255,.28);
}
.rpl-corner-mark span { color: rgba(161,191,220,.52); margin-left: 7px; font-weight: 700; }
.corner-tl { top: 1.5%; left: 4%; }
.corner-br { right: 3%; bottom: 2%; }
.rpl-code-rain {
  position: absolute;
  inset: 10% 10%;
  z-index: 0;
  opacity: .2;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(192,224,255,.17) 8.2% 8.35%, transparent 8.55% 24%, rgba(192,224,255,.12) 24.2% 24.32%, transparent 24.55% 47%, rgba(192,224,255,.11) 47.2% 47.3%, transparent 47.55% 71%, rgba(192,224,255,.14) 71.2% 71.3%, transparent 71.55% 100%),
    repeating-linear-gradient(180deg, rgba(198,228,255,.15) 0 1px, transparent 1px 16px);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
  animation: rplRain 12s linear infinite;
  pointer-events: none;
}
@keyframes rplAtmosphere { from{transform:scale(.94);opacity:.7} to{transform:scale(1.08);opacity:1} }
@keyframes rplFilmFlicker { 0%,100%{opacity:.35} 18%{opacity:.28} 19%{opacity:.42} 46%{opacity:.3} 47%{opacity:.46} 74%{opacity:.26} 76%{opacity:.4} }
@keyframes rplBeamA { 0%,100%{opacity:.08; transform:translate(-50%,-50%) rotate(18deg)} 50%{opacity:.46; transform:translate(-50%,-50%) rotate(44deg)} }
@keyframes rplBeamB { 0%,100%{opacity:.06; transform:translate(-50%,-50%) rotate(-46deg)} 50%{opacity:.28; transform:translate(-50%,-50%) rotate(-18deg)} }
@keyframes rplFlareA { 0%,100%{transform:scale(.55);opacity:.12} 48%{transform:scale(1.1);opacity:.68} 56%{transform:scale(.82);opacity:.34} }
@keyframes rplFlareB { 0%,100%{transform:translate3d(0,0,0) scale(.5);opacity:.05} 50%{transform:translate3d(24px,-10px,0) scale(1);opacity:.4} }
@keyframes rplHudA { 0%,100%{transform:scaleX(.55);opacity:.12} 50%{transform:scaleX(1);opacity:.7} }
@keyframes rplHudB { 0%,100%{transform:scaleX(1);opacity:.12} 50%{transform:scaleX(.45);opacity:.65} }
@keyframes rplRain { from{transform:translateY(-20px)} to{transform:translateY(40px)} }

@media (max-width: 1050px) {
  .rpl-tech-animation {
    right: 0;
    top: 11%;
    width: min(610px, 62vw);
    height: 560px;
  }
}

@media (max-width: 800px) {
  .rpl-tech-animation {
    right: 50%;
    top: 9%;
    width: min(520px, 122vw);
    height: 520px;
    transform: translate3d(calc(50% + var(--rpl-shift-x, 0px)), var(--rpl-shift-y, 0px), 0) scale(.9);
    opacity: .72;
  }
  .rpl-tech-core { width: 220px; height: 220px; top: 43%; }
  .orbit-one { width: 330px; height: 130px; }
  .orbit-two { width: 130px; height: 330px; }
  .orbit-three { width: 390px; height: 190px; }
  .rpl-tech-code { min-width: 135px; padding: 8px 10px; border-radius: 10px; font-size: .47rem; }
  .rpl-tech-code b { font-size: .58rem; }
  .code-a { left: 1%; top: 17%; }
  .code-b { right: 1%; bottom: 12%; }
  .label-a { right: 10%; top: 10%; }
  .label-b { left: 7%; bottom: 10%; }
  .rpl-corner-mark { font-size: 7px; }
  .corner-tl { top: 4%; left: 10%; }
  .corner-br { right: 9%; bottom: 4%; }
  .rpl-lens-flare { width: 120px; height: 120px; }
  .flare-a { left: 39%; top: 39%; }
  .flare-b { left: 66%; top: 23%; width: 60px; height: 60px; }
  .rpl-code-rain { inset: 12% 4%; opacity: .13; }
  .rpl-hud-line { opacity: .35; }
}

@media (max-width: 560px) {
  .rpl-tech-animation {
    top: 5%;
    width: 112vw;
    height: 450px;
    transform: translate3d(calc(50% + var(--rpl-shift-x, 0px)), var(--rpl-shift-y, 0px), 0) scale(.78);
    opacity: .62;
  }
  .rpl-tech-core { width: 180px; height: 180px; top: 42%; }
  .rpl-tech-mark { font-size: 3.3rem; }
  .orbit-one { width: 270px; height: 108px; }
  .orbit-two { width: 108px; height: 270px; }
  .orbit-three { width: 320px; height: 155px; }
  .rpl-tech-node { width: 7px; height: 7px; }
  .rpl-tech-node::after { width: 30px; }
  .rpl-tech-code { min-width: 118px; font-size: .42rem; }
  .rpl-tech-code span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 92px; }
  .rpl-tech-label { padding: 6px 8px; font-size: .38rem; }
  .rpl-tech-scan { left: 20%; right: 20%; }
  .hero-content { position: relative; z-index: 8; }
  .hero-copy { padding-top: 215px; }
}

@media (prefers-reduced-motion: reduce) {
  .rpl-tech-animation,
  .rpl-tech-animation * { animation: none !important; transition: none !important; }
}


/* =========================================================
   RPL TECH CINEMATIC V3 — holographic command-center layer
   ========================================================= */
.rpl-tech-animation {
  --tech-mx: 50%;
  --tech-my: 50%;
  perspective: 900px;
  transform-style: preserve-3d;
}
.rpl-tech-vignette {
  position:absolute; inset:-4%; z-index:8; pointer-events:none;
  background: radial-gradient(circle at 50% 47%, transparent 0 32%, rgba(2,9,19,.10) 58%, rgba(2,7,15,.44) 100%);
  mix-blend-mode:multiply; opacity:.65;
}
.rpl-tech-animation::before {
  filter: blur(20px);
  background:
    radial-gradient(circle at 50% 48%, rgba(114,187,255,.18) 0 8%, transparent 23%),
    radial-gradient(circle at 50% 48%, rgba(35,117,221,.14), transparent 55%),
    conic-gradient(from 0deg at 50% 50%, transparent, rgba(120,194,255,.08), transparent 23%, rgba(61,143,255,.05), transparent 64%);
}
.rpl-holo-floor {
  position:absolute; left:8%; right:8%; bottom:3%; height:24%; z-index:1; opacity:.48;
  transform:perspective(320px) rotateX(66deg);
  transform-origin:50% 100%;
  background:
    linear-gradient(rgba(155,210,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,210,255,.14) 1px, transparent 1px);
  background-size: 34px 20px;
  mask-image:linear-gradient(180deg, transparent 0, #000 35%, #000 74%, transparent 100%);
  animation:holoFloorMove 7s linear infinite;
}
.rpl-holo-floor span { position:absolute; inset:0; display:block; border-top:1px solid rgba(180,223,255,.25); transform:scaleY(calc(.2 + var(--i, 0))); }
.rpl-circuit-map {
  position:absolute; inset:3% 0 4%; width:100%; height:100%; z-index:3; overflow:visible; pointer-events:none;
  opacity:.78; filter:drop-shadow(0 0 8px rgba(101,180,255,.18));
}
.circuit-trace path {
  fill:none; stroke:rgba(161,217,255,.26); stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:8 12; animation:circuitRun 6s linear infinite;
}
.circuit-trace circle { fill:#d8efff; opacity:.55; filter:drop-shadow(0 0 5px rgba(166,220,255,.8)); }
.trace-2 path { animation-delay:-1.4s; }
.trace-3 path { animation-delay:-2.8s; }
.trace-4 path { animation-delay:-4.1s; }
.rpl-holo-panel {
  position:absolute; z-index:6; min-width:154px; padding:12px 13px 11px;
  border:1px solid rgba(182,220,255,.17); border-radius:13px;
  background:linear-gradient(135deg, rgba(14,38,69,.40), rgba(11,27,49,.17));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 20px 40px rgba(0,0,0,.16), 0 0 30px rgba(72,153,255,.06);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  transform:translate3d(0,0,30px);
  animation:holoFloat 5.5s ease-in-out infinite;
}
.rpl-holo-panel::after { content:""; position:absolute; inset:1px; border-radius:12px; pointer-events:none; background:linear-gradient(120deg, rgba(204,236,255,.04), transparent 45%, rgba(89,173,255,.07)); }
.panel-left { left:1.8%; top:28%; }
.panel-right { right:1.5%; top:34%; animation-delay:-2.2s; }
.holo-kicker { display:block; font:800 7px/1 Manrope,sans-serif; letter-spacing:.2em; color:rgba(177,211,241,.55); }
.rpl-holo-panel strong { display:block; margin-top:9px; color:#e6f4ff; font:800 1rem/1 Manrope,sans-serif; letter-spacing:.06em; text-shadow:0 0 15px rgba(145,207,255,.26); }
.panel-right strong { font-size:1.35rem; }
.panel-right strong span { font-size:.62rem; color:#9ec7ed; margin-left:2px; }
.rpl-holo-panel small { display:block; margin-top:8px; font:700 6.5px/1.2 ui-monospace,monospace; letter-spacing:.1em; color:rgba(168,196,224,.62); }
.rpl-holo-panel small b { color:#c9efff; font-weight:800; }
.holo-caret { animation:caretBlink 1s steps(2,end) infinite; }
.holo-meter { display:flex; gap:3px; margin-top:10px; }
.holo-meter i { width:9px; height:3px; border-radius:2px; background:rgba(126,191,255,.22); animation:meterPulse 1.2s ease-in-out infinite; }
.holo-meter i:nth-child(2){animation-delay:.1s}.holo-meter i:nth-child(3){animation-delay:.2s}.holo-meter i:nth-child(4){animation-delay:.3s}.holo-meter i:nth-child(5){animation-delay:.4s}.holo-meter i:nth-child(6){animation-delay:.5s}.holo-meter i:nth-child(7){animation-delay:.6s}.holo-meter i:nth-child(8){animation-delay:.7s}
.holo-bars { display:flex; align-items:flex-end; gap:3px; height:30px; margin-top:9px; }
.holo-bars i { width:6px; border-radius:2px 2px 0 0; background:linear-gradient(180deg, #cfeeff, rgba(89,166,247,.24)); box-shadow:0 0 7px rgba(116,196,255,.18); animation:equalize 1.6s ease-in-out infinite; }
.holo-bars i:nth-child(1){height:9px}.holo-bars i:nth-child(2){height:16px;animation-delay:-.3s}.holo-bars i:nth-child(3){height:11px;animation-delay:-.6s}.holo-bars i:nth-child(4){height:24px;animation-delay:-.9s}.holo-bars i:nth-child(5){height:15px;animation-delay:-.2s}.holo-bars i:nth-child(6){height:29px;animation-delay:-.7s}.holo-bars i:nth-child(7){height:18px;animation-delay:-1.1s}.holo-bars i:nth-child(8){height:25px;animation-delay:-.45s}
.rpl-holo-chip {
  position:absolute; z-index:7; display:flex; align-items:center; gap:6px; padding:6px 8px; border:1px solid rgba(183,222,255,.14);
  border-radius:999px; background:rgba(9,27,50,.28); backdrop-filter:blur(11px); -webkit-backdrop-filter:blur(11px);
  color:rgba(199,220,241,.65); font:800 6px/1 Manrope,sans-serif; letter-spacing:.13em; white-space:nowrap;
  animation:chipDrift 6s ease-in-out infinite;
}
.rpl-holo-chip b { color:#d9efff; }
.chip-top { left:31%; top:7%; }
.chip-bottom { right:29%; bottom:7%; animation-delay:-3.2s; }
.chip-dot { width:5px; height:5px; border-radius:50%; background:#bfe9ff; box-shadow:0 0 10px rgba(158,218,255,.95); animation:dotBlink .9s steps(2,end) infinite; }
.rpl-radar {
  position:absolute; z-index:4; left:50%; top:50%; width:330px; height:330px; transform:translate(-50%,-50%); border-radius:50%; opacity:.28;
  background:repeating-radial-gradient(circle, transparent 0 40px, rgba(153,209,255,.15) 41px 42px), conic-gradient(from 0deg, transparent 0 78%, rgba(165,224,255,.22) 82%, transparent 86%);
  mask-image:radial-gradient(circle, #000 0 72%, transparent 73%); animation:radarSpin 14s linear infinite;
  pointer-events:none;
}
.rpl-radar::before { content:""; position:absolute; left:50%; top:50%; width:48%; height:1px; transform-origin:left; background:linear-gradient(90deg, rgba(186,229,255,.5), transparent); animation:radarSweep 3.6s linear infinite; }
.rpl-radar i { position:absolute; width:4px; height:4px; border-radius:50%; background:#d7f2ff; box-shadow:0 0 10px rgba(166,221,255,.85); }
.rpl-radar i:nth-child(1){left:29%;top:32%}.rpl-radar i:nth-child(2){right:24%;top:42%;animation-delay:-1s}.rpl-radar i:nth-child(3){left:57%;bottom:22%;animation-delay:-2s}
@keyframes holoFloorMove { from{background-position:0 0,0 0} to{background-position:0 20px,34px 0} }
@keyframes circuitRun { from{stroke-dashoffset:100} to{stroke-dashoffset:0} }
@keyframes holoFloat { 0%,100%{transform:translate3d(0,0,30px)} 50%{transform:translate3d(0,-10px,30px)} }
@keyframes chipDrift { 0%,100%{transform:translate3d(0,0,20px)} 50%{transform:translate3d(4px,-6px,20px)} }
@keyframes meterPulse { 0%,100%{opacity:.25;transform:scaleX(.72)} 50%{opacity:.95;transform:scaleX(1)} }
@keyframes equalize { 0%,100%{opacity:.35;transform:scaleY(.65)} 50%{opacity:1;transform:scaleY(1)} }
@keyframes caretBlink { 0%,48%{opacity:1} 49%,100%{opacity:0} }
@keyframes dotBlink { 0%,50%{opacity:.35} 51%,100%{opacity:1} }
@keyframes radarSpin { to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes radarSweep { to{transform:rotate(360deg)} }

/* Depth response is isolated to the tech layer and disabled on touch devices. */
@media (hover:hover) and (pointer:fine) {
  .rpl-tech-animation .rpl-tech-core,
  .rpl-tech-animation .rpl-holo-panel,
  .rpl-tech-animation .rpl-holo-chip,
  .rpl-tech-animation .rpl-tech-code,
  .rpl-tech-animation .rpl-tech-label { will-change:transform; }
}

@media (max-width:800px) {
  .rpl-holo-panel { min-width:126px; padding:9px 10px; }
  .panel-left { left:0; top:30%; }
  .panel-right { right:0; top:38%; }
  .rpl-holo-panel strong { font-size:.8rem; }
  .panel-right strong { font-size:1.05rem; }
  .rpl-radar { width:270px; height:270px; }
  .rpl-holo-chip { font-size:5px; padding:5px 7px; }
  .chip-top { left:29%; top:9%; }
  .chip-bottom { right:28%; bottom:8%; }
  .rpl-circuit-map { opacity:.55; }
  .rpl-holo-floor { left:14%; right:14%; opacity:.34; }
}
@media (max-width:560px) {
  .rpl-tech-animation { width:112vw; height:450px; }
  .rpl-tech-animation .rpl-tech-vignette { opacity:.5; }
  .rpl-holo-panel { min-width:108px; padding:7px 8px; border-radius:10px; }
  .panel-left { left:1%; top:31%; }
  .panel-right { right:1%; top:39%; }
  .holo-kicker { font-size:5px; }
  .rpl-holo-panel strong { margin-top:7px; font-size:.68rem; }
  .panel-right strong { font-size:.88rem; }
  .rpl-holo-panel small { font-size:5px; }
  .holo-meter { gap:2px; margin-top:7px; }
  .holo-meter i { width:6px; height:2px; }
  .holo-bars { height:21px; gap:2px; margin-top:6px; }
  .holo-bars i { width:4px; }
  .rpl-holo-chip { font-size:4.5px; }
  .chip-top { left:24%; top:9%; }
  .chip-bottom { right:23%; bottom:8%; }
  .rpl-radar { width:235px; height:235px; }
  .rpl-circuit-map { inset:6% 0 7%; }
  .rpl-holo-floor { height:21%; left:11%; right:11%; }
}
@media (prefers-reduced-motion: reduce) {
  .rpl-tech-animation .rpl-holo-panel,
  .rpl-tech-animation .rpl-holo-chip,
  .rpl-tech-animation .rpl-radar,
  .rpl-tech-animation .rpl-radar::before,
  .rpl-tech-animation .circuit-trace path,
  .rpl-tech-animation .rpl-holo-floor,
  .rpl-tech-animation .holo-caret,
  .rpl-tech-animation .holo-meter i,
  .rpl-tech-animation .holo-bars i,
  .rpl-tech-animation .chip-dot { animation:none !important; }
}

/* =========================================================
   RPL TECH HERO — ULTRA TRANSPARENT GLASS OVERRIDES
   Keep the panels visually clear so the class photo remains visible.
   ========================================================= */
.rpl-tech-code,
.rpl-tech-label {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 24px rgba(170, 210, 255, 0.025),
    0 12px 32px rgba(0, 0, 0, 0.035);
  backdrop-filter: blur(7px) saturate(115%);
  -webkit-backdrop-filter: blur(7px) saturate(115%);
}

.rpl-tech-code {
  color: rgba(221, 235, 250, 0.92);
}

.rpl-tech-code b {
  color: rgba(241, 248, 255, 0.96);
}

.floating-ui-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 34px rgba(167, 208, 255, 0.025),
    0 18px 42px rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  color: rgba(238, 245, 252, 0.94);
}

.hero-interface {
  opacity: 0.66;
}

.rpl-tech-animation + .hero-interface {
  opacity: 0.60;
}

.ui-chip-row i {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.16);
}

.ui-layout-grid span {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.14);
}

.ui-line {
  background: rgba(255, 255, 255, 0.10);
}

.ui-line-sm {
  background: rgba(255, 255, 255, 0.055);
}

@media (max-width: 900px) {
  .hero-interface,
  .rpl-tech-animation + .hero-interface {
    opacity: 0.48;
  }

  .rpl-tech-code,
  .rpl-tech-label,
  .floating-ui-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px) saturate(115%);
    -webkit-backdrop-filter: blur(5px) saturate(115%);
  }
}


/* =========================================================
   HOME GALAXY BACKGROUND
   Hanya aktif di beranda; tidak memindahkan atau menutupi konten.
   ========================================================= */
.hero {
  border: 0 !important;
  box-shadow: none !important;
}

.hero-media::after {
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 27, 0.02) 0%,
      rgba(4, 14, 27, 0.015) 52%,
      rgba(4, 14, 27, 0.18) 100%
    ) !important;
}

/* Pastikan tidak ada garis/strip hitam buatan pseudo-element di tepi hero. */
.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
}

.hero-galaxy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
  mix-blend-mode: screen;
}

/* Galaxy tetap di belakang seluruh UI hero. */
.hero .hero-media,
.hero .hero-grid,
.hero .hero-glow,
.hero .rpl-tech-animation,
.hero .hero-interface {
  pointer-events: none;
}

@media (max-width: 800px) {
  .hero-galaxy {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-galaxy {
    opacity: 0.6;
  }
}
/* ========================================================= */

/* Hero keeps its own background treatment; the page-wide WebGL layer must never tint the hero. */
#home { isolation: isolate; }
#home > #heroGalaxy,
#home > .hero-media,
#home > .hero-glow,
#home > .hero-grid,
#home > .rpl-tech-animation { pointer-events: none; }

/* =========================================================
   HERO NAVY CLEANUP — no black edge / strip
   ========================================================= */
#home {
  background:
    radial-gradient(circle at 76% 22%, rgba(64, 119, 192, 0.18), transparent 28%),
    radial-gradient(circle at 50% 78%, rgba(28, 72, 128, 0.20), transparent 34%),
    linear-gradient(135deg, #061a31 0%, #0a2342 48%, #0d2b4d 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Jangan tampilkan lapisan foto/overlay yang membuat bidang gelap tipis. */
#home > .hero-media,
#home > .hero-media::after {
  background: none !important;
  opacity: 0 !important;
  display: none !important;
}

/* Hapus vignette hitam pada animasi inti. */
#home .rpl-tech-vignette {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Hindari efek bayangan hitam di batas bawah hero. */
#home::before,
#home::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}

/* Galaksi putih tetap penuh di belakang animasi teknologi. */
#home > .hero-galaxy {
  z-index: 1 !important;
  opacity: 0.94 !important;
  mix-blend-mode: screen !important;
}

#home > .rpl-tech-animation {
  z-index: 3 !important;
}

#home > .hero-interface {
  z-index: 4 !important;
}

#home > .hero-content {
  z-index: 8 !important;
}

/* FINAL HERO POLISH — NAVY + WHITE GALAXY / MOBILE FIRST */
#home {
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.055), transparent 24%),
    radial-gradient(circle at 18% 15%, rgba(79,145,220,.18), transparent 30%),
    radial-gradient(circle at 84% 76%, rgba(52,107,182,.18), transparent 34%),
    linear-gradient(135deg, #041426 0%, #071e38 44%, #0b2a4d 100%) !important;
}
#home > .hero-galaxy { z-index:1 !important; opacity:1 !important; mix-blend-mode:screen !important; }
#home > .rpl-tech-animation { z-index:3 !important; }
#home > .hero-interface { z-index:4 !important; }
#home > .hero-content { z-index:8 !important; }
#home, #home::before, #home::after, #home .hero-media, #home .hero-media::before, #home .hero-media::after, #home .rpl-tech-vignette { border:0 !important; box-shadow:none !important; }
#home .hero-media, #home .hero-media::before, #home .hero-media::after, #home .rpl-tech-vignette { display:none !important; background:transparent !important; opacity:0 !important; }

@media (max-width:800px) {
  #home { min-height:760px; background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.06), transparent 24%), radial-gradient(circle at 22% 12%, rgba(80,145,220,.18), transparent 32%), linear-gradient(155deg,#041426 0%,#08203c 52%,#0c2b4e 100%) !important; }
  #home .hero-content { padding-top:118px; padding-bottom:34px; }
  #home .hero-copy { width:min(100%,620px); margin-inline:auto; }
  #home .hero h1 { line-height:.86; letter-spacing:-.085em; }
  #home .hero-description { max-width:520px; }
  #home .hero-interface { opacity:.16 !important; transform:scale(.72); }
}
@media (max-width:560px) {
  #home { min-height:735px; }
  #home .hero-content { width:min(100% - 28px,520px); padding-top:208px; padding-bottom:24px; }
  #home .hero-kicker { gap:8px; }
  #home .hero-kicker > span { width:24px; }
  #home .hero h1 { font-size:clamp(3.9rem,20vw,5.5rem); }
  #home .hero h2 { font-size:.98rem; }
  #home .hero-tagline { font-size:1.18rem; }
  #home .hero-description { font-size:.72rem; line-height:1.72; }
  #home .hero-actions { gap:8px; }
  #home .hero-actions .btn { min-height:48px; }
  #home .hero-meta { gap:7px; font-size:.45rem; }
  #home .hero-interface { opacity:.08 !important; transform:scale(.62); }
}
@media (max-width:360px) {
  #home .hero-content { width:calc(100% - 22px); padding-top:202px; }
  #home .hero h1 { font-size:3.7rem; }
  #home .hero-tagline { font-size:1.08rem; }
  #home .hero-description { font-size:.68rem; }
  #home .hero-meta { font-size:.41rem; }
}

/* =========================================================
   HERO ROBOT — robot memegang galaksi
   Foto tanpa background hitam (di-key otomatis), diselaraskan
   dengan latar navy hero lewat mask fade + drop-shadow lembut.
   ========================================================= */
.hero-robot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  right: -4%;
  bottom: -8%;
  left: auto;
  top: auto;
  width: min(46%, 620px);
  height: 96%;
  z-index: 6;
  will-change: transform;
}

.hero-robot picture,
.hero-robot img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-robot img {
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 40px 70px rgba(2, 8, 18, 0.55));
  -webkit-mask-image: linear-gradient(
    100deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 16%,
    #000 40%,
    #000 100%
  );
  mask-image: linear-gradient(
    100deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 16%,
    #000 40%,
    #000 100%
  );
}

#home > .hero-robot {
  z-index: 6 !important;
}

/* Biar teks & tombol tetap terbaca penuh di atas foto */
#home > .hero-content {
  z-index: 8 !important;
}

@media (max-width: 1300px) {
  .hero-robot {
    width: min(44%, 540px);
    right: -3%;
  }
}

@media (max-width: 1050px) {
  .hero-robot {
    width: min(50%, 480px);
    height: 92%;
    right: -6%;
    bottom: -4%;
    opacity: 0.92;
  }
}

@media (max-width: 800px) {
  .hero-robot {
    left: 50%;
    right: auto;
    bottom: auto;
    top: -3%;
    transform: translateX(-50%);
    width: min(88%, 460px);
    height: 62%;
    opacity: 0.62;
    z-index: 2;
  }

  #home > .hero-robot {
    z-index: 2 !important;
  }

  .hero-robot img {
    object-position: top center;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.4) 78%,
      transparent 96%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.4) 78%,
      transparent 96%
    );
    filter: drop-shadow(0 24px 40px rgba(2, 8, 18, 0.5));
  }
}

@media (max-width: 560px) {
  .hero-robot {
    top: -2%;
    width: min(94%, 400px);
    height: 56%;
    opacity: 0.58;
  }
}

@media (max-width: 360px) {
  .hero-robot {
    width: 98%;
    height: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-robot {
    will-change: auto;
  }
}
