/* ==========================================================================
   Jasper — Landing Page Styles
   ========================================================================== */

/* ── Local Brand Fonts ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'Rany';
  src: url('fonts/Rany-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rany';
  src: url('fonts/Rany.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rany';
  src: url('fonts/Rany-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rany';
  src: url('fonts/Rany-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Colors — Dark theme */
  --bg-primary:    #030706;
  --bg-card:       rgba(215, 255, 238, 0.028);
  --bg-card-hover: rgba(215, 255, 238, 0.058);
  --bg-header:     rgba(3, 7, 6, 0.86);

  /* Accent — Jasper green */
  --accent-start:  #35df8a;
  --accent-end:    #35df8a;
  --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --accent-gradient-btn: linear-gradient(90deg, #24c978, #35df8a, #24c978);

  /* Text */
  --t-primary:   #ffffff;
  --t-secondary: rgba(236, 255, 247, 0.76);
  --t-tertiary:  rgba(236, 255, 247, 0.56);
  --t-dark:      #0a0a0a;
  --t-accent:    #35df8a;

  /* Borders */
  --border-subtle: rgba(196, 255, 231, 0.085);
  --border-line:   rgba(196, 255, 231, 0.14);
  --surface-edge:  rgba(196, 255, 231, 0.11);

  /* Spacing */
  --section-padding: clamp(104px, 10vw, 152px) 0;
  --content-max:     1120px;
  --container-max:   var(--content-max);
  --container-px:    24px;

  /* Typography */
  --font-family: 'Rany', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background:
    radial-gradient(circle at 50% -10%, rgba(53, 223, 138, 0.055), transparent 36rem),
    radial-gradient(circle at 10% 35%, rgba(89, 255, 233, 0.024), transparent 34rem),
    linear-gradient(180deg, #050908 0%, #030706 42%, #020403 100%),
    var(--bg-primary);
  color: var(--t-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  --scroll-progress: 0;
  --cursor-alpha: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.036;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.72'/%3E%3C/svg%3E");
}

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

h1, h2, h3 {
  text-wrap: balance;
}

p,
li,
summary {
  text-wrap: pretty;
}

ul, ol {
  list-style: none;
}

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

main section {
  scroll-margin-top: 96px;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid rgba(30, 240, 135, 0.86);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(8, 20, 14, 0.94);
  border: 1px solid rgba(30, 240, 135, 0.4);
  color: var(--t-primary);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out-expo);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Reveal animation base (Intersection Observer) ───────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(3, 7, 6, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 228px;
  height: 30px;
  object-fit: contain;
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
  position: relative;
}

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

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

.header-icon-link {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
}

.header-icon-link svg {
  width: 100%;
  height: 100%;
}

.header-icon-link img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.header-icon-link:hover,
.header-text-link:hover {
  color: var(--t-primary);
}

.header-icon-link:hover img {
  opacity: 0.9;
}

.header-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: rgba(255, 255, 255, 0.84);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  background: none;
  border: 0;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
}

.header-text-link:focus-visible,
.header-icon-link:focus-visible {
  outline: 2px solid rgba(30, 240, 135, 0.8);
  outline-offset: 4px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(53, 223, 138, 0.052);
  border: 1px solid rgba(53, 223, 138, 0.48);
  color: var(--t-accent);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-links .header-cta {
  color: var(--t-accent);
}

.mobile-header-cta {
  display: none;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(30, 240, 135, 0.18);
  border-color: rgba(30, 240, 135, 0.52);
  box-shadow: 0 0 0 4px rgba(30, 240, 135, 0.08);
}

.header-cta:active,
.btn-primary:active,
.scroll-top-btn:active {
  transform: translateY(1px) scale(0.99);
}

.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.84);
}

.language-menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: 38px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.language-menu-trigger::after {
  display: none;
}

.language-menu.is-open .language-menu-trigger::after {
  display: none;
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 140;
  width: 148px;
  max-height: min(360px, calc(100vh - 96px));
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(30, 240, 135, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 0%, rgba(30, 240, 135, 0.14), transparent 64%),
    rgba(6, 13, 10, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-menu.is-open .language-menu-list {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.language-menu-list button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 10px 0 30px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  position: relative;
  transition: color 0.18s ease, background 0.18s ease;
}

.language-menu-list button::before {
  content: '';
  position: absolute;
  left: 11px;
  width: 7px;
  height: 11px;
  border-right: 2px solid var(--t-accent);
  border-bottom: 2px solid var(--t-accent);
  opacity: 0;
  transform: translateY(-1px) rotate(45deg);
}

.language-menu-list button:hover,
.language-menu-list button:focus-visible {
  color: var(--t-primary);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.language-menu-list button[aria-selected="true"] {
  color: var(--t-primary);
  background: rgba(30, 240, 135, 0.12);
}

.language-menu-list button[aria-selected="true"]::before {
  opacity: 1;
}

.language-menu:hover,
.language-menu.is-open {
  color: var(--t-primary);
}

.language-menu-trigger:hover,
.language-menu-trigger:focus-visible,
.language-menu.is-open .language-menu-trigger {
  color: var(--t-primary);
  transform: translateY(-1px);
  outline: none;
}

.mobile-language-menu {
  margin-top: 10px;
}

.mobile-language-menu .language-menu-trigger {
  height: 44px;
  justify-content: center;
  color: var(--t-secondary);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.mobile-language-menu .language-menu-list {
  left: 50%;
  right: auto;
  width: 168px;
  transform-origin: top center;
  transform: translate(-50%, -6px) scale(0.98);
}

.mobile-language-menu.is-open .language-menu-list {
  transform: translate(-50%, 0) scale(1);
}

/* Social icons */
.header-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-socials a {
  color: var(--t-tertiary);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}

.header-socials a:hover {
  color: var(--t-primary);
  transform: scale(1.1);
}

.header-socials svg {
  width: 22px;
  height: 22px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border-subtle);
  background: rgba(215, 255, 238, 0.045);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--t-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--t-secondary);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--t-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  max-height: 1000px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
}

/* Animated background glows mimicking custom organic aurora */
.site-bg-glows {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1; /* Behind all content, including text, cards, and sections */
  opacity: 0.48;
  transition: opacity 0.8s ease;
}

.site-bg-glows::before {
  content: '';
  position: fixed;
  left: calc(var(--cursor-x, 50%) - 16rem);
  top: calc(var(--cursor-y, 30%) - 15rem);
  width: 36rem;
  height: 34rem;
  border-radius: 42% 58% 46% 54% / 52% 38% 62% 48%;
  background:
    radial-gradient(circle at 30% 34%, rgba(89, 255, 233, 0.58), transparent 44%),
    radial-gradient(circle at 66% 38%, rgba(53, 223, 138, 0.6), transparent 48%),
    radial-gradient(circle at 55% 70%, rgba(255, 225, 152, 0.34), transparent 50%);
  opacity: calc(var(--cursor-alpha, 0) * 0.66);
  filter: blur(58px) saturate(1.08);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0, 0, 0, 0.72) 46%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, rgba(0, 0, 0, 0.72) 46%, transparent 76%);
  mix-blend-mode: screen;
  transform: translateZ(0);
  transition: opacity 0.28s ease, left 0.5s var(--ease-out-expo), top 0.5s var(--ease-out-expo);
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(74px);
  mix-blend-mode: lighten;
  transition:
    left 0.9s var(--ease-out-expo),
    right 0.9s var(--ease-out-expo),
    top 0.9s var(--ease-out-expo),
    bottom 0.9s var(--ease-out-expo),
    width 0.9s var(--ease-out-expo),
    height 0.9s var(--ease-out-expo),
    opacity 0.9s ease,
    filter 0.9s ease;
  will-change: transform, opacity;
}

body.aurora-focus .site-bg-glows {
  opacity: 0.58;
}

body.aurora-focus .site-bg-glows::before {
  animation: focus-morph 3s ease-in-out infinite alternate;
}

body.aurora-focus .glow-blob {
  right: auto;
  bottom: auto;
  animation: none;
  filter: blur(82px) saturate(0.96);
  mix-blend-mode: screen;
  transform: translateZ(0);
}

body.aurora-focus .glow-green-1 {
  width: 30rem;
  height: 28rem;
  left: calc(var(--cursor-x, 50%) - 22rem);
  top: calc(var(--cursor-y, 30%) - 18rem);
  opacity: 0.15;
}

body.aurora-focus .glow-green-2 {
  width: 32rem;
  height: 30rem;
  left: calc(var(--cursor-x, 50%) - 10rem);
  top: calc(var(--cursor-y, 30%) - 17rem);
  opacity: 0.15;
}

body.aurora-focus .glow-amber {
  width: 26rem;
  height: 24rem;
  left: calc(var(--cursor-x, 50%) - 9rem);
  top: calc(var(--cursor-y, 30%) - 4rem);
  opacity: 0.1;
}

body.aurora-focus .glow-dark-green {
  width: 36rem;
  height: 34rem;
  left: calc(var(--cursor-x, 50%) - 18rem);
  top: calc(var(--cursor-y, 30%) - 18rem);
  opacity: 0.14;
}

@keyframes focus-morph {
  0% {
    border-radius: 42% 58% 46% 54% / 52% 38% 62% 48%;
    transform: translateZ(0) scale(0.98) rotate(-4deg);
  }
  50% {
    border-radius: 58% 42% 56% 44% / 40% 58% 42% 60%;
    transform: translate3d(1.2rem, -0.5rem, 0) scale(1.04) rotate(8deg);
  }
  100% {
    border-radius: 46% 54% 38% 62% / 56% 44% 58% 42%;
    transform: translate3d(-0.8rem, 0.7rem, 0) scale(1.01) rotate(14deg);
  }
}

.glow-green-1 {
  width: 58vw;
  height: 58vw;
  left: -16vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(89, 255, 233, 0.46), rgba(89, 255, 233, 0.14) 42%, transparent 70%);
  animation: aurora-flow-1 35s ease-in-out infinite alternate;
}

.glow-green-2 {
  width: 60vw;
  height: 60vw;
  right: -18vw;
  top: 6vh;
  background: radial-gradient(circle, rgba(44, 255, 149, 0.42), rgba(44, 255, 149, 0.12) 42%, transparent 70%);
  animation: aurora-flow-2 42s ease-in-out infinite alternate;
}

.glow-amber {
  width: 48vw;
  height: 48vw;
  left: 18vw;
  bottom: -2vh;
  background: radial-gradient(circle, rgba(255, 225, 152, 0.32), rgba(255, 225, 152, 0.1) 40%, transparent 70%);
  animation: aurora-flow-3 38s ease-in-out infinite alternate;
}

.glow-dark-green {
  width: 50vw;
  height: 50vw;
  right: 4vw;
  bottom: -14vh;
  background: radial-gradient(circle, rgba(89, 255, 233, 0.2), rgba(44, 255, 149, 0.1) 42%, transparent 70%);
  animation: aurora-flow-4 48s ease-in-out infinite alternate;
}

@keyframes aurora-flow-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(14vw, 8vh, 0) scale(1.12);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(4vw, 18vh, 0) scale(0.92);
    opacity: 0.64;
  }
}

@keyframes aurora-flow-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.68;
  }
  50% {
    transform: translate3d(-12vw, 14vh, 0) scale(0.92);
    opacity: 0.56;
  }
  100% {
    transform: translate3d(-4vw, -8vh, 0) scale(1.1);
    opacity: 0.76;
  }
}

@keyframes aurora-flow-3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(12vw, -12vh, 0) scale(1.08);
    opacity: 0.66;
  }
  100% {
    transform: translate3d(-8vw, -4vh, 0) scale(0.95);
    opacity: 0.46;
  }
}

@keyframes aurora-flow-4 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.52;
  }
  50% {
    transform: translate3d(-10vw, -14vh, 0) scale(1.16);
    opacity: 0.68;
  }
  100% {
    transform: translate3d(6vw, 6vh, 0) scale(0.92);
    opacity: 0.48;
  }
}

/* Three.js canvas container */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  perspective: 2000px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: clamp(160px, 18vh, 240px);
  pointer-events: none;
}

.hero-3d-container {
  width: 50vw;
  max-width: 740px;
  height: 50vw;
  max-height: 740px;
  margin-right: -2%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 2;
}

/* 3D Extrusion Stack Group */
.hero-3d-logo-group {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  filter:
    drop-shadow(18px 28px 44px rgba(0, 0, 0, 0.48));
}

.hero-3d-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}

/* Front Face - Full brightness, vibrant filters and gradients */
.hero-3d-layer-front {
  transform: translateZ(42px);
  z-index: 4;
  filter:
    drop-shadow(0 20px 52px rgba(30, 240, 135, 0.28))
    drop-shadow(-10px -10px 18px rgba(252, 229, 128, 0.1));
}

/* Soft side wall, blurred enough to read as one solid body instead of slices */
.hero-3d-layer-side {
  transform: translate3d(18px, 17px, 18px) scale(1.002);
  filter:
    brightness(0.33)
    saturate(0.78)
    contrast(1.5)
    hue-rotate(-16deg)
    blur(1.3px)
    drop-shadow(8px 10px 0 rgba(2, 24, 16, 0.45));
  opacity: 0.9;
  z-index: 3;
}

/* Back Layer - Casts the shadow and establishes the solid dark backplate */
.hero-3d-layer-back {
  transform: translate3d(32px, 31px, 0) scale(1.004);
  filter:
    brightness(0.08)
    saturate(0.5)
    contrast(1.7)
    blur(3px)
    drop-shadow(20px 30px 32px rgba(0, 0, 0, 0.6));
  opacity: 0.62;
  z-index: 1;
}

/* Laser Light Sweep Layer - At the top of 3D stack */
.hero-3d-layer-sweep {
  transform: translateZ(46px);
  z-index: 5;
  mix-blend-mode: screen;
}

.sweep-line {
  fill: none;
  stroke-width: 6px; /* Thicker strokes (6px instead of 4.5px) for high visibility */
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(30, 240, 212, 1)) drop-shadow(0 0 22px rgba(30, 240, 135, 0.85));
  --space-len: var(--path-length, 1500);
  stroke-dasharray: var(--dash-len, 350) var(--space-len, 1500);
  stroke-dashoffset: var(--path-length, 1800);
  opacity: 0.95;
}

.sweep-shield {
  stroke: url(#paint0_radial_21647_9912);
  --dash-len: 420;
}

.sweep-infinity {
  stroke: url(#paint1_radial_21647_9912);
  --dash-len: 260;
}

@keyframes sweep-flow-shield {
  0% {
    stroke-dashoffset: var(--path-length, 3000);
  }
  100% {
    stroke-dashoffset: calc(var(--path-length, 3000) * -1);
  }
}

@keyframes sweep-flow-infinity {
  0% {
    stroke-dashoffset: var(--path-length, 2000);
  }
  100% {
    stroke-dashoffset: calc(var(--path-length, 2000) * -1);
  }
}

@media (max-width: 992px) {
  .hero-canvas {
    padding-top: clamp(116px, 15vh, 160px);
  }
  .hero-3d-container {
    width: 60vw;
    height: 60vw;
    margin-right: -8%;
  }
}

@media (max-width: 768px) {
  .hero-canvas {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 0;
    overflow: hidden;
  }

  .hero-3d-container {
    position: absolute;
    right: -34vw;
    bottom: -1vh;
    width: 108vw;
    height: 108vw;
    max-width: none;
    max-height: none;
    margin-right: 0;
    opacity: 0.38;
    transform: translateZ(-120px) rotate(-8deg);
  }

  .hero-3d-logo-group {
    filter:
      drop-shadow(12px 18px 34px rgba(0, 0, 0, 0.58))
      drop-shadow(0 0 36px rgba(30, 240, 135, 0.18));
  }

  .site-bg-glows {
    opacity: 0.86;
  }

  .glow-blob {
    filter: blur(54px) saturate(1.18);
  }

  .glow-green-1 {
    width: 118vw;
    height: 118vw;
    left: -56vw;
    top: 4vh;
    background: radial-gradient(circle, rgba(89, 255, 233, 0.56), rgba(89, 255, 233, 0.2) 42%, transparent 68%);
    animation-duration: 17s;
  }

  .glow-green-2 {
    width: 128vw;
    height: 128vw;
    right: -66vw;
    top: 12vh;
    background: radial-gradient(circle, rgba(44, 255, 149, 0.54), rgba(44, 255, 149, 0.18) 42%, transparent 68%);
    animation-duration: 20s;
  }

  .glow-amber {
    width: 104vw;
    height: 104vw;
    left: 10vw;
    top: 42vh;
    bottom: auto;
    background: radial-gradient(circle, rgba(255, 225, 152, 0.4), rgba(255, 225, 152, 0.14) 40%, transparent 68%);
    animation-duration: 19s;
  }

  .glow-dark-green {
    width: 120vw;
    height: 120vw;
    right: -42vw;
    bottom: -12vh;
    background: radial-gradient(circle, rgba(89, 255, 233, 0.28), rgba(44, 255, 149, 0.16) 42%, transparent 68%);
    animation-duration: 23s;
  }
}

/* Gradient overlays removed for seamless global background flow */

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-height: 100dvh;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-title {
  font-size: clamp(3rem, 5.7vw, 5.65rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 24px;
  max-width: 1080px;
}

html[lang="en"] .hero-title {
  font-size: clamp(2.55rem, 4.55vw, 4.25rem);
  max-width: 1050px;
}

.hero-title .accent {
  color: var(--t-accent);
}

.hero-title-should {
  color: var(--t-accent);
}

.hero-title-accent,
.hero-title-main {
  display: inline-block;
}

.hero-title-accent {
  color: var(--t-accent);
}

.hero-title-main {
  color: #f4fbf8;
}

.hero-title-main .hero-title-line {
  display: block;
}

.risk-word {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--t-primary);
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.risk-word::before,
.risk-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  color: var(--t-primary);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.risk-word::before {
  clip-path: polygon(0 8%, 100% 8%, 100% 27%, 0 27%, 0 46%, 100% 46%, 100% 56%, 0 56%);
  text-shadow: -0.045em 0 rgba(30, 240, 135, 0.32);
  animation: risk-glitch-a 2.6s steps(1, end) infinite;
}

.risk-word::after {
  clip-path: polygon(0 34%, 100% 34%, 100% 43%, 0 43%, 0 69%, 100% 69%, 100% 82%, 0 82%);
  text-shadow: 0.045em 0 rgba(255, 255, 255, 0.3);
  animation: risk-glitch-b 3.1s steps(1, end) infinite;
}

.risk-yellow,
.risk-red {
  color: rgba(255, 255, 255, 0.58);
}

.risk-join {
  color: var(--t-primary);
  margin: 0 0.08em;
}

@keyframes risk-glitch-a {
  0%, 73%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
  74% { opacity: 0.72; transform: translate3d(-0.1em, -0.01em, 0); }
  75% { opacity: 0.45; transform: translate3d(0.08em, 0.02em, 0); }
  76% { opacity: 0; transform: translate3d(0, 0, 0); }
  88% { opacity: 0.56; transform: translate3d(0.13em, -0.015em, 0); }
  89% { opacity: 0; transform: translate3d(0, 0, 0); }
}

@keyframes risk-glitch-b {
  0%, 58%, 100% { opacity: 0; transform: translate3d(0, 0, 0); }
  59% { opacity: 0.62; transform: translate3d(0.12em, 0.015em, 0); }
  60% { opacity: 0.42; transform: translate3d(-0.08em, -0.015em, 0); }
  61% { opacity: 0; transform: translate3d(0, 0, 0); }
  83% { opacity: 0.52; transform: translate3d(-0.14em, 0.01em, 0); }
  84% { opacity: 0; transform: translate3d(0, 0, 0); }
}

.hero-title-muted {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72em;
  font-weight: 600;
}

.hero-kicker {
  margin-bottom: 12px;
  color: var(--t-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 1.05rem, 1.125rem);
  font-weight: 300;
  color: rgba(236, 255, 247, 0.7);
  max-width: min(760px, 38vw);
  margin-bottom: 34px;
  line-height: 1.7;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  min-height: 48px;
  padding: 0 28px;
  background: var(--accent-gradient-btn);
  background-size: 200% 100%;
  color: var(--t-dark);
  font-size: 1rem;
  font-weight: 400;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(53, 223, 138, 0.2), 0 6px 10px rgba(53, 223, 138, 0.1);
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(53, 223, 138, 0.26), 0 8px 12px rgba(53, 223, 138, 0.14);
}

.btn-primary .arrow {
  display: inline-flex;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  min-height: 48px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.052);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.078);
  color: var(--t-primary);
  border-color: var(--border-line);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.stats {
  position: relative;
  z-index: 10;
  padding: 60px 0 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: clamp(2rem, 2.25rem, 2.5rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--t-primary);
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--t-tertiary);
}

.stats-divider {
  display: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION — Scroll-triggered showcase
   ══════════════════════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-padding);
  position: relative;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--t-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.feature-title {
  font-size: clamp(1.75rem, 2.5rem, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-desc {
  font-size: 1.0625rem;
  color: var(--t-secondary);
  line-height: 1.75;
  max-width: 480px;
}

.feature-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glow effect behind feature visual */
.feature-visual::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: var(--accent-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s ease;
  filter: blur(40px);
}

.feature-visual:hover::before {
  opacity: 0.15;
}

/* Feature mockup content */
.feature-mockup {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Trading interface mockup */
.mockup-trading {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
  height: 100%;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-pair {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--t-primary);
}

.mockup-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4ade80;
}

.mockup-chart {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding-top: 20px;
}

.chart-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transition: transform 0.6s var(--ease-out-expo);
}

.chart-bar.green { background: rgba(74, 222, 128, 0.6); }
.chart-bar.red   { background: rgba(248, 113, 113, 0.5); }

.mockup-orderbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.orderbook-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 3px 8px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.order-row::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 3px;
}

.order-row.bid { color: #4ade80; }
.order-row.bid::before { background: rgba(74, 222, 128, 0.08); }
.order-row.ask { color: #f87171; }
.order-row.ask::before { background: rgba(248, 113, 113, 0.08); }

/* Hidden order visual */
.hidden-order-badge {
  position: absolute;
  top: 50%;
  right: 20%;
  transform: translate(0, -50%);
  background: rgba(30, 240, 135, 0.12);
  border: 1px solid rgba(30, 240, 135, 0.32);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--t-accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, -50%); }
  50%      { transform: translate(0, calc(-50% - 8px)); }
}

.hidden-order-badge .lock-icon {
  width: 16px;
  height: 16px;
}

/* Stock search mockup */
.mockup-stocks {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  height: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.search-bar .search-icon {
  color: var(--t-tertiary);
  flex-shrink: 0;
}

.search-bar span {
  font-size: 0.875rem;
  color: var(--t-tertiary);
}

.stock-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.stock-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stock-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--t-dark);
}

.stock-name {
  display: flex;
  flex-direction: column;
}

.stock-name strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.stock-name small {
  font-size: 0.875rem;
  color: var(--t-tertiary);
}

.stock-price {
  text-align: right;
}

.stock-price .price {
  font-size: 0.875rem;
  font-weight: 600;
}

.stock-price .change {
  font-size: 0.875rem;
}

.stock-price .change.up   { color: #4ade80; }
.stock-price .change.down { color: #f87171; }

/* ══════════════════════════════════════════════════════════════════════════
   JASPER VAULT HOMEPAGE MODULES
   ══════════════════════════════════════════════════════════════════════════ */
.positioning-section,
.pp-section,
.why-pp-section,
.bento-section,
.compare-section,
.faq-section,
.ecosystem-section {
  position: relative;
  z-index: 10;
  padding: var(--section-padding);
}

.section-heading {
  max-width: min(920px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .section-title {
  margin: 14px 0 0;
}

.section-lede {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-title {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.title-line {
  display: inline;
}

html[lang="en"] #why-pp .why-pp-main-title .title-line + .title-line::before {
  content: " ";
}

.scrub-token {
  color: rgba(236, 255, 247, var(--token-alpha, 0.52));
  transition: color 0.18s linear;
}

.positioning-comparison {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(2, 8, 6, 0.46);
  box-shadow: 0 8px 14px rgba(0, 18, 10, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.position-card {
  position: relative;
  min-height: 340px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
}

.position-card::before {
  content: '';
  position: absolute;
  inset: auto -80px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 240, 135, 0.18);
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.old-way {
  background: rgba(255, 255, 255, 0.018);
  filter: saturate(0.72);
}

.old-way::after {
  display: none;
}

.old-way::before {
  display: none;
}

.vault-way {
  background:
    radial-gradient(circle at 78% 18%, rgba(30, 240, 135, 0.24), transparent 34%),
    radial-gradient(circle at 30% 80%, rgba(89, 255, 233, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(30, 240, 135, 0.12), rgba(255, 255, 255, 0.028)),
    rgba(3, 12, 8, 0.58);
  box-shadow: inset 1px 0 0 rgba(30, 240, 135, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vault-way::after {
  display: none;
}

.card-label {
  position: relative;
  z-index: 1;
  display: block;
  align-self: flex-start;
  margin-bottom: 20px;
  color: var(--t-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.position-card h3,
.bento-card h3 {
  color: var(--t-primary);
  font-weight: 600;
  letter-spacing: 0;
}

.position-card h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.35vw, 2.25rem);
  line-height: 1.18;
}

.old-way h3 {
  color: rgba(255, 255, 255, 0.68);
}

.old-way .card-label {
  color: rgba(255, 255, 255, 0.46);
}

.old-way p {
  color: rgba(255, 255, 255, 0.42);
}

.vault-way h3 {
  color: var(--t-primary);
}

.vault-way .card-label {
  color: var(--t-accent);
}

.vault-way p {
  color: rgba(255, 255, 255, 0.72);
}

.position-card p {
  max-width: 500px;
  color: var(--t-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.old-way {
  opacity: 1;
  transform: none;
}

.old-way .card-label {
  color: rgba(255, 255, 255, 0.5);
}

.old-way h3 {
  color: rgba(255, 255, 255, 0.76);
}

.old-way p {
  color: rgba(255, 255, 255, 0.52);
}

.vault-way {
  transform: none;
}

.vault-way .card-label {
  color: var(--t-accent);
  text-shadow: 0 0 18px rgba(30, 240, 135, 0.26);
}

.vault-way h3 {
  color: var(--t-primary);
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

.vault-way p {
  color: rgba(255, 255, 255, 0.74);
}

.positioning-summary {
  max-width: none;
  margin: 0;
  padding: 24px 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(30, 240, 135, 0.18);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(30, 240, 135, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(30, 240, 135, 0.035);
}

.positioning-summary strong {
  color: var(--t-primary);
}

.pp-section {
  padding-top: 40px;
  padding-bottom: 150px;
}

.pp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
}

.pp-copy-card,
.pp-list-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016)),
    rgba(255, 255, 255, 0.02);
}

.pp-copy-card {
  min-height: 360px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pp-copy-card::before {
  content: '';
  position: absolute;
  inset: -80px auto auto -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 240, 135, 0.18);
  filter: blur(80px);
}

.pp-copy-card h3 {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--t-primary);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.pp-copy-card p {
  position: relative;
  max-width: 620px;
  margin-top: 12px;
  color: var(--t-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.pp-copy-card strong {
  color: var(--t-primary);
  font-weight: 600;
}

.pp-list-card {
  padding: 72px 32px 32px;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url('assets/icons/check-circle.svg') center / contain no-repeat;
}

.why-pp-section {
  padding-top: 80px;
}

#why-pp .container {
  max-width: var(--content-max);
}

#why-pp .section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

#why-pp .why-pp-main-title {
  text-align: center;
}

.why-pp-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 40px;
  border: 1px solid rgba(30, 240, 135, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 12%, rgba(30, 240, 135, 0.12), transparent 36%),
    radial-gradient(circle at 84% 70%, rgba(89, 255, 233, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  box-shadow: 0 8px 14px rgba(0, 18, 10, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.why-pp-copy {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-pp-card-title {
  max-width: 640px;
  margin: 0 0 34px;
  text-align: left;
  color: var(--t-primary);
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.why-pp-body {
  max-width: 680px;
}

.why-pp-body p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.85;
}

.why-pp-body p:first-child {
  margin-top: 0;
}

.why-pp-body strong {
  color: var(--t-primary);
  font-weight: 700;
}

.why-pp-list {
  min-height: 440px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 16%, rgba(30, 240, 135, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.026);
}

.why-pp-list-title {
  margin-bottom: 22px;
  color: var(--t-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.why-pp-list ul {
  display: grid;
  gap: 18px;
}

.why-pp-list li {
  position: relative;
  min-height: 44px;
  padding-left: 32px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  font-weight: 600;
  line-height: 1.55;
}

.why-pp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--t-accent);
  box-shadow: 0 0 18px rgba(30, 240, 135, 0.48);
  transform: translateY(-50%);
}

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

.pain-card {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.025);
}

.pain-card span {
  color: var(--t-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pain-card p {
  color: var(--t-primary);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

#why-ordinary .container {
  max-width: var(--content-max);
}

#why-ordinary .section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

#why-ordinary .why-ordinary-main-title {
  text-align: center;
}

#why-ordinary .why-ordinary-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 28px;
  padding: 40px;
  border: 1px solid rgba(30, 240, 135, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 10%, rgba(30, 240, 135, 0.12), transparent 36%),
    radial-gradient(circle at 82% 70%, rgba(89, 255, 233, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  box-shadow: 0 8px 14px rgba(0, 18, 10, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#why-ordinary .why-ordinary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
}

#why-ordinary .why-ordinary-label {
  color: var(--t-accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#why-ordinary .why-ordinary-card-title {
  margin: 12px 0 46px;
  text-align: left;
  white-space: normal;
  color: var(--t-primary);
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

#why-ordinary .why-ordinary-body {
  max-width: 620px;
}

#why-ordinary .why-ordinary-body p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
}

#why-ordinary .why-ordinary-body p:first-child {
  margin-top: 0;
}

#why-ordinary .pain-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

#why-ordinary .pain-card {
  min-height: 76px;
  padding: 18px 20px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.026);
}

#why-ordinary .pain-card span {
  width: 30px;
  flex: 0 0 30px;
}

#why-ordinary .pain-card p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

html[lang="en"] #why-ordinary .pain-card {
  min-height: 116px;
  padding: 20px 22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

html[lang="en"] #why-ordinary .pain-card span {
  width: auto;
  flex: none;
  line-height: 1.1;
}

html[lang="en"] #why-ordinary .pain-card p {
  max-width: 100%;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.35;
  text-align: left;
}

.bento-section {
  padding-top: 96px;
  padding-bottom: clamp(116px, 10vw, 164px);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  grid-auto-flow: dense;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(196, 255, 231, 0.075);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.018);
}

html[lang="en"] .bento-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html[lang="en"] #use-cases .section-title .accent {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--t-primary);
}

.bento-card {
  position: relative;
  min-height: 520px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 0;
  border: 0;
  border-right: 1px solid rgba(196, 255, 231, 0.075);
  border-bottom: 1px solid rgba(196, 255, 231, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
  transition: transform 0.32s var(--ease-out-expo), background 0.35s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.045 + var(--scrub, 0) * 0.085);
  background: radial-gradient(circle at 28% 14%, rgba(53, 223, 138, 0.22), transparent 38%);
}

.bento-card:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(circle at 20% 10%, rgba(53, 223, 138, 0.075), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.js .bento-card.reveal {
  transform: translateY(18px);
}

.js .bento-card.reveal.is-visible {
  transform: translateY(0);
}

.js .bento-card.reveal.is-visible:hover {
  transform: translateY(-2px);
}

.bento-large {
  grid-row: auto;
  min-height: 520px;
  justify-content: flex-start;
}

.bento-wide {
  grid-column: auto;
}

.bento-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--t-accent);
  background: rgba(53, 223, 138, 0.075);
  border: 1px solid rgba(53, 223, 138, 0.16);
}

.bento-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.bento-card h3 {
  position: relative;
  z-index: 1;
  margin: 12px 0 8px;
  font-size: clamp(1.35rem, 1.7vw, 1.72rem);
  line-height: 1.2;
}

.scene-label {
  color: var(--t-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bento-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.5;
}

.bento-card p {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--t-secondary);
  font-size: 0.9rem;
  line-height: 1.68;
}

.scene-lines span {
  display: block;
}

.scene-lines span + span {
  margin-top: 8px;
}

.bento-card p + p {
  margin-top: 18px;
}

.compare-section {
  padding: 84px 0 118px;
}

.compare-panel {
  max-width: var(--content-max);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(30, 240, 135, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 18%, rgba(30, 240, 135, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 8px 14px rgba(0, 18, 10, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.compare-table {
  display: grid;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.compare-cell {
  min-height: 70px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.compare-head .compare-cell {
  min-height: 96px;
  color: var(--t-primary);
  font-size: 1.125rem;
  font-weight: 600;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.03em;
}

.compare-dimension {
  grid-template-columns: 1fr;
}

.compare-dimension .compare-cell {
  height: 56px;
  min-height: 56px;
  padding-top: 0;
  padding-bottom: 0;
  justify-content: center;
  text-align: center;
  color: var(--t-secondary);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.compare-old {
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.014);
}

.compare-values .compare-cell:nth-child(2),
.compare-head .compare-cell:nth-child(2) {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(30, 240, 135, 0.18);
  background: linear-gradient(90deg, rgba(30, 240, 135, 0.09), rgba(30, 240, 135, 0.025));
}

.compare-values .compare-cell:nth-child(2)::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--t-accent);
  box-shadow: 0 0 14px rgba(30, 240, 135, 0.75);
}

.compare-head .compare-cell:nth-child(2)::before {
  display: none;
}

.compare-summary {
  min-height: 100px;
  padding: 20px 32px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 255, 233, 0.1), transparent 42%),
    rgba(0, 0, 0, 0.18);
}

.compare-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--t-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.compare-summary strong {
  display: block;
  color: var(--t-primary);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.compare-summary em {
  color: rgba(255, 255, 255, 0.42);
  font-style: normal;
}

.faq-section {
  padding-top: 80px;
}

.faq-list {
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.22s ease;
}

.faq-item:hover {
  background: rgba(215, 255, 238, 0.025);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 0 54px 0 18px;
  color: var(--t-primary);
  font-size: clamp(1.0625rem, 1.2rem, 1.35rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  display: flex;
  /* align-items: baseline; */
  justify-content: center;
  border-radius: 8px;
  color: var(--t-accent);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 2px;
  background: rgba(30, 240, 135, 0.08);
  border: 1px solid rgba(30, 240, 135, 0.18);
}

.faq-item[open] summary::after {
  content: '-';
  padding-bottom: 4px;
}

.faq-item p {
  max-width: none;
  padding: 0 54px 28px 18px;
  color: var(--t-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.ecosystem-section {
  padding-top: 56px;
}

.ecosystem-section .section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.ecosystem-section .section-title {
  margin-bottom: 0;
}

.ecosystem-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.ecosystem-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
  animation: ecosystem-scroll 34s linear infinite;
}

.ecosystem-logo {
  width: clamp(180px, 18vw, 260px);
  height: clamp(58px, 6vw, 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.74;
  filter: drop-shadow(0 0 20px rgba(30, 240, 135, 0.04));
  flex: 0 0 auto;
}

.ecosystem-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ecosystem-marquee:hover .ecosystem-track {
  animation-play-state: paused;
}

@keyframes ecosystem-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - clamp(26px, 3.5vw, 52px)));
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   WHY JASPER SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.why-section {
  padding: var(--section-padding);
}

.section-title {
  font-size: clamp(2.1rem, 3.3vw, 3.1rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
  margin-bottom: 64px;
}

.section-title .accent {
  color: var(--t-accent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  position: relative;
  padding: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--bg-card);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.why-card:hover {
  border-color: var(--border-line);
  background: var(--bg-card-hover);
}

/* Decorative glow on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0;
  filter: blur(80px);
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.why-card:hover::before {
  opacity: 0.08;
}

.why-card-icon {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 56px;
  height: 56px;
}

.why-card-icon svg {
  width: 100%;
  height: 100%;
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--t-primary);
}

.why-card-desc {
  font-size: 0.9375rem;
  color: var(--t-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   PARTNERS SECTION — Marquee
   ══════════════════════════════════════════════════════════════════════════ */
.partners {
  padding: 80px 0 100px;
  overflow: hidden;
}

.partners .section-title {
  margin-bottom: 48px;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  flex-shrink: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--t-tertiary);
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  transition: color 0.3s ease, border-color 0.3s ease;
  letter-spacing: 0.02em;
}

.partner-logo:hover {
  color: var(--t-secondary);
  border-color: var(--border-line);
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  isolation: isolate;
  padding: 100px 0 120px;
  text-align: center;
  border-top: 1px solid rgba(196, 255, 231, 0.075);
  background:
    radial-gradient(circle at 50% 10%, rgba(30, 240, 135, 0.1), transparent 34rem),
    linear-gradient(180deg, rgba(215, 255, 238, 0.018), transparent 70%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background: linear-gradient(90deg, transparent, rgba(30, 240, 135, 0.14), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 42%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 42%, transparent);
}

.cta-section .section-title {
  margin-bottom: 32px;
  text-align: center;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--t-secondary);
  max-width: min(820px, 100%);
  margin: 0 auto 40px;
  line-height: 1.7;
  white-space: nowrap;
}

html[lang="en"] .cta-desc {
  white-space: normal;
}

html[lang="en"] .cta-desc-line {
  display: block;
}

.cta-section .btn-primary {
  font-size: 1rem;
  font-weight: 400;
  height: 48px;
  min-height: 48px;
  padding: 0 40px;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
  background: linear-gradient(180deg, rgba(3, 7, 6, 0), rgba(0, 0, 0, 0.22));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--t-tertiary);
  max-width: 280px;
  line-height: 1.7;
}

.footer-brand .footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-brand .footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--t-tertiary);
  transition: all 0.25s ease;
}

.footer-brand .footer-socials a:hover {
  color: var(--t-primary);
  border-color: var(--border-line);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.footer-brand .footer-socials svg,
.footer-brand .footer-socials img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--t-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--t-tertiary);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--t-secondary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--t-tertiary);
}

/* ══════════════════════════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
   ══════════════════════════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-line);
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--t-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(40, 40, 40, 0.9);
  transform: translateY(-2px);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pp-grid {
    grid-template-columns: 1fr;
  }

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

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

  .bento-card,
  .bento-large {
    min-height: 430px;
  }

  .bento-large {
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-block {
    gap: 40px;
  }

  .why-grid {
    gap: 16px;
  }

  .why-card {
    padding: 32px;
    min-height: 240px;
  }

  .why-card-icon {
    top: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 56px;
  }

  :root {
    --container-px: 20px;
  }

  .site-header {
    height: 56px;
    padding: 0 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-links,
  .header-socials,
  .header-actions {
    display: none;
  }

  .mobile-header-cta {
    display: inline-flex;
    min-width: 104px;
    min-height: 34px;
    padding: 0 14px;
    margin-left: auto;
    font-size: 0.8125rem;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .hero {
    min-height: 100svh;
    max-height: none;
  }

  .hero-content {
    justify-content: flex-start;
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 120px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.8vw, 2.95rem);
    line-height: 1.08;
    margin-bottom: 20px;
  }

  html[lang="en"] .hero-title {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    max-width: 100%;
  }

  .hero-title-muted {
    font-size: 0.66em;
  }

  .hero-subtitle {
    max-width: 34rem;
    margin-bottom: 32px;
  }

  html[lang="en"] .hero-subtitle {
    font-size: 0.875rem;
  }

  .hero-actions {
    margin-bottom: 48px;
    max-width: 100%;
    gap: 10px;
  }

  .hero-actions .btn-primary {
    min-height: 48px;
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1rem;
  }

  .stats {
    padding: 40px 0 60px;
  }

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

  .stat-item {
    padding: 20px 0;
  }

  .stat-item + .stat-item {
    border-top: 1px solid var(--border-subtle);
  }

  .features {
    padding: 60px 0;
  }

  .positioning-section,
  .pp-section,
  .why-pp-section,
  .bento-section,
  .compare-section,
  .faq-section,
  .ecosystem-section {
    padding: 72px 0;
  }

  .section-heading,
  #why-pp .section-heading,
  #why-ordinary .section-heading,
  .ecosystem-section .section-heading {
    max-width: none;
    margin-bottom: 34px;
    text-align: left;
  }

  .section-lede {
    margin-left: 0;
  }

  .section-title,
  #why-pp .why-pp-main-title,
  #why-ordinary .why-ordinary-main-title,
  .ecosystem-section .section-title {
    text-align: left;
    font-size: clamp(1.75rem, 7vw, 1.75rem);
    line-height: 1.18;
  }

  #why-pp .why-pp-main-title .title-line {
    display: block;
    white-space: nowrap;
  }

  html[lang="en"] #why-pp .why-pp-main-title .title-line + .title-line::before {
    content: "";
  }

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

  .position-card {
    min-height: auto;
    padding: 30px;
    justify-content: flex-start;
  }

  .position-card .card-label {
    line-height: 1.2;
  }

  .position-card h3 {
    font-size: clamp(1.25rem, 5.4vw, 1.25rem);
    margin-top: 0;
    margin-bottom: 16px;
  }

  html[lang="en"] .position-card h3 {
    font-size: 1.18rem;
    line-height: 1.18;
  }

  .pp-copy-card h3 {
    font-size: 1.75rem;
  }

  .bento-card h3 {
    font-size: clamp(1.25rem, 5.4vw, 1.25rem);
  }

  .pp-copy-card,
  .pp-list-card {
    padding: 30px;
  }

  #pp .pp-list-card {
    padding: 34px 30px 38px;
  }

  #pp .pp-list-card .card-label {
    position: static;
    max-width: none;
    margin-bottom: 34px;
    font-size: 1.04rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: none;
  }

  #pp .pp-list-card .check-list {
    gap: 30px;
  }

  #pp .pp-list-card .check-list li {
    min-height: 44px;
    padding-left: 38px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.25rem, 6vw, 1.5rem);
    font-weight: 600;
    line-height: 1.34;
  }

  #pp .pp-list-card .check-list li::before {
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--t-accent);
    box-shadow: 0 0 18px rgba(30, 240, 135, 0.48);
    transform: translateY(-50%);
  }

  .position-card h3,
  .pp-copy-card h3,
  .why-pp-card-title,
  #why-ordinary .why-ordinary-card-title,
  .bento-card h3,
  .compare-summary strong,
  .section-title {
    overflow-wrap: anywhere;
  }

  #why-pp .why-pp-main-title {
    overflow-wrap: normal;
  }

  .why-pp-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .why-pp-copy,
  .why-pp-list {
    min-height: auto;
  }

  .why-pp-card-title {
    margin-bottom: 26px;
  }

  .why-pp-body p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .why-pp-list {
    padding: 28px;
  }

  .why-pp-list li {
    font-size: 1rem;
  }

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

  .pain-card {
    min-height: 120px;
  }

  #why-ordinary .why-ordinary-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  #why-ordinary .why-ordinary-copy {
    min-height: auto;
  }

  #why-ordinary .why-ordinary-card-title {
    margin-bottom: 28px;
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  #why-ordinary .why-ordinary-body p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  html[lang="en"] .bento-grid {
    grid-template-columns: 1fr;
  }

  html[lang="en"] #use-cases .section-title .accent {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--t-primary);
  }

  .bento-card,
  .bento-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    transform: none;
  }

  .bento-wide {
    grid-column: auto;
  }

  .compare-panel {
    border-radius: 18px;
  }

  .compare-cell {
    min-height: 64px;
    padding: 17px 16px;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
  }

  .compare-head .compare-cell {
    min-height: 56px;
    font-size: 0.86rem;
    font-weight: 600;
  }

  .compare-values .compare-cell:nth-child(2)::before {
    width: 6px;
    height: 6px;
    margin-right: 9px;
  }

  .compare-summary {
    min-height: auto;
    padding: 24px 18px 26px;
    text-align: left;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .feature-visual {
    aspect-ratio: 16 / 12;
  }

  .why-section {
    padding: 60px 0;
  }

  html[lang="en"] .faq-item summary {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .faq-item summary {
    align-items: flex-start;
    min-height: auto;
    padding: 22px 44px 22px 0;
    line-height: 1.35;
  }

  .faq-item summary::after {
    top: 18px;
    transform: none;
  }

  .ecosystem-marquee {
    width: 100%;
    padding: 18px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }

  .ecosystem-logo {
    width: 168px;
    height: 56px;
  }

  .ecosystem-track {
    gap: 40px;
    animation-duration: 28s;
  }

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

  .why-card {
    min-height: 220px;
  }

  .section-title {
    margin-bottom: 40px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-section {
    padding: 60px 0 80px;
  }

  .cta-section .section-title {
    text-align: center;
  }

  .cta-desc {
    white-space: normal;
  }

  .cta-section .btn-primary {
    min-height: 48px;
    height: 48px;
    padding: 0 24px;
    font-size: 1rem;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 182px;
    height: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .cta-section .btn-primary {
    justify-content: center;
    width: 100%;
    min-width: 0;
    align-self: stretch;
  }

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

  .partner-logo {
    font-size: 0.9375rem;
    padding: 0 16px;
    height: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .glow-blob,
  .marquee-track,
  .floating-card {
    animation: none !important;
  }

  .hero-3d-logo-group {
    transform: rotateY(-18deg) rotateX(6deg) !important;
    will-change: auto;
  }

  .sweep-line {
    opacity: 0.45;
    filter: none;
  }
}
