:root {
  --bg: #000000;
  --bg-soft: #030305;
  --bg-panel: #07080d;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.13);
  --border-soft: rgba(255, 255, 255, 0.075);
  --text: #f4f4f5;
  --text-soft: #a6a6ad;
  --muted: #696b73;
  --accent: #e5e7eb;
  --accent-soft: rgba(229, 231, 235, 0.08);
  --cyan: #7dd3fc;
  --cyan-soft: rgba(125, 211, 252, 0.12);
  --violet: #818cf8;
  --violet-soft: rgba(129, 140, 248, 0.13);
  --green: #34d399;
  --red: #fb7185;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.09), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(125, 211, 252, 0.08), transparent 28rem),
    linear-gradient(180deg, #000 0%, #020204 48%, #000 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: var(--font-mono);
  color: #e8eef7;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 0.08rem 0.35rem;
  border-radius: 7px;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 72%);
}

.orb {
  position: fixed;
  pointer-events: none;
  z-index: -2;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.42;
}

.orb-one {
  width: 560px;
  height: 560px;
  top: 100px;
  right: -220px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.16), transparent 68%);
}

.orb-two {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.13), transparent 68%);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
  transition: border-color 0.25s, background 0.25s;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.91);
  border-bottom-color: rgba(255, 255, 255, 0.17);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #a1a1aa);
  color: #050505;
  font: 900 0.82rem var(--font-mono);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.20),
    0 14px 42px rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.nav-links a {
  transition: color 0.2s;
}

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

.nav-cta {
  font: 800 0.75rem var(--font-mono);
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 10px 18px;
  color: #f4f4f5;
  background: rgba(255, 255, 255, 0.025);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.31);
}

.hero-section {
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 44px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 460px;
  gap: 70px;
  align-items: center;
}

.kicker,
.section-label {
  font: 900 0.72rem var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d4d4d8;
  display: block;
}

.hero-left h1 {
  margin: 24px 0 28px;
  font-size: clamp(4rem, 7vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.085em;
  max-width: 930px;
  color: #f8fafc;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
}

.hero-copy {
  max-width: 780px;
  font-size: 1.13rem;
  color: #aeb0b8;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.primary-action,
.secondary-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 0 22px;
  font-weight: 850;
  letter-spacing: -0.03em;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.primary-action {
  background: #f4f4f5;
  color: #050505;
  box-shadow: 0 24px 80px rgba(255, 255, 255, 0.12);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f5;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.signal-strip {
  display: flex;
  gap: 0;
  margin-top: 34px;
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.095);
}

.signal-strip div {
  padding: 18px 28px 18px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.095);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: #ffffff;
}

.signal-strip span {
  display: block;
  margin-top: 8px;
  font: 800 0.62rem var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7e818b;
}

.deployment-console {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    #050506;
  box-shadow: 0 40px 140px rgba(0, 0, 0, 0.58);
  overflow: hidden;
  min-height: 650px;
}

.console-head {
  height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font: 800 0.7rem var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f929c;
}

.live-dot {
  color: var(--green);
}

.pipeline-map {
  height: 380px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 62% 38%, rgba(125, 211, 252, 0.08), transparent 36%),
    #030305;
}

.pipeline-map::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
}

.pipeline-map::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 180px;
  border: 1px solid rgba(125, 211, 252, 0.13);
  border-radius: 999px;
  transform: rotate(-35deg);
}

.node {
  position: absolute;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(10, 11, 15, 0.82);
  display: grid;
  place-items: center;
  gap: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.node i {
  font-size: 1.65rem;
  color: #eef2ff;
}

.node span {
  font: 800 0.64rem var(--font-mono);
  color: #aaaeb8;
}

.node-model {
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
}

.node-api {
  top: 145px;
  left: 42px;
}

.node-db {
  top: 145px;
  right: 42px;
}

.node-cloud {
  bottom: 48px;
  left: 104px;
}

.node-ui {
  bottom: 48px;
  right: 104px;
}

.route {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.55), transparent);
}

.route-a {
  width: 260px;
  top: 190px;
}

.route-b {
  width: 210px;
  top: 260px;
  transform: rotate(34deg);
}

.route-c {
  width: 210px;
  top: 260px;
  transform: rotate(-34deg);
}

.console-table {
  padding: 10px 22px 24px;
}

.console-table div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.console-table span {
  color: #777a84;
}

.console-table strong {
  color: #e1e4ea;
  text-align: right;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 44px;
}

.section-header {
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 860px;
  margin: 14px 0 18px;
}

.section-header p {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.03rem;
  font-weight: 600;
}

.row-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.text-link {
  font: 900 0.78rem var(--font-mono);
  letter-spacing: 0.04em;
  color: #dfe5ee;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--cyan);
}

.flowline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.flow-step {
  position: relative;
  min-height: 315px;
  padding: 30px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step > span {
  font: 900 3rem var(--font-mono);
  letter-spacing: -0.13em;
  color: rgba(255, 255, 255, 0.24);
}

.flow-step i {
  display: block;
  margin: 26px 0 18px;
  font-size: 1.8rem;
  color: #f1f5f9;
}

.flow-step h3 {
  font-size: 1.14rem;
  letter-spacing: -0.035em;
}

.flow-step p {
  margin-top: 10px;
  color: #9ca0aa;
  font-size: 0.9rem;
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.05);
}

.apps-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

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

.app-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    #050506;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

.app-card-featured {
  grid-row: span 1;
}

.app-visual {
  height: 300px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.10), transparent 44%),
    #030305;
}

.app-body {
  padding: 30px;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.app-meta span,
.architecture-strip span {
  font: 800 0.63rem var(--font-mono);
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 999px;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 9px;
}

.app-body h3 {
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.app-body p {
  color: #aeb0b8;
  font-weight: 600;
}

.architecture-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.architecture-strip span {
  color: #e8eef7;
  background: rgba(125, 211, 252, 0.06);
  border-color: rgba(125, 211, 252, 0.15);
}

.app-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.app-footer-three {
  flex-wrap: nowrap;
  gap: 8px;
}

.app-footer-three .app-action {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.app-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.app-action i {
  font-size: 0.95rem;
}

.app-action span {
  position: relative;
  top: -1px;
}

.app-action-primary {
  background: linear-gradient(180deg, #fafafa, #e7e7ea);
  color: #050505;
  box-shadow: 0 18px 48px rgba(255, 255, 255, 0.10);
}

.app-action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  color: #f4f4f5;
}

.app-action:hover {
  transform: translateY(-2px);
}

.app-action-primary:hover {
  box-shadow: 0 22px 58px rgba(255, 255, 255, 0.14);
}

.app-action-secondary:hover {
  border-color: rgba(125, 211, 252, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(125, 211, 252, 0.04));
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.06);
}

.disabled-link {
  font: 900 0.68rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c909a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 3px;
}

.disabled-link:hover {
  color: #e2e8f0;
}

.lung-visual {
  background:
    radial-gradient(circle at 47% 45%, rgba(125, 211, 252, 0.16), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.16), transparent 42%),
    linear-gradient(135deg, #020204, #070a10 48%, #020204);
}

.medical-panel {
  position: relative;
  width: min(90%, 428px);
  height: 266px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    #05070b;
  box-shadow:
    inset 0 0 56px rgba(125, 211, 252, 0.075),
    0 30px 100px rgba(0, 0, 0, 0.55);
}

.panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  mask-image: radial-gradient(circle at 50% 46%, #000 0%, transparent 72%);
}

.lung-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 97%;
  height: 97%;
  transform: translate(-50%, -50%);
}

.scan-rib {
  fill: none;
  stroke: rgba(226, 232, 240, 0.11);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scan-frame {
  fill: rgba(7, 15, 32, 0.14);
  stroke: rgba(125, 211, 252, 0.18);
  stroke-width: 1.35;
}


.spine-line {
  fill: none;
  stroke: rgba(226, 232, 240, 0.12);
  stroke-width: 1.55;
  stroke-linecap: round;
}

.thorax-outline,
.mediastinum {
  fill: none;
  stroke: rgba(226, 232, 240, 0.14);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mediastinum {
  stroke: rgba(125, 211, 252, 0.14);
}

.lung-path {
  stroke: url(#lungStroke);
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#softGlow);
  animation: lungSignal 5.2s ease-in-out infinite;
}

.left-lung {
  fill: rgba(22, 57, 98, 0.40);
}

.right-lung {
  fill: rgba(20, 56, 98, 0.40);
}

.trachea {
  fill: none;
  stroke: url(#lungStroke);
  stroke-width: 5.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#softGlow);
}

.bronchi {
  fill: none;
  stroke: rgba(176, 235, 255, 0.96);
  stroke-width: 4.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.58));
}

.airway-tree {
  fill: none;
  stroke: rgba(125, 211, 252, 0.84);
  stroke-width: 2.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.36));
}

.lung-fissure,
.cardiac-notch,
.diaphragm,
.rib {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.lung-fissure,
.cardiac-notch,
.diaphragm {
  stroke: rgba(226, 232, 240, 0.26);
  stroke-width: 2;
}

.cardiac-notch {
  stroke: rgba(125, 211, 252, 0.48);
  stroke-width: 2.25;
}

.diaphragm {
  stroke: rgba(125, 211, 252, 0.30);
  stroke-width: 1.85;
}

.rib {
  stroke: rgba(226, 232, 240, 0.13);
  stroke-width: 1.65;
}

.hilar-point {
  fill: rgba(199, 242, 255, 0.98);
  filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.74));
}

.finding {
  fill: rgba(251, 113, 133, 0.76);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 14px rgba(251, 113, 133, 0.8));
}

.lesion-ring {
  fill: rgba(251, 113, 133, 0.10);
  stroke: rgba(251, 113, 133, 0.76);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(251, 113, 133, 0.44));
}

.scan-beam {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.94), transparent);
  box-shadow: 0 0 24px rgba(125, 211, 252, 0.85);
  animation: scanMedical 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.vital-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 7, 15, 0.62);
  backdrop-filter: blur(10px);
  color: #dbeafe;
  padding: 8px 12px;
  font: 800 0.57rem var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.vital-chip i {
  font-size: 0.74rem;
}

.vital-chip-top {
  top: 16px;
  left: 16px;
}

.vital-chip-bottom {
  right: 16px;
  bottom: 16px;
}

.vital-chip-bottom strong {
  color: #ffffff;
  font-weight: 900;
}

.vital-chip-bottom span {
  color: #aab6ca;
}

@keyframes lungSignal {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

@keyframes scanMedical {
  0%, 100% { top: 44px; opacity: 0.5; }
  50% { top: 206px; opacity: 1; }
}

.tweet-visual {
  background:
    radial-gradient(circle at 60% 40%, rgba(251, 113, 133, 0.19), transparent 42%),
    linear-gradient(135deg, #07070b, #020203);
}

.tweet-visual i {
  font-size: 4.5rem;
  color: #f1f5f9;
  z-index: 3;
}

.tweet-stack span {
  position: absolute;
  width: 230px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  left: 50%;
  transform: translateX(-50%);
}

.tweet-stack span:nth-child(1) { top: 62px; }
.tweet-stack span:nth-child(2) { top: 132px; width: 260px; }
.tweet-stack span:nth-child(3) { top: 202px; width: 210px; }

.pulse-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(251, 113, 133, 0.32);
  border-radius: 50%;
  animation: pulse 2.6s ease infinite;
}

@keyframes pulse {
  50% { transform: scale(1.3); opacity: 0.28; }
}

.edu-visual {
  background:
    radial-gradient(circle at 50% 30%, rgba(125, 211, 252, 0.18), transparent 38%),
    radial-gradient(circle at 78% 20%, rgba(250, 204, 21, 0.10), transparent 24%),
    linear-gradient(135deg, #020204, #07101b 46%, #020204);
}

.edu-panel {
  position: relative;
  width: min(90%, 428px);
  height: 266px;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    #05070b;
  box-shadow:
    inset 0 0 56px rgba(125, 211, 252, 0.065),
    0 30px 100px rgba(0, 0, 0, 0.55);
}

.edu-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.38;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 82%);
}

.edu-icon-shell {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.edu-app-icon {
  position: relative;
  z-index: 2;
  width: min(44%, 170px);
  border-radius: 28px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42);
  animation: floatEdu 5.6s ease-in-out infinite;
}

.edu-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
}

.edu-ring-one {
  width: 180px;
  height: 180px;
  animation: orbitPulse 3.8s ease-in-out infinite;
}

.edu-ring-two {
  width: 224px;
  height: 224px;
  border-color: rgba(250, 204, 21, 0.13);
  animation: orbitPulse 4.6s ease-in-out infinite reverse;
}

.edu-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font: 800 0.58rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d7dfec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 16, 27, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  animation: floatChip 5s ease-in-out infinite;
}

.edu-chip i {
  color: #7dd3fc;
  font-size: 0.82rem;
}

.chip-top-left { top: 18px; left: 18px; }
.chip-top-right { top: 18px; right: 18px; animation-delay: -0.8s; }
.chip-bottom-left { bottom: 18px; left: 18px; animation-delay: -1.4s; }
.chip-bottom-right { bottom: 18px; right: 18px; animation-delay: -2.1s; }

@keyframes floatEdu {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.35; }
  50% { transform: scale(1.04); opacity: 0.8; }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.stack-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 18px;
  padding: clamp(30px, 4vw, 58px) clamp(20px, 3.6vw, 44px);
  margin-bottom: 44px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 211, 252, 0.06), transparent 31rem),
    radial-gradient(circle at 14% 36%, rgba(255, 255, 255, 0.035), transparent 18rem),
    radial-gradient(circle at 86% 62%, rgba(255, 255, 255, 0.028), transparent 20rem);
  box-shadow: none;
  isolation: isolate;
}

.stack-wall::before,
.stack-wall::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.stack-wall::before {
  inset: 10px 4%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.035), transparent 62%),
    radial-gradient(circle at 52% 50%, rgba(125, 211, 252, 0.035), transparent 44%);
  filter: blur(24px);
  opacity: 0.72;
}

.stack-wall::after {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent);
  opacity: 0.42;
  filter: blur(0.5px);
}

.stack-logo-card {
  --brand-halo: rgba(255, 255, 255, 0.16);
  position: relative;
  min-height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f5f7fb;
  filter: none;
  transform: translateY(0);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.stack-logo-card::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  top: 6px;
  left: 50%;
  transform: translateX(-50%) scale(0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--brand-halo), transparent 66%);
  filter: blur(16px);
  opacity: 0.22;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.stack-logo-card::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.018);
  opacity: 0.26;
  filter: blur(0.2px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.stack-logo-card:hover {
  transform: translateY(-5px);
  background: transparent;
  color: #ffffff;
}

.stack-logo-card:hover::before {
  opacity: 0.7;
  transform: translateX(-50%) scale(1.15);
}

.stack-logo-card:hover::after {
  opacity: 0.42;
  transform: translateX(-50%) scale(1.06);
  background: rgba(255, 255, 255, 0.028);
}

.stack-logo-card i,
.stack-custom-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.65rem;
  opacity: 0.92;
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
}

.stack-logo-card:hover i,
.stack-logo-card:hover .stack-custom-icon {
  transform: scale(1.055);
  opacity: 1;
  filter: drop-shadow(0 0 20px var(--brand-halo));
}

.stack-custom-icon {
  line-height: 1;
}

.stack-hf-icon {
  filter: saturate(1.08);
}

.stack-logo-card span:last-child {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-size: clamp(0.92rem, 0.9vw, 1.05rem);
  font-weight: 760;
  letter-spacing: -0.042em;
  line-height: 1.08;
  color: rgba(244, 247, 251, 0.66);
  text-transform: none;
  transition: color 0.28s ease, transform 0.28s ease;
}

.stack-logo-card:hover span:last-child {
  color: rgba(255, 255, 255, 0.94);
  transform: translateY(1px);
}

.brand-python { --brand-halo: rgba(255, 212, 59, 0.28); }
.brand-pytorch { --brand-halo: rgba(238, 76, 44, 0.25); }
.brand-tensorflow { --brand-halo: rgba(255, 111, 0, 0.25); }
.brand-keras { --brand-halo: rgba(210, 0, 0, 0.24); }
.brand-fastapi { --brand-halo: rgba(0, 150, 136, 0.25); }
.brand-docker { --brand-halo: rgba(36, 150, 237, 0.27); }
.brand-postgresql { --brand-halo: rgba(51, 103, 145, 0.28); }
.brand-sqlite { --brand-halo: rgba(0, 105, 160, 0.25); }
.brand-mssql { --brand-halo: rgba(204, 41, 35, 0.24); }
.brand-cpp { --brand-halo: rgba(96, 165, 250, 0.26); }
.brand-airflow { --brand-halo: rgba(1, 119, 194, 0.25); }
.brand-kafka { --brand-halo: rgba(255, 255, 255, 0.16); }
.brand-huggingface { --brand-halo: rgba(255, 214, 102, 0.30); }
.brand-onnx { --brand-halo: rgba(87, 129, 255, 0.27); }
.brand-render { --brand-halo: rgba(255, 255, 255, 0.18); }
.brand-qt { --brand-halo: rgba(34, 197, 94, 0.26); }
.brand-supabase { --brand-halo: rgba(62, 207, 142, 0.28); }
.brand-mlflow { --brand-halo: rgba(0, 166, 255, 0.25); }
.brand-html { --brand-halo: rgba(227, 79, 38, 0.26); }
.brand-css { --brand-halo: rgba(21, 114, 182, 0.26); }
.brand-js { --brand-halo: rgba(247, 223, 30, 0.24); }
.brand-vscode { --brand-halo: rgba(0, 122, 204, 0.27); }
.brand-jupyter { --brand-halo: rgba(242, 132, 32, 0.26); }
.brand-github { --brand-halo: rgba(255, 255, 255, 0.18); }

.brand-onnx i,
.brand-render i,
.brand-qt i,
.brand-supabase i,
.brand-mlflow i {
  color: rgba(238, 242, 247, 0.9);
}

.brand-github span:last-child,
.brand-render span:last-child,
.brand-fastapi span:last-child,
.brand-onnx span:last-child,
.brand-mlflow span:last-child {
  font-weight: 800;
}

.stack-matrix {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stack-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.stack-row span {
  font: 900 0.7rem var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a8adb8;
}

.stack-row strong {
  font-size: 1rem;
  color: #d6dae2;
  line-height: 1.7;
}

.stack-row-separated {
  margin-top: 26px;
  padding-top: 28px;
  border-top: 1px solid rgba(125, 211, 252, 0.14);
}

.focus-hub {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(125, 211, 252, 0.09), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    #050506;
  overflow: hidden;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.focus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 26px 26px 0;
}

.focus-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #cfd3dc;
  border-radius: 999px;
  padding: 11px 16px;
  font: 800 0.72rem var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.focus-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.focus-tab.active {
  background: #f4f4f5;
  border-color: #f4f4f5;
  color: #050505;
}

.focus-panels {
  padding: 24px 26px 26px;
}

.focus-panel {
  display: none;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.focus-panel.active {
  display: grid;
}

.focus-copy,
.focus-visual {
  min-height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.focus-copy {
  padding: 30px;
}

.focus-kicker {
  display: inline-block;
  font: 900 0.66rem var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9aa2b2;
  margin-bottom: 14px;
}

.focus-copy h3 {
  font-size: clamp(1.6rem, 2.1vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
  max-width: 16ch;
}

.focus-copy p {
  color: #aeb0b8;
  font-weight: 600;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.focus-tags span,
.db-note,
.port-card span {
  font: 800 0.64rem var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.focus-tags span {
  color: #d9dde6;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(125, 211, 252, 0.05);
  padding: 6px 10px;
  border-radius: 999px;
}

.focus-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.focus-list li {
  position: relative;
  padding-left: 18px;
  color: #d7d9df;
  font-weight: 500;
}

.focus-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7dd3fc;
  box-shadow: 0 0 0 5px rgba(125, 211, 252, 0.08);
}

.focus-visual {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 76% 18%, rgba(125, 211, 252, 0.09), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    #05070b;
  overflow: hidden;
}

.visual-node,
.port-card,
.mlops-step,
.visual-database-core {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.visual-node {
  min-width: 92px;
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 14px;
}

.visual-node i,
.visual-node .stack-custom-icon,
.mlops-step i,
.visual-database-core i {
  font-size: 1.45rem;
}

.visual-node span,
.mlops-step span,
.port-card strong,
.port-card span,
.visual-database-core strong,
.visual-database-core span {
  display: block;
  text-align: center;
}

.visual-node span,
.mlops-step span,
.visual-database-core span {
  font: 800 0.65rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aeb6c3;
}

.highlight-node {
  background: rgba(125, 211, 252, 0.08);
  border-color: rgba(125, 211, 252, 0.2);
}

.visual-arrow {
  color: #6e7685;
  font-size: 1rem;
}

.api-visual {
  gap: 12px;
  flex-wrap: wrap;
}

.db-visual {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 148px;
  gap: 18px;
  width: 100%;
}

.db-column,
.db-notes {
  display: grid;
  gap: 14px;
  align-content: center;
}

.visual-database-core {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  background: rgba(125, 211, 252, 0.06);
  border-color: rgba(125, 211, 252, 0.18);
}

.visual-database-core strong {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.db-note {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: #d6dae3;
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
}

.cloud-visual {
  display: grid;
  width: 100%;
  gap: 14px;
}

.cloud-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.mid-row {
  min-height: 28px;
}

.mid-row .visual-arrow {
  display: grid;
  place-items: center;
}

.ui-visual {
  display: grid;
  place-items: center;
}

.browser-shell {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.browser-top {
  height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.browser-body {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 248px;
}

.browser-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.browser-main {
  padding: 16px;
}

.browser-card,
.browser-response {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.large-card {
  min-height: 80px;
  margin-bottom: 12px;
}

.browser-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.small-card {
  min-height: 74px;
}

.browser-response {
  min-height: 64px;
  padding: 18px;
  display: grid;
  place-items: center;
  color: #dfe4ed;
  font: 800 0.72rem var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mlops-visual {
  display: flex;
}

.mlops-track {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mlops-step {
  min-width: 94px;
  min-height: 94px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 14px;
}

.portability-visual {
  display: flex;
}

.portability-chain {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.port-card {
  width: 102px;
  min-height: 102px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.port-card strong {
  font: 900 1.15rem var(--font-mono);
  color: #f4f4f5;
}

.port-card span {
  color: #8d95a4;
}

.emphasis-card {
  background: rgba(125, 211, 252, 0.08);
  border-color: rgba(125, 211, 252, 0.22);
}

.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 44px 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-icons {
  display: flex;
  gap: 24px;
}

.footer-icons a {
  font-size: 1.25rem;
  color: #a1a1aa;
  transition: color 0.2s, transform 0.2s;
}

.footer-icons a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.editorial-credits {
  font: 800 0.66rem var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #888c96;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@media (max-width: 1080px) {
  .hero-section {
    grid-template-columns: 1fr;
  }

  .deployment-console {
    max-width: 560px;
  }

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

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

  .focus-panel {
    grid-template-columns: 1fr;
  }

  .db-visual {
    grid-template-columns: 1fr;
  }

  .db-column,
  .db-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .stack-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .row-header {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero-section,
  .section,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-left h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

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

  .signal-strip div {
    width: 50%;
    margin: 0;
    padding-right: 12px;
  }

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

  .flow-step {
    min-height: auto;
  }

  .deployment-console {
    min-height: 560px;
  }

  .pipeline-map {
    height: 320px;
  }

  .node {
    width: 78px;
    height: 78px;
  }

  .node-api { left: 24px; }
  .node-db { right: 24px; }
  .node-cloud { left: 58px; }
  .node-ui { right: 58px; }

  .medical-panel,
  .edu-panel {
    width: 92%;
    height: 236px;
  }

  .edu-chip {
    padding: 7px 10px;
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .edu-app-icon {
    width: min(48%, 160px);
  }

  .edu-ring-one { width: 156px; height: 156px; }
  .edu-ring-two { width: 196px; height: 196px; }

  .app-footer,
  .app-footer-three {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-footer-three .app-action {
    min-height: 52px;
    font-size: 0.86rem;
    padding: 0 20px;
  }

  .app-action {
    width: 100%;
  }

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

  .focus-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .focus-tabs::-webkit-scrollbar {
    display: none;
  }

  .focus-copy,
  .focus-visual {
    min-height: auto;
  }

  .focus-copy {
    padding: 24px;
  }

  .api-visual,
  .portability-chain,
  .mlops-track {
    justify-content: flex-start;
  }

  .cloud-row,
  .db-column,
  .db-notes,
  .browser-card-row {
    grid-template-columns: 1fr;
  }

  .browser-body {
    grid-template-columns: 1fr;
  }

  .browser-sidebar {
    min-height: 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-icons {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile-only refinement: compact header links, shorter tool wall, cleaner process diagrams */
@media (max-width: 760px) {
  .nav {
    height: auto;
    min-height: 108px;
    padding: 12px 18px 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .nav-brand {
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-brand span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.98rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 1px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    position: relative;
    padding: 4px 0 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(244, 244, 245, 0.70);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.15;
    transition: color 0.2s ease;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.95), rgba(129, 140, 248, 0.85));
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: #ffffff;
  }

  .nav-links a:hover::after,
  .nav-links a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-cta {
    display: none;
  }

  .hero-section {
    padding-top: 142px;
  }

  .section,
  .footer {
    scroll-margin-top: 118px;
  }

  /* Keep the tools wall premium, but stop it from becoming a very long phone page. */
  .stack-wall {
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 96px);
    grid-auto-columns: 94px;
    gap: 12px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 8px 24px;
    margin-left: -4px;
    margin-right: -4px;
    margin-bottom: 32px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }

  .stack-wall::-webkit-scrollbar {
    display: none;
  }

  .stack-wall::before {
    inset: 8px 0;
    filter: blur(18px);
  }

  .stack-wall::after {
    display: none;
  }

  .stack-logo-card {
    min-height: 96px;
    gap: 8px;
    scroll-snap-align: start;
  }

  .stack-logo-card::before {
    width: 58px;
    height: 58px;
    top: 4px;
    filter: blur(12px);
  }

  .stack-logo-card::after {
    width: 44px;
    height: 44px;
    top: 10px;
  }

  .stack-logo-card i,
  .stack-custom-icon {
    font-size: 2.05rem;
  }

  .stack-logo-card span:last-child {
    max-width: 90px;
    font-size: 0.78rem;
    line-height: 1.05;
    text-align: center;
  }

  /* Make every focus diagram readable on a narrow screen. */
  .focus-hub {
    border-radius: 26px;
  }

  .focus-tabs {
    padding: 18px 18px 0;
  }

  .focus-panels {
    padding: 18px;
  }

  .focus-panel {
    gap: 18px;
  }

  .focus-copy,
  .focus-visual {
    border-radius: 22px;
  }

  .focus-visual {
    width: 100%;
    padding: 18px;
    align-items: stretch;
    justify-content: center;
  }

  .visual-node,
  .mlops-step,
  .port-card {
    min-width: 0;
    width: 100%;
    min-height: 74px;
    border-radius: 18px;
    padding: 12px;
  }

  .visual-node i,
  .visual-node .stack-custom-icon,
  .mlops-step i,
  .visual-database-core i {
    font-size: 1.22rem;
  }

  .visual-node span,
  .mlops-step span,
  .visual-database-core span,
  .port-card span {
    font-size: 0.57rem;
    letter-spacing: 0.10em;
  }

  .api-visual,
  .mlops-track,
  .portability-chain {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 9px;
  }

  .api-visual .visual-arrow,
  .mlops-track .visual-arrow,
  .portability-chain > i {
    width: 100%;
    height: 18px;
    display: grid;
    place-items: center;
    color: #8a92a0;
  }

  .api-visual .visual-arrow i,
  .mlops-track .visual-arrow i,
  .portability-chain > i {
    transform: rotate(90deg);
  }

  .port-card strong {
    font-size: 1rem;
  }

  .db-visual {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .db-column,
  .db-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px;
  }

  .visual-database-core {
    min-height: 130px;
    border-radius: 20px;
  }

  .visual-database-core strong {
    font-size: 1.05rem;
  }

  .db-note {
    border-radius: 16px;
    padding: 9px 7px;
    font-size: 0.53rem;
    line-height: 1.35;
  }

  .cloud-visual {
    gap: 10px;
  }

  .cloud-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px;
  }

  .mid-row {
    min-height: 20px;
  }

  .cloud-row .visual-node {
    min-height: 82px;
  }
}

@media (max-width: 430px) {
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-links {
    gap: 11px;
  }

  .nav-links a {
    font-size: 0.72rem;
    padding: 4px 0 7px;
  }

  .hero-section {
    padding-top: 138px;
  }

  .stack-wall {
    grid-template-rows: repeat(2, 90px);
    grid-auto-columns: 88px;
    gap: 10px 12px;
  }

  .stack-logo-card {
    min-height: 90px;
  }

  .stack-logo-card i,
  .stack-custom-icon {
    font-size: 1.9rem;
  }

  .stack-logo-card span:last-child {
    font-size: 0.72rem;
  }

  .focus-panels,
  .focus-visual {
    padding: 14px;
  }

  .db-column,
  .db-notes,
  .cloud-row {
    gap: 7px;
  }
}
