/* ============================================================================
   JustAudit, "Folio Live" — Real App Demo, Interactive Tour & Dynamic Editions.
   ============================================================================ */

/* ── Hero frame ──────────────────────────────────────────────────────────── */
.lx-hero { position: relative; overflow: hidden; padding: 48px 0 42px; isolation: isolate; }
.lx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1000px 480px at 16% -10%, color-mix(in srgb, var(--oxide) 10%, transparent), transparent 60%),
    radial-gradient(880px 420px at 94% 2%, color-mix(in srgb, var(--navy) 10%, transparent), transparent 56%),
    repeating-linear-gradient(to bottom, transparent 0 34px, color-mix(in srgb, var(--rule-2) 40%, transparent) 34px 35px);
  -webkit-mask-image: radial-gradient(120% 96% at 50% 0%, #000 34%, transparent 80%);
          mask-image: radial-gradient(120% 96% at 50% 0%, #000 34%, transparent 80%);
  opacity: .95;
}
.lx-hero .glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(460px 380px at 60% 20%, color-mix(in srgb, var(--oxide) 8%, transparent), transparent 70%); }

@media (min-width: 760px) { .lx-hero { padding: 80px 0 54px; } }

.lx-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) {
  .lx-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
}

/* ── Hero Copy block ─────────────────────────────────────────────────────── */
.lx-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--navy) 18%, var(--rule));
  background: var(--surface); color: var(--ink-3);
  font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.lx-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-wash); animation: lx-pulse 2.2s ease infinite; }
@keyframes lx-pulse {
  0%,100%{box-shadow:0 0 0 4px var(--ok-wash)}
  50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--ok) 18%, transparent)}
}

.lx-display { font: 700 clamp(36px, 6.5vw, 60px)/1.02 var(--serif);
  font-variation-settings: "opsz" 120; letter-spacing: -.03em; margin: 18px 0 16px;
  max-width: 13.5ch; text-wrap: balance; }
.lx-display em { font-style: normal; color: var(--oxide); position: relative; }
.lx-display em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em;
  height: .08em; background: linear-gradient(90deg, var(--oxide), var(--oxide-2));
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .45s; }
.js .lx-display em.is-in::after,
.js .lx-hero.is-in .lx-display em::after { transform: scaleX(1); }

.lx-lede { font-size: clamp(16.5px, 1.9vw, 19px); line-height: 1.62; color: var(--ink-2);
  max-width: 48ch; margin: 0; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lx-trust { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 22px;
  padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); }
.lx-trust span { display: inline-flex; gap: 7px; align-items: center; }
.lx-trust .ic { width: 15px; height: 15px; }

/* ── The LIVE window ──────────────────────────────────────────────────────── */
.lx-window { position: relative; margin-top: 30px; }
.lx-app { animation: lx-enter .8s var(--ease) .2s both; }
@keyframes lx-enter { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

.lx-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
@media (min-width: 480px) { .lx-proof { grid-template-columns: repeat(4, 1fr); } }
.lx-proof div { background: var(--surface-2); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: 13px 10px; text-align: center; }
.lx-proof b { display: block; font: 700 20px var(--serif); letter-spacing: -.02em; color: var(--navy); }
.lx-proof span { font: 600 10.5px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }

/* ── Registration card ───────────────────────────────────────────────────── */
.lx-form-wrap { margin-top: 0; }
.lx-form .card { box-shadow: var(--lift-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   AUTHENTIC DESKTOP APP WORKFLOW PREVIEW
   ═══════════════════════════════════════════════════════════════════════════ */
.workflow-section { position: relative; padding: 64px 0 76px; background: var(--canvas); }
.workflow-window-wrap { max-width: 1060px; margin: 34px auto 0; }
.workflow-window-wrap .lx-app { box-shadow: 0 4px 20px rgba(46,32,14,.08), 0 20px 60px -15px rgba(46,32,14,.22); }

/* ═══════════════════════════════════════════════════════════════════════════
   REAL HIGH-RES SCREENSHOT EXPLORER GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */
.real-gallery-section { position: relative; padding: 64px 0 76px; background: var(--surface-2); border-block: 1px solid var(--rule); }
.gallery-container { max-width: 1100px; margin: 34px auto 0; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--lift-3); overflow: hidden; }

.gallery-main { position: relative; background: #1C1A17; }
.gallery-main img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.gallery-caption-bar { padding: 16px 20px; background: var(--surface); border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.gallery-caption-title { font: 700 18px Georgia,serif; color: var(--ink); margin: 0; }
.gallery-caption-desc { font: 400 13.5px/1.5 var(--sans); color: var(--ink-2); margin: 4px 0 0; }

.gallery-filmstrip { display: flex; overflow-x: auto; scrollbar-width: none; background: #14130F; padding: 12px; gap: 10px; }
.gallery-filmstrip::-webkit-scrollbar { display: none; }
.gallery-thumb { flex: 0 0 140px; height: 80px; border-radius: 6px; overflow: hidden; border: 2px solid transparent;
  cursor: pointer; opacity: .65; transition: all .2s ease; background: #2A2720; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb.is-active { opacity: 1; border-color: var(--oxide); box-shadow: 0 0 0 2px var(--oxide); }

/* ═══════════════════════════════════════════════════════════════════════════
   DYNAMIC PRICING & EDITIONS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.lx-pricing { position: relative; padding: 72px 0 84px; }
.pricing-grid { display: grid; gap: 24px; margin-top: 42px; }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; } }

.price-card { position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 12px; padding: 32px 26px 28px; box-shadow: var(--lift-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--lift-3); border-color: var(--rule-2); }

.price-card.is-featured { border-color: var(--oxide); box-shadow: 0 8px 30px -10px color-mix(in srgb, var(--oxide) 25%, transparent), var(--lift-2);
  border-width: 2px; }
.price-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--oxide); color: #FFF; font: 700 11px var(--sans); letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 99px; box-shadow: 0 2px 6px rgba(180,67,44,.4); }

.price-name { font: 700 24px var(--serif); letter-spacing: -.015em; margin: 0 0 6px; }
.price-desc { font-size: 14px; color: var(--ink-3); line-height: 1.45; min-height: 40px; margin: 0 0 18px; }

.price-amt-wrap { display: flex; align-items: baseline; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.price-curr { font: 700 20px var(--sans); color: var(--ink-2); }
.price-num { font: 700 clamp(34px, 4.2vw, 42px) var(--serif); color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.price-period { font-size: 13px; color: var(--ink-3); }

.price-seats { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--sans);
  color: var(--navy); background: var(--surface-2); padding: 5px 10px; border-radius: 4px; margin-bottom: 20px; }

.price-feats { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; font-size: 14px; line-height: 1.5; }
.price-feats li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; color: var(--ink-2); }
.price-feats li .ic { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.price-feats li.is-on .ic { color: var(--ok); }
.price-feats li.is-off { color: var(--ink-4, #A8A090); text-decoration: line-through; opacity: .7; }
.price-feats li.is-off .ic { color: var(--ink-4, #A8A090); }

.price-gst-note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 16px; }

/* ── Standard features & journey ─────────────────────────────────────────── */
.lx-sec-alt { background: var(--surface-2); border-block: 1px solid var(--rule); }
.lx-kicker { display: block; font: 600 11.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oxide); margin: 0 0 12px; }
.lx-title { font: 700 clamp(28px, 3.9vw, 42px)/1.12 var(--serif); font-variation-settings: "opsz" 54; letter-spacing: -.022em; margin: 0 0 14px; text-wrap: balance; }
.lx-lead { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; margin: 0; }
.center .lx-lead, .lx-lead.center { margin-inline: auto; }

.lx-grid3 { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 620px) and (max-width: 899px) { .lx-grid3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .lx-grid3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.lx-feat { position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--lift-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color var(--t); }
.lx-feat:hover { transform: translateY(-4px); box-shadow: var(--lift-3); border-color: var(--rule-2); }
.lx-feat .fic { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--rule-2);
  border-radius: var(--r); background: var(--surface-2); color: var(--navy); margin-bottom: 18px;
  transition: all .3s var(--ease); }
.lx-feat:hover .fic { color: var(--oxide); border-color: var(--oxide); background: var(--oxide-wash); transform: rotate(-4deg) scale(1.05); }
.lx-feat h3 { font: 600 19px/1.3 var(--serif); letter-spacing: -.012em; margin: 0 0 8px; }
.lx-feat p { color: var(--ink-2); font-size: 15px; margin: 0; }

.lx-jny { margin-top: 12px; padding-left: 28px; }
.lx-jny-track { position: relative; }
.lx-jny-line { position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--rule-2); }
.lx-jny-fill { position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(90deg, var(--navy), var(--oxide)); transform: scaleY(0); transition: transform 1.1s var(--ease); }
.lx-jny-item { position: relative; padding: 0 0 28px 22px; }
.lx-jny-item .node { position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--navy); box-shadow: 0 0 0 4px var(--navy-wash); z-index: 1; }
.lx-jny-item.is-oxide .node { border-color: var(--oxide); box-shadow: 0 0 0 4px var(--oxide-wash); }
.lx-jny-item.is-in .node { transform: scale(1.15); background: var(--navy-wash); }
.lx-jny-item h3 { margin: 0 0 6px; font: 600 16px var(--sans); }
.lx-jny-item p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

@media (min-width: 900px) {
  .lx-jny { padding-left: 0; }
  .lx-jny-track { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
  .lx-jny-line { left: 0; right: 0; top: 7px; width: auto; height: 1px; }
  .lx-jny-fill { left: 0; right: 0; top: 7px; width: auto; height: 1px; transform: scaleX(0); }
  .lx-jny-item { padding: 26px 14px 0 0; }
  .lx-jny-item .node { left: 0; top: 0; }
}

.lx-line { position: relative; display: inline-block; }
.lx-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: linear-gradient(90deg, var(--oxide), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.lx-line.is-in::after { transform: scaleX(1); }
.lx-purple-rule { border: 0; height: 1px; margin: 0; background: linear-gradient(90deg, transparent, var(--rule-2) 12%, var(--rule-2) 88%, transparent); }

@media (max-width: 999px) {
  .lx-window.is-swipe .lx-app .states { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lx-window.is-swipe .lx-app .states::-webkit-scrollbar { display: none; }
  .lx-window.is-swipe .lx-app .state { display: block; flex: 0 0 100%; scroll-snap-align: center; }
  .lx-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .lx-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--rule-2); transition: all .3s var(--ease); }
  .lx-dot.is-on { width: 20px; background: var(--navy); }
}
.lx-dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .js .lx-display em::after, .js .lx-hero.is-in .lx-display em::after { transform: scaleX(1); }
  .lx-hero.is-in .lx-app { animation: none; }
  .lx-jny-fill { transform: none !important; }
  .lx-eyebrow .dot { animation: none; }
}
