/* Vivian Studio - [vivian_home] landing page.
   Same accent as the Studio page (vivian-studio.css), scoped to .vh-home so
   the theme's own styles don't leak in or out. */

.vh-home {
  --vh-accent: #6c5ce7;
  --vh-accent-2: #a78bfa;
  --vh-accent-deep: #4b3cc9;
  --vh-gold: #d4af37;
  --vh-night: #0d0a1f;
  --vh-night-2: #1a1540;
  --vh-ink: #14121f;
  --vh-muted: #6b7280;
  --vh-border: #e8e6f2;
  --vh-bg: #ffffff;
  --vh-soft: #f6f5fc;
  --vh-shadow: 0 20px 50px rgba(40, 30, 120, 0.12), 0 4px 12px rgba(40, 30, 120, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--vh-ink);
  line-height: 1.55;
  padding: 0 20px;
  /* Break out of the theme's narrow content column (block themes cap page
     content at ~700px) and center on the viewport instead. */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100vw - 16px)); /* 16px: room for a desktop scrollbar */
  box-sizing: border-box;
  max-width: none !important;
  margin: 0 !important;
}
.vh-home *, .vh-home *::before, .vh-home *::after { box-sizing: border-box; }
.vh-home h1, .vh-home h2, .vh-home h3 {
  font-family: inherit;
  color: inherit;
  letter-spacing: -0.03em;
  margin: 0;
}
.vh-home p { margin: 0; }
.vh-home ul { margin: 0; padding: 0; list-style: none; }
.vh-home figure { margin: 0; }

.vh-overline {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vh-accent);
  margin-bottom: 12px !important;
}
.vh-section h2 { font-weight: 800; font-size: 44px; line-height: 1.1; margin-bottom: 36px; }

/* ---- buttons ---- */

.vh-btn {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.vh-btn:hover { transform: translateY(-2px); }
.vh-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--vh-accent-2) 0%, var(--vh-accent) 45%, var(--vh-accent-deep) 100%);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.45);
}
.vh-btn-primary:hover { box-shadow: 0 14px 36px rgba(108, 92, 231, 0.55); }
.vh-btn-glass { color: #fff !important; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.vh-btn-glass:hover { background: rgba(255, 255, 255, 0.14); }
.vh-btn-light { background: #fff; color: var(--vh-accent-deep) !important; }

/* ---- hero ---- */

.vh-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 72px 64px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(108, 92, 231, 0.55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(167, 139, 250, 0.25), transparent 60%),
    linear-gradient(160deg, var(--vh-night-2) 0%, var(--vh-night) 70%);
  overflow: hidden;
}
.vh-beta-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 190px;
  height: 190px;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.vh-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffd9d9;
  background: rgba(255, 26, 26, 0.14);
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px !important;
}
.vh-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.25); }
.vh-hero h1 { font-weight: 800; font-size: 60px; line-height: 1.02; margin-bottom: 22px; }
.vh-grad {
  background: linear-gradient(90deg, #c4b5fd, #f0abfc 55%, var(--vh-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vh-lead { font-size: 19px; color: #cfcbe8; max-width: 540px; }
.vh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.vh-fine { font-size: 14px; color: #a9a4c9; margin-top: 18px !important; }
.vh-fine a { color: #e2dcff; }

.vh-hero-art { position: relative; display: flex; justify-content: center; min-height: 520px; align-items: center; }
.vh-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 65%);
  filter: blur(10px);
}
.vh-phone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  padding: 10px;
  background: #050409;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #2a2640;
  transform: rotate(3deg);
}
.vh-phone-screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #222 center / cover no-repeat;
}
.vh-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 25%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}
.vh-rec {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 16px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vh-rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; display: inline-block; }
.vh-progress { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.vh-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 3px; background: #fff; }
.vh-phone .vh-cap { bottom: 16%; font-size: 21px; }

.vh-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.vh-chip svg { width: 16px; height: 16px; color: #4ade80; }
.vh-chip-a { top: 14%; left: -4%; }
.vh-chip-b { top: 46%; right: -6%; }
.vh-chip-c { bottom: 3%; left: 0; }

/* ---- captions (mirror video-pipeline's composeHyperFrames.js) ---- */

.vh-cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 7%;
  font-size: 16px;
}
.vh-cap-inner {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-wrap: balance;
  padding: 0.35em 0.7em;
  border-radius: 0.25em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}
/* Background box: white text on the brand color. */
.vh-cap-background .vh-cap-inner { background: var(--vh-gold); color: #fff; }
/* Outline, brand color as text: gold letters, thin black stroke, no box. */
.vh-cap-outline .vh-cap-inner {
  color: var(--vh-gold);
  -webkit-text-stroke-width: 0.1em;
  -webkit-text-stroke-color: #000;
  paint-order: stroke fill;
}
/* Karaoke: black words, heavy gold outline, the spoken word turns white. */
.vh-cap-karaoke .vh-cap-inner {
  color: #000;
  -webkit-text-stroke-width: 0.28em;
  -webkit-text-stroke-color: var(--vh-gold);
  paint-order: stroke fill;
}
.vh-cap-karaoke .on { color: #fff; }

/* ---- sections ---- */

.vh-section { padding: 96px 0 0; }

/* How it works */
.vh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vh-step {
  background: var(--vh-bg);
  border: 1px solid var(--vh-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--vh-shadow);
  transition: transform 0.2s ease;
}
.vh-step:hover { transform: translateY(-4px); }
.vh-step-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ddd center / cover no-repeat;
}
.vh-step-body { padding: 24px 26px 28px; }
.vh-step-num {
  display: inline-block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--vh-accent);
  margin-bottom: 10px;
}
.vh-home h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.vh-step-body p, .vh-feature p { color: var(--vh-muted); font-size: 15px; }

.vh-upload-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--vh-ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
.vh-upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vh-upload-pct { color: var(--vh-accent); grid-column: 2; grid-row: 1; }
.vh-upload-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #e7e4f7; position: relative; overflow: hidden; }
.vh-upload-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 68%; border-radius: 6px; background: linear-gradient(90deg, var(--vh-accent-2), var(--vh-accent)); }

.vh-edit-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(13, 10, 31, 0.78);
  backdrop-filter: blur(8px);
}
.vh-cut { flex: 1; height: 26px; border-radius: 6px; background: linear-gradient(180deg, #a78bfa, #6c5ce7); }
.vh-cut-x { flex: 0.5; background: repeating-linear-gradient(135deg, rgba(255, 90, 90, 0.8) 0 4px, rgba(255, 90, 90, 0.3) 4px 8px); }

.vh-step-social {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(400px 260px at 30% 20%, rgba(167, 139, 250, 0.45), transparent 60%),
    linear-gradient(160deg, var(--vh-night-2), var(--vh-night));
}
.vh-socials { display: grid; grid-template-columns: repeat(3, auto); gap: 14px; justify-content: center; }
.vh-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.vh-social svg { width: 30px; height: 30px; fill: #fff; }
.vh-social em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vh-social-youtube { background: #ff0000; }
.vh-social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.vh-social-facebook { background: #1877f2; }
.vh-social-tiktok { background: #000; box-shadow: -3px -3px 0 #25f4ee inset, 3px 3px 0 #fe2c55 inset, 0 10px 22px rgba(0, 0, 0, 0.35); }
.vh-social-linkedin { background: #0a66c2; }

/* Your brand */
.vh-brand {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.vh-brand h2 { margin-bottom: 14px; }
.vh-lead-dark { font-size: 18px; color: var(--vh-muted); margin-bottom: 28px !important; }

.vh-picker {
  width: 280px;
  padding: 16px;
  border-radius: 20px;
  background: var(--vh-bg);
  border: 1px solid var(--vh-border);
  box-shadow: var(--vh-shadow);
}
.vh-picker-sv {
  position: relative;
  height: 150px;
  border-radius: 12px;
  background:
    linear-gradient(to top, #000, transparent),
    linear-gradient(to right, #fff, hsl(46, 100%, 50%));
}
.vh-picker-handle {
  position: absolute;
  left: 74%;
  top: 17%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--vh-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.vh-picker-hue {
  position: relative;
  height: 12px;
  margin: 14px 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}
.vh-picker-hue span {
  position: absolute;
  left: 13%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: hsl(46, 100%, 50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.vh-picker-row { display: flex; align-items: center; gap: 10px; }
.vh-picker-swatch { width: 34px; height: 34px; border-radius: 10px; background: var(--vh-gold); }
.vh-picker-hex {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--vh-border);
  border-radius: 10px;
  padding: 7px 10px;
}
.vh-picker-name { font-size: 13px; font-weight: 700; color: #9a7b14; }
.vh-picker-presets { display: flex; gap: 8px; margin-top: 14px; }
.vh-picker-presets i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.vh-picker-presets i.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--vh-gold); }

.vh-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vh-cap-card figcaption { margin-top: 12px; font-size: 14px; }
.vh-cap-card figcaption strong { display: block; font-size: 16px; }
.vh-cap-card figcaption span { color: var(--vh-muted); }
.vh-cap-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #222 center / cover no-repeat;
  box-shadow: var(--vh-shadow);
}
.vh-cap-frame .vh-cap { bottom: 12%; font-size: 15px; }

/* What you get */
.vh-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vh-feature {
  background: var(--vh-soft);
  border-radius: 20px;
  padding: 26px;
  border-top: 3px solid var(--vh-accent);
}

/* Pricing */
.vh-plan {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 28px;
  background:
    linear-gradient(var(--vh-bg), var(--vh-bg)) padding-box,
    linear-gradient(135deg, var(--vh-accent-2), var(--vh-accent), var(--vh-gold)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--vh-shadow);
}
#vh-pricing { text-align: center; }
#vh-pricing .vh-plan { text-align: left; }
.vh-badge {
  position: absolute;
  top: -15px;
  left: 40px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #ff1a1a;
  border-radius: 999px;
  padding: 6px 14px;
}
.vh-plan h3 { font-size: 22px; }
.vh-price { margin: 6px 0 26px !important; }
.vh-price, .vh-price .amount, .vh-amount { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.vh-price .subscription-details, .vh-per { font-size: 16px; font-weight: 600; color: var(--vh-muted); letter-spacing: 0; }
.vh-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; padding: 8px 0; }
.vh-plan li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--vh-accent); }
.vh-plan .vh-btn { display: block; text-align: center; margin-top: 28px; }

/* FAQ */
.vh-faq { max-width: 780px; }
.vh-faq details { border-bottom: 1px solid var(--vh-border); padding: 20px 0; }
.vh-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.vh-faq summary::-webkit-details-marker { display: none; }
.vh-faq summary::after { content: "+"; color: var(--vh-accent); font-size: 24px; line-height: 1; }
.vh-faq details[open] summary::after { content: "\2212"; }
.vh-faq details p { color: var(--vh-muted); margin-top: 10px; }

/* Closing call to action */
.vh-cta {
  text-align: center;
  color: #fff;
  margin: 96px 0 64px;
  padding: 72px 24px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212, 175, 55, 0.3), transparent 70%),
    linear-gradient(135deg, var(--vh-accent) 0%, var(--vh-accent-deep) 60%, var(--vh-night-2) 100%);
}
.vh-cta h2 { font-weight: 800; font-size: 40px; margin-bottom: 10px; }
.vh-cta p { color: #e9e6ff; margin-bottom: 28px; font-size: 18px; }

/* Subscribers-only notice on the Studio page: sits in the page's normal
   column, so it opts out of the full-width breakout above. */
.vh-home:has(> .vh-gate) { left: auto; transform: none; width: auto; }
.vh-gate {
  position: relative;
  max-width: 560px;
  margin: 24px auto;
  padding: 48px 40px 40px;
  text-align: center;
  border-radius: 28px;
  background:
    linear-gradient(var(--vh-bg), var(--vh-bg)) padding-box,
    linear-gradient(135deg, var(--vh-accent-2), var(--vh-accent), var(--vh-gold)) border-box;
  border: 2px solid transparent;
  box-shadow: var(--vh-shadow);
}
.vh-gate-badge { left: 50%; transform: translateX(-50%); }
.vh-gate h2 { font-weight: 800; font-size: 30px; margin-bottom: 12px; }
.vh-gate > p:not(.vh-badge) { color: var(--vh-muted); }
.vh-gate .vh-price { margin: 22px 0 !important; color: var(--vh-ink); }
.vh-gate-login { margin-top: 18px !important; font-size: 15px; }
.vh-gate-spinner {
  width: 36px;
  height: 36px;
  margin: 24px auto 0 !important;
  border-radius: 50%;
  border: 4px solid var(--vh-border);
  border-top-color: var(--vh-accent);
  animation: vh-spin 0.9s linear infinite;
}
@keyframes vh-spin { to { transform: rotate(360deg); } }
.vh-gate-login a { color: var(--vh-accent); font-weight: 700; }

@media (max-width: 960px) {
  .vh-hero { grid-template-columns: 1fr; padding: 72px 24px 40px; }
  .vh-hero h1 { font-size: 42px; }
  .vh-hero-art { min-height: 480px; }
  .vh-chip-a { left: 0; }
  .vh-chip-b { right: 0; }
  .vh-section h2 { font-size: 32px; }
  .vh-steps, .vh-features, .vh-brand { grid-template-columns: 1fr; }
  .vh-picker { width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .vh-home { padding: 0 6px; }
  .vh-beta-ribbon { width: 130px; height: 130px; }
  .vh-hero { padding-top: 130px; }
  .vh-caps { grid-template-columns: 1fr; max-width: 260px; }
  .vh-plan { padding: 32px 24px; }
}
