/* Product landing pages (signed-out view) for Zoom Meeting Monitor, Fusion Event Timer and Fusion KanBan.
   The same file is copied to src/FusionKanban.Web/wwwroot/css/landing.css; keep both copies identical.
   Each app defines the --lp-* colours (see the end of zmm.css and kanban.css). */

.landing { display: block; width: 100%; margin: 0; padding: 0; }
.landing a { color: var(--lp-accent2); }
.lp-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.landing [id] { scroll-margin-top: calc(var(--lp-top, 0px) + 70px); }

/* ---------- menu ---------- */
.lp-nav { position: sticky; top: var(--lp-top, 0px); z-index: 30; background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
          backdrop-filter: blur(10px); border-bottom: 1px solid var(--lp-border); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 6px; min-height: 54px; }
.lp-nav a { color: var(--lp-text); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 9px; }
.lp-nav a:hover { background: var(--lp-surface); color: var(--lp-accent2); }
.lp-nav .lp-spacer { flex: 1; }
.lp-nav a.lp-signin { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); color: #fff; padding: 8px 20px; }
.lp-nav a.lp-signin:hover { filter: brightness(1.1); color: #fff; }

/* ---------- banner ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 64px 0 72px; border-bottom: 1px solid var(--lp-border);
           background:
             radial-gradient(700px 420px at 12% 10%, color-mix(in srgb, var(--lp-glow1) 30%, transparent), transparent 70%),
             radial-gradient(760px 520px at 92% 85%, color-mix(in srgb, var(--lp-glow2) 26%, transparent), transparent 70%),
             var(--lp-bg); }
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
                   background-image: linear-gradient(var(--lp-grid) 1px, transparent 1px), linear-gradient(90deg, var(--lp-grid) 1px, transparent 1px);
                   background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
                   -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.lp-hero .lp-wrap { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
             color: var(--lp-accent2); background: color-mix(in srgb, var(--lp-accent2) 12%, transparent);
             border: 1px solid color-mix(in srgb, var(--lp-accent2) 35%, transparent); border-radius: 999px; padding: 6px 14px; margin: 0 0 18px; }
.lp-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-good) 25%, transparent); }
.lp-hero h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 800; margin: 0 0 18px; color: var(--lp-text); }
.lp-hero h2 em { font-style: normal; background: linear-gradient(120deg, var(--lp-glow1), var(--lp-glow2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lp-lead { font-size: 1.15rem; line-height: 1.6; color: var(--lp-muted); margin: 0 0 28px; max-width: 34em; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 11px; font-weight: 700;
          font-size: 1rem; text-decoration: none; border: 1px solid var(--lp-border); color: var(--lp-text); background: var(--lp-surface); cursor: pointer; }
.landing a.lp-btn { color: var(--lp-text); }
.lp-btn:hover { border-color: var(--lp-accent2); }
.lp-btn.lp-primary, .landing a.lp-btn.lp-primary { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); border-color: transparent; color: #fff;
          box-shadow: 0 10px 28px color-mix(in srgb, var(--lp-accent) 40%, transparent); }
.lp-btn.lp-primary:hover { filter: brightness(1.08); }
.lp-note { margin: 18px 0 0; font-size: .9rem; color: var(--lp-muted); }
.lp-note b { color: var(--lp-text); }

/* screenshot in a browser frame, with floating highlight chips */
.lp-stage { position: relative; }
.lp-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--lp-border); background: var(--lp-surface);
            box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .03); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.lp-frame .lp-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: color-mix(in srgb, var(--lp-surface) 70%, #000); border-bottom: 1px solid var(--lp-border); }
.lp-frame .lp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.lp-frame .lp-bar i:nth-child(2) { background: #febc2e; } .lp-frame .lp-bar i:nth-child(3) { background: #28c840; }
.lp-frame .lp-bar span { margin-left: 10px; font-size: .72rem; color: var(--lp-muted); background: var(--lp-bg); border-radius: 6px; padding: 2px 10px; }
.lp-frame img { display: block; width: 100%; height: auto; }
.lp-inset { position: absolute; left: -36px; bottom: -34px; width: 46%; border-radius: 12px; overflow: hidden; border: 1px solid var(--lp-border);
            box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.lp-inset img { display: block; width: 100%; height: auto; }
.lp-inset.lp-phone { width: 23%; left: -30px; bottom: -48px; border-radius: 22px; border-width: 3px; }
.lp-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600;
           color: var(--lp-text); background: color-mix(in srgb, var(--lp-surface) 92%, transparent); border: 1px solid var(--lp-border);
           box-shadow: 0 16px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(8px); white-space: nowrap; animation: lp-float 6s ease-in-out infinite; }
.lp-chip small { display: block; font-size: .72rem; font-weight: 500; color: var(--lp-muted); }
.lp-chip .lp-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem; flex: none; }
.lp-chip .lp-dot { background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); }
.lp-chip .lp-dot.lp-d-good { background: #16a34a; } .lp-chip .lp-dot.lp-d-warn { background: #d97706; }
.lp-chip .lp-dot.lp-d-bad { background: #dc2626; } .lp-chip .lp-dot.lp-d-purple { background: #9333ea; }
.lp-chip.lp-c1 { top: -22px; right: 18px; }
.lp-chip.lp-c2 { bottom: 26px; right: -18px; animation-delay: -3s; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .lp-chip { animation: none; } .lp-frame { transform: none; } }

/* ---------- sections ---------- */
.lp-section { padding: 72px 0; border-bottom: 1px solid var(--lp-border); }
.lp-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.lp-head .lp-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--lp-accent2); margin: 0 0 10px; }
.lp-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.015em; margin: 0 0 12px; color: var(--lp-text); }
.lp-head p { color: var(--lp-muted); margin: 0; font-size: 1.05rem; }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feature { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 22px; }
.lp-feature .lp-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
                     background: color-mix(in srgb, var(--lp-accent2) 16%, transparent); color: var(--lp-accent2); }
.lp-feature .lp-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-feature h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--lp-text); }
.lp-feature p { margin: 0; color: var(--lp-muted); font-size: .94rem; line-height: 1.55; }
.lp-trust { text-align: center; color: var(--lp-muted); font-size: .92rem; margin: 28px auto 0; max-width: 720px; }

/* ---------- screenshots ---------- */
.lp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lp-gallery.lp-three { grid-template-columns: 1fr 1fr; }
.lp-gallery.lp-three .lp-shot:first-child { grid-column: 1 / -1; }
.lp-shot { margin: 0; }
.lp-shot button { display: block; width: 100%; padding: 0; border: 1px solid var(--lp-border); border-radius: 12px; overflow: hidden; background: var(--lp-surface);
                  cursor: zoom-in; transition: transform .15s, box-shadow .15s; }
.lp-shot button:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot.lp-tall button { max-width: 300px; margin-inline: auto; border-radius: 22px; }
.lp-shot figcaption { margin-top: 10px; color: var(--lp-muted); font-size: .92rem; text-align: center; }
.lp-shot figcaption b { color: var(--lp-text); }

.lp-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lp-lightbox::backdrop { background: rgba(2, 6, 18, .88); }
.lp-lightbox img { display: block; max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); margin: 0 auto; }
.lp-lightbox p { color: #e2e8f0; text-align: center; margin: 12px 0 0; }
.lp-lightbox .lp-x, .lp-lightbox .lp-prev, .lp-lightbox .lp-next { position: fixed; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 44px; height: 44px;
           border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lp-lightbox .lp-x { top: 18px; right: 18px; }
.lp-lightbox .lp-prev { left: 18px; top: 50%; } .lp-lightbox .lp-next { right: 18px; top: 50%; }
.lp-lightbox button:hover { background: rgba(255, 255, 255, .25); }

/* ---------- sign in ---------- */
.lp-signin-sec .lp-wrap { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 48px; align-items: center; }
.lp-signin-sec h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; color: var(--lp-text); }
.lp-signin-sec .lp-pitch p { color: var(--lp-muted); }
.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.lp-steps li { counter-increment: s; position: relative; padding-left: 46px; color: var(--lp-text); }
.lp-steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
                       font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--lp-accent), var(--lp-accent2)); }
.lp-steps small { display: block; color: var(--lp-muted); }

/* the pricing section sits inside .landing too */
.landing .pricing { margin: 0; padding: 72px 0; border-top: 0; border-bottom: 1px solid var(--lp-border); }
.landing .pricing > * { width: min(1180px, 100% - 32px); margin-inline: auto; }
.landing .pricing .pricing-head { max-width: 700px; margin-bottom: 36px; }
.landing .pricing-head .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; color: var(--lp-accent2); margin: 0 0 10px; }
.landing .pricing .pricing-foot { max-width: 760px; margin-top: 24px; }

.lp-foot { text-align: center; color: var(--lp-muted); font-size: .88rem; padding: 28px 16px 40px; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .lp-hero { padding: 40px 0 56px; }
  .lp-hero .lp-wrap, .lp-signin-sec .lp-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lp-frame { transform: none; }
  .lp-inset { left: -8px; bottom: -26px; width: 44%; }
  .lp-inset.lp-phone { width: 24%; left: -6px; bottom: -36px; }
  .lp-chip.lp-c2 { right: -6px; }
  .lp-features { grid-template-columns: 1fr 1fr; }
  .lp-gallery, .lp-gallery.lp-three { grid-template-columns: 1fr; }
  .lp-section, .landing .pricing { padding: 52px 0; }
}
@media (max-width: 620px) {
  .lp-nav .lp-wrap { gap: 0; overflow-x: auto; }
  .lp-nav a { padding: 8px 10px; font-size: .9rem; white-space: nowrap; }
  .lp-nav a.lp-signin { padding: 8px 14px; }
  .lp-features { grid-template-columns: 1fr; }
  .lp-chip { font-size: .78rem; padding: 8px 10px; }
  .lp-chip .lp-dot { width: 24px; height: 24px; }
  .lp-chip.lp-c1 { right: 6px; top: -18px; }
  .lp-lightbox .lp-prev, .lp-lightbox .lp-next { top: auto; bottom: 18px; }
}

/* ---------- FAQ ---------- */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq details { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 12px; padding: 0 20px; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--lp-text); position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--lp-accent2); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { margin: 0 0 16px; color: var(--lp-muted); line-height: 1.6; }
