/* ============================================
   MAKETHISVID — PROJECT-SPECIFIC COMPONENTS
   Material-inspired surfaces, elevation, and
   motion layered on top of the shared ETP tokens.
   ============================================ */

/* ----------------------------------------
   ATMOSPHERE
   Subtle gradient wash behind every page +
   a soft noise grain for depth.
   ---------------------------------------- */
.mtv-body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--tone-violet) 9%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, color-mix(in srgb, var(--tone-sky) 8%, transparent), transparent 55%),
    var(--bg);
}

.mtv-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.mtv-body > * {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   TOPBAR
   Floating Material app bar.
   ---------------------------------------- */
.mtv-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  margin: 12px auto 0;
  max-width: 1200px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}

.mtv-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.mtv-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.mtv-brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--tone-violet) 0%, #5a3dec 100%);
  color: #fff;
  box-shadow: var(--shadow-tonal-violet);
  position: relative;
  overflow: hidden;
}

.mtv-brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35), transparent 60%);
  pointer-events: none;
}

.mtv-brand-mark svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

.mtv-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 720px) {
  .mtv-nav { display: none; }
}

.mtv-nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 160ms var(--ease-standard), color 160ms var(--ease-standard);
}

.mtv-nav-link:hover {
  color: var(--text);
  background: var(--tone-violet-50);
}

/* Credit pill — Material assist chip */
.mtv-credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.mtv-credit-pill-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--tone-violet);
  color: #fff;
  font-size: 0.7rem;
}

.mtv-credit-pill-num {
  font-variant-numeric: tabular-nums;
  color: var(--tone-violet-700);
}

.mtv-credit-pill-sub {
  color: var(--text-muted);
  font-weight: 500;
}

/* ----------------------------------------
   HERO (landing)
   ---------------------------------------- */
.mtv-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.mtv-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .mtv-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.mtv-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--tone-violet) 18%, transparent);
}

.mtv-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--tone-violet);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone-violet) 18%, transparent);
  animation: mtv-pulse 2s var(--ease-in-out) infinite;
}

@keyframes mtv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.mtv-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
  margin: 20px 0 18px;
}

.mtv-hero-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--tone-violet-700);
  letter-spacing: -0.03em;
}

.mtv-hero-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 28px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .mtv-hero-sub { margin-left: auto; margin-right: auto; }
}

.mtv-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .mtv-hero-ctas { justify-content: center; }
}

.mtv-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 160ms var(--ease-standard);
}

.mtv-cta-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
}

.mtv-cta-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.mtv-cta-arrow {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 200ms var(--ease-standard);
}

.mtv-cta-primary:hover .mtv-cta-arrow {
  transform: translateX(3px);
}

.mtv-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.mtv-cta-ghost:hover {
  background: var(--tone-violet-50);
  border-color: color-mix(in srgb, var(--tone-violet) 30%, transparent);
  color: var(--tone-violet-700);
}

/* Trust row */
.mtv-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .mtv-trust { justify-content: center; }
}

.mtv-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtv-trust-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tone-violet-700);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mtv-trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mtv-trust-sep {
  width: 1px;
  height: 28px;
  background: var(--hairline);
}

/* ----------------------------------------
   HERO PREVIEW CARD
   Tilted, elevated composer-like surface.
   ---------------------------------------- */
.mtv-hero-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0c0c18 0%, #191633 55%, #25174d 100%);
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(30, 18, 80, 0.45),
    0 10px 30px -8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform 500ms var(--ease-standard);
}

.mtv-hero-preview:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg) translateY(-4px);
}

@media (max-width: 960px) {
  .mtv-hero-preview {
    transform: none;
    max-width: 560px;
    margin: 0 auto;
  }
  .mtv-hero-preview:hover { transform: none; }
}

.mtv-hero-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(124, 92, 252, 0.35), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(56, 189, 248, 0.18), transparent 65%);
  pointer-events: none;
}

.mtv-hero-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent, black 40%, black 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 40%, black 60%, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.mtv-hero-preview-inner {
  position: absolute;
  inset: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}

.mtv-hero-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mtv-hero-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mtv-hero-preview-dot:nth-child(1) { background: #ff5f57; }
.mtv-hero-preview-dot:nth-child(2) { background: #ffbd2e; }
.mtv-hero-preview-dot:nth-child(3) { background: #28ca42; }

.mtv-hero-preview-label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

.mtv-hero-preview-prompt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 76px;
  position: relative;
  font-family: var(--font-body);
}

.mtv-hero-preview-prompt::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--tone-violet);
  margin-left: 2px;
  vertical-align: -2px;
  animation: mtv-caret 1.1s steps(1) infinite;
}

@keyframes mtv-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.mtv-hero-preview-settings {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mtv-hero-preview-chip {
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mtv-hero-preview-chip--accent {
  background: color-mix(in srgb, var(--tone-violet) 30%, transparent);
  border-color: color-mix(in srgb, var(--tone-violet) 60%, transparent);
  color: #fff;
}

.mtv-hero-preview-stage {
  flex: 1;
  min-height: 130px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtv-hero-preview-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, rgba(124, 92, 252, 0.6), rgba(56, 189, 248, 0.5), rgba(251, 113, 133, 0.4), rgba(124, 92, 252, 0.6));
  filter: blur(30px);
  opacity: 0.5;
  animation: mtv-spin 8s linear infinite;
}

@keyframes mtv-spin {
  to { transform: rotate(360deg); }
}

.mtv-hero-preview-stage-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.mtv-hero-preview-stage-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: mtv-spin 1.2s linear infinite;
}

.mtv-hero-preview-stage-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.mtv-hero-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: #fff;
  color: #0a0a14;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 700;
  align-self: flex-end;
  box-shadow: 0 8px 16px -4px rgba(124, 92, 252, 0.5);
}

/* Floating badges orbiting the preview card */
.mtv-hero-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 3;
  animation: mtv-float 5s var(--ease-in-out) infinite;
}

.mtv-hero-float--audio {
  top: 32%;
  left: -36px;
  color: var(--tone-violet-700);
  animation-delay: -1.2s;
}

.mtv-hero-float--fps {
  bottom: 14%;
  right: -24px;
  color: var(--tone-sky-700);
  animation-delay: -2.8s;
}

@media (max-width: 960px) {
  .mtv-hero-float--audio { left: 8px; }
  .mtv-hero-float--fps { right: 8px; }
}

.mtv-hero-float-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mtv-hero-float--audio .mtv-hero-float-icon { background: var(--tone-violet); }
.mtv-hero-float--fps .mtv-hero-float-icon { background: var(--tone-sky); }

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

/* ----------------------------------------
   MARQUEE — PROMPT → VIDEO transformations
   ---------------------------------------- */
.mtv-reel-section {
  margin-top: 88px;
}

.mtv-section-eyebrow {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mtv-section-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 40px;
  line-height: 1.1;
}

.mtv-section-heading em {
  font-style: italic;
  color: var(--tone-violet-700);
}

.mtv-reel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.mtv-reel-track {
  display: flex;
  gap: 20px;
  animation: mtv-marquee 42s linear infinite;
  width: max-content;
}

.mtv-reel-track:hover {
  animation-play-state: paused;
}

@keyframes mtv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.mtv-reel-card {
  flex-shrink: 0;
  width: 300px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}

.mtv-reel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet);
}

.mtv-reel-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #15122b 0%, #2e1b64 100%);
  overflow: hidden;
}

.mtv-reel-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad, radial-gradient(circle at 30% 40%, rgba(124,92,252,0.7), transparent 60%));
  opacity: 0.9;
}

.mtv-reel-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.mtv-reel-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5);
  color: #0a0a14;
  z-index: 1;
}

.mtv-reel-thumb-time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  border-radius: var(--r-sm);
  z-index: 1;
}

.mtv-reel-body {
  padding: 14px 16px 16px;
}

.mtv-reel-prompt {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  min-height: 2.5em;
}

.mtv-reel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mtv-reel-meta-chip {
  padding: 3px 8px;
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ----------------------------------------
   FEATURE CARDS (landing)
   ---------------------------------------- */
.mtv-features {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 880px) {
  .mtv-features { grid-template-columns: 1fr; }
}

.mtv-feature {
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
  position: relative;
  overflow: hidden;
}

.mtv-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-line, var(--tone-violet));
  opacity: 0;
  transition: opacity 200ms var(--ease-standard);
}

.mtv-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
}

.mtv-feature:hover::before { opacity: 1; }

.mtv-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  margin-bottom: 16px;
}

.mtv-feature--sky .mtv-feature-icon { background: var(--tone-sky-50); color: var(--tone-sky-700); }
.mtv-feature--sky { --accent-line: var(--tone-sky); }
.mtv-feature--emerald .mtv-feature-icon { background: var(--tone-emerald-50); color: var(--tone-emerald-700); }
.mtv-feature--emerald { --accent-line: var(--tone-emerald); }

.mtv-feature-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

.mtv-feature-body {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.mtv-footer {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}

.mtv-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}

.mtv-footer a:hover { color: var(--tone-violet-700); }

/* ----------------------------------------
   CREATE — LAYOUT
   ---------------------------------------- */
.mtv-create {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 96px;
  display: grid;
  gap: 20px;
}

/* ----------------------------------------
   COMPOSER — the main generate surface
   ---------------------------------------- */
.mtv-composer {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(20, 20, 40, 0.04),
    0 24px 48px -20px rgba(26, 26, 46, 0.14);
  transition: box-shadow 200ms var(--ease-standard);
}

.mtv-composer:focus-within {
  box-shadow:
    0 1px 3px rgba(20, 20, 40, 0.04),
    0 24px 48px -20px rgba(124, 92, 252, 0.28),
    0 0 0 1px color-mix(in srgb, var(--tone-violet) 28%, transparent);
}

.mtv-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 8px;
  gap: 12px;
}

.mtv-composer-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.mtv-composer-title-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--tone-violet);
  color: #fff;
  box-shadow: var(--shadow-tonal-violet);
}

.mtv-composer-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Prompt textarea — Material text field, outlined hybrid */
.mtv-prompt-wrap {
  padding: 4px 8px 12px 8px;
  position: relative;
}

.mtv-prompt {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 14px 18px 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
  outline: none;
}

.mtv-prompt::placeholder {
  color: var(--text-dimmed);
  font-weight: 500;
}

/* Sample chips */
.mtv-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 16px;
}

.mtv-sample-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  border: 1px solid color-mix(in srgb, var(--tone-violet) 18%, transparent);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease-standard), transform 120ms var(--ease-standard), border-color 160ms var(--ease-standard);
}

.mtv-sample-chip:hover {
  background: var(--tone-violet-100);
  border-color: var(--tone-violet);
  transform: translateY(-1px);
}

.mtv-sample-chip:active {
  transform: translateY(0) scale(0.97);
}

.mtv-sample-chip-spark {
  color: var(--tone-violet);
  font-size: 0.85rem;
  line-height: 1;
}

/* Settings row — segmented-ish chip groups */
.mtv-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-subtle);
}

.mtv-setting {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mtv-setting-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mtv-segmented {
  display: inline-flex;
  padding: 3px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  gap: 2px;
}

.mtv-segmented-opt {
  padding: 7px 14px;
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 160ms var(--ease-standard), background 160ms var(--ease-standard);
  white-space: nowrap;
}

.mtv-segmented-opt:hover:not([aria-pressed="true"]) {
  color: var(--text);
  background: var(--tone-violet-50);
}

.mtv-segmented-opt[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Footer of composer */
.mtv-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--hairline);
  gap: 12px;
  flex-wrap: wrap;
}

.mtv-cost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mtv-cost-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 7px;
  background: var(--tone-amber-50);
  color: var(--tone-amber-700);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid color-mix(in srgb, var(--tone-amber) 20%, transparent);
}

.mtv-cost-pill-spark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tone-amber);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
}

/* Generate FAB */
.mtv-generate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 160ms var(--ease-standard);
}

.mtv-generate:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
}

.mtv-generate:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.mtv-generate:disabled {
  background: var(--primary);
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: var(--shadow-sm);
}

.mtv-generate-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mtv-generate-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: mtv-spin 0.9s linear infinite;
}

.mtv-generate.is-busy .mtv-generate-icon svg { display: none; }
.mtv-generate.is-busy .mtv-generate-spinner { display: inline-block; }

/* ----------------------------------------
   STAGE — job status / result panel
   ---------------------------------------- */
.mtv-stage {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: mtv-stage-in 300ms var(--ease-standard);
}

@keyframes mtv-stage-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mtv-stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtv-stage-frame--9\:16 { aspect-ratio: 9 / 16; max-height: 640px; margin: 0 auto; }

/* cosmic loader */
.mtv-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.mtv-loader::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(124, 92, 252, 0.7), rgba(56, 189, 248, 0.5), rgba(251, 113, 133, 0.45), rgba(124, 92, 252, 0.7));
  filter: blur(60px);
  opacity: 0.55;
  animation: mtv-spin 9s linear infinite;
  z-index: -1;
}

.mtv-loader-ring {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: #fff;
  border-right-color: #c4b1ff;
  animation: mtv-spin 1.1s linear infinite;
}

.mtv-loader-ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  animation: mtv-spin 4s linear infinite reverse;
}

.mtv-loader-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mtv-loader-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mtv-loader-timer {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 0 24px rgba(124, 92, 252, 0.6);
  font-variant-numeric: tabular-nums;
}

.mtv-stage-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Stage status bar */
.mtv-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.mtv-stage-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.mtv-stage-status-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  flex-shrink: 0;
}

.mtv-stage--ready .mtv-stage-status-icon {
  background: var(--tone-emerald-50);
  color: var(--tone-emerald-700);
}

.mtv-stage--error .mtv-stage-status-icon {
  background: var(--tone-rose-50);
  color: var(--tone-rose-700);
}

.mtv-stage-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mtv-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 120ms var(--ease-standard);
}

.mtv-icon-btn:hover {
  background: var(--tone-violet-50);
  border-color: color-mix(in srgb, var(--tone-violet) 32%, transparent);
  color: var(--tone-violet-700);
}

.mtv-icon-btn:active {
  transform: scale(0.97);
}

.mtv-icon-btn svg {
  width: 14px;
  height: 14px;
}

/* Progress bar — shown during generation */
.mtv-progress {
  height: 4px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}

.mtv-progress-bar {
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--tone-violet), var(--tone-sky), transparent);
  animation: mtv-progress-slide 2s var(--ease-in-out) infinite;
}

@keyframes mtv-progress-slide {
  to { left: 100%; }
}

/* ----------------------------------------
   AUTH CARD
   ---------------------------------------- */
.mtv-auth {
  max-width: 460px;
  margin: 24px auto 0;
  padding: 36px 32px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: mtv-stage-in 280ms var(--ease-standard);
}

.mtv-auth-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--tone-violet) 0%, #5a3dec 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-tonal-violet-lg);
}

.mtv-auth-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 6px;
}

.mtv-auth-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 22px;
  line-height: 1.5;
}

.mtv-auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mtv-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard);
}

.mtv-input:focus {
  outline: none;
  border-color: var(--tone-violet);
  box-shadow: 0 0 0 4px var(--tone-violet-50);
}

.mtv-auth-submit {
  padding: 14px 22px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 160ms var(--ease-standard);
}

.mtv-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
}

.mtv-auth-submit:active { transform: translateY(0) scale(0.98); box-shadow: var(--shadow-sm); }

.mtv-auth-status {
  margin-top: 14px;
  font-size: 0.87rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.mtv-auth-status.is-success { color: var(--tone-emerald-700); }
.mtv-auth-status.is-error { color: var(--tone-rose-700); }

/* ----------------------------------------
   TOAST / INLINE ALERT
   ---------------------------------------- */
.mtv-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--tone-rose-50);
  border: 1px solid color-mix(in srgb, var(--tone-rose) 24%, transparent);
  color: var(--tone-rose-700);
  font-size: 0.88rem;
  line-height: 1.45;
  animation: mtv-stage-in 220ms var(--ease-standard);
}

.mtv-alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tone-rose);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ----------------------------------------
   STAGGERED REVEAL — page load
   ---------------------------------------- */
.mtv-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: mtv-reveal-in 600ms var(--ease-out) forwards;
}

.mtv-reveal--1 { animation-delay: 60ms; }
.mtv-reveal--2 { animation-delay: 160ms; }
.mtv-reveal--3 { animation-delay: 260ms; }
.mtv-reveal--4 { animation-delay: 360ms; }
.mtv-reveal--5 { animation-delay: 460ms; }

@keyframes mtv-reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtv-reveal, .mtv-reveal--1, .mtv-reveal--2, .mtv-reveal--3, .mtv-reveal--4, .mtv-reveal--5 {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .mtv-reel-track, .mtv-hero-float, .mtv-hero-preview-stage::before, .mtv-loader::after { animation: none; }
}

/* ----------------------------------------
   Small utility
   ---------------------------------------- */
.mtv-hidden { display: none !important; }

/* ==========================================================
   HOMEPAGE V2 — DENSER, LIVED-IN
   Same family as ETP: Plus Jakarta Sans, violet accent,
   tonal washes, layered shadows. Classes scoped with `home-`
   prefix so create.html stays untouched.
   ========================================================== */

/* ----------------------------------------
   SHELL
   ---------------------------------------- */
.home-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 96px;
}

/* ----------------------------------------
   HERO — ETP dropzone pattern, adapted for video
   Left: copy + trust. Right: real composer.
   ---------------------------------------- */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 32px;
}

@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
}

.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid color-mix(in srgb, var(--tone-violet) 20%, transparent);
  margin-bottom: 18px;
}

.home-hero-eyebrow-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tone-violet);
}
.home-hero-eyebrow-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--tone-violet);
  opacity: 0.35;
  animation: home-eyebrow-pulse 1.8s var(--ease-in-out) infinite;
}
@keyframes home-eyebrow-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text);
  margin: 0 0 18px;
}

.home-hero-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--tone-violet-700);
  letter-spacing: -0.03em;
  position: relative;
  white-space: nowrap;
}

/* Underline brush beneath the italic accent word */
.home-hero-title em::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 4px;
  height: 8px;
  background: var(--tone-violet);
  opacity: 0.18;
  border-radius: 4px;
  z-index: -1;
}

.home-hero-sub {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 28px;
  font-weight: 500;
}

@media (max-width: 960px) {
  .home-hero-sub { margin-left: auto; margin-right: auto; }
}

.home-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .home-hero-ctas { justify-content: center; }
}

.home-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 160ms var(--ease-standard);
}
.home-hero-cta-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
}
.home-hero-cta-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}
.home-hero-cta-primary-arrow {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 200ms var(--ease-standard);
}
.home-hero-cta-primary:hover .home-hero-cta-primary-arrow {
  transform: translateX(3px);
}

.home-hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease-standard), border-color 160ms var(--ease-standard), color 160ms var(--ease-standard);
}
.home-hero-cta-ghost:hover {
  background: var(--tone-violet-50);
  border-color: color-mix(in srgb, var(--tone-violet) 30%, transparent);
  color: var(--tone-violet-700);
}

/* Trust row under hero ctas */
.home-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}
@media (max-width: 960px) { .home-trust { justify-content: center; } }

.home-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-trust-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--tone-violet-700);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.home-trust-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.home-trust-sep {
  width: 1px;
  height: 32px;
  background: var(--hairline);
}

/* ----------------------------------------
   HERO INTERACTIVE COMPOSER
   ETP dropzone pattern, adapted — real textarea
   with typewriter placeholder + generate CTA that
   deep-links to /create.html with prompt pre-filled.
   ---------------------------------------- */
.home-composer {
  position: relative;
  width: 100%;
  max-width: 540px;
  padding: 10px 10px 16px 10px;
  background: linear-gradient(135deg, var(--tone-violet-50) 0%, var(--card) 70%);
  border: 2px dashed color-mix(in srgb, var(--tone-violet) 32%, transparent);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 220ms var(--ease-standard),
              box-shadow 240ms var(--ease-standard),
              transform 220ms var(--ease-standard),
              background 240ms var(--ease-standard);
  box-shadow: var(--shadow-md), 0 20px 40px -20px rgba(124, 92, 252, 0.28);
}

@media (max-width: 960px) {
  .home-composer { margin: 0 auto; }
}

.home-composer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--tone-violet) 14%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.45;
  pointer-events: none;
  mask-image: linear-gradient(135deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, black, transparent 70%);
  border-radius: inherit;
}

.home-composer:hover,
.home-composer:focus-within {
  border-color: var(--tone-violet);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 28px 52px -20px rgba(124, 92, 252, 0.38);
}

.home-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 4px;
  position: relative;
  z-index: 1;
}

.home-composer-window-dots {
  display: flex;
  gap: 6px;
}
.home-composer-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.12);
}

.home-composer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

.home-composer-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tone-emerald);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone-emerald) 22%, transparent);
  animation: mtv-pulse 2s var(--ease-in-out) infinite;
}

.home-composer-textarea-wrap {
  position: relative;
  margin: 8px 6px 0;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(20, 20, 40, 0.04);
  z-index: 1;
}

.home-composer-textarea {
  width: 100%;
  min-height: 116px;
  padding: 16px 18px 10px;
  background: transparent;
  border: none;
  resize: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
  outline: none;
  position: relative;
  z-index: 1;
}

.home-composer-textarea::placeholder {
  color: transparent; /* typewriter is the placeholder */
}

.home-composer-typewriter {
  position: absolute;
  inset: 16px 18px auto 18px;
  color: var(--tone-violet-700);
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.9;
  pointer-events: none;
  font-weight: 500;
}

.home-composer-typewriter::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--tone-violet);
  margin-left: 2px;
  vertical-align: -2px;
  animation: home-caret 1s steps(1) infinite;
}

.home-composer-typewriter.is-hidden { display: none; }

@keyframes home-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.home-composer-settings {
  display: flex;
  gap: 6px;
  padding: 12px 16px 2px 16px;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-composer-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.home-composer-chip--accent {
  background: var(--tone-violet);
  color: #fff;
  border-color: var(--tone-violet);
  box-shadow: var(--shadow-tonal-violet);
  font-weight: 600;
}

.home-composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 6px;
  position: relative;
  z-index: 1;
  gap: 12px;
}

.home-composer-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.home-composer-meta-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tone-violet-100);
  color: var(--tone-violet-700);
  font-size: 0.58rem;
  font-weight: 700;
}

.home-composer-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 160ms var(--ease-standard);
  text-decoration: none;
}

.home-composer-submit:hover {
  transform: translateY(-1px);
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
}
.home-composer-submit:active { transform: translateY(0) scale(0.98); }

.home-composer-submit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Floating "audio" + "fps" badges pinned to composer edges */
.home-composer-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  z-index: 3;
  animation: home-float 6s var(--ease-in-out) infinite;
}

.home-composer-badge--audio {
  top: -16px;
  left: -28px;
  color: var(--tone-violet-700);
  animation-delay: -1.2s;
}
.home-composer-badge--fps {
  bottom: -16px;
  right: -28px;
  color: var(--tone-sky-700);
  animation-delay: -3.1s;
}

@media (max-width: 960px) {
  .home-composer-badge--audio { left: 12px; top: -14px; }
  .home-composer-badge--fps { right: 12px; bottom: -14px; }
}

.home-composer-badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.home-composer-badge--audio .home-composer-badge-icon { background: var(--tone-violet); }
.home-composer-badge--fps .home-composer-badge-icon { background: var(--tone-sky); }

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

/* ----------------------------------------
   SHOWCASE REEL — prompt→video wipe cards
   Same family as ETP showcase-strip, using
   gradient "film stills" instead of photo thumbs
   ---------------------------------------- */
.home-reel-wrap {
  margin: 88px 0 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 20px 0 4px;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.home-reel-track {
  display: flex;
  gap: 18px;
  animation: home-marquee 56s linear infinite;
  width: max-content;
}

.home-reel-track:hover { animation-play-state: paused; }

@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-reel-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 260ms var(--ease-standard);
}

.home-reel-track:hover .home-reel-card { opacity: 0.55; }
.home-reel-track:hover .home-reel-card:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* Film-still 16:9 frame */
.home-reel-frame {
  position: relative;
  width: 240px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #0c0b18;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(26, 26, 46, 0.06);
}

.home-reel-frame-a,
.home-reel-frame-b {
  position: absolute;
  inset: 0;
}

/* "Before" side: prompt text on paper */
.home-reel-frame-a {
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
}

.home-reel-frame-a::before {
  content: '✦';
  margin-right: 8px;
  color: var(--tone-violet-700);
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* "After" side: gradient film still */
.home-reel-frame-b {
  background: var(--grad, linear-gradient(135deg, #2a1b6e 0%, #7c5cfc 100%));
  clip-path: inset(0 100% 0 0);
  animation: home-wipe 6s var(--ease-in-out) infinite;
  animation-delay: var(--delay, 0s);
}

.home-reel-track:hover .home-reel-frame-b { animation-play-state: paused; }

@keyframes home-wipe {
  0%, 30% { clip-path: inset(0 100% 0 0); }
  45%, 80% { clip-path: inset(0 0 0 0); }
  95%, 100% { clip-path: inset(0 100% 0 0); }
}

/* Sprocket-like film edges (top + bottom) */
.home-reel-frame-b::before,
.home-reel-frame-b::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 7px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.45) 2px, transparent 2.5px);
  background-size: 12px 7px;
  background-repeat: repeat-x;
  background-position: center;
  pointer-events: none;
}
.home-reel-frame-b::before { top: 0; }
.home-reel-frame-b::after { bottom: 0; }

/* Noise overlay on "after" */
.home-reel-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.home-reel-stamp {
  position: absolute;
  top: 11px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.home-reel-duration {
  position: absolute;
  bottom: 11px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #fff;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}

.home-reel-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 2px;
}

/* ----------------------------------------
   SECTION CHROME
   ---------------------------------------- */
.home-section {
  padding: 96px 0 0;
}

.home-section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.home-section-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--tone-violet-50);
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tone-violet-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--tone-violet) 14%, transparent);
}

.home-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 14px;
}

.home-section-title em {
  font-style: italic;
  font-weight: 800;
  color: var(--tone-violet-700);
  position: relative;
}
.home-section-title em::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 3px;
  height: 6px;
  background: var(--tone-violet);
  opacity: 0.16;
  border-radius: 3px;
  z-index: -1;
}

.home-section-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

/* ----------------------------------------
   HOW IT WORKS — 3 numbered Material cards
   ---------------------------------------- */
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

@media (max-width: 880px) {
  .home-steps { grid-template-columns: 1fr; }
}

/* Connecting dashed line across the row (desktop) */
@media (min-width: 881px) {
  .home-steps::before {
    content: '';
    position: absolute;
    top: 64px;
    left: 16%;
    right: 16%;
    height: 1px;
    background-image: linear-gradient(90deg, color-mix(in srgb, var(--tone-violet) 45%, transparent) 50%, transparent 50%);
    background-size: 8px 1px;
    z-index: 0;
  }
}

.home-step {
  position: relative;
  padding: 30px 28px 28px;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
  z-index: 1;
}

.home-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
}

.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

.home-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

.home-step-body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Mini visual inside each step — stylized mockup */
.home-step-visual {
  margin-top: 18px;
  padding: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  min-height: 84px;
}

.home-step-visual-line { display: block; }
.home-step-visual-line--accent { color: var(--tone-violet-700); font-weight: 600; }
.home-step-visual-line--strong { color: var(--text); font-weight: 600; }

.home-step-visual-caret::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--tone-violet);
  margin-left: 2px;
  vertical-align: -2px;
  animation: home-caret 1s steps(1) infinite;
}

.home-step-visual-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(26, 26, 46, 0.12);
  border-top-color: var(--tone-violet);
  animation: mtv-spin 1.1s linear infinite;
  margin: 10px auto 6px;
}

.home-step-visual-timer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.home-step-visual-bar {
  height: 6px;
  background: var(--hairline);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 10px;
}
.home-step-visual-bar-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--tone-violet), var(--tone-sky));
  border-radius: inherit;
}

/* ----------------------------------------
   CANVAS GRID — What you can make (6-up)
   ---------------------------------------- */
.home-canvas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 880px) {
  .home-canvas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-canvas-grid { grid-template-columns: 1fr; }
}

.home-canvas-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-standard), box-shadow 220ms var(--ease-standard);
  display: flex;
  flex-direction: column;
}

.home-canvas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-tonal-violet);
}

.home-canvas-thumb {
  aspect-ratio: 16 / 10;
  background: var(--thumb-grad, linear-gradient(135deg, #2a1b6e, #7c5cfc));
  position: relative;
  overflow: hidden;
}

.home-canvas-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.home-canvas-thumb-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

.home-canvas-thumb-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.home-canvas-thumb-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 7px;
  border-radius: 4px;
}

.home-canvas-body {
  padding: 16px 18px 18px;
}

.home-canvas-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tone-violet-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-canvas-category::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tone-violet);
}

.home-canvas-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.25;
}

.home-canvas-card-body {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* ----------------------------------------
   COMPARISON — The old way vs MakeThisVid
   ---------------------------------------- */
.home-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  position: relative;
}

@media (max-width: 880px) { .home-compare { grid-template-columns: 1fr; } }

.home-compare-col {
  padding: 32px 30px 30px;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-compare-col--old {
  background: var(--bg-subtle);
  color: var(--text);
}

.home-compare-col--new {
  background: linear-gradient(135deg, #16142a 0%, #2a1b6e 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg), var(--shadow-tonal-violet-lg);
  position: relative;
  overflow: hidden;
}

.home-compare-col--new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 80% -20%, rgba(124, 92, 252, 0.45), transparent 55%);
  pointer-events: none;
}

.home-compare-col--new::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.home-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.home-compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.home-compare-col--old .home-compare-tag {
  background: rgba(26, 26, 46, 0.06);
  color: var(--text-muted);
}
.home-compare-col--new .home-compare-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.home-compare-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0 2px;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.home-compare-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.home-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-compare-list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.home-compare-col--old .home-compare-list-icon {
  background: rgba(251, 113, 133, 0.12);
  color: var(--tone-rose-700);
}
.home-compare-col--new .home-compare-list-icon {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.home-compare-list-body strong {
  font-weight: 700;
  color: var(--text);
}
.home-compare-col--new .home-compare-list-body strong { color: #fff; }

.home-compare-col--new .home-compare-list-body { color: rgba(255, 255, 255, 0.85); }

.home-compare-total {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed color-mix(in srgb, var(--text) 12%, transparent);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}
.home-compare-col--new .home-compare-total {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.home-compare-total-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-transform: none;
}
.home-compare-col--old .home-compare-total-num { color: var(--tone-rose-700); }
.home-compare-col--new .home-compare-total-num { color: #c4b1ff; }

.home-compare-subnote {
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.home-compare-subnote strong {
  color: #c4b1ff;
  font-weight: 600;
}

/* ----------------------------------------
   FAQ ACCORDION
   ---------------------------------------- */
.home-faq {
  max-width: 780px;
  margin: 0 auto;
}

.home-faq-item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 200ms var(--ease-standard), border-color 200ms var(--ease-standard);
}

.home-faq-item[open] {
  box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--tone-violet) 22%, transparent);
  border-color: color-mix(in srgb, var(--tone-violet) 28%, transparent);
}

.home-faq-summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.015em;
  color: var(--text);
  user-select: none;
}

.home-faq-summary::-webkit-details-marker { display: none; }

.home-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 260ms var(--ease-standard), background 200ms var(--ease-standard);
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--tone-violet) 18%, transparent);
}

.home-faq-item[open] .home-faq-icon {
  transform: rotate(45deg);
  background: var(--tone-violet);
  color: #fff;
  border-color: transparent;
}

.home-faq-body {
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.home-faq-body p { margin: 0 0 10px; }
.home-faq-body p:last-child { margin-bottom: 0; }

.home-faq-body strong { color: var(--text); font-weight: 600; }

/* ----------------------------------------
   FINALE CTA — dark Material surface
   ---------------------------------------- */
.home-finale {
  position: relative;
  margin-top: 100px;
  padding: 72px 48px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0f0e1e 0%, #231546 55%, #3a1f78 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 30px 80px -30px rgba(124, 92, 252, 0.5);
}

.home-finale::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 15%, rgba(124, 92, 252, 0.6), transparent 60%),
    radial-gradient(500px 280px at 85% 85%, rgba(56, 189, 248, 0.32), transparent 60%);
  pointer-events: none;
}

.home-finale::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.home-finale-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.home-finale-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.home-finale-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: #fff;
}

.home-finale-title em {
  font-style: italic;
  color: #c4b1ff;
  font-weight: 800;
}

.home-finale-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 28px;
  font-weight: 500;
}

.home-finale-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: #0e0e1e;
  border: none;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
  transition: transform 160ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.home-finale-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.35);
}

.home-finale-cta-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(14, 13, 30, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease-standard);
}
.home-finale-cta:hover .home-finale-cta-arrow { transform: translateX(3px); }

.home-finale-meta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  flex-wrap: wrap;
  justify-content: center;
}
.home-finale-meta span { display: inline-flex; align-items: center; gap: 6px; }
.home-finale-meta .dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* ----------------------------------------
   RICH FOOTER
   ---------------------------------------- */
.home-footer {
  margin-top: 80px;
  padding: 48px 0 32px;
  border-top: 1px solid var(--hairline);
}

.home-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

@media (max-width: 880px) {
  .home-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .home-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.home-footer-brand-block {
  max-width: 320px;
}

.home-footer-tagline {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 14px 0 0;
}

.home-footer-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.home-footer-links {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 160ms var(--ease-standard);
}
.home-footer-links a:hover { color: var(--tone-violet-700); }

.home-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.home-footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
}
.home-footer-meta a:hover { color: var(--tone-violet-700); }

.home-footer-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--tone-violet-50);
  color: var(--tone-violet-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid color-mix(in srgb, var(--tone-violet) 16%, transparent);
}

/* ----------------------------------------
   REDUCED MOTION
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .home-reel-track,
  .home-reel-frame-b,
  .home-composer-badge,
  .home-composer-tag-dot,
  .home-hero-eyebrow-pulse::after,
  .home-step-visual-ring {
    animation: none !important;
  }
}
