/**
 * Aceternity-inspired hero v2 - mesh, grid floor, beams, flip words, announcement.
 * Text animations reference: ui.aceternity.com/blocks/text-animations
 * Hero layout reference: ui.aceternity.com/blocks/hero-sections
 */

/* ----- Hero v2 shell ----- */
.landing-hero--v2 {
  --landing-hero-mesh-a: rgba(59, 130, 246, 0.18);
  --landing-hero-mesh-b: rgba(139, 92, 246, 0.12);
  --landing-hero-mesh-c: rgba(34, 211, 238, 0.08);
}
[data-mantine-color-scheme="light"] .landing-hero--v2 {
  --landing-hero-mesh-a: rgba(37, 99, 235, 0.1);
  --landing-hero-mesh-b: rgba(109, 40, 217, 0.07);
  --landing-hero-mesh-c: rgba(14, 165, 233, 0.06);
}

.landing-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 20%, var(--landing-hero-mesh-a) 0%, transparent 55%),
    radial-gradient(ellipse 65% 50% at 85% 15%, var(--landing-hero-mesh-b) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 85%, var(--landing-hero-mesh-c) 0%, transparent 45%);
}

.landing-hero__grid-floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, var(--landing-grid-dot) 1px, transparent 1px),
    linear-gradient(to bottom, var(--landing-grid-dot) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
[data-mantine-color-scheme="light"] .landing-hero__grid-floor {
  opacity: 0.5;
}

.landing-hero__beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.landing-hero__beam {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 140%;
  background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.35), transparent);
  animation: landing-hero-beam 8s linear infinite;
  opacity: 0.4;
}
.landing-hero__beam:nth-child(1) { left: 18%; animation-delay: 0s; }
.landing-hero__beam:nth-child(2) { left: 42%; animation-delay: 2.5s; opacity: 0.25; }
.landing-hero__beam:nth-child(3) { left: 68%; animation-delay: 5s; }
.landing-hero__beam:nth-child(4) { left: 88%; animation-delay: 1.2s; opacity: 0.2; }
@keyframes landing-hero-beam {
  0%, 100% { transform: translateY(-8%) scaleY(0.85); opacity: 0.15; }
  50% { transform: translateY(6%) scaleY(1); opacity: 0.55; }
}

.landing-hero__announce {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.85rem 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--landing-text-muted);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.landing-hero__announce:hover {
  color: var(--landing-text);
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}
.landing-hero__announce-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: landing-hero-pulse-dot 2s ease infinite;
}
@keyframes landing-hero-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.landing-hero__announce-arrow {
  color: #93c5fd;
  font-size: 0.875rem;
}

/* Flip words (Aceternity flip-words port) */
.landing-hero__title--v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
}
@media (min-width: 64em) {
  .landing-hero__title--v2 {
    align-items: flex-start;
    text-align: left;
  }
}
.landing-hero__title-line {
  display: block;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--landing-text);
}
.landing-hero__flip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  min-height: 1.2em;
}
@media (min-width: 64em) {
  .landing-hero__flip-row { justify-content: flex-start; }
}
.landing-hero__flip {
  display: inline-block;
  position: relative;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.32s ease, transform 0.32s ease, opacity 0.32s ease;
}
[data-mantine-color-scheme="light"] .landing-hero__flip {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.landing-hero__flip.is-exiting {
  filter: blur(6px);
  opacity: 0;
  transform: translateY(-12px) translateX(8px) scale(1.05);
}
.landing-hero__flip.is-entering {
  animation: landing-flip-in 0.48s ease forwards;
}
@keyframes landing-flip-in {
  from { filter: blur(8px); opacity: 0; transform: translateY(16px); }
  to { filter: blur(0); opacity: 1; transform: translateY(0); }
}

.landing-hero__highlight-wrap {
  display: inline-block;
}
.landing-hero__letter {
  display: inline-block;
  animation: landing-letter-in 0.45s ease backwards;
}
@keyframes landing-letter-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Blur fade description */
.landing-hero__description--reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition: opacity 0.7s ease 0.15s, filter 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.landing-hero__description--reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Open hero card (less boxy - mesh shows through) */
.landing-hero--v2 .landing-hero__inner {
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.42) 0%, rgba(12, 12, 16, 0.55) 100%);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
[data-mantine-color-scheme="light"] .landing-hero--v2 .landing-hero__inner {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.85) 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.12);
}

.landing-hero--v2 .landing-hero__media {
  position: relative;
}
.landing-hero--v2 .landing-hero__tilt-inner {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  box-shadow: 0 32px 64px -24px rgba(59, 130, 246, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.landing-hero__logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--landing-border-soft);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--landing-text-muted);
}
@media (min-width: 64em) {
  .landing-hero__logo-strip { justify-content: flex-start; }
}
.landing-hero__strip-list--parallax,
.landing-hero--parallax .landing-hero__logo-strip {
  position: relative;
  z-index: 2;
}
.landing-hero__logo-strip span {
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__beam,
  .landing-hero__announce-dot,
  .landing-hero__letter {
    animation: none !important;
  }
  .landing-hero__description--reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* =============================================================================
   Premium parallax hero
   ui.aceternity.com/blocks/hero-sections/minimal-hero-section-with-parallax-images
   ============================================================================= */

.landing-hero--parallax {
  min-height: auto;
  align-items: flex-start;
  padding-top: clamp(2.25rem, 5vh, 4rem);
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  overflow: visible;
}
.landing-hero--parallax.landing-hero--max,
.landing-hero--parallax.landing-hero--ultra {
  overflow: visible !important;
}
body.page-landing .landing-hero--parallax {
  min-height: auto;
}
.landing-hero--parallax::after {
  height: 10rem;
  opacity: 1;
}

/* Ambient background */
.landing-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.landing-hero__spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90rem, 140vw);
  height: 70%;
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(59, 130, 246, 0.14) 0%, transparent 68%);
  filter: blur(2px);
}
.landing-hero__dots {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at center, var(--landing-grid-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 15%, transparent 72%);
}
[data-mantine-color-scheme="light"] .landing-hero__spotlight {
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(37, 99, 235, 0.09) 0%, transparent 68%);
}
[data-mantine-color-scheme="light"] .landing-hero__dots {
  opacity: 0.55;
}

.landing-hero__parallax-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2.75rem, 6vw, 4.5rem);
  width: 100%;
  position: relative;
  z-index: 1;
}

.landing-hero__parallax-copy {
  width: 100%;
  max-width: 44rem;
  text-align: left;
}

.landing-hero__parallax-copy [data-hero-enter] {
  opacity: 0;
  transform: translateY(22px);
}

.landing-hero__title--parallax {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin: 0 0 1.25rem;
  font-family: 'Outfit', 'DM Sans', system-ui, sans-serif;
}
.landing-hero__title-main {
  display: block;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.02;
  color: var(--landing-text);
}
.landing-hero__title-main--gradient {
  background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 42%, #22d3ee 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-mantine-color-scheme="light"] .landing-hero__title-main {
  color: #0f172a;
}
[data-mantine-color-scheme="light"] .landing-hero__title-main--gradient {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 48%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero__description--parallax {
  max-width: 38rem;
  margin: 0 0 1.85rem;
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  line-height: 1.68;
  color: var(--landing-text-muted);
}

.landing-hero__cta--parallax {
  align-items: flex-start;
  margin-top: 0;
  gap: 0.85rem;
}
.landing-hero__cta--parallax .landing-hero__controls {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-hero__btn--glow {
  position: relative;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.35),
    0 8px 32px -8px rgba(59, 130, 246, 0.55);
}
.landing-hero__btn--glow:hover {
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.5),
    0 12px 40px -6px rgba(59, 130, 246, 0.65);
}

.landing-hero__parallax-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--landing-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.landing-hero__parallax-link:hover {
  color: #93c5fd;
  transform: translateX(3px);
}
[data-mantine-color-scheme="light"] .landing-hero__parallax-link:hover {
  color: #2563eb;
}

.landing-hero__trust-row {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.landing-hero__trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--landing-text-muted);
  background: var(--landing-surface);
  border: 1px solid var(--landing-border-soft);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.landing-hero__trust-chip svg {
  color: #4ade80;
  flex-shrink: 0;
}

.landing-hero__social--parallax {
  margin-top: 1.5rem;
  justify-content: flex-start;
}

/* Parallax stage */
.landing-hero__parallax-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(20rem, 48vw, 38rem);
  perspective: 4000px;
  perspective-origin: 50% 38%;
  margin-top: 0.5rem;
}

.landing-hero__parallax-glow {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(52rem, 92%);
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
[data-mantine-color-scheme="light"] .landing-hero__parallax-glow {
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, rgba(109, 40, 217, 0.05) 45%, transparent 72%);
}

.landing-hero__parallax-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  z-index: 1;
}

.landing-hero__parallax-card {
  position: absolute;
  margin: 0;
  width: min(78%, 46rem);
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 0;
  transform:
    translate3d(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + var(--scroll-y, 0px)), 0)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    rotateZ(var(--rz, 0deg));
}
.landing-hero__parallax-card.is-ready {
  opacity: 1;
}

.landing-hero__parallax-card--back {
  --rz: -12deg;
  left: 2%;
  top: 16%;
  z-index: 1;
  animation: landing-hero-float-back 5.5s ease-in-out infinite;
}
.landing-hero__parallax-card--front {
  --rz: 8deg;
  right: 0;
  top: 0;
  z-index: 3;
  width: min(52%, 22rem);
  animation: landing-hero-float-front 4.8s ease-in-out infinite;
}
@keyframes landing-hero-float-back {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes landing-hero-float-front {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.landing-hero__float-badge {
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  z-index: 4;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}
.landing-hero__float-badge--live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  left: auto;
  right: 1rem;
  color: #bbf7d0;
  border-color: rgba(74, 222, 128, 0.25);
}
.landing-hero__live-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
  animation: landing-hero-pulse-dot 2s ease infinite;
}
[data-mantine-color-scheme="light"] .landing-hero__float-badge {
  color: #334155;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
}

.landing-hero__parallax-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
  box-shadow:
    0 48px 96px -40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.landing-hero__parallax-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(147, 197, 253, 0.35), rgba(139, 92, 246, 0.15), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
[data-mantine-color-scheme="light"] .landing-hero__parallax-frame {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 40px 80px -32px rgba(15, 23, 42, 0.15);
}

.landing-hero__frame-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%);
  pointer-events: none;
  z-index: 2;
  animation: landing-hero-shine 6s ease-in-out infinite;
}
@keyframes landing-hero-shine {
  0%, 100% { transform: translateX(-30%); opacity: 0; }
  45%, 55% { transform: translateX(30%); opacity: 1; }
}

.landing-hero__parallax-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* API UI mock (front card) */
.landing-hero__parallax-frame--ui {
  -webkit-mask-image: none;
  mask-image: none;
  min-height: 15rem;
}
.landing-hero__ui-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}
.landing-hero__ui-chrome span:nth-child(1) { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ef4444; }
.landing-hero__ui-chrome span:nth-child(2) { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #eab308; }
.landing-hero__ui-chrome span:nth-child(3) { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #22c55e; }
.landing-hero__ui-url {
  margin-left: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-mantine-color-scheme="light"] .landing-hero__ui-chrome {
  background: rgba(15, 23, 42, 0.04);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-url {
  color: #64748b;
}

.landing-hero__ui-body {
  padding: 1rem 1rem 1.1rem;
}
.landing-hero__ui-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.landing-hero__ui-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #052e16;
  background: #4ade80;
  flex-shrink: 0;
}
.landing-hero__ui-toast strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ecfdf5;
  line-height: 1.3;
}
.landing-hero__ui-toast span {
  font-size: 0.6875rem;
  color: rgba(167, 243, 208, 0.75);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-toast {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-toast strong { color: #14532d; }
[data-mantine-color-scheme="light"] .landing-hero__ui-toast span { color: #15803d; }

.landing-hero__ui-code {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.landing-hero__ui-code .tok-key { color: #93c5fd; }
.landing-hero__ui-code .tok-str { color: #86efac; }
.landing-hero__ui-code .tok-bool { color: #c4b5fd; }
[data-mantine-color-scheme="light"] .landing-hero__ui-code {
  color: #334155;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-code .tok-key { color: #2563eb; }
[data-mantine-color-scheme="light"] .landing-hero__ui-code .tok-str { color: #059669; }
[data-mantine-color-scheme="light"] .landing-hero__ui-code .tok-bool { color: #7c3aed; }

.landing-hero__ui-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.landing-hero__ui-metric {
  padding: 0.5rem 0.35rem;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.landing-hero__ui-metric-val {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}
.landing-hero__ui-metric-lbl {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-metric {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.06);
}
[data-mantine-color-scheme="light"] .landing-hero__ui-metric-val { color: #0f172a; }
[data-mantine-color-scheme="light"] .landing-hero__ui-metric-lbl { color: #64748b; }

/* Glass strip cards */
.landing-hero__strip-list--glass {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border-top: none;
  padding-top: 0;
}
@media (min-width: 40em) {
  .landing-hero__strip-list--glass {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.landing-hero__strip-list--glass .landing-hero__strip-item {
  padding: 1rem 1.15rem;
  text-align: left;
  border-radius: 14px;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border-soft);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.landing-hero__strip-list--glass .landing-hero__strip-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 48em) {
  .landing-hero__parallax-stage {
    height: clamp(16rem, 62vw, 22rem);
    perspective: 2600px;
  }
  .landing-hero__parallax-card {
    width: 92%;
  }
  .landing-hero__parallax-card--back {
    left: -2%;
    top: 24%;
  }
  .landing-hero__parallax-card--front {
    width: min(72%, 18rem);
    right: -6%;
    top: 2%;
  }
}

@media (min-width: 64em) {
  .landing-hero__parallax-stage {
    height: clamp(24rem, 38vw, 40rem);
    margin-left: -2%;
    width: 104%;
  }
  .landing-hero__parallax-card--back {
    left: 6%;
    top: 12%;
  }
  .landing-hero__parallax-card--front {
    right: 8%;
    top: -2%;
    width: min(46%, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__parallax-card,
  .landing-hero__parallax-copy [data-hero-enter] {
    opacity: 1 !important;
    transform: none !important;
  }
  .landing-hero__parallax-frame {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .landing-hero__frame-shine,
  .landing-hero__live-dot,
  .landing-hero__parallax-card--back,
  .landing-hero__parallax-card--front {
    animation: none !important;
  }
}
