:root {
  color-scheme: light;
  --bg-cream: #f8f4ee;
  --bg-sky: #e7f1ff;
  --bg-peach: #ffe9de;
  --ink: #1c2a3a;
  --ink-soft: #5a6b7d;
  --accent: #4aa8ff;
  --accent-strong: #2f7fe6;
  --accent-warm: #ff9f7a;
  --card: rgba(255, 255, 255, 0.92);
  --card-border: rgba(74, 168, 255, 0.2);
  --pill: rgba(74, 168, 255, 0.12);
  --shadow-sm: 0 12px 24px rgba(41, 72, 120, 0.12);
  --shadow-md: 0 20px 46px rgba(41, 72, 120, 0.16);
  --shadow: var(--shadow-md);
  --max: 1400px;
  --radius: 22px;
  --app-reveal-progress: 0;
  --app-reveal-radius: 0px;
  --app-reveal-x: 50%;
  --app-reveal-y: 72%;
}

@property --core-value-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  margin: 0;
  font-family: "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(74, 168, 255, 0.22), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 159, 122, 0.25), transparent 50%),
    linear-gradient(135deg, var(--bg-cream), var(--bg-sky));
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
}

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

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

.page {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  isolation: isolate;
}

.hero-scene {
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.hero-scene.is-frozen {
  position: fixed;
  top: var(--scene-freeze-top, 0px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 0;
}

.freeze-spacer {
  display: none;
}

.freeze-spacer.is-active {
  display: block;
}

.top {
  position: relative;
  min-height: 150vh;
  z-index: 1;
  isolation: isolate;
  color: #eaf2ff;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(28, 66, 170, 0.07) 0%, rgba(28, 66, 170, 0.04) 22%, transparent 44%),
    linear-gradient(
      180deg,
      rgba(1, 2, 10, 1) 0%,
      rgba(2, 4, 14, 1) 22%,
      rgba(4, 7, 20, 0.99) 44%,
      rgba(6, 11, 28, 0.95) 68%,
      rgba(8, 15, 34, 0.56) 86%,
      rgba(8, 15, 34, 0) 100%
    );
  -webkit-mask-image: radial-gradient(ellipse 94% 34% at 50% 100%, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.15) 54%, rgba(0, 0, 0, 0.82) 66%, #000 74%);
  mask-image: radial-gradient(ellipse 94% 34% at 50% 100%, transparent 0%, transparent 44%, rgba(0, 0, 0, 0.15) 54%, rgba(0, 0, 0, 0.82) 66%, #000 74%);
  overflow: hidden;
}

.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at -10% 46%, rgba(112, 166, 255, 0.12) 0%, rgba(112, 166, 255, 0.08) 10%, rgba(78, 120, 232, 0.04) 18%, transparent 30%),
    radial-gradient(circle at 110% 46%, rgba(112, 166, 255, 0.12) 0%, rgba(112, 166, 255, 0.08) 10%, rgba(78, 120, 232, 0.04) 18%, transparent 30%),
    radial-gradient(circle at -8% 72%, rgba(118, 170, 255, 0.86) 0%, rgba(74, 112, 228, 0.44) 16%, rgba(26, 44, 132, 0.08) 32%, transparent 52%),
    radial-gradient(circle at 108% 72%, rgba(118, 170, 255, 0.84) 0%, rgba(72, 110, 228, 0.42) 16%, rgba(26, 44, 132, 0.08) 32%, transparent 52%),
    radial-gradient(ellipse at 50% 12%, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.76) 22%, rgba(0, 0, 0, 0.52) 46%, rgba(0, 0, 0, 0.24) 68%, rgba(0, 0, 0, 0.08) 82%, transparent 96%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.34) 24%, rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.05) 74%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.9;
}

.top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 30% at 50% 92%, rgba(164, 206, 255, 0.16) 0%, rgba(130, 176, 248, 0.1) 18%, rgba(92, 136, 228, 0.05) 32%, rgba(60, 98, 206, 0.02) 44%, transparent 56%),
    radial-gradient(ellipse 72% 18% at 50% 88%, rgba(214, 232, 255, 0.08) 0%, rgba(150, 190, 252, 0.05) 24%, rgba(90, 130, 226, 0.02) 40%, transparent 54%),
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.016), transparent 22%),
    radial-gradient(ellipse at 50% 100%, rgba(70, 108, 224, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(6, 12, 28, 0) 60%, rgba(6, 12, 28, 0.1) 72%, rgba(6, 12, 28, 0.02) 84%, rgba(6, 12, 28, 0) 94%);
  opacity: 0.62;
}

.top-curve {
  display: none;
}

.top > * {
  position: relative;
  z-index: 1;
}

.top-divider {
  display: none;
}

.top-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.top-divider path {
  fill: rgba(255, 255, 255, 0.98);
}

.hero-underlay {
  position: relative;
  margin-top: -132vh;
  padding: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-underlay::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 10vh;
  background: linear-gradient(180deg, rgba(10, 18, 40, 0.28), rgba(10, 18, 40, 0));
  pointer-events: none;
  z-index: 3;
}

.hero-underlay-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-underlay-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(18vh, 220px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6, 10, 24, 0.48) 0%, rgba(6, 10, 24, 0.24) 34%, rgba(8, 14, 32, 0.08) 62%, transparent 100%),
    linear-gradient(180deg, rgba(7, 12, 28, 0.34), rgba(7, 12, 28, 0));
  z-index: 2;
}

.hero-underlay-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transform: translateY(0) scale(1.04);
  transform-origin: center top;
  filter: saturate(1.02);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 8%, rgba(0, 0, 0, 0.52) 16%, rgba(0, 0, 0, 0.82) 24%, #000 32%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.16) 8%, rgba(0, 0, 0, 0.52) 16%, rgba(0, 0, 0, 0.82) 24%, #000 32%, #000 100%);
}

.hero-underlay-copy,
.hero-floating-copy {
  position: absolute;
  top: clamp(80vh, 86vw, 106vh);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  isolation: isolate;
  width: min(760px, calc(100% - 48px));
  text-align: center;
  pointer-events: none;
}

.hero-floating-copy {
  position: absolute;
  width: min(760px, calc(100% - 48px));
}

.hero-floating-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(640px, 92%);
  height: clamp(120px, 16vw, 180px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(6, 10, 24, 0.72) 0%, rgba(6, 10, 24, 0.42) 42%, rgba(6, 10, 24, 0.12) 70%, transparent 100%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}

.hero-underlay-eyebrow {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.55rem, 1.35rem + 1.55vw, 2.75rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 28px rgba(4, 10, 24, 0.78);
}

.hero-underlay-title {
  margin: 0;
  font-size: clamp(2.35rem, 2rem + 2.4vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #61b6ff 0%, #8d72ff 48%, #ff9b54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 30px rgba(4, 10, 24, 0.82));
}

.stack-section {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  margin-top: 0;
  overflow: clip;
  box-shadow: 0 -24px 60px rgba(4, 10, 24, 0.22);
}

.stack-flow.is-stacking .stack-section {
  position: sticky;
  top: 0;
}

.stack-flow {
  position: relative;
}

.footer {
  position: relative;
  z-index: 4;
}

.stack-flow > .stack-section {
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.stack-flow > .stack-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(160px, 28vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 4;
}

.stack-flow > .pillars-section::after {
  content: none;
}

.stack-flow > #how.section,
.stack-flow > #showcase.section,
.stack-flow > #download.cta {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.pain-section {
  padding: 32px 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.16), transparent 10%),
    url("resources/starlight.webp"),
    linear-gradient(180deg, #f8f8ff 0%, #f5f2ff 44%, #efe9ff 100%);
  background-position: center, center bottom, center;
  background-size: auto, 100% auto, auto;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: #eef4ff;
  position: relative;
  z-index: 2;
}

.pain-section-inner {
  position: relative;
  max-width: 980px;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
}

.pain-section-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transform: translateY(128px);
}

.pillars-section {
  margin-top: 0;
  padding: 40px 0 48px;
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 18%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 20% 18%, rgba(97, 182, 255, 0.08), transparent 34%),
    radial-gradient(circle at 80% 82%, rgba(141, 114, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 28%, #eef5ff 56%, #e8f1ff 100%);
  color: #16243a;
}

.pillars-section-inner {
  min-height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.stack-flow > .pillars-section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
}

.stack-flow > .pain-section {
  box-shadow: none;
}

.pillars-heading {
  margin: 0 auto;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.pillar-item {
  min-height: 320px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  text-align: center;
}

.pillar-icon,
.pillar-item h3,
.pillar-item p,
.pillars-heading .eyebrow {
  position: relative;
  z-index: 1;
}

.pillar-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(180deg, rgba(98, 145, 224, 0), rgba(98, 145, 224, 0.52), rgba(98, 145, 224, 0));
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.14), rgba(141, 114, 255, 0.12));
  color: #3f83ea;
  box-shadow: inset 0 0 0 1px rgba(88, 166, 255, 0.12);
}

.pillar-icon svg {
  width: 30px;
  height: 30px;
}

.pillar-item h3 {
  margin: 8px 0 0;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.75rem);
  line-height: 1.1;
  color: #10233f;
  text-align: center;
}

.pillar-subline {
  display: inline-block;
  font-size: 0.74em;
  line-height: 1.18;
  font-weight: 600;
  margin-top: 0.18em;
}

.pillar-item p {
  margin: 0;
  color: #4a5e78;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28ch;
  text-align: center;
}

.pillar-item .pillar-lead {
  color: #10233f;
  font-size: 1.08rem;
  font-weight: 700;
}

.pillars-heading .eyebrow {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  font-family: "ABC Diatype", "Diatype", "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  padding: 8px 18px;
  border: 1px solid rgba(72, 106, 168, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.9));
  letter-spacing: 0.16em;
  color: #10233f;
  position: relative;
  isolation: isolate;
}

.pillars-heading .eyebrow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--core-value-angle, 0deg),
    #61b6ff 0deg,
    #8d72ff 120deg,
    #ff9b54 240deg,
    #61b6ff 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation-name: core-value-edge-travel;
  animation-duration: 2.8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  z-index: -1;
}

@keyframes core-value-edge-travel {
  from {
    --core-value-angle: 0deg;
  }

  to {
    --core-value-angle: 360deg;
  }
}

.app-reveal-section {
  position: relative;
  z-index: 5;
  height: 220svh;
  min-height: 220svh;
  margin-top: -100svh;
  padding: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  overflow: visible;
}

.app-reveal-track {
  position: relative;
  min-height: 220svh;
}

.app-reveal-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.app-reveal-sticky::after {
  content: "";
  position: absolute;
  left: var(--app-reveal-x);
  top: var(--app-reveal-y);
  width: calc(var(--app-reveal-radius) * 2);
  height: calc(var(--app-reveal-radius) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.94);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 72%, rgba(255, 255, 255, 0) 100%);
  box-shadow:
    0 0 30px rgba(97, 182, 255, 0.28),
    inset 0 0 28px rgba(255, 255, 255, 0.16);
  opacity: clamp(0, calc(var(--app-reveal-progress) * 10), 0.96);
  pointer-events: none;
}

.app-reveal-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.44), transparent 18%),
    radial-gradient(circle at 18% 84%, rgba(97, 182, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 80%, rgba(141, 114, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #edf5ff 48%, #e6f0ff 100%);
  clip-path: circle(var(--app-reveal-radius) at var(--app-reveal-x) var(--app-reveal-y));
  -webkit-clip-path: circle(var(--app-reveal-radius) at var(--app-reveal-x) var(--app-reveal-y));
  will-change: clip-path, -webkit-clip-path, transform;
  pointer-events: auto;
  isolation: isolate;
  contain: layout paint;
  backface-visibility: hidden;
}

.app-reveal-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.44), transparent 18%),
    radial-gradient(circle at 18% 84%, rgba(97, 182, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 80%, rgba(141, 114, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.58) 0%, rgba(237, 245, 255, 0.52) 48%, rgba(230, 240, 255, 0.5) 100%),
    radial-gradient(circle at var(--app-reveal-x) var(--app-reveal-y), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 52%);
  opacity: calc(0.9 - (var(--app-reveal-progress) * 0.35));
  pointer-events: none;
  z-index: 0;
}

.app-reveal-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.app-reveal-copy {
  width: min(620px, calc(100% + 260px));
  max-width: none;
  justify-self: center;
  align-self: start;
  grid-column: 1;
  margin-top: clamp(38px, 7.5vh, 80px);
  position: relative;
  z-index: 3;
  color: #122544;
  text-align: center;
  opacity: clamp(0, calc(var(--app-reveal-progress) * 2.2), 1);
  transform: none;
}

.app-reveal-copy h2 {
  margin: 0;
  width: min(100%, 20ch);
  max-width: none;
  margin-inline: auto;
  font-size: clamp(0.9rem, 0.82rem + 0.35vw, 1.18rem);
  line-height: 1.08;
  padding-bottom: 0.14em;
  font-weight: 600;
  font-family: "ABC Diatype", "Diatype", "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  letter-spacing: -0.035em;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  background: linear-gradient(90deg, #61b6ff 0%, #8d72ff 48%, #ff9b54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: none;
  filter: none;
  text-wrap: balance;
}

.app-reveal-note {
  max-width: 360px;
  justify-self: start;
  align-self: end;
  grid-column: 3;
  margin-bottom: clamp(18px, 3vh, 42px);
  position: relative;
  z-index: 3;
  text-align: left;
  color: #122544;
  opacity: clamp(0, calc(var(--app-reveal-progress) * 2.2), 1);
  transform: none;
}

.app-reveal-share-image {
  display: block;
  width: min(300px, 100%);
  height: auto;
  margin: 0 0 18px -28px;
}

.app-reveal-note p {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  line-height: 1.7;
  color: rgba(18, 37, 68, 0.78);
  max-width: 34ch;
}

.app-reveal-media {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: center;
  width: min(700px, 68vw);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(calc((1 - var(--app-reveal-progress)) * 42px)) scale(calc(0.92 + (var(--app-reveal-progress) * 0.08)));
  opacity: clamp(0, calc(var(--app-reveal-progress) * 2.4), 1);
  transition: none;
}

.app-reveal-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 54px rgba(35, 68, 128, 0.14));
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
}

.pain-card {
  min-height: 500px;
  padding: 34px 30px 30px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.72), rgba(8, 14, 28, 0.58));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px) saturate(118%);
  -webkit-backdrop-filter: blur(8px) saturate(118%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
  font-family: "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
}

.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(32, 94, 210, 0.14) 0%, rgba(16, 42, 102, 0.08) 26%, transparent 62%),
    radial-gradient(circle at 50% 50%, transparent 34%, rgba(2, 6, 14, 0.18) 72%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.pain-card::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: -24%;
  height: 54%;
  border-radius: 0 0 42% 42%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 132, 211, 0.48) 0%, rgba(220, 91, 255, 0.42) 22%, rgba(129, 74, 255, 0.28) 48%, rgba(73, 114, 255, 0.12) 68%, rgba(0, 0, 0, 0) 84%),
    linear-gradient(90deg, rgba(255, 196, 135, 0.22) 0%, rgba(255, 196, 135, 0.08) 12%, rgba(255, 196, 135, 0) 28%, rgba(255, 255, 255, 0) 100%);
  filter: blur(10px);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 460ms ease, transform 460ms ease, filter 460ms ease;
  pointer-events: none;
  z-index: 1;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 196, 255, 0.24);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.3);
}

.pain-card:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(16px);
}

.pain-card-tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(80, 136, 255, 0.2);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pain-card-tag::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #78b9ff;
  box-shadow: 0 0 0 3px rgba(120, 185, 255, 0.16);
}

.pain-card p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 1.3rem + 0.45vw, 1.75rem);
  line-height: 1.12;
  font-weight: 600;
  font-family: "ABC Diatype", "Diatype", "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.012em;
  max-width: 11ch;
  text-shadow: none;
  position: relative;
  z-index: 3;
  transform: translateY(150px);
}

.pain-card-reveal {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transform: translateY(144px);
  transition: transform 480ms ease;
  z-index: 3;
}

.pain-card-orb {
  position: relative;
  left: 50%;
  bottom: auto;
  width: clamp(280px, 114%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, 45%);
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 42px rgba(0, 0, 0, 0.34);
  transition: transform 480ms ease, box-shadow 480ms ease;
}

.pain-card-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.08) 68%, rgba(0, 0, 0, 0.18) 100%);
  z-index: 1;
  pointer-events: none;
}

.pain-card-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateY(0) scale(1.06);
  transition: transform 480ms ease;
}

.pain-card:hover .pain-card-orb {
  transform: translate(-50%, 42%) scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 28px 52px rgba(0, 0, 0, 0.4);
}

.pain-card:hover .pain-card-orb img {
  transform: translateY(-80px) scale(1.06);
}

.pain-card:hover .pain-card-reveal {
  transform: translateY(100px);
}

.pain-card:hover .pain-card-reveal {
  transform: translateY(-18px);
}

.page > header,
.page > section,
.page > footer {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.nav {
  width: 100%;
  padding: 0 0 24px;
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.top .nav {
  padding: 14px 0 12px;
}

.nav-hero {
  padding: 0 0 12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 38px rgba(30, 52, 92, 0.12);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    rgba(97, 182, 255, 0.88) 0%,
    rgba(141, 114, 255, 0.8) 50%,
    rgba(255, 155, 84, 0.9) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(0.15px);
  box-shadow: inset 0 0 14px rgba(103, 167, 255, 0.26);
  opacity: 0.96;
  pointer-events: none;
  z-index: -1;
}

.nav-inner::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  right: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.22) 50%, transparent 66%);
  opacity: 0;
  transform: translateX(-78%);
  animation: nav-border-sheen 5.6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
  line-height: 1.1;
  color: #ffffff;
  transition: color 220ms ease;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  overflow: visible;
}

.logo-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 0;
}

.top .logo-mark img {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}

.nav-hero .logo-mark img {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 auto;
  transition: color 220ms ease;
}

.top .nav-links {
  color: rgba(234, 242, 255, 0.82);
}

.nav-hero .nav-links {
  color: rgba(234, 242, 255, 0.82);
}

.nav-hero.nav-theme-pain .nav-links,
.nav-hero.nav-theme-core .nav-links {
  color: #16243a;
}

.nav-hero.nav-theme-core .logo {
  color: #16243a;
}

.nav-hero.nav-theme-pain .logo {
  color: rgba(234, 242, 255, 0.82);
}

.nav-hero.nav-theme-hero .logo,
.nav-hero.nav-theme-hero .nav-links,
.nav-hero.nav-theme-how .logo,
.nav-hero.nav-theme-how .nav-links {
  color: rgba(234, 242, 255, 0.82);
}

.top .nav-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 8, 32, 0.28);
}

.nav-hero .nav-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 8, 32, 0.28);
}

@keyframes nav-border-sheen {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: translateX(-78%);
  }

  28%,
  56% {
    opacity: 0.42;
  }

  62% {
    opacity: 0;
    transform: translateX(78%);
  }
}

.nav-links a {
  color: inherit;
  padding: 7px 6px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover {
  background: rgba(74, 168, 255, 0.12);
  color: var(--ink);
}

.nav-drawer-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  flex-direction: column;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-hero.nav-theme-core .nav-drawer-toggle {
  color: #16243a;
  background: rgba(22, 36, 58, 0.06);
}

.nav-hero.nav-theme-pain .nav-drawer-toggle,
.nav-hero.nav-theme-hero .nav-drawer-toggle,
.nav-hero.nav-theme-how .nav-drawer-toggle {
  color: rgba(234, 242, 255, 0.92);
}

.nav-drawer-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-drawer {
  display: none;
}

.nav-hero.nav-drawer-open .nav-drawer-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-hero.nav-drawer-open .nav-drawer-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-hero.nav-drawer-open .nav-drawer-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.top .nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 255, 0.98);
}

.nav-hero .nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 255, 0.98);
}

.nav-hero.nav-theme-pain .nav-links a:hover,
.nav-hero.nav-theme-core .nav-links a:hover {
  background: rgba(74, 168, 255, 0.12);
  color: #16243a;
}

.nav-cta {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 12px 22px rgba(70, 130, 200, 0.25);
}

.top .nav-cta {
  box-shadow: 0 18px 40px rgba(0, 110, 255, 0.25);
}

.nav-hero .nav-cta {
  box-shadow: 0 18px 40px rgba(0, 110, 255, 0.25);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: flex-start;
  padding: 64px 0 48px;
  min-height: 92vh;
}

.top .hero-inner {
  padding: 124px 0 260px;
  min-height: calc(120vh - 88px);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw + 1.2rem, 4.1rem);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 36px;
}

.hero-copy p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 40rem;
  line-height: 1.65;
}

.top .hero-copy p {
  color: rgba(234, 242, 255, 0.76);
}

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

.badge-row {
  justify-content: center;
  margin-top: 10px;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
  isolation: auto;
}

.badge-link::before {
  content: none;
}

.badge-link:hover {
  opacity: 0.96;
}

.badge-link:focus-visible {
  outline: 2px solid rgba(120, 200, 255, 0.8);
  outline-offset: 3px;
}

.badge-link img {
  height: 48px;
  width: auto;
  border-radius: 0;
}

.play-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  border-radius: 8px;
}

.play-badge img {
  display: block;
  height: 42px;
  width: auto;
}

.play-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn {
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--card-border);
  color: var(--ink);
  line-height: 1.6;
}

.btn.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(74, 168, 255, 0.25);
  box-shadow: var(--shadow-sm);
}

.btn.secondary:hover {
  border-color: rgba(74, 168, 255, 0.45);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-link:hover {
  background: rgba(74, 168, 255, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-link:focus-visible {
  outline: 2px solid rgba(74, 168, 255, 0.75);
  outline-offset: 2px;
}

.top .btn-link {
  color: rgba(234, 242, 255, 0.86);
}

.top .btn-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 242, 255, 0.98);
}

.top .btn.ghost {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  color: #071a35;
  box-shadow: 0 16px 40px rgba(3, 10, 25, 0.35);
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(560px, 100%);
  height: 460px;
}

.hero-media .mock {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 20, 44, 0.55);
  backdrop-filter: blur(10px);
}

.hero-media .mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.hero-media.single {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.hero-media.single .mock {
  position: relative;
  width: min(680px, 100%);
  height: auto;
  transform: translateX(16px);
  right: auto;
  top: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-media.single .mock img {
  height: auto;
  width: 100%;
  aspect-ratio: auto;
  border: none;
  outline: none;
}

.droplet-mockup {
  position: relative;
}

.droplet-mockup-video-shell {
  position: absolute;
  left: 49.3%;
  top: 15.8%;
  width: 48.3%;
  height: 80.1%;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: url("resources/sample/container-crop.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("resources/sample/container-crop.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.droplet-mockup-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate(-24.8%, 0) skewX(20.58deg) scale(1.12);
  transform-origin: center center;
}

.droplet-mockup-frame {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.hero-phone-image {
  width: min(520px, 100%);
  height: auto;
  display: block;
  margin: 8px auto 0;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(0, 8, 28, 0.42));
}

.hero-media .mock-a {
  width: 290px;
  height: 430px;
  right: 255px;
  top: 40px;
  transform: rotate(-12deg);
  opacity: 0.92;
}

.hero-media .mock-b {
  width: 310px;
  height: 460px;
  right: 120px;
  top: 10px;
  transform: rotate(-2deg);
  opacity: 0.97;
}

.hero-media .mock-c {
  width: 330px;
  height: 490px;
  right: 0;
  top: 38px;
  transform: rotate(8deg);
}

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

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

  .spotlight-media {
    justify-content: center;
  }

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

  .hero-media {
    height: 520px;
    justify-self: start;
  }

  .hero-media.single {
    height: auto;
  }

  .hero-media .mock-a {
    right: 52%;
  }

  .hero-media .mock-b {
    right: 26%;
  }

  .hero-media .mock-c {
    right: 0;
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--ink-soft);
  font-size: 12.5px;
}

.top .pill {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(234, 242, 255, 0.78);
}

.trust-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 14px 0 6px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.6);
  font-weight: 700;
}

.trust-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(234, 242, 255, 0.78);
  font-size: 12.5px;
}

.section {
  margin-top: 72px;
}

.stack-flow > .section {
  margin-top: 0;
}

.section.app-reveal-section {
  margin-top: -100svh;
}

.pain-section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: min(760px, 100%);
  margin-top: 10px;
}

.pain-section-cta .hero-underlay-title {
  margin: 0;
  font-size: clamp(1.95rem, 1.7rem + 1.6vw, 3.2rem);
  line-height: 1;
  font-weight: 600;
  font-family: "ABC Diatype", "Diatype", "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  letter-spacing: -0.035em;
  max-width: 22ch;
  position: relative;
  z-index: 1;
  -webkit-text-stroke: 0 transparent;
  text-shadow: none;
  background: linear-gradient(90deg, #61b6ff 0%, #8d72ff 48%, #ff9b54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-transform: none;
  filter: none;
}

.pain-section-cta img {
  width: clamp(156px, 15vw, 220px);
  height: auto;
  display: block;
  transform: translateY(-18px);
}

.fade-section {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.pain-cards .fade-section:nth-child(1),
.pillars-grid .fade-section:nth-child(1),
.how-strip .fade-section:nth-child(1) {
  --reveal-delay: 0ms;
}

.pain-cards .fade-section:nth-child(2),
.pillars-grid .fade-section:nth-child(2),
.how-strip .fade-section:nth-child(2) {
  --reveal-delay: 110ms;
}

.pain-cards .fade-section:nth-child(3),
.pillars-grid .fade-section:nth-child(3),
.how-strip .fade-section:nth-child(3) {
  --reveal-delay: 220ms;
}

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

  .app-reveal-media {
    width: min(520px, 82vw);
    transform: none;
  }
}

#workflow.section {
  margin-top: 96px;
}

#features.section {
  position: relative;
  margin-top: 0;
}

#showcase.section {
  background: linear-gradient(180deg, #040404, #0a0a0a 55%, #040404);
  color: #eef4ff;
  padding: 56px 0;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#showcase.section h2 {
  color: #f5f7ff;
}

#showcase.section p {
  color: rgba(234, 242, 255, 0.82);
}

#how.section {
  background: radial-gradient(circle at 20% 0%, rgba(76, 150, 255, 0.28), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(120, 200, 255, 0.2), transparent 50%),
    linear-gradient(135deg, #070c1c, #0b1e3d 55%, #102b55);
  color: #eaf2ff;
  margin-top: 0;
  padding: 56px 0;
  border-top: none;
  border-bottom: 1px solid rgba(74, 168, 255, 0.18);
  position: relative;
  overflow: hidden;
  clip-path: none;
}

#how.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(120, 200, 255, 0.12), transparent 45%),
    radial-gradient(circle at 70% 85%, rgba(120, 200, 255, 0.08), transparent 40%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 120px
    );
  opacity: 0.7;
  pointer-events: none;
}

#how.section::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 200, 255, 0.25), rgba(120, 200, 255, 0) 65%);
  filter: blur(2px);
  opacity: 0.85;
  pointer-events: none;
}

#how.section > .container {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#how.section h2 {
  color: #f4f7ff;
  text-align: center;
  margin-bottom: 8px;
}

#how.section p {
  color: rgba(234, 242, 255, 0.82);
  text-align: center;
  margin-top: 0;
}

#how.section .how-item h3 {
  color: #f5f8ff;
}

#how.section .how-item p {
  color: rgba(225, 236, 255, 0.84);
  text-align: left;
}

.section h2 {
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.5rem);
  margin-bottom: 16px;
}

.section p {
  color: var(--ink-soft);
}

.pain-section .pain-card p {
  color: #ffffff;
}

.section.alt {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(74, 168, 255, 0.12);
  border-bottom: 1px solid rgba(74, 168, 255, 0.12);
  padding: 32px 0;
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.spotlight-copy h2 {
  margin-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74, 168, 255, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 6px 12px rgba(47, 127, 230, 0.25);
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 22px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.spotlight-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.phone-mock {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(30, 65, 120, 0.22);
  border: 1px solid rgba(74, 168, 255, 0.25);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.phone-mock img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.spotlight-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(30, 65, 120, 0.18);
}

.spotlight-panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

.panel-row strong {
  color: var(--ink);
  font-weight: 600;
}

.feature-problems {
  text-align: center;
}

.feature-problems h2 {
  max-width: 760px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 244, 255, 0.92));
  border: 1px solid rgba(74, 168, 255, 0.18);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  min-height: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 168, 255, 0.35);
  box-shadow: var(--shadow-md);
}

.feature-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(74, 168, 255, 0.2), rgba(74, 168, 255, 0.1));
  color: #2f7fe6;
  font-size: 20px;
}

.feature-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feature-transition {
  margin: 24px auto 0;
  max-width: 680px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.showcase img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
  justify-content: end;
  justify-self: end;
  max-width: 460px;
}

.before-after figure {
  margin: 0;
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(74, 168, 255, 0.2);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.before-after img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: none;
}

.before-after figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-strip {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  position: relative;
}

.how-step-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.how-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(121, 194, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 18px;
  box-shadow:
    0 24px 46px rgba(2, 10, 28, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.how-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(164, 222, 255, 0.28), transparent 42%),
    radial-gradient(circle at 100% 16%, rgba(130, 184, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0) 70%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.how-item::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 50% 115%, rgba(87, 161, 255, 0.16), rgba(87, 161, 255, 0) 42%);
  pointer-events: none;
  z-index: 0;
}

.how-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 28px 52px rgba(2, 10, 28, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.how-media {
  width: 100%;
  aspect-ratio: 720 / 623;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(116, 193, 255, 0.16), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 28px rgba(5, 16, 40, 0.2);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.how-step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 28, 68, 0.96), rgba(7, 18, 44, 0.9));
  border: 1px solid rgba(132, 174, 255, 0.18);
  box-shadow:
    0 10px 22px rgba(5, 18, 54, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  position: relative;
  z-index: 1;
  font-family: "Outfit", "Microsoft Tai Le", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  transform: translateY(14px);
}

.how-step-label span {
  background: linear-gradient(90deg, #61b6ff 0%, #8d72ff 50%, #ff9b54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.how-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.how-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
  color: inherit;
}

.how-item p {
  margin: 0;
  color: var(--ink-soft);
  width: 100%;
  text-align: left;
  align-self: stretch;
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(74, 168, 255, 0.18);
}


.cta {
  margin-top: 0;
  padding: 32px;
  background: linear-gradient(180deg, #050505, #0c0c0c 55%, #050505);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  box-shadow: var(--shadow);
}

#download.cta {
  padding-top: 32px;
}

#showcase.section > .container,
#download.cta > .container {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: none;
  transform: translateY(-20px);
}

.cta-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta h2 {
  margin-top: 0;
  color: #f7f7f7;
}

.cta p {
  color: rgba(245, 245, 245, 0.75);
}

.cta-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-bottom: 24px;
}

.cta-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.cta-note {
  font-size: 13px;
  color: rgba(245, 245, 245, 0.6);
}

.qr-card {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(74, 168, 255, 0.25);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  justify-self: center;
  margin-inline: auto;
}

.qr-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.footer {
  margin: 0;
  padding: 34px 0 40px;
  color: rgba(245, 245, 245, 0.7);
  background: #050505;
  font-size: 13px;
  text-align: left;
}

.footer .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.footer-card {
  background: linear-gradient(180deg, #0a0a0a, #050505 60%, #040404);
  border-radius: 0;
  padding: 28px 40px 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) minmax(160px, 0.8fr) minmax(140px, 0.6fr);
  gap: 28px;
  align-items: start;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand p {
  margin: 6px 0 0;
  color: rgba(245, 245, 245, 0.55);
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.footer-company-link {
  display: inline-block;
  width: fit-content;
}

.footer-company-logo {
  width: 140px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.footer-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 245, 245, 0.45);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-email {
  color: #7cc6ff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.email-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 245, 245, 0.8);
  background: transparent;
}

.email-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}


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

.footer-links a {
  color: rgba(245, 245, 245, 0.75);
  transition: color 160ms ease;
}

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

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 22px 0 14px;
}

.footer-bottom {
  color: rgba(245, 245, 245, 0.45);
}

.legal h1 {
  font-size: clamp(2rem, 2vw + 1.2rem, 2.6rem);
  margin: 0 0 12px;
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.2rem;
}

.legal p {
  max-width: 720px;
}

.legal-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.section.legal {
  margin-top: 0;
  padding: 28px 0 72px;
}

.legal .container {
  max-width: 860px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 168, 255, 0.14);
  border-radius: 28px;
  padding-top: 36px;
  padding-bottom: 42px;
  box-shadow: 0 18px 40px rgba(41, 72, 120, 0.1);
}

.legal .logo {
  margin-bottom: 4px;
}

.legal ul.bullet-list {
  max-width: 720px;
}

.legal a {
  color: var(--accent-strong);
}

.legal a:hover {
  color: var(--accent);
}

.legal-actions {
  margin-top: 26px;
}

.delete-request-card {
  max-width: 720px;
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
  border: 1px solid rgba(74, 168, 255, 0.18);
  box-shadow: 0 18px 34px rgba(41, 72, 120, 0.1);
}

.delete-request-form {
  display: grid;
  gap: 12px;
}

.field-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: #132846;
}

.field-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(74, 168, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-input:focus {
  outline: none;
  border-color: rgba(47, 127, 230, 0.7);
  box-shadow: 0 0 0 4px rgba(74, 168, 255, 0.14);
}

.field-help {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.delete-request-button {
  justify-self: end;
  margin-top: 4px;
  background: linear-gradient(180deg, #4aa8ff, #2f7fe6) !important;
  color: #ffffff !important;
  border-color: rgba(47, 127, 230, 0.8) !important;
  box-shadow: 0 16px 28px rgba(47, 127, 230, 0.22);
}

.delete-request-button:hover {
  background: linear-gradient(180deg, #5ab2ff, #327fe0) !important;
  color: #ffffff !important;
  border-color: rgba(47, 127, 230, 0.92) !important;
}

@media (min-width: 721px) and (max-height: 860px) {
  .pain-section {
    padding: 24px 0;
  }

  .pain-section-inner {
    min-height: calc(100svh - 48px);
  }

  .pain-section-content {
    gap: 20px;
    transform: translateY(clamp(36px, 5vh, 72px));
  }

  .pain-card {
    min-height: 430px;
    padding: 28px 24px 24px;
  }

  .pain-card p {
    transform: translateY(120px);
  }

  .pain-card-reveal {
    transform: translateY(118px);
  }

  .pain-card-orb {
    width: clamp(240px, 100%, 360px);
  }

  .pain-section-cta img {
    width: clamp(132px, 12vw, 180px);
    transform: translateY(-10px);
  }
}

@media (max-width: 720px) {
  .hero-scene,
  .hero-scene.is-frozen {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
  }

  .freeze-spacer,
  .freeze-spacer.is-active {
    display: none;
    height: 0;
  }

  .top {
    min-height: auto;
    padding-bottom: 32px;
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }

  .hero-floating-copy,
  .hero-underlay-copy {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(720px, calc(100% - 32px));
    margin: -118px auto 0;
    padding: 0 0 20px;
  }

  .hero-floating-copy::before {
    display: none;
  }

  .hero-underlay {
    margin-top: 0;
  }

  .hero-underlay::before,
  .hero-underlay-inner::before {
    display: none;
  }

  .hero-underlay-inner {
    min-height: auto;
  }

  .hero-underlay-image {
    width: 100%;
    height: 112vh;
    object-fit: cover;
    object-position: center top;
    transform: translateY(-88px) scale(1.22);
    transform-origin: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .stack-flow,
  .stack-flow-secondary {
    display: block;
  }

  .stack-section,
  .stack-flow > .stack-section {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    overflow: visible;
    box-shadow: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .stack-flow > .stack-section::after {
    content: none;
  }

  .section.app-reveal-section {
    height: auto;
    min-height: auto;
    margin-top: 0;
    --app-reveal-x: 50%;
    --app-reveal-y: 50%;
  }

  .app-reveal-track {
    min-height: auto;
  }

  .stack-flow.is-stacking .pain-section {
    position: relative;
    top: auto;
  }

  .stack-flow.is-stacking .pillars-section {
    position: relative;
    top: 0;
  }

  .stack-flow.is-stacking .stack-flow-secondary .stack-section,
  .stack-flow-secondary.is-stacking .stack-section {
    position: relative;
    top: auto;
  }

  .pain-section {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: 56px 0;
  }

  .pillars-section {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: 56px 0;
  }

  .pain-section-inner {
    min-height: auto;
  }

  .pillars-section-inner {
    min-height: auto;
  }

  .nav-links {
    display: none;
  }

  .pill-row {
    display: none;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 10px;
    border-radius: 28px;
    padding: 12px 14px;
    min-height: 76px;
  }

  .nav-drawer-toggle {
    display: inline-flex;
    justify-self: start;
    z-index: 2;
  }

  .logo {
    position: absolute;
    left: var(--mobile-logo-center, 50%);
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 8px;
    font-size: 18px;
    white-space: nowrap;
    z-index: 1;
  }

  .logo-mark,
  .logo-mark img {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    justify-self: end;
    padding: 6px 12px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
  }

  .nav-drawer {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding: 14px 16px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(19, 31, 59, 0.96), rgba(12, 22, 44, 0.94));
    border: 1px solid rgba(143, 194, 255, 0.2);
    box-shadow: 0 24px 42px rgba(0, 8, 32, 0.34);
  }

  .nav-drawer[hidden] {
    display: none;
  }

  .nav-drawer a {
    color: rgba(234, 242, 255, 0.92);
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 160ms ease, color 160ms ease;
  }

  .nav-drawer a:hover {
    background: rgba(74, 168, 255, 0.14);
    color: #fff;
  }

  .hero-inner {
    padding-top: 8px;
  }

  .top .hero-inner {
    padding-top: 104px;
  }

  .hero-underlay {
    margin-top: -88vh;
  }

  #how.section {
    height: auto;
    min-height: auto;
    padding: 56px 0;
    overflow: visible;
  }

  #how.section > .container {
    min-height: auto;
    justify-content: flex-start;
  }

  #showcase.section,
  #download.cta {
    height: auto;
    min-height: auto;
  }

  #showcase.section > .container,
  #download.cta > .container {
    min-height: auto;
  }

  .pain-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .pillar-item {
    min-height: 0;
  }

  .app-reveal-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  .app-reveal-sticky::after {
    content: none;
  }

  .app-reveal-surface {
    position: relative;
    inset: auto;
    display: block;
    height: auto;
    padding: 36px 24px;
    clip-path: none;
    -webkit-clip-path: none;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(35, 68, 128, 0.1);
    contain: none;
  }

  .app-reveal-surface::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.4) 0%, rgba(237, 245, 255, 0.24) 100%);
    opacity: 1;
  }

  .app-reveal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
    width: 100%;
  }

  .app-reveal-copy,
  .app-reveal-note,
  .app-reveal-media {
    grid-column: auto;
    justify-self: center;
    align-self: auto;
    width: min(560px, 100%);
    max-width: 100%;
    margin: 0;
    opacity: 1;
    transform: none;
    text-align: center;
  }

  .app-reveal-share-image {
    margin: 0 auto 16px;
  }

  .footer {
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .delete-request-card {
    padding: 20px;
  }

  .delete-request-button {
    justify-self: end;
  }

}

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

  .nav-inner {
    grid-template-columns: 40px 1fr auto;
    padding: 12px;
  }

  .logo {
    font-size: 17px;
  }

  .nav-cta {
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  .hero-inner {
    gap: 20px;
  }

  .hero-floating-copy,
  .hero-underlay-copy {
    margin-top: -144px;
  }

  .hero-underlay-image {
    height: 104vh;
    transform: translateY(-92px) scale(1.26);
  }

  .pain-section {
    padding: 48px 0;
    min-height: auto;
    background-size: auto, auto 132%, auto;
    background-position: center bottom, center 32%, center;
  }

  .pillars-section {
    min-height: auto;
    padding: 48px 0;
  }

  .pillars-section-inner {
    min-height: auto;
  }

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

  .pillar-item h3 {
    font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.3rem);
    white-space: nowrap;
  }

  .app-reveal-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    height: auto;
    overflow: visible;
    pointer-events: auto;
  }

  .app-reveal-sticky::after {
    content: none;
  }

  .app-reveal-surface {
    position: relative;
    inset: auto;
    padding: 32px 20px;
    clip-path: none;
    -webkit-clip-path: none;
    background:
      radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.2), transparent 16%),
      linear-gradient(180deg, #f7fbff 0%, #edf5ff 48%, #e6f0ff 100%);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(35, 68, 128, 0.1);
    contain: none;
  }

  .app-reveal-surface::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.4) 0%, rgba(237, 245, 255, 0.24) 100%);
    opacity: 1;
  }

  .app-reveal-media {
    width: min(520px, 82vw);
    transform: none;
    opacity: 1;
  }

  .app-reveal-media img {
    filter: drop-shadow(0 16px 30px rgba(35, 68, 128, 0.1));
  }

  .app-reveal-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    justify-items: center;
    text-align: center;
  }

  .app-reveal-copy {
    width: min(560px, 100%);
    max-width: 600px;
    justify-self: center;
    grid-column: auto;
    margin-top: 0;
    opacity: 1;
    transform: none;
  }

  .app-reveal-note {
    grid-column: auto;
    align-self: start;
    text-align: center;
    max-width: 600px;
    margin-bottom: 0;
    margin-top: 8px;
    opacity: 1;
    transform: none;
  }

  .app-reveal-note p {
    max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
  }

  .pillar-item {
    min-height: 0;
  }

  .pillar-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: 70%;
    height: 1px;
    transform: translateX(-50%);
  }

  .pain-card {
    min-height: 350px;
    padding: 26px 18px 22px;
    border-radius: 30px;
  }

  .pain-section-content {
    transform: translateY(64px);
  }

  .pain-card-tag {
    position: absolute;
    top: 26px;
    left: 18px;
    padding: 11px 16px;
    font-size: 0.95rem;
    transform: translateX(0);
    transition: left 320ms ease, transform 320ms ease, background 320ms ease;
  }

  .pain-card:hover .pain-card-tag,
  .pain-card:focus-within .pain-card-tag {
    left: calc(100% - 18px);
    transform: translateX(-100%);
  }

  .pain-card p {
    font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.4rem);
    transform: translateY(132px);
  }

  .pain-card-reveal {
    left: 18px;
    right: 18px;
    transform: translateY(136px);
  }

  .pain-card-orb {
    width: clamp(250px, 108%, 360px);
  }

  .hero-media {
    height: 440px;
  }

  .hero-media.single {
    height: auto;
  }

  .hero-media.single .mock {
    width: 100%;
  }

  .spotlight-stats {
    grid-template-columns: 1fr;
  }

  .spotlight-tag {
    left: 12px;
    bottom: 12px;
    font-size: 11px;
  }

  .hero-media .mock-a {
    width: 230px;
    height: 350px;
    top: 46px;
    right: 48%;
  }

  .hero-media .mock-b {
    width: 250px;
    height: 380px;
    top: 20px;
    right: 20%;
  }

  .hero-media .mock-c {
    width: 270px;
    height: 410px;
    top: 44px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .feature-transition {
    font-size: 1rem;
  }

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

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after img {
    height: 200px;
  }

  .cta {
    padding: 24px;
    text-align: center;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .badge-link img {
    height: 44px;
  }

  .qr-card img {
    width: 120px;
    height: 120px;
  }
}
