:root {
  --blue-900: #0b1f3a;
  --blue-700: #124a8c;
  --blue-500: #1b7ad1;
  --green-500: #2ecc71;
  --green-400: #48e59b;
  --ink: #0f172a;
  --muted: #64748b;
  --card: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(3, 10, 26, 0.35);
  --grid-size: 36px;
  --grid-size-lg: 180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Spline Sans", sans-serif;
  background: radial-gradient(
      900px 600px at 75% -10%,
    rgba(27, 122, 209, 0.32),
    transparent 60%
  ),
  radial-gradient(
    700px 600px at -5% 15%,
      rgba(46, 204, 113, 0.26),
    transparent 60%
  ),
    #0b1220;
  color: #f8fafc;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

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

.bg-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: screen;
}

.bg-scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid::before,
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.bg-grid::before {
  background-image: linear-gradient(
      90deg,
      rgba(26, 35, 55, 0.5) 1px,
      transparent 1px
    ),
    linear-gradient(
      0deg,
      rgba(26, 35, 55, 0.5) 1px,
      transparent 1px
    );
  background-size: var(--grid-size) var(--grid-size);
  opacity: 0.6;
}

.bg-grid::after {
  background-image: linear-gradient(
      90deg,
      rgba(46, 204, 113, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(
      0deg,
      rgba(27, 122, 209, 0.22) 1px,
      transparent 1px
    );
  background-size: var(--grid-size-lg) var(--grid-size-lg);
  opacity: 0.35;
}

.grid-scan {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.4;
  will-change: transform;
}

.grid-scan-x {
  top: calc(var(--grid-size) * 6);
  left: -40vw;
  width: clamp(160px, 28vw, 360px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46, 204, 113, 0.85) 35%,
    rgba(27, 122, 209, 0.95) 65%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(72, 229, 155, 0.35);
  animation: scan-x 11s linear infinite;
}

.grid-scan-y {
  top: -40vh;
  left: calc(var(--grid-size) * 4);
  height: clamp(150px, 28vh, 320px);
  width: 1px;
  background: linear-gradient(
    0deg,
    transparent 0%,
    rgba(27, 122, 209, 0.9) 35%,
    rgba(72, 229, 155, 0.95) 65%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(27, 122, 209, 0.35);
  animation: scan-y 13s linear infinite;
}

.scan-1 {
  animation-delay: 0s;
  opacity: 0.45;
  top: calc(var(--grid-size) * 6);
}

.scan-2 {
  animation-delay: -6s;
  opacity: 0.3;
  top: calc(var(--grid-size) * 13);
}

.scan-3 {
  animation-delay: -2s;
  opacity: 0.45;
  left: calc(var(--grid-size) * 9);
}

.scan-4 {
  animation-delay: -8s;
  opacity: 0.3;
  left: calc(var(--grid-size) * 16);
}

.bg-orbit span {
  position: absolute;
  border-radius: 999px;
  opacity: 0.75;
  filter: blur(0px);
  animation: bubble-float 18s ease-in-out infinite;
}

.bubble-lg {
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(40, 170, 255, 0.55),
    transparent 70%
  );
  top: 6%;
  right: 12%;
  animation-duration: 16s;
  box-shadow: 0 0 60px rgba(40, 170, 255, 0.25);
}

.bubble-md {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(88, 255, 199, 0.5),
    transparent 70%
  );
  top: 48%;
  left: 6%;
  animation-delay: -6s;
  animation-duration: 18s;
  box-shadow: 0 0 60px rgba(88, 255, 199, 0.22);
}

.bubble-ring {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbit 24s linear infinite;
}

.bubble-sm {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(120, 200, 255, 0.42),
    transparent 70%
  );
  top: 18%;
  left: 72%;
  animation-delay: -10s;
  animation-duration: 14s;
}

.bubble-xs {
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    rgba(120, 255, 210, 0.38),
    transparent 70%
  );
  bottom: 22%;
  right: 16%;
  animation-delay: -3s;
  animation-duration: 12s;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 7vw;
  background: rgba(7, 11, 22, 0.75);
  backdrop-filter: blur(16px);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Spline Sans", "Noto Sans", sans-serif;
  font-size: 20px;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: rgba(248, 250, 252, 0.7);
}

.site-nav a:hover {
  color: #ffffff;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0;
  height: 44px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(5, 15, 35, 0.35));
}

.store-badge.badge-appstore img {
  transform: scale(0.74);
  transform-origin: center;
}

.store-badge.badge-googleplay img {
  transform: scale(1.08);
  transform-origin: center;
}

.hero-actions .store-badge {
  height: 48px;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(5, 15, 35, 0.35);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-label {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: rgba(248, 250, 252, 0.6);
  text-transform: uppercase;
}

.lang-select {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.6);
  color: rgba(248, 250, 252, 0.9);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.6px;
  appearance: none;
}

.lang-select:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--blue-500), var(--green-500));
  color: #031425;
  box-shadow: 0 12px 24px rgba(46, 204, 113, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  padding: 80px 7vw 60px;
  z-index: 1;
}

.hero-copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 18px 0 16px;
}

.lead {
  font-size: 18px;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.7;
  max-width: 520px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(27, 122, 209, 0.2);
  border: 1px solid rgba(46, 204, 113, 0.3);
  font-size: 12px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: rgba(248, 250, 252, 0.6);
  font-size: 13px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stack {
  display: grid;
  gap: 20px;
  transform: perspective(900px) rotateY(-14deg) rotateX(4deg)
    translateY(-8px);
}

.phone {
  margin: 0;
  width: min(280px, 70vw);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  padding: 10px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.phone picture {
  display: block;
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.hero-phone {
  transform: translateX(0);
  opacity: 1;
}

.hero-phone.swap {
  transition: none;
  transform: translateX(80px);
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.hero-frame.is-active {
  opacity: 1;
  position: relative;
}

.hero-frame.is-enter {
  opacity: 1;
  transform: translateX(0);
}

.hero-frame.is-start {
  opacity: 1;
  transform: translateX(80px);
}

.section {
  padding: 70px 7vw;
  position: relative;
  z-index: 1;
}

.section-heading h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 8px 0 12px;
}

.section-heading p {
  color: rgba(248, 250, 252, 0.7);
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--green-400);
}

.feature-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 28px;
}

.feature-card {
  background: rgba(10, 18, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px;
  border-radius: 18px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 229, 155, 0.4);
}

.feature-card h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.72);
}

.feature-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-shortcuts .feature-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
}

.feature-arrow {
  color: var(--green-400);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-arrow {
  transform: translate(3px, -3px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(72, 229, 155, 0.9),
    rgba(27, 122, 209, 0.65)
  );
  box-shadow: 0 10px 22px rgba(27, 122, 209, 0.25);
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.lab-section {
  padding-top: 40px;
}

.lab-shell {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(7, 14, 28, 0.82);
  box-shadow: var(--shadow);
}

.lab-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-tab {
  position: relative;
  min-height: 58px;
  padding: 10px 16px;
  color: rgba(248, 250, 252, 0.55);
  background: transparent;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.lab-tab:hover {
  color: #ffffff;
}

.lab-tab.is-active {
  color: #ffffff;
  background: linear-gradient(
    120deg,
    rgba(27, 122, 209, 0.22),
    rgba(46, 204, 113, 0.16)
  );
}

.lab-tab.is-active::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 6px;
  left: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-400));
}

.lab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 570px;
}

.lab-panel[hidden] {
  display: none;
}

.lab-copy,
.lab-visual {
  padding: clamp(28px, 5vw, 58px);
}

.lab-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(8, 18, 34, 0.86);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lab-copy h3 {
  margin: 6px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.lab-copy > p:not(.lab-kicker, .lab-note, .quiz-question) {
  margin: 0 0 26px;
  color: rgba(248, 250, 252, 0.68);
  line-height: 1.65;
}

.lab-kicker {
  margin: 0;
  color: var(--green-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.field-label,
.range-heading label,
.result-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 250, 252, 0.58);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35px;
}

.lab-select,
.lab-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  font: inherit;
  font-size: 14px;
}

.lab-select:focus,
.lab-input:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(72, 229, 155, 0.12);
}

.range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.range-heading label {
  margin: 0;
}

.range-heading output {
  color: var(--green-400);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.lab-range {
  width: 100%;
  margin: 16px 0 18px;
  accent-color: var(--green-500);
}

.nuclide-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(27, 122, 209, 0.1);
  border: 1px solid rgba(27, 122, 209, 0.22);
  border-radius: 14px;
}

.nuclide-summary strong {
  font-family: "Space Grotesk", sans-serif;
}

.nuclide-summary span {
  color: rgba(248, 250, 252, 0.6);
  font-size: 12px;
}

.lab-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: radial-gradient(
      460px 300px at 80% 10%,
      rgba(27, 122, 209, 0.2),
      transparent 70%
    ),
    rgba(255, 255, 255, 0.025);
}

.metric-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.metric-card span {
  color: rgba(248, 250, 252, 0.55);
  font-size: 12px;
}

.metric-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.lab-canvas {
  display: block;
  width: 100%;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(6, 13, 26, 0.48);
}

.lab-note {
  margin: 14px 0 0;
  color: rgba(248, 250, 252, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.converter-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 14px;
}

.converter-inputs label {
  display: block;
}

.converter-visual {
  justify-content: center;
}

.result-label {
  margin-bottom: 14px;
  color: rgba(248, 250, 252, 0.7);
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.conversion-item {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.conversion-item.is-source {
  background: linear-gradient(
    120deg,
    rgba(27, 122, 209, 0.2),
    rgba(46, 204, 113, 0.12)
  );
  border-color: rgba(72, 229, 155, 0.28);
}

.conversion-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--green-400);
  font-size: 12px;
}

.conversion-item strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 12px;
}

.quiz-progress span {
  color: rgba(248, 250, 252, 0.48);
  font-size: 12px;
}

.quiz-progress strong {
  color: var(--green-400);
  font-family: "Space Grotesk", sans-serif;
}

.quiz-question {
  margin: 0 0 13px;
  color: rgba(248, 250, 252, 0.9);
  font-weight: 600;
}

.spectrum-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.spectrum-option {
  min-height: 46px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.spectrum-option:hover:not(:disabled) {
  border-color: rgba(72, 229, 155, 0.45);
}

.spectrum-option.is-correct {
  color: #d9ffec;
  background: rgba(46, 204, 113, 0.16);
  border-color: rgba(72, 229, 155, 0.52);
}

.spectrum-option.is-wrong {
  color: #ffdcd6;
  background: rgba(244, 114, 94, 0.13);
  border-color: rgba(244, 114, 94, 0.42);
}

.quiz-feedback {
  min-height: 48px;
  margin-top: 12px;
  padding: 11px 13px;
  color: rgba(248, 250, 252, 0.58);
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid rgba(72, 229, 155, 0.4);
  font-size: 12px;
  line-height: 1.5;
}

.quiz-next {
  align-self: flex-start;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
}

.quiz-next:disabled {
  cursor: not-allowed;
  filter: grayscale(0.8);
  opacity: 0.42;
}

.spectrum-canvas {
  height: 330px;
}

.spectrum-axis {
  display: flex;
  justify-content: space-between;
  padding: 7px 3px 0;
  color: rgba(248, 250, 252, 0.45);
  font-size: 10px;
}

.finder-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.finder-search:focus-within {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(72, 229, 155, 0.12);
}

.finder-search span {
  color: var(--green-400);
  font-size: 20px;
}

.finder-search input {
  width: 100%;
  color: #f8fafc;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
}

.finder-search input::placeholder {
  color: rgba(248, 250, 252, 0.3);
}

.finder-count {
  min-height: 18px;
  margin: 10px 0 8px;
  color: rgba(248, 250, 252, 0.42);
  font-size: 11px;
}

.finder-list {
  display: grid;
  gap: 7px;
  max-height: 224px;
  overflow-y: auto;
  padding-right: 4px;
}

.finder-option {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 12px;
  color: rgba(248, 250, 252, 0.7);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.finder-option:hover,
.finder-option.is-active {
  color: #ffffff;
  background: rgba(72, 229, 155, 0.1);
  border-color: rgba(72, 229, 155, 0.34);
}

.finder-option strong {
  font-family: "Space Grotesk", sans-serif;
}

.finder-option span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.finder-option small {
  color: rgba(248, 250, 252, 0.38);
  font-size: 10px;
}

.finder-empty {
  padding: 15px;
  color: rgba(248, 250, 252, 0.5);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 12px;
  font-size: 12px;
}

.finder-random {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-top: 12px;
  padding: 8px 13px;
  color: var(--green-400);
  background: transparent;
  border: 1px solid rgba(72, 229, 155, 0.3);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.finder-visual {
  gap: 14px;
}

.finder-card {
  width: min(100%, 580px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(7, 14, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.finder-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.finder-mark {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  color: #031425;
  background: linear-gradient(145deg, #e7fff2, #82e7b3);
  border-radius: 20px;
}

.finder-mark small,
.finder-mark strong {
  grid-area: 1 / 1;
}

.finder-mark small {
  align-self: start;
  justify-self: start;
  margin: 10px;
  font-size: 10px;
}

.finder-mark strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
}

.finder-card-head p {
  margin: 0 0 5px;
  color: var(--green-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.finder-card-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.finder-details {
  margin: 18px 0 0;
}

.finder-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.finder-details div:first-child {
  border-top: 0;
}

.finder-details dt {
  color: rgba(248, 250, 252, 0.48);
  font-size: 12px;
}

.finder-details dd {
  margin: 0;
  color: rgba(248, 250, 252, 0.86);
  font-size: 13px;
  line-height: 1.5;
}

.workflow-section {
  padding-top: 42px;
}

.workflow-shell,
.app-explorer {
  margin-top: 30px;
  overflow: hidden;
  background: rgba(7, 14, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.workflow-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-tab,
.app-module-tab {
  min-height: 54px;
  padding: 10px 16px;
  color: rgba(248, 250, 252, 0.5);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.workflow-tab:hover,
.app-module-tab:hover {
  color: #ffffff;
}

.workflow-tab.is-active,
.app-module-tab.is-active {
  color: #ffffff;
  background: linear-gradient(
    120deg,
    rgba(27, 122, 209, 0.22),
    rgba(46, 204, 113, 0.14)
  );
  border-color: rgba(72, 229, 155, 0.28);
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 610px;
}

.workflow-panel[hidden] {
  display: none;
}

.workflow-controls,
.workflow-result {
  padding: clamp(28px, 5vw, 56px);
}

.workflow-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(8, 18, 34, 0.86);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-controls h3 {
  margin: 6px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.workflow-controls > p:not(.lab-kicker) {
  margin: 0 0 24px;
  color: rgba(248, 250, 252, 0.66);
  line-height: 1.65;
}

.range-heading.compact {
  margin-top: 8px;
}

.workflow-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.workflow-input-grid label {
  display: block;
}

.workflow-result {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(
      460px 320px at 75% 10%,
      rgba(27, 122, 209, 0.23),
      transparent 68%
    ),
    rgba(255, 255, 255, 0.025);
}

.workflow-metric {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 18px;
}

.workflow-metric span {
  color: rgba(248, 250, 252, 0.55);
  font-size: 12px;
}

.workflow-metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1;
}

.workflow-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.workflow-facts > div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.workflow-facts span,
.workflow-facts strong {
  display: block;
}

.workflow-facts span {
  margin-bottom: 6px;
  color: rgba(248, 250, 252, 0.43);
  font-size: 10px;
}

.workflow-facts strong {
  color: rgba(248, 250, 252, 0.88);
  font-family: "Space Grotesk", sans-serif;
}

.field-stage {
  --field-strength: 0.58;
  position: relative;
  display: grid;
  width: min(330px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
}

.field-core,
.field-ring {
  position: absolute;
  border-radius: 50%;
}

.field-core {
  z-index: 2;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #051421;
  background: linear-gradient(145deg, #ffffff, #8ff0bd);
  box-shadow:
    0 0 calc(30px + 54px * var(--field-strength)) rgba(72, 229, 155, 0.65),
    0 0 calc(65px + 80px * var(--field-strength)) rgba(27, 122, 209, 0.36);
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.field-ring {
  border: 1px solid rgba(72, 229, 155, calc(0.12 + 0.38 * var(--field-strength)));
  box-shadow: inset 0 0 24px rgba(27, 122, 209, calc(0.04 + 0.16 * var(--field-strength)));
  transform: scale(calc(0.84 + 0.16 * var(--field-strength)));
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.field-ring-1 {
  inset: 26%;
}

.field-ring-2 {
  inset: 12%;
}

.field-ring-3 {
  inset: 0;
}

.medicine-fraction,
.density-track {
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.medicine-fraction span,
.density-track span {
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--green-400));
  border-radius: inherit;
  transition: width 0.28s ease;
}

.medicine-schedule {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.medicine-schedule > div {
  min-width: 0;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
}

.medicine-schedule span,
.medicine-schedule strong {
  display: block;
}

.medicine-schedule span {
  margin-bottom: 6px;
  color: rgba(248, 250, 252, 0.4);
  font-size: 10px;
}

.medicine-schedule strong {
  overflow: hidden;
  color: rgba(248, 250, 252, 0.86);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-symbol {
  display: grid;
  width: 106px;
  height: 106px;
  margin: 0 auto 8px;
  place-items: center;
  color: #031425;
  background: linear-gradient(145deg, #e7fff2, #82e7b3);
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(46, 204, 113, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 700;
}

.density-track {
  margin-bottom: 20px;
}

.app-explorer {
  padding: clamp(28px, 5vw, 54px);
}

.app-explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: end;
}

.app-explorer-heading h3 {
  margin: 8px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.app-explorer-heading > p {
  margin: 0;
  color: rgba(248, 250, 252, 0.62);
  line-height: 1.65;
}

.app-module-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 30px;
}

.app-module-tab {
  min-height: 46px;
  padding: 8px;
  font-size: 11px;
}

.app-module-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(210px, 0.52fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  min-height: 330px;
  margin-top: 14px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(
    125deg,
    rgba(27, 122, 209, 0.17),
    rgba(46, 204, 113, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
}

.app-module-index {
  align-self: start;
  color: rgba(72, 229, 155, 0.42);
  font-family: "Space Grotesk", sans-serif;
  font-size: 46px;
  font-weight: 700;
}

.app-module-copy p:first-child {
  margin: 0 0 8px;
  color: var(--green-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.app-module-copy h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.app-module-copy > p:not(:first-child) {
  max-width: 680px;
  margin: 14px 0;
  color: rgba(248, 250, 252, 0.67);
  line-height: 1.65;
}

.app-module-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-module-copy li {
  padding: 8px 11px;
  color: rgba(248, 250, 252, 0.75);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 11px;
}

.app-module-orbit {
  position: relative;
  display: grid;
  width: min(220px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
}

.app-module-orbit span {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(72, 229, 155, 0.2);
  border-radius: 50%;
}

.app-module-orbit span:nth-child(2) {
  transform: rotate(60deg) scaleY(0.42);
}

.app-module-orbit span:nth-child(3) {
  transform: rotate(-60deg) scaleY(0.42);
}

.app-module-orbit strong {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: #061526;
  background: linear-gradient(145deg, #e7fff2, #82e7b3);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(72, 229, 155, 0.3);
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
}

.gallery-section .gallery {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  position: relative;
  cursor: default;
  scroll-behavior: smooth;
  touch-action: pan-x;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 2vw;
  z-index: 2;
  transform: translateY(-50%);
}

.gallery-btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 12, 24, 0.75);
  color: #f8fafc;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(6, 12, 28, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.gallery picture {
  display: block;
  width: clamp(200px, 26vw, 280px);
  flex: 0 0 auto;
  aspect-ratio: 1320 / 2868;
  scroll-snap-align: start;
}

.gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-dots button {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(248, 250, 252, 0.25);
}

.gallery-dots button.is-active {
  width: 28px;
  background: linear-gradient(120deg, var(--blue-500), var(--green-500));
}

.gallery::before,
.gallery::after {
  content: "";
  position: sticky;
  top: 0;
  width: 36px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.gallery::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 11, 22, 0.9), transparent);
}

.gallery::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 11, 22, 0.9), transparent);
}

.gallery {
  scrollbar-width: none;
}

.gallery.dragging {
  cursor: grabbing;
}

.gallery::-webkit-scrollbar {
  height: 0;
}

.scroll-hint {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
}

.scroll-hint::after {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(72, 229, 155, 0.8), transparent);
  border-radius: 999px;
  animation: hint-sweep 1.8s ease-in-out infinite;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(4, 10, 22, 0.5);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: translateY(-6px);
}

.split-section .split-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 30px;
}

.panel {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel ul {
  padding-left: 18px;
  color: rgba(248, 250, 252, 0.7);
}

.highlight {
  background: linear-gradient(
    140deg,
    rgba(18, 74, 140, 0.35),
    rgba(46, 204, 113, 0.15)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.callout {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(7, 11, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 520px;
}

.cta {
  padding-top: 40px;
}

.cta-card {
  padding: 36px;
  border-radius: 22px;
  background: radial-gradient(
      420px 240px at 10% 20%,
      rgba(72, 229, 155, 0.25),
      transparent
    ),
    rgba(10, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.site-footer {
  padding: 30px 7vw 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(248, 250, 252, 0.6);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-email a {
  color: inherit;
}

.email-icon {
  display: inline-flex;
  color: rgba(248, 250, 252, 0.7);
}

.beian-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding-block: 14px;
  }

  .site-header .store-links,
  .lang-label {
    display: none;
  }

  .logo {
    font-size: 18px;
  }

  .feature-shortcuts {
    grid-template-columns: 1fr;
  }

  .lab-shell {
    border-radius: 20px;
  }

  .lab-tabs {
    grid-template-columns: repeat(4, minmax(118px, 1fr));
    overflow-x: auto;
  }

  .lab-tab {
    min-height: 56px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .lab-copy,
  .lab-visual {
    padding: 26px 20px;
  }

  .converter-inputs {
    grid-template-columns: 1fr;
  }

  .conversion-grid,
  .spectrum-options {
    grid-template-columns: 1fr;
  }

  .lab-canvas,
  .spectrum-canvas {
    height: 240px;
  }

  .metric-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .finder-option {
    grid-template-columns: 66px 1fr;
  }

  .finder-option small {
    grid-column: 2;
  }

  .finder-card-head {
    align-items: flex-start;
  }

  .finder-mark {
    width: 72px;
    height: 72px;
  }

  .finder-details div {
    grid-template-columns: 94px 1fr;
    gap: 12px;
  }

  .workflow-tabs {
    grid-template-columns: repeat(3, minmax(138px, 1fr));
    overflow-x: auto;
  }

  .workflow-tab {
    padding-inline: 10px;
    font-size: 11px;
  }

  .workflow-controls,
  .workflow-result,
  .app-explorer {
    padding: 26px 20px;
  }

  .workflow-input-grid,
  .workflow-facts {
    grid-template-columns: 1fr;
  }

  .field-stage {
    width: min(260px, 76vw);
  }

  .medicine-schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-module-tabs {
    grid-template-columns: repeat(6, minmax(98px, 1fr));
    overflow-x: auto;
  }

  .app-module-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-module-index {
    font-size: 34px;
  }

  .app-module-orbit {
    width: 170px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    width: 100%;
    gap: 10px;
  }
}

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

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

@keyframes bubble-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 22px, 0);
  }
}

@keyframes orbit {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes scan-x {
  0% {
    transform: translateX(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(140vw);
    opacity: 0.2;
  }
}

@keyframes scan-y {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(140vh);
    opacity: 0.2;
  }
}

@keyframes hint-sweep {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .feature-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lab-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .workflow-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .workflow-controls {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .app-explorer-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .app-module-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .app-module-orbit {
    display: none;
  }

  .phone-stack {
    transform: none;
  }

  .gallery-controls {
    display: none;
  }

  .gallery-dots {
    display: flex;
  }
}

@media (max-width: 640px) {
  .feature-shortcuts {
    grid-template-columns: 1fr;
  }

  .app-module-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.store-links .btn {
  padding: 10px 18px;
}

.android-download-link {
  display: none;
}

.android-download-link.is-visible {
  display: inline-flex;
}
