.text-yv-violet { color: var(--yv-violet); }
.bg-yv-bg { background-color: var(--yv-bg); }
.bg-yv-surface { background-color: var(--yv-surface); }
.border-yv-border { border-color: var(--yv-border); }

:root {
  --yv-bg: #15161e;
  --yv-surface: #20212c;
  --yv-surface-elevated: #292a39;
  --yv-border: #313344;
  --yv-violet: #bd92f8;
  --yv-violet-highlight: #d2abff;
  --yv-acid: #c6f800;
  --yv-acid-light: #e4ff6a;
  --yv-turquoise: #00ffdf;
  --yv-text-secondary: rgba(255, 255, 255, 0.8);
  --yv-text-tertiary: rgba(255, 255, 255, 0.6);
  --yv-hairline: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background-color: var(--yv-bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.yv-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.yv-ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--yv-hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--yv-hairline) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

.yv-ambient::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 70%;
  left: -20%;
  top: 30%;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(149, 0, 255, 0.22) 0%,
    rgba(54, 10, 88, 0.12) 45%,
    transparent 70%
  );
}

.yv-mote {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--yv-violet);
  opacity: 0.5;
  animation: yv-float 8s ease-in-out infinite;
}

.yv-mote:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; }
.yv-mote:nth-child(2) { left: 78%; top: 24%; animation-delay: -2s; background: var(--yv-turquoise); }
.yv-mote:nth-child(3) { left: 45%; top: 8%; animation-delay: -4s; }
.yv-mote:nth-child(4) { left: 88%; top: 42%; animation-delay: -1s; }
.yv-mote:nth-child(5) { left: 22%; top: 55%; animation-delay: -3s; background: var(--yv-acid); opacity: 0.35; }

@keyframes yv-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  50% { transform: translate(8px, -14px); opacity: 0.7; }
}

.yv-gradient-text {
  background: linear-gradient(90deg, #bc92f8, #00ffdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.yv-btn-fancy {
  background: linear-gradient(180deg, var(--yv-acid-light), var(--yv-acid));
  color: var(--yv-bg);
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.yv-btn-fancy:hover {
  filter: brightness(1.05);
}

.yv-btn-fancy:active {
  transform: scale(0.97);
}

.yv-btn-primary {
  background: var(--yv-violet);
  color: var(--yv-bg);
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.12s ease, transform 0.12s ease;
}

.yv-btn-primary:hover {
  background: var(--yv-violet-highlight);
}

.yv-btn-primary:active {
  transform: scale(0.97);
  background: #685089;
}

.yv-btn-outline {
  border: 1px solid var(--yv-violet);
  color: var(--yv-violet);
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.12s ease, transform 0.12s ease;
}

.yv-btn-outline:hover {
  background: rgba(189, 146, 248, 0.16);
}

.yv-card {
  background: var(--yv-surface);
  border: 1px solid var(--yv-border);
  border-radius: 8px;
}

.yv-card-hero {
  background: radial-gradient(ellipse 120% 80% at 50% 120%, rgba(149, 0, 255, 0.35), rgba(54, 10, 88, 0.2) 40%, var(--yv-surface) 72%);
  border: 1px solid rgba(189, 146, 248, 0.35);
  border-radius: 20px;
}

.yv-gradient-border {
  position: relative;
  border-radius: 8px;
}

.yv-gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, #7f00ff, #e100ff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.yv-phone-frame {
  border-radius: 28px;
  border: 2px solid var(--yv-border);
  background: #0d0e14;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.yv-legal h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.yv-legal h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--yv-text-secondary);
}

.yv-legal p,
.yv-legal li {
  color: var(--yv-text-secondary);
  line-height: 1.6;
}

.yv-legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.yv-legal a {
  color: var(--yv-violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#yv-mobile-menu {
  padding-bottom: env(safe-area-inset-bottom);
}

#yv-cookie-banner {
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.yv-screenshot-scroll {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.yv-screenshot-scroll > * {
  scroll-snap-align: center;
}
