/* ==========================================================================
   Homepage v2 (2026-12) — scoped under #home-v2 so legacy home.css can't leak in
   ========================================================================== */
#home-v2 {
  --hv2-bg: #0A0A0F;
  --hv2-surface: #131318;
  --hv2-border: #2B2B2F;
  --hv2-white: #FCFCFF;
  --hv2-muted: #C5C4C8;
  --hv2-body: #A9A8AE;
  --hv2-dim: #8E8D96;
  --hv2-indigo: #6565EC;
  --hv2-indigo-2: #4545CC;
  --hv2-indigo-border: #7A75EF;
  --hv2-lavender: #A3A0F6;
  --hv2-sky: #7DD3FC;
  background: var(--hv2-bg);
  color: var(--hv2-body);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
#home-v2 *, #home-v2 *::before, #home-v2 *::after { box-sizing: border-box; }
#home-v2 h1, #home-v2 h2, #home-v2 h3, #home-v2 p, #home-v2 figure, #home-v2 blockquote { margin: 0; }
#home-v2 img { max-width: 100%; }
#home-v2 a { text-decoration: none; }
#home-v2 a:focus-visible, #home-v2 button:focus-visible { outline: 2px solid var(--hv2-indigo-border); outline-offset: 3px; }

.hv2-wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; position: relative; }
.hv2-grad {
  background: linear-gradient(180deg, #FCFCFF 0%, rgba(252,252,255,.6) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--hv2-white);
}
.hv2-h2 { font-size: 40px; line-height: 52px; font-weight: 700; letter-spacing: -.01em; }
.hv2-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--hv2-muted); }
.hv2-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hv2-indigo); display: inline-block; flex: 0 0 auto; }
.hv2-glow { position: absolute; pointer-events: none; }

/* Buttons */
.hv2-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 1; transition: filter .15s ease, background .15s ease, color .15s ease; }
.hv2-btn-primary, #home-v2 a.hv2-btn-primary:visited { color: #F0EDFE; background: linear-gradient(180deg, var(--hv2-indigo), var(--hv2-indigo-2)); border: 1px solid var(--hv2-indigo-border); }
.hv2-btn-primary:hover { filter: brightness(1.1); color: #fff; }
.hv2-btn-secondary, #home-v2 a.hv2-btn-secondary:visited { color: var(--hv2-muted); background: rgba(255,255,255,.04); border: 1px solid #4B4B4C; }
.hv2-btn-secondary:hover { color: var(--hv2-white); background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hv2-hero { position: relative; padding: 150px 0 80px; }
.hv2-hero .hv2-glow { inset: -120px 0 0 0; background: radial-gradient(800px 500px at 72% 52%, rgba(124,92,246,.28), transparent 70%), radial-gradient(500px 260px at 92% 10%, rgba(56,189,248,.10), transparent 70%); }
.hv2-hero-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 24px; align-items: center; }
.hv2-hero-copy { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 2; }
.hv2-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--hv2-muted); background: linear-gradient(90deg, rgba(252,252,255,.1), rgba(252,252,255,.02)); border: 1px solid var(--hv2-border); border-radius: 999px; }
.hv2-h1 { font-size: 56px; line-height: 62px; font-weight: 700; letter-spacing: -.02em; }
.hv2-lede { font-size: 18px; line-height: 29px; color: var(--hv2-body); }
.hv2-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hv2-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.hv2-product { display: block; padding: 14px 16px; background: var(--hv2-surface); border: 1px solid var(--hv2-border); border-left: 2px solid var(--hv2-indigo-border); border-radius: 10px; transition: background .15s ease, border-color .15s ease; }
.hv2-product:hover { background: #18181E; }
.hv2-product.is-vision { border-left-color: var(--hv2-sky); }
.hv2-product-name { font-size: 14px; font-weight: 600; color: var(--hv2-white); }
.hv2-product-name span { color: var(--hv2-lavender); }
.hv2-product.is-vision .hv2-product-name span { color: var(--hv2-sky); }
.hv2-product-desc { margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--hv2-body); }

.hv2-scene { position: relative; height: 560px; perspective: 1800px; perspective-origin: 30% 50%; }
.hv2-deck { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); }
.hv2-win { position: absolute; width: 80%; background: var(--hv2-surface); border: 1px solid var(--hv2-border); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.65); }
.hv2-win img { width: 100%; height: auto; display: block; }
.hv2-win.is-vision { top: 2%; left: 20%; transform: translateZ(-140px); border-color: rgba(125,211,252,.5); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 90px rgba(56,189,248,.14); }
.hv2-win.is-web { top: 44%; left: 0; transform: translateZ(0); border-color: rgba(122,117,239,.7); box-shadow: 0 50px 110px rgba(0,0,0,.7), 0 0 100px rgba(101,101,236,.25); }
.hv2-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--hv2-border); font-size: 11px; font-weight: 600; color: var(--hv2-muted); white-space: nowrap; }
.hv2-bar strong { color: var(--hv2-white); font-weight: 600; }
.hv2-bar em { font-style: normal; color: var(--hv2-dim); font-weight: 500; }
.hv2-dots { display: flex; gap: 5px; }
.hv2-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--hv2-border); display: block; }
.hv2-chip { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 10px; color: #F0EDFE; background: rgba(101,101,236,.3); border: 1px solid rgba(122,117,239,.6); }
.hv2-chip.is-vision { color: #E0F2FE; background: rgba(56,189,248,.16); border-color: rgba(125,211,252,.45); }

/* ---------- Logos ---------- */
.hv2-logos-band { padding: 36px 0 40px; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, rgba(19,19,24,.55), rgba(10,10,15,.2)); }
.hv2-logos-band .hv2-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hv2-logos-title { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hv2-dim); }
.hv2-logos { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); align-items: center; gap: 24px; }
.hv2-logo { display: flex; align-items: center; justify-content: center; height: 56px; }
.hv2-logo img { width: auto; height: auto; opacity: .8; }

/* ---------- Pillars ---------- */
.hv2-pillars-sec { padding: 72px 0 40px; }
.hv2-center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 44px; }
.hv2-center-head p { font-size: 17px; line-height: 28px; max-width: 640px; }
.hv2-pillars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.hv2-pillar { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 36px; background: linear-gradient(180deg, rgba(23,23,29,.95), rgba(19,19,24,.95)); border: 1px solid rgba(122,117,239,.45); border-radius: 20px; overflow: hidden; }
.hv2-pillar > * { position: relative; }
.hv2-pillar .hv2-glow { position: absolute; inset: 0; background: radial-gradient(420px 200px at 90% 0%, rgba(124,92,246,.18), transparent 70%); }
.hv2-pillar.is-vision { border-color: var(--hv2-border); }
.hv2-pillar.is-vision .hv2-glow { background: radial-gradient(420px 200px at 90% 0%, rgba(56,189,248,.12), transparent 70%); }
.hv2-pillar-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hv2-lavender); }
.hv2-pillar.is-vision .hv2-pillar-kicker { color: var(--hv2-sky); }
.hv2-pillar h3 { font-size: 28px; line-height: 36px; font-weight: 600; color: var(--hv2-white); }
.hv2-pillar p { font-size: 16px; line-height: 26px; }
.hv2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hv2-chips span { font-size: 13px; font-weight: 500; color: var(--hv2-muted); padding: 5px 12px; border: 1px solid var(--hv2-border); border-radius: 999px; background: rgba(255,255,255,.03); }
.hv2-rule { height: 1px; background: rgba(255,255,255,.06); }
.hv2-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 600; }
#home-v2 .hv2-links a, #home-v2 .hv2-links a:visited { color: var(--hv2-lavender); }
#home-v2 .hv2-pillar.is-vision .hv2-links a, #home-v2 .hv2-pillar.is-vision .hv2-links a:visited { color: var(--hv2-sky); }
#home-v2 .hv2-links a:hover { color: var(--hv2-white); }

/* ---------- VFX tools showcase ---------- */
.hv2-tools-sec { position: relative; padding: 96px 0 56px; }
.hv2-tools-sec .hv2-glow { inset: 0; background: radial-gradient(760px 420px at 68% 55%, rgba(124,92,246,.22), transparent 70%); }
.hv2-tools-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 48px; }
.hv2-tools-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.hv2-tools-head .hv2-h2 { font-size: 48px; line-height: 56px; letter-spacing: -.02em; }
.hv2-tools-head p { font-size: 16px; line-height: 26px; max-width: 420px; }
.hv2-tools { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: 48px; align-items: center; }
.hv2-tablist { display: flex; flex-direction: column; gap: 8px; }
.hv2-tab { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 18px 20px; border-radius: 14px; font-family: inherit; transition: background .2s ease, box-shadow .2s ease; }
.hv2-tab:hover { background: rgba(19,19,24,.6); }
.hv2-tab.is-active { background: var(--hv2-surface); box-shadow: inset 0 0 0 1px var(--hv2-border); }
.hv2-tab:focus-visible { outline: 2px solid var(--hv2-indigo-border); outline-offset: 2px; }
.hv2-tab-head { display: flex; align-items: baseline; gap: 16px; }
.hv2-tab-num { width: 28px; flex: 0 0 auto; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: #5A5960; }
.hv2-tab-title { font-size: 26px; line-height: 34px; font-weight: 600; letter-spacing: -.01em; color: #6E6D75; transition: color .2s ease; }
.hv2-tab.is-active .hv2-tab-num { color: var(--hv2-lavender); }
.hv2-tab.is-active .hv2-tab-title, .hv2-tab:hover .hv2-tab-title { color: var(--hv2-white); }
.hv2-tab-body { display: none; padding-left: 44px; margin-top: 12px; flex-direction: column; gap: 14px; }
.hv2-tab.is-active .hv2-tab-body { display: flex; }
.hv2-tab-desc { font-size: 15px; line-height: 24px; color: var(--hv2-body); }
.hv2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hv2-tags span { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--hv2-muted); background: rgba(255,255,255,.04); border: 1px solid var(--hv2-border); }
.hv2-progress { display: block; height: 2px; border-radius: 2px; background: var(--hv2-border); overflow: hidden; }
.hv2-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hv2-indigo), var(--hv2-lavender)); }
.hv2-tab.is-active .hv2-progress i { animation: hv2fill var(--hv2-dur, 6s) linear forwards; }
.hv2-tools.is-paused .hv2-tab.is-active .hv2-progress i { animation-play-state: paused; }
.hv2-tools.no-auto .hv2-progress { display: none; }
@keyframes hv2fill { from { width: 0; } to { width: 100%; } }

.hv2-stage { position: relative; }
.hv2-appwin { position: relative; background: var(--hv2-surface); border: 1px solid rgba(122,117,239,.6); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 60px 120px rgba(0,0,0,.6), 0 0 140px rgba(101,101,236,.22); }
.hv2-appwin .hv2-bar { height: 36px; padding: 0 14px; font-size: 12px; }
.hv2-appwin .hv2-dots span { width: 9px; height: 9px; }
.hv2-appwin .hv2-chip { font-size: 11px; padding: 2px 9px; }
.hv2-shots { position: relative; aspect-ratio: 1916 / 942; background: #0B0B0F; }
.hv2-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; transform: scale(1.02); transition: opacity .6s ease, transform .8s ease; }
.hv2-shots img.is-active { opacity: 1; transform: scale(1); }
.hv2-stage-shelf { position: absolute; left: 24px; right: 24px; bottom: -14px; height: 14px; border-radius: 0 0 16px 16px; background: rgba(19,19,24,.7); border: 1px solid var(--hv2-border); border-top: 0; z-index: -1; }
.hv2-works { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 56px; font-size: 14px; color: var(--hv2-dim); }
.hv2-works b { padding: 6px 14px; border-radius: 999px; font-weight: 600; color: var(--hv2-muted); background: var(--hv2-surface); border: 1px solid var(--hv2-border); }

/* ---------- Proof ---------- */
.hv2-proof-sec { padding: 56px 0 24px; }
.hv2-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hv2-stat { position: relative; display: flex; align-items: center; gap: 20px; padding: 28px; background: linear-gradient(180deg, rgba(23,23,29,.95), rgba(19,19,24,.95)); border: 1px solid var(--hv2-border); border-radius: 20px; overflow: hidden; }
.hv2-stat > * { position: relative; }
.hv2-stat .hv2-glow { position: absolute; inset: 0; background: radial-gradient(240px 140px at 0% 50%, rgba(124,92,246,.16), transparent 70%); }
.hv2-stat-icon { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(180deg, rgba(101,101,236,.24), rgba(69,69,204,.1)); border: 1px solid rgba(122,117,239,.4); }
.hv2-stat-num { font-size: 30px; line-height: 38px; font-weight: 700; color: var(--hv2-white); }
.hv2-stat-label { font-size: 15px; line-height: 22px; }

/* ---------- Testimonials ---------- */
.hv2-quotes-sec { padding: 64px 0 40px; }
.hv2-quotes-sec .hv2-h2 { text-align: center; margin-bottom: 32px; }
.hv2-quotes-sec .hv2-quotes { margin-top: 48px; }
.hv2-quotes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hv2-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: rgba(20,20,25,.6); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
.hv2-quote blockquote { font-size: 17px; line-height: 28px; color: #E4E3E8; padding: 0; border: 0; font-style: normal; }
.hv2-quote figcaption { font-size: 14px; line-height: 20px; color: var(--hv2-body); }
.hv2-quote figcaption strong { display: block; font-weight: 600; color: var(--hv2-white); }

/* ---------- CTA ---------- */
.hv2-cta-sec { padding: 64px 0 112px; }
.hv2-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 56px; background: linear-gradient(180deg, #17171D, #121217); border: 1px solid var(--hv2-border); border-radius: 24px; }
.hv2-cta > * { position: relative; }
.hv2-cta .hv2-glow { position: absolute; inset: 0; background: radial-gradient(500px 240px at 85% 50%, rgba(124,92,246,.22), transparent 70%); }
.hv2-cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.hv2-cta-copy p { font-size: 17px; line-height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hv2-hero { padding-top: 130px; }
  .hv2-hero-grid, .hv2-pillars, .hv2-tools { grid-template-columns: 1fr; }
  .hv2-scene { height: 440px; }
  .hv2-quotes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hv2-proof { grid-template-columns: 1fr; }
  .hv2-logos { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 16px; }
}
@media (max-width: 700px) {
  .hv2-hero { padding: 110px 0 48px; }
  .hv2-h1 { font-size: 40px; line-height: 48px; }
  .hv2-h2, .hv2-tools-head .hv2-h2 { font-size: 30px; line-height: 38px; }
  .hv2-products { grid-template-columns: 1fr; }
  .hv2-scene { height: 300px; }
  .hv2-bar { font-size: 10px; }
  .hv2-chip { display: none; }
  .hv2-quotes { grid-template-columns: 1fr; }
  .hv2-logos { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; }
  .hv2-logo { height: 48px; }
  .hv2-logo img { max-width: 100% !important; }
  .hv2-pillar, .hv2-cta { padding: 28px; }
  .hv2-tools-sec { padding-top: 64px; }
  .hv2-tab-title { font-size: 22px; line-height: 30px; }
  .hv2-tab-body { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-shots img { transition: none; transform: none; }
  .hv2-progress { display: none; }
}
