/* ===== CSS Variables ===== */
:root {
  --accent: #7c8cff;
  --accent2: #39f3c9;
  --text: #eaeaea;
  --muted: #b9b9c1;
  --stroke: rgba(255, 255, 255, 0.12);
  --bg: #0b0b0c;
  --card-bg: rgba(255, 255, 255, 0.05);
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Inter, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  min-block-size: 400vh; /* Extended height for scroll animation */
}

/* ===== Background Glow ===== */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 140, 255, 0.18), transparent 60%),
    radial-gradient(1200px 600px at 10% 110%, rgba(57, 243, 201, 0.12), transparent 60%),
    linear-gradient(180deg, #0b0b0c 0%, #0b0b0c 50%, #0a0a0b 100%);
}

/* ===== Container ===== */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin-bottom: 40px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(124, 140, 255, 0.35));
}

.nav-docs-link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s, text-decoration 0.2s;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-docs-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.lang-toggle .current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(124, 140, 255, 0.35);
}

.lang-toggle .caret-btn {
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
  opacity: 0.85;
  transition: background 0.2s;
}

.lang-toggle .caret-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 200px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(20, 20, 23, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 4px;
  z-index: 100;
}

.lang-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-menu li:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-menu li[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.18);
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 0 80px;
  flex: 1;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 4rem;
  min-height: 80vh;
}

.hero-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-width: 400px;
  margin: 0 auto;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(124, 140, 255, 0.3);
  border: 2px solid var(--stroke);
}

.content {
  max-width: 900px;
  width: 100%;
}

.kicker {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: #d7d7dd;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent2);
  box-shadow: 0 0 18px var(--accent2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.title {
  margin: 0.8rem 0 0.5rem;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 2rem;
}

/* ===== Social Proof ===== */
.social-proof {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.social-proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.proof-number {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ===== App Store Button ===== */
.app-store-btn {
  display: inline-block;
  margin: 2rem 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 12px 30px rgba(124, 140, 255, 0.35));
}

.app-store-btn:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 16px 40px rgba(124, 140, 255, 0.45));
}

.app-store-btn img {
  height: 50px;
  width: auto;
}

/* ===== Sparkle Button ===== */
.sparkle-btn {
  --sparkle-color: var(--accent);
  --sparkle-shadow: var(--accent2);
  --sparkle-glare: hsl(0 0% 100% / 0.75);
  --sparkle-size: 1.5rem;
  --hover: 0.4;
  --pos: 0;
  
  --padding: 1rem 2rem;
  padding: var(--padding);
  border-radius: 16px;
  text-decoration: none;
  color: transparent;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-block;
  margin: 2rem 0;
  background: rgba(124, 140, 255, 0.1);
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.35);
}

.sparkle-btn:hover {
  --hover: 1;
  --pos: 1;
  background: rgba(124, 140, 255, 0.15);
  box-shadow: 0 16px 40px rgba(124, 140, 255, 0.5);
}

.sparkle-btn:active {
  --hover: 0;
}

.sparkle-btn:active span:last-of-type {
  --hover: 0;
  --pos: 1;
}

.sparkle-btn span {
  display: inline-block;
  font-size: calc(var(--sparkle-size) * 1);
  font-weight: 800;
  transition: all 0.2s;
  text-decoration: none;
  text-shadow:
    calc(var(--hover) * (var(--sparkle-size) * -0.01)) calc(var(--hover) * (var(--sparkle-size) * 0.01)) var(--sparkle-shadow),
    calc(var(--hover) * (var(--sparkle-size) * -0.02)) calc(var(--hover) * (var(--sparkle-size) * 0.02)) var(--sparkle-shadow);
  transform: translate(calc(var(--hover) * (var(--sparkle-size) * 0.03)), calc(var(--hover) * (var(--sparkle-size) * -0.03)));
}

.sparkle-btn span:last-of-type {
  position: absolute;
  inset: 1rem 2rem;
  background: linear-gradient(
    108deg,
    transparent 0 55%,
    var(--sparkle-glare) 55% 60%,
    transparent 60% 70%,
    var(--sparkle-glare) 70% 85%,
    transparent 85%
  ) calc(var(--pos) * -200%) 0% / 200% 100%, 
  linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  z-index: 2;
  text-shadow: none;
  transform: translate(calc(var(--hover) * (var(--sparkle-size) * 0.03)), calc(var(--hover) * (var(--sparkle-size) * -0.03)));
  transition: transform 0.2s, background-position 0s;
}

.sparkle-btn:hover span:last-of-type {
  transition: transform 0.2s, background-position calc(var(--hover) * 1.5s) calc(var(--hover) * 0.25s);
}

.sparkle-btn svg {
  position: absolute;
  z-index: 3;
  width: calc(var(--sparkle-size) * 0.5);
  aspect-ratio: 1;
  --delay-step: 0.15;
  top: calc(var(--y, 50) * 1%);
  left: calc(var(--x, 0) * 1%);
  transform: translate(-50%, -50%) scale(0);
}

.sparkle-btn svg path {
  fill: var(--sparkle-glare);
}

.sparkle-btn:hover svg {
  animation: sparkle 0.75s calc((var(--delay-step) * var(--d)) * 1s) both;
}

@keyframes sparkle {
  50% {
    transform: translate(-50%, -50%) scale(var(--s, 1));
  }
}

.sparkle-btn svg:nth-of-type(1) {
  --x: 0;
  --y: 20;
  --s: 1.1;
  --d: 1;
}

.sparkle-btn svg:nth-of-type(2) {
  --x: 15;
  --y: 80;
  --s: 1.25;
  --d: 2;
}

.sparkle-btn svg:nth-of-type(3) {
  --x: 45;
  --y: 40;
  --s: 1.1;
  --d: 3;
}

.sparkle-btn svg:nth-of-type(4) {
  --x: 75;
  --y: 60;
  --s: 0.9;
  --d: 2;
}

.sparkle-btn svg:nth-of-type(5) {
  --x: 100;
  --y: 30;
  --s: 0.8;
  --d: 4;
}

/* Smaller CTA variant */
.sparkle-btn.cta-small {
  --sparkle-size: 1rem;
  --padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Secondary sparkle button variant - Only stars, no 3D effect */
.sparkle-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--stroke);
}

.sparkle-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.sparkle-btn-secondary span {
  text-shadow: none;
  transform: none;
}

.sparkle-btn-secondary span:last-of-type {
  transform: none;
  transition: background-position calc(var(--hover) * 1.5s) calc(var(--hover) * 0.25s);
}

/* ===== Transformation Section ===== */
.transformation-section {
  width: 100%;
  margin: 4rem 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.image-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 0;
}

.image-text-row.reverse {
  direction: ltr;
}

.transformation-img {
  width: 100%;
  height: 50vh;
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.15), rgba(57, 243, 201, 0.15)),
              url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?w=1200&q=80') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--stroke);
  position: relative;
}

.transformation-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(11, 11, 12, 0.6) 100%);
  border-radius: 18px;
}

.transformation-img-bottom {
  background: linear-gradient(135deg, rgba(57, 243, 201, 0.15), rgba(124, 140, 255, 0.15)),
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1200&q=80') no-repeat center center;
  background-size: cover;
}

.transformation-text-side {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transformation-text-side h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  line-height: 1.2;
}

.transformation-text-side p {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

/* ===== CTA Button ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(124, 140, 255, 0.35);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.5);
}

.cta-btn:active {
  transform: translateY(0);
}

/* ===== Stuck Grid Animation ===== */
.stuck-grid-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background: var(--bg);
  min-height: 300vh; /* Creates scroll space for the animation */
}

.flow-state-header {
  position: sticky;
  top: 100px;
  z-index: 10;
  text-align: center;
  padding: 2rem 0;
  pointer-events: none;
}

.flow-state-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(124, 140, 255, 0.5);
}

@keyframes zoom-in {
  0% {
    transform: translateZ(-1000px);
    opacity: 0;
    filter: blur(5px);
  }
  50% {
    transform: translateZ(0px);
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    transform: translateZ(1000px);
    opacity: 0;
    filter: blur(5px);
  }
}

.stuck-grid {
  block-size: 100svh;
  width: 100vw;
  perspective: 1000px;
  transform-style: preserve-3d;
  display: grid;
  grid: repeat(4, 25svh) / repeat(4, 25vw);
  place-items: center;
  position: sticky;
  top: 0;
  overflow: clip;
  background: radial-gradient(ellipse at center, rgba(124, 140, 255, 0.05), transparent 70%);
}

.stuck-grid > .grid-item {
  transform-style: preserve-3d;
  font-size: 5vmin;
  font-weight: lighter;
  text-wrap: nowrap;
  color: var(--text);
  text-align: center;
  padding: 0.5rem;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .stuck-grid > .grid-item {
      animation: zoom-in linear both;
      animation-timeline: scroll(root block);
      will-change: transform, opacity, filter;
    }
  }
}

.stuck-grid > .grid-item.special.special {
  grid-row: 2 / span 2;
  grid-column: 2 / span 2;
}

.stuck-grid > .grid-item.special > b {
  font-size: 15vmin;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.stuck-grid > .grid-item:nth-of-type(1)  { animation-range: 40% 50% }
.stuck-grid > .grid-item:nth-of-type(2)  { animation-range: 20% 30% }
.stuck-grid > .grid-item:nth-of-type(3)  { animation-range: 52% 62% }
.stuck-grid > .grid-item:nth-of-type(4)  { animation-range: 50% 60% }
.stuck-grid > .grid-item:nth-of-type(5)  { animation-range: 45% 55% }
.stuck-grid > .grid-item:nth-of-type(6)  { animation-range: 10% 20% }
.stuck-grid > .grid-item:nth-of-type(7)  { animation-range: 90% 100% }
.stuck-grid > .grid-item:nth-of-type(8)  { animation-range: 30% 40% }
.stuck-grid > .grid-item:nth-of-type(9)  { animation-range: 80% 90% }
.stuck-grid > .grid-item:nth-of-type(10) { animation-range: 70% 80% }
.stuck-grid > .grid-item:nth-of-type(11) { animation-range: 0% 100% }
.stuck-grid > .grid-item:nth-of-type(12) { animation-range: 52% 62% }
.stuck-grid > .grid-item:nth-of-type(13) { animation-range: 15% 25% }
.stuck-grid > .grid-item:nth-of-type(14) { animation-range: 7% 17% }
.stuck-grid > .grid-item:nth-of-type(15) { animation-range: 75% 85% }
.stuck-grid > .grid-item:nth-of-type(16) { animation-range: 3% 13% }
.stuck-grid > .grid-item:nth-of-type(17) { animation-range: 87% 97% }
.stuck-grid > .grid-item:nth-of-type(18) { animation-range: 42% 52% }
.stuck-grid > .grid-item:nth-of-type(19) { animation-range: 57% 67% }
.stuck-grid > .grid-item:nth-of-type(20) { animation-range: 37% 47% }
.stuck-grid > .grid-item:nth-of-type(21) { animation-range: 12% 22% }
.stuck-grid > .grid-item:nth-of-type(22) { animation-range: 8% 18% }
.stuck-grid > .grid-item:nth-of-type(23) { animation-range: 84% 94% }
.stuck-grid > .grid-item:nth-of-type(24) { animation-range: 33% 43% }
.stuck-grid > .grid-item:nth-of-type(25) { animation-range: 48% 58% }
.stuck-grid > .grid-item:nth-of-type(26) { animation-range: 13% 23% }
.stuck-grid > .grid-item:nth-of-type(27) { animation-range: 78% 88% }
.stuck-grid > .grid-item:nth-of-type(28) { animation-range: 62% 72% }
.stuck-grid > .grid-item:nth-of-type(29) { animation-range: 31% 41% }
.stuck-grid > .grid-item:nth-of-type(30) { animation-range: 8% 18% }
.stuck-grid > .grid-item:nth-of-type(31) { animation-range: 4% 14% }
.stuck-grid > .grid-item:nth-of-type(32) { animation-range: 74% 84% }
.stuck-grid > .grid-item:nth-of-type(33) { animation-range: 61% 71% }
.stuck-grid > .grid-item:nth-of-type(34) { animation-range: 26% 36% }
.stuck-grid > .grid-item:nth-of-type(35) { animation-range: 63% 73% }
.stuck-grid > .grid-item:nth-of-type(36) { animation-range: 11% 21% }
.stuck-grid > .grid-item:nth-of-type(37) { animation-range: 89% 99% }
.stuck-grid > .grid-item:nth-of-type(38) { animation-range: 33% 43% }
.stuck-grid > .grid-item:nth-of-type(39) { animation-range: 88% 98% }
.stuck-grid > .grid-item:nth-of-type(40) { animation-range: 22% 32% }
.stuck-grid > .grid-item:nth-of-type(41) { animation-range: 16% 26% }
.stuck-grid > .grid-item:nth-of-type(42) { animation-range: 26% 36% }
.stuck-grid > .grid-item:nth-of-type(43) { animation-range: 66% 76% }
.stuck-grid > .grid-item:nth-of-type(44) { animation-range: 3% 13% }
.stuck-grid > .grid-item:nth-of-type(45) { animation-range: 44% 54% }
.stuck-grid > .grid-item:nth-of-type(46) { animation-range: 11% 21% }
.stuck-grid > .grid-item:nth-of-type(47) { animation-range: 23% 33% }
.stuck-grid > .grid-item:nth-of-type(48) { animation-range: 39% 49% }
.stuck-grid > .grid-item:nth-of-type(49) { animation-range: 59% 69% }
.stuck-grid > .grid-item:nth-of-type(50) { animation-range: 6% 16% }
.stuck-grid > .grid-item:nth-of-type(51) { animation-range: 17% 27% }
.stuck-grid > .grid-item:nth-of-type(52) { animation-range: 68% 78% }
.stuck-grid > .grid-item:nth-of-type(53) { animation-range: 25% 35% }
.stuck-grid > .grid-item:nth-of-type(54) { animation-range: 55% 65% }
.stuck-grid > .grid-item:nth-of-type(55) { animation-range: 35% 45% }
.stuck-grid > .grid-item:nth-of-type(56) { animation-range: 72% 82% }
.stuck-grid > .grid-item:nth-of-type(57) { animation-range: 18% 28% }
.stuck-grid > .grid-item:nth-of-type(58) { animation-range: 92% 102% }
.stuck-grid > .grid-item:nth-of-type(59) { animation-range: 28% 38% }
.stuck-grid > .grid-item:nth-of-type(60) { animation-range: 65% 75% }
.stuck-grid > .grid-item:nth-of-type(61) { animation-range: 38% 48% }
.stuck-grid > .grid-item:nth-of-type(62) { animation-range: 82% 92% }
.stuck-grid > .grid-item:nth-of-type(63) { animation-range: 14% 24% }
.stuck-grid > .grid-item:nth-of-type(64) { animation-range: 47% 57% }
.stuck-grid > .grid-item:nth-of-type(65) { animation-range: 24% 34% }
.stuck-grid > .grid-item:nth-of-type(66) { animation-range: 54% 64% }
.stuck-grid > .grid-item:nth-of-type(67) { animation-range: 71% 81% }
.stuck-grid > .grid-item:nth-of-type(68) { animation-range: 19% 29% }
.stuck-grid > .grid-item:nth-of-type(69) { animation-range: 60% 70% }
.stuck-grid > .grid-item:nth-of-type(70) { animation-range: 41% 51% }

@supports (animation-timeline: scroll()) {
  .stuck-grid > .grid-item:nth-of-type(1) { grid-area: 1/1 }
  .stuck-grid > .grid-item:nth-of-type(2) { grid-area: 1/2 }
  .stuck-grid > .grid-item:nth-of-type(3) { grid-area: 1/3 }
  .stuck-grid > .grid-item:nth-of-type(4) { grid-area: 1/4 }
  .stuck-grid > .grid-item:nth-of-type(5) { grid-area: 2/1 }
  .stuck-grid > .grid-item:nth-of-type(6) { grid-area: 2/2 }
  .stuck-grid > .grid-item:nth-of-type(7) { grid-area: 2/3 }
  .stuck-grid > .grid-item:nth-of-type(8) { grid-area: 2/4 }
  .stuck-grid > .grid-item:nth-of-type(9) { grid-area: 3/1 }
  .stuck-grid > .grid-item:nth-of-type(10) { grid-area: 3/2 }
  .stuck-grid > .grid-item:nth-of-type(11) { grid-area: 3/3 }
  .stuck-grid > .grid-item:nth-of-type(12) { grid-area: 3/4 }
  .stuck-grid > .grid-item:nth-of-type(13) { grid-area: 4/1 }
  .stuck-grid > .grid-item:nth-of-type(14) { grid-area: 4/2 }
  .stuck-grid > .grid-item:nth-of-type(15) { grid-area: 4/3 }
  .stuck-grid > .grid-item:nth-of-type(16) { grid-area: 4/4 }
  .stuck-grid > .grid-item:nth-of-type(17) { grid-area: 2/1 }
  .stuck-grid > .grid-item:nth-of-type(18) { grid-area: 2/2 }
  .stuck-grid > .grid-item:nth-of-type(19) { grid-area: 2/3 }
  .stuck-grid > .grid-item:nth-of-type(20) { grid-area: 2/4 }
  .stuck-grid > .grid-item:nth-of-type(21) { grid-area: 3/1 }
  .stuck-grid > .grid-item:nth-of-type(22) { grid-area: 3/2 }
  .stuck-grid > .grid-item:nth-of-type(23) { grid-area: 3/3 }
  .stuck-grid > .grid-item:nth-of-type(24) { grid-area: 3/4 }
  .stuck-grid > .grid-item:nth-of-type(25) { grid-area: 1/1 }
  .stuck-grid > .grid-item:nth-of-type(26) { grid-area: 1/2 }
  .stuck-grid > .grid-item:nth-of-type(27) { grid-area: 1/3 }
  .stuck-grid > .grid-item:nth-of-type(28) { grid-area: 1/4 }
  .stuck-grid > .grid-item:nth-of-type(29) { grid-area: 4/1 }
  .stuck-grid > .grid-item:nth-of-type(30) { grid-area: 4/2 }
  .stuck-grid > .grid-item:nth-of-type(31) { grid-area: 4/3 }
  .stuck-grid > .grid-item:nth-of-type(32) { grid-area: 4/4 }
  .stuck-grid > .grid-item:nth-of-type(33) { grid-area: 2/1 }
  .stuck-grid > .grid-item:nth-of-type(34) { grid-area: 2/2 }
  .stuck-grid > .grid-item:nth-of-type(35) { grid-area: 2/3 }
  .stuck-grid > .grid-item:nth-of-type(36) { grid-area: 2/4 }
  .stuck-grid > .grid-item:nth-of-type(37) { grid-area: 3/1 }
  .stuck-grid > .grid-item:nth-of-type(38) { grid-area: 3/2 }
  .stuck-grid > .grid-item:nth-of-type(39) { grid-area: 3/3 }
  .stuck-grid > .grid-item:nth-of-type(40) { grid-area: 3/4 }
  .stuck-grid > .grid-item:nth-of-type(41) { grid-area: 1/1 }
  .stuck-grid > .grid-item:nth-of-type(42) { grid-area: 1/2 }
  .stuck-grid > .grid-item:nth-of-type(43) { grid-area: 1/3 }
  .stuck-grid > .grid-item:nth-of-type(44) { grid-area: 1/4 }
  .stuck-grid > .grid-item:nth-of-type(45) { grid-area: 4/1 }
  .stuck-grid > .grid-item:nth-of-type(46) { grid-area: 4/2 }
  .stuck-grid > .grid-item:nth-of-type(47) { grid-area: 4/3 }
  .stuck-grid > .grid-item:nth-of-type(48) { grid-area: 4/4 }
  .stuck-grid > .grid-item:nth-of-type(49) { grid-area: 3/1 }
  .stuck-grid > .grid-item:nth-of-type(50) { grid-area: 3/2 }
  .stuck-grid > .grid-item:nth-of-type(51) { grid-area: 1/1 }
  .stuck-grid > .grid-item:nth-of-type(52) { grid-area: 1/2 }
  .stuck-grid > .grid-item:nth-of-type(53) { grid-area: 1/3 }
  .stuck-grid > .grid-item:nth-of-type(54) { grid-area: 1/4 }
  .stuck-grid > .grid-item:nth-of-type(55) { grid-area: 2/1 }
  .stuck-grid > .grid-item:nth-of-type(56) { grid-area: 2/2 }
  .stuck-grid > .grid-item:nth-of-type(57) { grid-area: 2/3 }
  .stuck-grid > .grid-item:nth-of-type(58) { grid-area: 2/4 }
  .stuck-grid > .grid-item:nth-of-type(59) { grid-area: 3/1 }
  .stuck-grid > .grid-item:nth-of-type(60) { grid-area: 3/2 }
  .stuck-grid > .grid-item:nth-of-type(61) { grid-area: 3/3 }
  .stuck-grid > .grid-item:nth-of-type(62) { grid-area: 3/4 }
  .stuck-grid > .grid-item:nth-of-type(63) { grid-area: 4/1 }
  .stuck-grid > .grid-item:nth-of-type(64) { grid-area: 4/2 }
  .stuck-grid > .grid-item:nth-of-type(65) { grid-area: 4/3 }
  .stuck-grid > .grid-item:nth-of-type(66) { grid-area: 4/4 }
  .stuck-grid > .grid-item:nth-of-type(67) { grid-area: 1/1 }
  .stuck-grid > .grid-item:nth-of-type(68) { grid-area: 1/2 }
  .stuck-grid > .grid-item:nth-of-type(69) { grid-area: 1/3 }
  .stuck-grid > .grid-item:nth-of-type(70) { grid-area: 1/4 }
}

/* Hero continuation for content after animation */
.hero-continuation {
  margin-top: 0;
  padding-top: 4rem;
}

/* ===== Community Section ===== */
.community-section {
  margin: 6rem 0 4rem;
  width: 100%;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.community-header {
  margin-bottom: 2rem;
}

.community-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.community-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 2rem;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.6);
}

.discord-btn:active {
  transform: translateY(-1px);
}

.discord-icon {
  font-size: 1.5rem;
}

/* ===== FAQ Section ===== */
.faq-section {
  margin: 6rem 0 4rem;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
}

.faq-docs-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Documentation Card (Left Side) */
.docs-promo-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.docs-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.docs-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(124, 140, 255, 0.25);
  border-color: rgba(124, 140, 255, 0.4);
}

.docs-promo-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(124, 140, 255, 0.35));
}

.docs-promo-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.docs-promo-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.docs-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(124, 140, 255, 0.35);
}

.docs-promo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.5);
  gap: 0.7rem;
}

.docs-promo-link svg {
  transition: transform 0.3s ease;
}

.docs-promo-link:hover svg {
  transform: translateX(3px);
}

/* FAQ Container (Right Side) */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(124, 140, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 140, 255, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent2);
}

.faq-question-text {
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer:not([hidden]) {
  max-height: 500px;
  padding: 0 1.8rem 1.5rem;
}

.faq-answer p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  animation: fadeIn 0.3s ease;
}

.faq-link {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.faq-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Info Cards ===== */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 3rem 0;
  min-height: 100vh;
  align-content: center;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(124, 140, 255, 0.35));
}

.info-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.mission-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.mission-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.mission-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 800;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 3rem 0;
  min-height: 100vh;
  align-content: center;
}

/* ===== Comparison Section ===== */
.comparison-section {
  margin: 6rem 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comparison-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.comparison-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.7;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.comparison-card {
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
}

.green-card {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.15), rgba(34, 139, 34, 0.05));
  border: 1px solid rgba(34, 139, 34, 0.3);
}

.brown-card {
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.15), rgba(139, 90, 43, 0.05));
  border: 1px solid rgba(139, 90, 43, 0.3);
}

.purple-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.card-icon-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-icon {
  font-size: 2rem;
  filter: drop-shadow(0 4px 12px rgba(124, 140, 255, 0.35));
}

.card-icon-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

.traditional-methods,
.octa-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.methods-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.octa-label {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.x-icon {
  color: #ff6b6b;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 50%;
}

.check-icon {
  color: var(--accent2);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(57, 243, 201, 0.1);
  border-radius: 50%;
}

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stroke);
}

.arrow-down {
  margin: 0 1rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.comparison-cta {
  text-align: center;
  margin-top: 2rem;
}

.comparison-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.comparison-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 107, 53, 0.6);
}

/* ===== Use Cases Section ===== */
.use-cases-section {
  margin: 6rem 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.use-cases-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.use-cases-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.use-cases-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.7;
}

.use-cases-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.use-case-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.use-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-color: var(--card-bg);
  z-index: 0;
}

.use-case-card > * {
  position: relative;
  z-index: 2;
}

.use-case-card .shine {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.use-case-card .shine::before {
  content: '';
  width: 150%;
  padding-bottom: 150%;
  border-radius: 50%;
  position: absolute;
  left: 10%;
  top: 20%;
  filter: blur(35px);
  opacity: 0.15;
  transform: translateX(-50%);
  background-image: conic-gradient(from 205deg at 50% 50%, rgba(124, 140, 255, 0) 0deg, var(--accent) 25deg, rgba(57, 243, 201, 0.18) 295deg, rgba(124, 140, 255, 0) 360deg);
}

.use-case-card .card-background {
  border-radius: inherit;
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle at 10% 20%, black 0%, black 15%, transparent 60%);
  mask-image: radial-gradient(circle at 10% 20%, black 0%, black 15%, transparent 60%);
  pointer-events: none;
}

.use-case-card .card-background .tiles {
  opacity: 0;
  transition: opacity 0.25s;
}

.use-case-card .card-background .tile {
  position: absolute;
  background-color: rgba(124, 140, 255, 0.08);
  animation-duration: 8s;
  animation-iteration-count: infinite;
  opacity: 0;
}

.use-case-card .card-background .tile.tile-4,
.use-case-card .card-background .tile.tile-6,
.use-case-card .card-background .tile.tile-10 {
  animation-delay: -2s;
}

.use-case-card .card-background .tile.tile-3,
.use-case-card .card-background .tile.tile-5,
.use-case-card .card-background .tile.tile-8 {
  animation-delay: -4s;
}

.use-case-card .card-background .tile.tile-2,
.use-case-card .card-background .tile.tile-9 {
  animation-delay: -6s;
}

.use-case-card .card-background .tile.tile-1 { top: 0; left: 0; height: 10%; width: 22.5%; }
.use-case-card .card-background .tile.tile-2 { top: 0; left: 22.5%; height: 10%; width: 27.5%; }
.use-case-card .card-background .tile.tile-3 { top: 0; left: 50%; height: 10%; width: 27.5%; }
.use-case-card .card-background .tile.tile-4 { top: 0; left: 77.5%; height: 10%; width: 22.5%; }
.use-case-card .card-background .tile.tile-5 { top: 10%; left: 0; height: 22.5%; width: 22.5%; }
.use-case-card .card-background .tile.tile-6 { top: 10%; left: 22.5%; height: 22.5%; width: 27.5%; }
.use-case-card .card-background .tile.tile-7 { top: 10%; left: 50%; height: 22.5%; width: 27.5%; }
.use-case-card .card-background .tile.tile-8 { top: 10%; left: 77.5%; height: 22.5%; width: 22.5%; }
.use-case-card .card-background .tile.tile-9 { top: 32.5%; left: 50%; height: 22.5%; width: 27.5%; }
.use-case-card .card-background .tile.tile-10 { top: 32.5%; left: 77.5%; height: 22.5%; width: 22.5%; }

@keyframes tile-anim {
  0%, 12.5%, 100% { opacity: 1; }
  25%, 82.5% { opacity: 0; }
}

.use-case-card .card-background .card-line {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
}

.use-case-card .card-background .card-line::before,
.use-case-card .card-background .card-line::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  transition: transform 0.35s;
}

.use-case-card .card-background .card-line::before {
  left: 0;
  right: 0;
  height: 1px;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.use-case-card .card-background .card-line::after {
  top: 0;
  bottom: 0;
  width: 1px;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.use-case-card .card-background .card-line.line-1::before { top: 10%; }
.use-case-card .card-background .card-line.line-1::after { left: 22.5%; }
.use-case-card .card-background .card-line.line-1::before,
.use-case-card .card-background .card-line.line-1::after { transition-delay: 0.3s; }

.use-case-card .card-background .card-line.line-2::before { top: 32.5%; }
.use-case-card .card-background .card-line.line-2::after { left: 50%; }
.use-case-card .card-background .card-line.line-2::before,
.use-case-card .card-background .card-line.line-2::after { transition-delay: 0.15s; }

.use-case-card .card-background .card-line.line-3::before { top: 55%; }
.use-case-card .card-background .card-line.line-3::after { right: 22.5%; }

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 140, 255, 0.2);
  border-color: rgba(124, 140, 255, 0.3);
}

.use-case-card:hover .shine {
  opacity: 1;
  transition-duration: 0.5s;
  transition-delay: 0s;
}

.use-case-card:hover .card-background .tiles {
  opacity: 1;
  transition-delay: 0.25s;
}

.use-case-card:hover .card-background .tile {
  animation-name: tile-anim;
}

.use-case-card:hover .card-background .card-line {
  opacity: 1;
  transition-duration: 0.15s;
}

.use-case-card:hover .card-background .card-line::before {
  transform: scaleX(1);
}

.use-case-card:hover .card-background .card-line::after {
  transform: scaleY(1);
}

.use-case-card:hover .card-background .card-line.line-1::before,
.use-case-card:hover .card-background .card-line.line-1::after {
  transition-delay: 0s;
}

.use-case-card:hover .card-background .card-line.line-2::before,
.use-case-card:hover .card-background .card-line.line-2::after {
  transition-delay: 0.15s;
}

.use-case-card:hover .card-background .card-line.line-3::before,
.use-case-card:hover .card-background .card-line.line-3::after {
  transition-delay: 0.3s;
}

.use-case-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.green-icon {
  background: linear-gradient(135deg, rgba(34, 139, 34, 0.2), rgba(34, 139, 34, 0.1));
}

.purple-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.1));
}

.blue-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
}

.use-case-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.use-case-content p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.use-cases-cta {
  text-align: center;
  margin-top: 3rem;
}

.use-cases-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 16px 40px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.use-cases-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 107, 53, 0.6);
}

/* ===== KPI Section ===== */
.kpi-section {
  margin: 6rem 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kpi-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kpi-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kpi-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.7;
}

/* Main Highlight */
.kpi-main-highlight {
  text-align: center;
  margin: 3rem auto 4rem;
  padding: 3rem 2rem;
  max-width: 600px;
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(124, 140, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.kpi-main-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.highlight-number {
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.highlight-label {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.highlight-context {
  color: var(--muted);
  font-size: clamp(14px, 2vw, 18px);
  margin: 0;
}

/* KPI Grid */
.kpi-bubbles-container {
  position: relative;
  margin: 4rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.kpi-bubble {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(124, 140, 255, 0.2), var(--card-bg));
  border: 2px solid var(--stroke);
  box-shadow: 0 20px 60px rgba(124, 140, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
}

/* Floating animation for each bubble */
.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 0.3s; }
.bubble-3 { animation-delay: 0.6s; }
.bubble-4 { animation-delay: 0.9s; }
.bubble-5 { animation-delay: 1.2s; }
.bubble-6 { animation-delay: 1.5s; }
.bubble-7 { animation-delay: 1.8s; }

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

.kpi-bubble:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 25px 70px rgba(124, 140, 255, 0.5);
  animation: none;
}

.bubble-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(124, 140, 255, 0.35));
}

.bubble-value {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.bubble-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.bubble-desc {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0;
  line-height: 1.3;
}

/* Chart Description */
.kpi-chart-description {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chart-desc-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.chart-desc-subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.chart-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.chart-bullet {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bullet-icon {
  color: var(--accent2);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(57, 243, 201, 0.1);
  border-radius: 50%;
}

.chart-bullet p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.chart-bullet p strong {
  color: var(--accent);
}

.chart-footnote {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
}

/* KPI CTA Buttons */
.kpi-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.kpi-btn-primary,
.kpi-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.kpi-btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.4);
}

.kpi-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(124, 140, 255, 0.6);
}

.kpi-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 2px solid var(--accent);
}

.kpi-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.3);
}

/* ===== Features Grid ===== */

.feature-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.feature-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--stroke);
  color: var(--text);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 0;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-center {
  display: flex;
  justify-content: center;
}

.footer-download-btn {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 8px 20px rgba(124, 140, 255, 0.3));
}

.footer-download-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 30px rgba(124, 140, 255, 0.4));
}

.footer-download-btn img {
  height: 32px;
  width: auto;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
}

.tagline {
  opacity: 0.8;
  font-size: 13px;
  margin-left: auto;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.legal-link {
  background: none;
  border: none;
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: opacity 0.2s;
  padding: 0;
}

.legal-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--stroke);
  padding: 14px 0;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

/* ===== Modals ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: rgba(20, 20, 23, 0.98);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text);
  font-size: 28px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.75rem;
}

.modal-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== Legal/Subpages Styles ===== */
.page-content {
  padding: 40px 0 80px;
  flex: 1;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  margin: 0.8rem 0 0.5rem;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: 0.2px;
  font-weight: 800;
}

.page-subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.6;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 0.5rem;
}

.legal-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-link-inline {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-link-inline:hover {
  color: var(--accent);
  text-decoration: underline;
}

.imprint-details {
  color: var(--muted);
  line-height: 1.8;
}

.imprint-details p {
  margin-bottom: 0.8rem;
}

.page-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--stroke);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(124, 140, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== Contact Page ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-form-container {
  background: var(--card-bg);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.contact-form-container h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.form-description {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.required {
  color: var(--accent2);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(57, 243, 201, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0a0a;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 12px 30px rgba(124, 140, 255, 0.35);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(124, 140, 255, 0.45);
}

.form-submit:active {
  transform: translateY(0);
}

.form-notice {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  margin-top: -0.5rem;
}

/* ===== Documentation Layout ===== */
.docs-layout {
  display: flex;
  min-height: calc(100vh - 180px);
  margin-top: -40px;
  position: relative;
}

.docs-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--stroke);
  padding: 2rem 0;
  position: fixed;
  left: 0;
  top: 80px;
  width: 260px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 40;
  flex-shrink: 0;
}

.docs-content {
  padding: 2rem 3rem;
  max-width: calc(100vw - 260px - 6rem);
  width: 100%;
  margin-left: 260px;
  flex: 1;
}

.docs-sidebar::-webkit-scrollbar {
  width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.docs-nav-section {
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.docs-nav-section h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.docs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs-nav-list li {
  margin-bottom: 0.3rem;
}

.docs-nav-link {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  opacity: 0.8;
}

.docs-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.docs-nav-link.active {
  background: rgba(124, 140, 255, 0.15);
  color: var(--accent);
  opacity: 1;
  font-weight: 600;
}

/* Nested navigation */
.docs-nav-sublist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  padding-left: 0.8rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.docs-nav-sublist li {
  margin-bottom: 0.2rem;
}

.docs-nav-sublist .docs-nav-link {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
}

/* Mobile burger menu */
.docs-burger {
  display: none;
  position: fixed;
  left: 1rem;
  top: 90px;
  z-index: 100;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #0a0a0a;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(124, 140, 255, 0.35);
  transition: transform 0.2s ease;
}

.docs-burger:hover {
  transform: scale(1.05);
}

.docs-burger:active {
  transform: scale(0.95);
}

/* Mobile menu overlay */
.docs-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.docs-overlay.visible {
  display: block;
  opacity: 1;
}

/* Scroll to top button */
.scroll-to-top {
  display: none;
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #0a0a0a;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(124, 140, 255, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 140, 255, 0.5);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.docs-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.docs-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stroke);
}

.docs-content h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.docs-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;

}

.docs-content ul,
.docs-content ol {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  padding-left: 1.8rem;
}

.docs-content li {
  margin-bottom: 0.5rem;
}

.docs-content strong {
  color: var(--text);
  font-weight: 600;
}

.docs-content code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.docs-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.docs-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.docs-note {
  background: rgba(124, 140, 255, 0.1);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.docs-note p:last-child {
  margin-bottom: 0;
}

.docs-tip {
  background: rgba(57, 243, 201, 0.1);
  border-left: 3px solid var(--accent2);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.docs-tip p:last-child {
  margin-bottom: 0;
}

.img-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.img-row img {
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    top: 8px;
  }

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

  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    margin-bottom: 2rem;
  }

  .hero-text {
    text-align: center;
    align-items: center;
  }

  .hero-video-wrapper {
    max-width: 300px;
  }

  .subtitle {
    margin: 0 auto 2rem;
  }

  .info-section {
    grid-template-columns: 1fr;
  }

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

  .image-text-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2rem 0;
  }

  .image-text-row.reverse {
    grid-template-columns: 1fr;
  }

  .transformation-img {
    height: 40vh;
  }

  .transformation-text-side {
    padding: 1.5rem;
  }

  .transformation-text-side h3 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .transformation-text-side p {
    font-size: clamp(14px, 3vw, 18px);
  }

  .stuck-grid-wrapper {
    min-height: 250vh;
  }

  .stuck-grid {
    grid: repeat(6, 16.66svh) / repeat(2, 50vw);
    block-size: 100svh;
  }

  .stuck-grid > .grid-item {
    font-size: 3.5vmin;
    padding: 0.3rem;
  }

  .stuck-grid > .grid-item.special {
    grid-row: 3 / span 2 !important;
    grid-column: 1 / span 2 !important;
  }

  .stuck-grid > .grid-item.special > b {
    font-size: 10vmin;
  }

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

  .footer-legal {
    justify-content: center;
  }

  .faq-section {
    margin: 4rem 0 3rem;
  }

  .faq-docs-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .docs-promo-card {
    position: relative;
    top: 0;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-card {
    padding: 1.5rem;
  }

  .card-icon-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .card-icon-header h3 {
    font-size: 1.1rem;
  }

  .use-case-card {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  .use-case-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .use-case-content h3 {
    font-size: 1.3rem;
  }

  .kpi-bubbles-container {
    min-height: auto;
    gap: 1rem;
  }

  .kpi-bubble {
    width: 140px;
    height: 140px;
    padding: 1rem;
  }

  .bubble-icon {
    font-size: 1.8rem;
  }

  .bubble-value {
    font-size: 1.2rem;
  }

  .bubble-label {
    font-size: 0.75rem;
  }

  .bubble-desc {
    font-size: 0.65rem;
  }

  .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }

  .kpi-card {
    padding: 1.5rem 1rem;
  }

  .kpi-main-highlight {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem 3rem;
  }

  .kpi-chart-description {
    padding: 2rem 1.5rem;
  }

  .kpi-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .kpi-btn-primary,
  .kpi-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .faq-question {
    padding: 1.2rem 1.3rem;
    font-size: 1rem;
  }

  .faq-answer:not([hidden]) {
    padding: 0 1.3rem 1.2rem;
  }

  .faq-icon {
    font-size: 1.3rem;
  }

  .footer-brand {
    flex-direction: column;
  }

  .tagline {
    margin-left: 0;
  }

  .modal-content {
    padding: 24px;
  }

  .legal-content {
    padding: 28px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-container {
    padding: 24px;
  }

  .docs-layout {
    display: block;
  }

  .docs-sidebar {
    position: fixed;
    left: -100%;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    border-right: 1px solid var(--stroke);
    border-bottom: none;
    transition: left 0.3s ease;
    background: rgba(11, 11, 12, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  }

  .docs-sidebar.open {
    left: 0;
  }

  .docs-burger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .scroll-to-top {
    display: block;
  }

  .docs-content {
    padding: 2rem 1.5rem;
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .app-store-btn img {
    height: 42px;
  }

  .info-card {
    padding: 20px;
  }

  .legal-content {
    padding: 20px;
  }

  .contact-form-container {
    padding: 20px;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

