/* Vibrant home page. Shared tokens, header and footer are in style.css. */
:root {
  --glow1: rgba(0, 150, 220, .16);
  --glow2: rgba(122, 77, 224, .12);
  --grad: linear-gradient(90deg, #0077cc, #7a4de0);
  --shadow: 0 30px 60px -20px rgba(13, 30, 60, .35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glow1: rgba(0, 229, 255, .15);
    --glow2: rgba(155, 107, 255, .14);
    --grad: linear-gradient(90deg, #00e5ff, #9b6bff);
    --shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
  }
}

main.home { max-width: none; margin: 0; padding: 0; overflow-x: clip; }
.home .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.home h1, .home h2, .home h3, .home p, .home ul { margin: 0; }
.home ul { padding: 0; list-style: none; }
.home li { margin: 0; }
.home h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.05; letter-spacing: -.03em; }
.home h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
.home h1, .home h2 { text-wrap: balance; }
.home p { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow {
  font: 600 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent) !important; margin-bottom: 14px !important;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fine { font-size: 14px; margin-top: 14px !important; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 16px/1.2 var(--display); text-decoration: none;
  box-shadow: 0 10px 30px -10px var(--glow1), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.btn[aria-disabled="true"] { cursor: default; }
.btn[href]:hover { filter: brightness(1.08); }

.sec { padding: clamp(36px, 5vw, 60px) 0; }
.band { background: var(--band); border-block: 1px solid var(--line); }

/* Hero */
.hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 4vw, 48px);
  background:
    radial-gradient(60% 55% at 82% 18%, var(--glow1), transparent 70%),
    radial-gradient(50% 50% at 5% 95%, var(--glow2), transparent 70%);
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.lede { font-size: clamp(17px, 2vw, 20px); margin: 16px 0 24px !important; }
.hero-art { display: flex; justify-content: center; }
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
}

/* Phone mockup (always dark, like the app) */
.phone {
  --p-bg: #0a0e1a; --p-surface: #131929; --p-elev: #1c2540; --p-line: #1e2a45;
  --p-text: #f0f4ff; --p-muted: #8a9bbe; --p-accent: #00e5ff;
  width: min(270px, 74vw); aspect-ratio: 9 / 18.2; flex: none;
  padding: 9px; border-radius: 40px;
  background: linear-gradient(145deg, #2b3550, #0d1220);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 32px;
  background: var(--p-bg); color: var(--p-text);
  display: flex; flex-direction: column;
  font: 600 10px/1 system-ui, sans-serif;
}
.screen > img.shot { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px; }
.ui-back { width: 8px; height: 8px; border-left: 2px solid var(--p-muted); border-bottom: 2px solid var(--p-muted); transform: rotate(45deg); margin-left: 3px; }
.ui-logo { width: 22px; height: 22px; background: url(/favicon.svg) center / contain no-repeat; }
.ui-export { background: var(--p-accent); color: #04121c; padding: 6px 10px; border-radius: 99px; font-weight: 700; }

/* Timeline tracks */
.ui-tl { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px 0 16px; background: var(--p-surface); border-top: 1px solid var(--p-line); }
.trk { display: flex; gap: 2px; height: 14px; }
.trk > i { border-radius: 4px; min-width: 0; }
.trk > b { min-width: 0; }
.trk.v { height: 24px; }
.trk.v > i { background: linear-gradient(90deg, #00667a, #00a9c2 50%, #007f96); box-shadow: 0 0 0 1px rgba(0, 229, 255, .45) inset; }
.trk.t > i { background: #d9a23c; }
.trk.a > i { background: #1d4f80; position: relative; }
.trk.a > i::before {
  content: ""; position: absolute; inset: 2px 0;
  background: repeating-linear-gradient(90deg, #7cc1ff 0 2px, transparent 2px 4px);
  clip-path: polygon(0 40%, 6% 22%, 12% 36%, 19% 10%, 26% 32%, 33% 16%, 41% 40%, 48% 6%, 56% 30%, 63% 18%, 71% 38%, 79% 12%, 87% 34%, 94% 20%, 100% 42%,
    100% 58%, 94% 80%, 87% 66%, 79% 88%, 71% 62%, 63% 82%, 56% 70%, 48% 94%, 41% 60%, 33% 84%, 26% 68%, 19% 90%, 12% 64%, 6% 78%, 0 60%);
}
.playhead { position: absolute; top: 0; bottom: 8px; left: 44%; width: 2px; background: #fff; border-radius: 2px; box-shadow: 0 0 8px rgba(255, 255, 255, .6); }
.playhead::before { content: ""; position: absolute; top: 0; left: -4px; width: 10px; height: 8px; background: #fff; border-radius: 2px 2px 5px 5px; }
@media (prefers-reduced-motion: no-preference) {
  .playhead { animation: scrub 7s ease-in-out infinite alternate; }
  @keyframes scrub { from { left: 30%; } to { left: 62%; } }
}

/* Scene: SVG illustration standing in for footage */
.scene { position: relative; flex: 1; margin: 2px 30px 8px; border-radius: 10px; overflow: hidden; min-height: 0; }
.art { position: absolute; inset: 0; filter: var(--filter, none); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx { position: absolute; inset: 0; background: var(--fx, none); }
.cap { position: absolute; left: 4px; right: 4px; bottom: 12%; margin: 0; text-align: center; color: #fff !important; font: 800 12px/1.25 system-ui, sans-serif; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
.cap b { background: #00e5ff; color: #04121c; padding: 1px 5px; border-radius: 4px; text-shadow: none; }

/* Vibe looks, switched by the chips inside the phone (CSS only) */
.vibe-demo:has(#v-vhs:checked) .vibe {
  --filter: saturate(1.6) contrast(.92) brightness(1.05) blur(.5px);
  --fx: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(255, 0, 80, .14), transparent 30%, transparent 70%, rgba(0, 200, 255, .16));
}
.vibe-demo:has(#v-cam:checked) .vibe {
  --filter: saturate(.75) contrast(1.1) brightness(1.1);
  --fx: linear-gradient(rgba(120, 160, 255, .12), rgba(120, 160, 255, .12));
}
.vibe-demo:has(#v-s8:checked) .vibe {
  --filter: sepia(.65) saturate(1.35) contrast(.92);
  --fx: radial-gradient(ellipse at center, transparent 42%, rgba(20, 8, 0, .8) 100%), linear-gradient(100deg, rgba(255, 120, 30, .4), transparent 35%);
}
.vibe-demo:has(#v-y2k:checked) .vibe {
  --filter: hue-rotate(-70deg) saturate(1.5) brightness(1.15);
  --fx: radial-gradient(circle at 22% 24%, #fff 0 2px, transparent 3px), radial-gradient(circle at 78% 36%, #fff 0 3px, transparent 4px), radial-gradient(circle at 64% 14%, #fff 0 1.5px, transparent 2.5px), radial-gradient(circle at 30% 60%, #fff 0 2px, transparent 3px), linear-gradient(135deg, rgba(255, 120, 220, .3), rgba(120, 220, 255, .3));
}
.vibe-demo:has(#v-noir:checked) .vibe {
  --filter: grayscale(1) contrast(1.45) brightness(.9);
  --fx: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .75) 100%);
}
.vibe-demo:has(#v-synth:checked) .vibe {
  --filter: hue-rotate(-40deg) saturate(2) contrast(1.15);
  --fx: repeating-linear-gradient(90deg, rgba(0, 229, 255, .65) 0 1px, transparent 1px 18px) bottom / 100% 14% no-repeat, repeating-linear-gradient(0deg, rgba(0, 229, 255, .65) 0 1px, transparent 1px 9px) bottom / 100% 14% no-repeat, linear-gradient(rgba(70, 0, 160, .55), transparent 55%);
}
.vibe-demo:has(#v-own:checked) .vibe {
  --filter: sepia(.3) saturate(1.3) brightness(1.08) blur(.4px);
  --fx: radial-gradient(circle at 50% 45%, rgba(255, 220, 150, .4), transparent 62%);
}
.osd { display: none; position: absolute; font: 700 11px/1 ui-monospace, Consolas, monospace; color: #fff; text-shadow: 1px 0 rgba(255, 0, 80, .8), -1px 0 rgba(0, 200, 255, .8); letter-spacing: .06em; }
.osd-vhs, .osd-cam { left: 10px; top: 12px; }
.osd-vhs2, .osd-cam2 { right: 10px; top: 12px; }
.osd-cam { text-shadow: none; align-items: center; gap: 5px; }
.osd-cam i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; }
.osd-cam2 { color: #ffb000; text-shadow: none; }
.osd-own { left: 8px; right: 8px; top: 10px; padding: 8px 10px; border-radius: 99px; background: rgba(10, 14, 26, .82); border: 1px solid rgba(0, 229, 255, .6); font: 600 10px/1 system-ui, sans-serif; letter-spacing: 0; text-shadow: none; text-align: center; }
.vibe-demo:has(#v-vhs:checked) :is(.osd-vhs, .osd-vhs2),
.vibe-demo:has(#v-cam:checked) .osd-cam2,
.vibe-demo:has(#v-own:checked) .osd-own { display: block; }
.vibe-demo:has(#v-cam:checked) .osd-cam { display: flex; }

/* Vibe chips, inside the phone */
.chips { border: 0; margin: 0; padding: 0 8px 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; min-width: 0; }
.chips legend { padding: 0 0 7px; margin: 0 auto; font-size: 10px; color: var(--p-muted); text-align: center; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { padding: 7px 9px; border-radius: 99px; cursor: pointer; font-size: 10px; background: var(--p-elev); color: var(--p-text); border: 1px solid transparent; }
.chips label:hover { border-color: var(--p-accent); }
.chips input:checked + label { background: var(--p-accent); color: #04121c; }
.chips input:focus-visible + label { outline: 2px solid #fff; outline-offset: 2px; }

/* Feature band */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.feats li { display: flex; align-items: center; gap: 12px; font: 600 15px/1.3 var(--display); color: var(--text); }
.feats svg { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 820px) { .feats { grid-template-columns: repeat(3, 1fr); gap: 26px 32px; } .feats li { font-size: 17px; } }

/* Pricing: one card, two plans */
#pricing { text-align: center; }
.plans { max-width: 760px; margin: 24px auto 0; display: grid; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.plan { padding: 22px 24px; }
.plan.pro { background: var(--accent-soft); border-top: 1px solid var(--line); }
.plan h3 { font-size: 16px; }
.price { margin: 6px 0 4px !important; color: var(--text) !important; font-size: 16px; }
.price strong { font: 700 34px/1.1 var(--display); letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px !important; }
.ticks li { position: relative; padding-left: 22px; color: var(--text); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 10px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plans-note { padding: 14px 24px; border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 700px) {
  .plans { grid-template-columns: 1fr 1.25fr; }
  .plan.pro { border-top: 0; border-left: 1px solid var(--line); }
  .plans-note { grid-column: 1 / -1; text-align: center; }
}
