/* YouVoice — Landing Page styles
   Builds on Media Verse design tokens (assets/design-system.css).
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── Page shell ──────────────────────────────────────────────── */
.vm-page {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.vm-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .vm-container { padding: 0 20px; }
}

/* ── Nav ─────────────────────────────────────────────────────── */
.vm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.vm-nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.vm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.vm-logo-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary-soft);
}
.vm-nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted-foreground);
}
.vm-nav-links a {
  transition: color 0.2s ease;
}
.vm-nav-links a:hover { color: var(--foreground); }
.vm-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vm-lang {
  display: inline-flex;
  background: var(--secondary);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.vm-lang button {
  all: unset;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}
.vm-lang button.active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
}
.vm-nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.vm-nav-cta:hover { color: var(--foreground); }

.vm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}
.vm-btn:hover { border-color: var(--hover-border); background: var(--secondary); }

.vm-btn-primary {
  background: var(--grad-primary);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-primary-soft);
}
.vm-btn-primary:hover {
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary-hover);
  filter: brightness(108%);
}
.vm-btn-lg { height: 48px; padding: 0 22px; font-size: 14.5px; border-radius: var(--radius-xl); }
.vm-btn-xl { height: 54px; padding: 0 26px; font-size: 15px; border-radius: var(--radius-xl); }

/* ── Section ─────────────────────────────────────────────────── */
.vm-section {
  padding: 96px 0;
  position: relative;
}
.vm-section-tight { padding: 64px 0; }
.vm-section + .vm-section { border-top: 1px solid var(--border-subtle); }
.vm-hero + .vm-section { border-top: 1px solid var(--border-subtle); }

.vm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.vm-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--primary);
  display: inline-block;
}

.vm-section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.vm-section-sub {
  font-size: 18px;
  color: var(--muted-foreground);
  line-height: 1.55;
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}
.vm-section-head {
  margin-bottom: 56px;
}
.vm-section-head-center {
  text-align: center;
}
.vm-section-head-center .vm-section-sub { margin: 0 auto; }

/* ── Hero ────────────────────────────────────────────────────── */
.vm-hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.vm-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.vm-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 50% 50%, color-mix(in oklab, var(--primary) 18%, transparent), transparent 70%);
  z-index: 0;
}
.vm-hero-inner {
  position: relative;
  z-index: 1;
}
.vm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-sm);
}
.vm-pill-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vm-hero-title {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 22px 0 20px;
  text-wrap: balance;
}
.vm-hero-title .accent {
  background: linear-gradient(90deg, var(--primary), color-mix(in oklab, var(--primary) 60%, #ec4899));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vm-hero-italic { font-style: italic; font-weight: 400; }
.vm-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 540px;
  margin: 0 0 32px;
}
.vm-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Variant A — split */
.vm-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .vm-hero-split { grid-template-columns: 1fr; gap: 40px; }
}

/* Variant B — centered */
.vm-hero-center {
  text-align: center;
  padding-top: 24px;
}
.vm-hero-center .vm-hero-sub { margin: 0 auto 36px; }
.vm-hero-center .vm-hero-actions { justify-content: center; }
.vm-hero-center .vm-pill { margin: 0 auto; }
.vm-hero-spheres-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.vm-sphere-float {
  width: 96px;
  height: 96px;
  position: relative;
  animation: vm-float 6s ease-in-out infinite;
}
.vm-sphere-float img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15)); }
.vm-sphere-float:nth-child(2) { animation-delay: -1s; }
.vm-sphere-float:nth-child(3) { animation-delay: -2s; }
.vm-sphere-float:nth-child(4) { animation-delay: -3s; }
.vm-sphere-float:nth-child(5) { animation-delay: -4s; }
@keyframes vm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Variant C — editorial */
.vm-hero-editorial {
  text-align: left;
}
.vm-hero-editorial .vm-hero-title {
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.vm-hero-editorial-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 56px;
}
@media (max-width: 720px) {
  .vm-hero-editorial-meta { grid-template-columns: 1fr; }
}

/* ── Try-it studio card ──────────────────────────────────────── */
.vm-studio {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.vm-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}
.vm-studio-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vm-studio-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--status-active);
  box-shadow: 0 0 8px color-mix(in oklab, var(--status-active) 70%, transparent);
}
.vm-textarea {
  width: 100%;
  min-height: 132px;
  background: var(--background);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  outline: none;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vm-textarea:focus {
  border-color: color-mix(in oklab, var(--primary) 55%, transparent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 12%, transparent);
}
.vm-studio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
}
.vm-voice-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 6px;
  /* Hide the heavy native horizontal scrollbar (Windows/Chrome renders arrows);
     the row stays scrollable via trackpad / drag / shift+wheel. */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
  cursor: grab;
  user-select: none;
  touch-action: pan-x; /* native horizontal swipe on touch */
}
.vm-voice-row::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}
.vm-voice-row.dragging,
.vm-voice-row.dragging * {
  cursor: grabbing;
}
.vm-voice-chip {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 12px 0 6px;
  border-radius: 999px;
  border: 1.5px solid var(--border-subtle);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
}
.vm-voice-chip:hover { border-color: var(--hover-border); }
.vm-voice-chip.active {
  border-color: color-mix(in oklab, var(--vc) 60%, transparent);
  background: color-mix(in oklab, var(--vc) 12%, var(--card));
}
.vm-voice-chip-avatar {
  width: 26px; height: 26px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--secondary);
}
.vm-voice-chip-avatar img { width: 110%; height: 110%; object-fit: cover; }
.vm-voice-chip-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.vm-studio-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 4px 16px;
}
@media (max-width: 540px) {
  .vm-studio-sliders { grid-template-columns: 1fr; }
}
.vm-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vm-slider-value { font-family: var(--font-mono); color: var(--foreground); letter-spacing: 0; text-transform: none; font-weight: 500; }
.vm-slider-track {
  position: relative;
  height: 6px;
  background: var(--input);
  border-radius: 4px;
}
.vm-slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--grad-primary-h);
  border-radius: 4px;
}
.vm-slider input[type="range"] {
  position: absolute;
  top: -7px; left: -2px;
  width: calc(100% + 4px);
  height: 20px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.vm-generate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-primary-soft);
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.1s ease;
  position: relative;
  overflow: hidden;
}
.vm-generate:hover { box-shadow: var(--shadow-primary-hover); filter: brightness(108%); }
.vm-generate:active { transform: translateY(1px); }
.vm-generate.loading {
  background: var(--grad-shimmer);
  background-size: 200% 100%;
  animation: mv-shimmer 1.5s linear infinite;
}
.vm-generate.loading::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  animation: mv-spin 0.8s linear infinite;
}

/* Result playback bar */
.vm-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 6%, var(--card)), var(--card));
  display: flex;
  align-items: center;
  gap: 14px;
}
.vm-result-play {
  all: unset;
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-primary-soft);
}
.vm-result-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}
.vm-result-bar {
  width: 3px;
  border-radius: 2px;
  background: color-mix(in oklab, var(--primary) 35%, transparent);
  transition: background 0.2s ease, transform 0.2s ease;
}
.vm-result-bar.played { background: var(--primary); }
.vm-result-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  font-weight: 500;
  letter-spacing: 0;
  min-width: 64px;
  text-align: right;
}

/* ── Logos / trusted ─────────────────────────────────────────── */
.vm-trust {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
  background: var(--background);
}
.vm-trust-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.vm-trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  opacity: 0.8;
}
.vm-trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.vm-trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--muted-foreground);
  opacity: 0.75;
}
.vm-trust-logo svg, .vm-trust-logo .glyph {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  color: var(--muted-foreground);
}

/* ── Before / after ──────────────────────────────────────────── */
.vm-ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .vm-ba-grid { grid-template-columns: 1fr; } }
.vm-ba-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vm-ba-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vm-ba-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: var(--background);
  border: 1px solid var(--border-subtle);
}
.vm-ba-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vm-ba-label {
  width: 64px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.vm-ba-row.after .vm-ba-label { color: var(--primary); }
.vm-ba-play {
  all: unset;
  width: 30px; height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.vm-ba-play:hover { background: var(--accent); }
.vm-ba-row.after .vm-ba-play {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary-soft);
}
.vm-ba-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
}
.vm-ba-bar {
  width: 2.5px;
  border-radius: 2px;
  background: var(--border);
}
.vm-ba-row.after .vm-ba-bar { background: color-mix(in oklab, var(--primary) 55%, transparent); }
.vm-ba-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
  min-width: 40px;
  text-align: right;
}
.vm-ba-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vm-ba-speaker-img {
  width: 44px; height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--secondary);
}
.vm-ba-speaker-img img { width: 110%; height: 110%; object-fit: cover; }
.vm-ba-speaker-name {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.vm-ba-speaker-sub {
  font-size: 12px;
  color: var(--muted-foreground);
}
.vm-ba-quote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-foreground);
  font-style: italic;
  border-left: 2px solid var(--primary);
  padding-left: 12px;
}

/* ── Voice gallery ───────────────────────────────────────────── */
.vm-voice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .vm-voice-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .vm-voice-grid { grid-template-columns: repeat(2, 1fr); } }

.vm-voice-card {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}
.vm-voice-card:hover {
  border-color: color-mix(in oklab, var(--vc) 40%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in oklab, var(--vc) 18%, transparent);
}
.vm-voice-card-sphere {
  width: 64px; height: 64px;
  position: relative;
}
.vm-voice-card-sphere img { width: 100%; height: 100%; object-fit: contain; }
.vm-voice-card-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.vm-voice-card:hover .vm-voice-card-play { opacity: 1; }
.vm-voice-card-name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.vm-voice-card-meta {
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-weight: 500;
}
.vm-voice-card-meta .dot { color: var(--border); }
.vm-voice-card-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--vc) 14%, transparent);
  color: color-mix(in oklab, var(--vc) 80%, var(--foreground));
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.vm-voice-card-wave {
  margin-top: 4px;
  display: flex;
  align-items: end;
  gap: 1.5px;
  height: 18px;
  opacity: 0.45;
}
.vm-voice-card:hover .vm-voice-card-wave { opacity: 1; }
.vm-voice-card-wave > div {
  flex: 1;
  background: var(--vc);
  border-radius: 2px;
  transition: height 0.4s ease;
}

/* ── Use cases ───────────────────────────────────────────────── */
.vm-uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .vm-uc-grid { grid-template-columns: 1fr; } }

.vm-uc-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
  min-height: 240px;
}
.vm-uc-card:hover { border-color: var(--hover-border); box-shadow: var(--shadow-md); }
.vm-uc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.vm-uc-title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}
.vm-uc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0;
}
.vm-uc-tags {
  margin-top: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.vm-uc-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--muted-foreground);
}

/* ── API section ─────────────────────────────────────────────── */
.vm-api-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .vm-api-grid { grid-template-columns: 1fr; gap: 32px; } }

.vm-code {
  background: #0B0B10;
  color: #E5E5EA;
  border-radius: 16px;
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}
.vm-code-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.vm-code-dots { display: flex; gap: 6px; }
.vm-code-dots span {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.vm-code-tab {
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.vm-code-tabs {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
.vm-code-tabs button {
  all: unset;
  cursor: pointer;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  padding-bottom: 2px;
  font-weight: 500;
}
.vm-code-tabs button.active { color: #fff; border-bottom: 1.5px solid var(--primary); }
.vm-code .k { color: #C4B5FD; }
.vm-code .s { color: #FDBA74; }
.vm-code .n { color: #67E8F9; }
.vm-code .c { color: rgba(255,255,255,0.4); font-style: italic; }
.vm-code .p { color: rgba(255,255,255,0.5); }

.vm-api-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.vm-api-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.vm-api-feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.vm-api-feature h4 { margin: 2px 0 4px; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.vm-api-feature p { margin: 0; font-size: 13.5px; color: var(--muted-foreground); line-height: 1.55; }

/* ── Pricing ─────────────────────────────────────────────────── */
.vm-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .vm-price-grid { grid-template-columns: 1fr; } }

.vm-price-card {
  background: var(--card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.25s ease;
  position: relative;
}
.vm-price-card.featured {
  border-color: color-mix(in oklab, var(--primary) 55%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 8%, var(--card)), var(--card));
  box-shadow: 0 16px 48px color-mix(in oklab, var(--primary) 16%, transparent);
}
.vm-price-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-primary-soft);
}
.vm-price-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.vm-price-card.featured .vm-price-name { color: var(--primary); }
.vm-price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.vm-price-amount .amount {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.vm-price-amount .per { font-size: 14px; color: var(--muted-foreground); }
.vm-price-desc {
  font-size: 13.5px;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0;
}
.vm-price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.vm-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--foreground);
}
.vm-price-features li svg { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ── Testimonials ────────────────────────────────────────────── */
.vm-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .vm-test-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .vm-test-grid { grid-template-columns: 1fr; } }
.vm-test-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vm-test-quote {
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
}
.vm-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}
.vm-test-author-img {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
}
.vm-test-author-img img { width: 110%; height: 110%; object-fit: contain; }
.vm-test-author-name { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; }
.vm-test-author-role { font-size: 12px; color: var(--muted-foreground); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.vm-faq {
  max-width: 720px;
  margin: 0 auto;
}
.vm-faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.vm-faq-q {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  gap: 16px;
}
.vm-faq-q svg {
  transition: transform 0.25s ease;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.vm-faq-item.open .vm-faq-q svg { transform: rotate(45deg); color: var(--primary); }
.vm-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.vm-faq-item.open .vm-faq-a {
  padding: 0 0 22px;
  max-height: 400px;
}
.vm-faq-a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 580px;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.vm-cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 96px 56px;
  background:
    radial-gradient(ellipse 70% 90% at 20% 20%, color-mix(in oklab, var(--primary) 55%, transparent), transparent 65%),
    radial-gradient(ellipse 70% 90% at 80% 80%, color-mix(in oklab, var(--primary) 40%, #ec4899 30%), transparent 65%),
    #07070C;
  color: #FFFFFF;
  text-align: center;
  isolation: isolate;
}
.vm-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 80%);
  z-index: 0;
}
.vm-cta-inner { position: relative; z-index: 1; }
.vm-cta-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 18px;
  text-wrap: balance;
  color: #FFFFFF !important;
  background: none !important;
  -webkit-text-fill-color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.vm-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 auto 36px;
  max-width: 520px;
  text-wrap: pretty;
}
.vm-cta .vm-btn-primary {
  background: #FFFFFF !important;
  color: #0B0B10 !important;
  border: 0 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.vm-cta .vm-btn-primary:hover { filter: brightness(94%); }

/* ── Footer ──────────────────────────────────────────────────── */
.vm-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 48px;
  margin-top: 32px;
}
.vm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .vm-footer-grid { grid-template-columns: 1fr 1fr; } }
.vm-footer-col h5 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 16px;
}
.vm-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vm-footer-col a { font-size: 13.5px; color: var(--foreground); transition: color 0.2s ease; }
.vm-footer-col a:hover { color: var(--primary); }
.vm-footer-tag {
  font-size: 13.5px;
  color: var(--muted-foreground);
  max-width: 260px;
  line-height: 1.55;
  margin: 14px 0 0;
}
.vm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--muted-foreground);
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Density ──────────────────────────────────────────────────── */
[data-density="compact"] .vm-section { padding: 64px 0; }
[data-density="comfy"] .vm-section { padding: 128px 0; }

/* Selection */
::selection { background: color-mix(in oklab, var(--primary) 30%, transparent); }
