/* ================================================================
   Redesign (2026-10-14): plugins menu, photo hero, editor tiles,
   plugin cards with box covers, plugin pages, FAQ.
   Loaded after style.css; same colours and fonts.
   ================================================================ */

/* header: sticky, with a Plugins dropdown (<details>, works without JS) */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11,11,12,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(42,40,36,0.6); padding: 16px 0; }
.site-header.over-hero { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgba(11,11,12,0.8), transparent); border-bottom: 0; backdrop-filter: none; }
.nav { align-items: center; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu > summary:hover, .menu[open] > summary { color: var(--text); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 14px); min-width: 250px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
.menu-panel a { color: var(--text) !important; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.menu-panel a:hover { background: var(--panel-2); color: var(--gold) !important; }
.menu-panel .label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu-panel small { color: var(--muted); font-size: 12px; margin-left: 6px; }

/* full-screen hero: looping video (images/hero.mp4) behind the headline.
   The poster frame shows while it loads; the gradient keeps the text readable. */
.photo-hero {
  min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 72px; position: relative;
  isolation: isolate; overflow: hidden;
  background: url("images/hero-poster.jpg") center / cover no-repeat, #0B0B0C;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.25) 30%, rgba(11,11,12,0.82) 72%, var(--bg) 100%);
}
.photo-hero .wrap { text-align: center; }
.photo-hero h1 { font-size: clamp(40px, 7.5vw, 88px); letter-spacing: -1.5px; max-width: 16ch; margin: 18px auto 0; text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.photo-hero h1 span { color: var(--gold); }
.photo-hero .lead { margin: 20px auto 0; font-size: clamp(16px, 2vw, 20px); color: #D6D0C4; max-width: 52ch; }
.photo-hero .hero-actions { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* sections */
section.block { padding: 80px 0 24px; }
section.block h2 { font-size: clamp(30px, 4.5vw, 46px); margin: 12px 0 14px; }
section.block .intro { color: var(--muted); max-width: 60ch; font-size: 17px; }

/* editor tiles */
.editors { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 32px; }
.editor-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px !important; min-height: 270px; padding: 28px; border-radius: 18px; text-decoration: none; color: var(--text); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 85% 10%, rgba(212,168,75,0.20), transparent 55%), linear-gradient(160deg, #1B1812, #111113); transition: border-color .2s, transform .2s; }
.editor-tile:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--text); }
.editor-tile .badge-app { position: absolute; top: 26px; left: 28px; width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--gold); display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--gold); background: rgba(11,11,12,0.6); }
.editor-tile h3 { font-size: 30px; }
.editor-tile p { color: var(--muted); margin-top: 6px; }
.editor-tile .go { margin-top: 14px; color: var(--gold); font-weight: 600; }

/* plugin cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; margin-top: 32px; }
.plugin-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.plugin-card:hover { color: var(--text); }
.plugin-card:hover .box { transform: translateY(-4px) rotateY(-12deg); }
.plugin-card h3 { font-size: 20px; margin-top: 4px; }
.plugin-card .meta { color: var(--muted); font-size: 14px; }
.plugin-card .price { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
.plugin-card .price small { font-family: 'Inter', sans-serif; font-weight: 400; color: var(--muted); font-size: 13px; }
.chip { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(212,168,75,0.45); color: var(--gold-soft); background: rgba(212,168,75,0.10); margin-right: 6px; }
.chip.dim { border-color: var(--line); color: var(--muted); background: transparent; }

/* box cover: a black-and-gold product box drawn in CSS, no image files */
.box-stage { aspect-ratio: 4 / 3.4; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line); perspective: 900px;
  background: radial-gradient(ellipse at 50% 30%, rgba(212,168,75,0.16), transparent 60%), var(--panel); }
.box { container-type: inline-size; position: relative; width: 56%; aspect-ratio: 3 / 4; transform: rotateY(-20deg); transform-style: preserve-3d; transition: transform .35s ease; }
.box-face { position: absolute; inset: 0; border-radius: 6px; padding: 9% 9% 8%; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, #23201A 0%, #0E0E10 55%, #0B0B0C 100%); border: 1px solid rgba(212,168,75,0.55);
  box-shadow: 18px 24px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.03); }
.box-face::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; background: radial-gradient(ellipse, rgba(212,168,75,0.35), transparent 65%); }
.box-face::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6%; background: linear-gradient(90deg, rgba(212,168,75,0.5), rgba(212,168,75,0)); }
.box-side { position: absolute; top: 0; bottom: 0; left: 0; width: 13%; transform-origin: left; transform: rotateY(90deg); background: linear-gradient(180deg, #2A251B, #121212); border: 1px solid rgba(212,168,75,0.35); border-radius: 4px 0 0 4px; }
.box .bmark { position: relative; z-index: 1; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 6.5cqw; letter-spacing: 2px; color: var(--gold); border: 1.5px solid var(--gold); border-radius: 5px; padding: 2px 6px; align-self: flex-start; }
.box .btitle { position: relative; z-index: 1; margin-top: auto; font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 0.95; font-size: 13cqw; color: var(--text); text-transform: uppercase; letter-spacing: -0.02em; }
.box .btitle span { display: block; color: var(--gold); }
.box .bsub { position: relative; z-index: 1; margin-top: 6%; font-size: 5.6cqw; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.box .bapps { position: relative; z-index: 1; display: flex; gap: 5px; margin-top: 10px; }
.box .bapps i { font-style: normal; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 5.6cqw; color: #14110A; background: var(--gold); border-radius: 3px; padding: 2px 5px; }
.box.soon .box-face { filter: saturate(0.55) brightness(0.9); }

/* page banner for editor and plugin pages */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(38px, 6.5vw, 68px); letter-spacing: -1px; margin-top: 12px; }
.page-head h1 span { color: var(--gold); }
.page-head p { color: var(--muted); font-size: 18px; max-width: 58ch; margin-top: 14px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* plugin page */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 40px 0 16px; }
.product .box-stage { aspect-ratio: 1 / 1; }
.product .box { width: 50%; }
.product h1 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -1px; margin: 12px 0 14px; }
.product .summary { color: #D6D0C4; font-size: 18px; }
.product .buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.bigprice { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; line-height: 1; }
.bigprice small { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; color: var(--muted); }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 32px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step .n { font-family: 'Space Grotesk', sans-serif; color: var(--gold); font-weight: 700; font-size: 15px; }
.step h3 { font-size: 21px; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan.pro { border-color: var(--gold); background: linear-gradient(180deg, #1C1810, var(--panel) 60%); }
.plan h3 { font-size: 24px; }
.plan .price { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; line-height: 1; }
.plan .price small { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { color: #D6D0C4; padding-left: 26px; position: relative; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.plan li.off { color: var(--muted); }
.plan li.off::before { border-color: #4A463E; }
.plan .btn { text-align: center; margin-top: auto; }
.req { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 20px 22px; margin-top: 28px; color: #D6D0C4; font-size: 15px; }
.req strong { color: var(--text); }

/* FAQ */
.faq { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* closing call to action */
.cta-band { margin: 88px 0 40px; padding: 48px 32px; border-radius: 20px; text-align: center; border: 1px solid rgba(212,168,75,0.4);
  background: radial-gradient(ellipse at 50% 0%, rgba(212,168,75,0.20), transparent 60%), var(--panel); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); }
.cta-band p { color: var(--muted); margin-top: 10px; }
.cta-band .hero-actions { justify-content: center; }

@media (max-width: 800px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand { display: none; }
  .nav { gap: 16px; }
  .menu-panel { right: -70px; }
  .photo-hero { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .box, .editor-tile { transition: none; }
}

/* logo (2026-10-16): the round gold Cut-to-Success badge */
.logo-img { width: 52px; height: 52px; border-radius: 50%; display: block; flex-shrink: 0; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; width: 64px; height: 64px; border-radius: 50%; }

/* product films (2026-10-16) */
.film-block { padding-top: 32px; }
.film { margin-top: 18px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,168,75,0.08); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Sign in button in the header (2026-10-16) */
.nav a.nav-signin { color: var(--gold); border: 1px solid rgba(212,168,75,0.55); border-radius: 8px; padding: 6px 12px; }
.nav a.nav-signin:hover { color: #14110A; background: var(--gold); }
@media (max-width: 600px) { .nav a.nav-signin { padding: 5px 9px; } }
@media (max-width: 600px) {
  .nav { gap: 12px; font-size: 14px; flex-wrap: nowrap; white-space: nowrap; }
  .logo-img { width: 44px; height: 44px; }
}
@media (max-width: 420px) {
  .nav a[href$="#faq"] { display: none; }
}

/* launch pricing (2026-10-17) */
s.was { color: var(--muted); font-weight: 500; font-size: 0.62em; text-decoration-thickness: 2px; margin-right: 2px; }
.spots { display: inline-block; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.2px; }
.plugin-card .price .spots { margin-top: 4px; font-family: 'Inter', sans-serif; }

/* box mockups with cover art + hover film preview (2026-10-17) */
.box-face.has-art {
  background:
    linear-gradient(180deg, rgba(11,11,12,0.10) 0%, rgba(11,11,12,0.35) 38%, rgba(11,11,12,0.94) 72%),
    var(--art) 30% center / cover no-repeat,
    #0B0B0C;
}
.box-face.has-art::before { opacity: 0.55; }
.box-stage { position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.box { transition: transform .35s ease, opacity .25s ease; }
.preview-hint { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: .4px; color: var(--gold-soft); background: rgba(11,11,12,0.7); border: 1px solid rgba(212,168,75,0.4); border-radius: 999px; padding: 4px 10px; transition: opacity .25s ease; }
.plugin-card.previewing .box-stage { transform: scale(1.06); box-shadow: 0 26px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,168,75,0.35); border-color: rgba(212,168,75,0.5); z-index: 3; }
.plugin-card.previewing .card-film { opacity: 1; }
.plugin-card.previewing .box { opacity: 0; }
.plugin-card.previewing .preview-hint { opacity: 0; }
.plugin-card { position: relative; }
@media (hover: none) { .preview-hint { display: none; } }

/* Unsigned-installer notice under Windows downloads (until code signing). */
.notice { margin: 20px 0 6px; padding: 14px 16px; border: 1px solid rgba(212, 168, 75, 0.45); border-left: 3px solid var(--gold); border-radius: 10px; background: rgba(212, 168, 75, 0.06); font-size: 14px; line-height: 1.55; }
.notice p { margin: 0; color: var(--muted, #B5B5B5); }
.notice .notice-title { color: var(--gold); font-weight: 600; margin-bottom: 4px; }

/* Mac one-line install (video-downloader#mac). */
.mac-steps { margin: 18px 0 14px; padding-left: 22px; line-height: 1.8; color: var(--muted, #B5B5B5); }
.mac-steps strong { color: #F2F2F2; }
.mac-steps kbd { font: 12px ui-monospace, Menlo, Consolas, monospace; padding: 1px 6px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; }
.cmd { display: flex; align-items: center; gap: 10px; margin: 8px 0 6px; padding: 10px 10px 10px 14px; background: #0B0B0C; border: 1px solid rgba(212,168,75,0.45); border-radius: 10px; max-width: 640px; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 14px ui-monospace, Menlo, Consolas, monospace; color: var(--gold); }
.cmd-copy { flex: none; padding: 7px 14px; border: 0; border-radius: 7px; background: var(--gold); color: #140F02; font-weight: 600; cursor: pointer; }
