/*
 * Public site — the app's own design system (tokens, Inter, cards, indigo, soft shadows) at
 * marketing scale, so visitors land in the same product they will use after signing up.
 * Every colour comes from style.css tokens: light and dark themes follow automatically.
 * Scoped to body.lp; pricing cards are the app's .plan-card, untouched.
 */
body.lp {
  --lp-grad: linear-gradient(100deg, var(--primary) 0%, #8b5cf6 55%, #c026d3 100%);
  --lp-radius: 16px;
  background: var(--bg);
  font-size: 15px;
}
.lp ::selection { background: var(--primary); color: var(--primary-text); }
.lp .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2 { letter-spacing: -0.03em; text-wrap: balance; }
.lp a:hover { text-decoration: none; }

/* ---- Header (same as the app topbar) ----------------------------------------------------- */
.lp-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.lp-header .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.lp .brand { padding: 0; }
.lp-nav { display: flex; gap: 4px; }
.lp-nav a { padding: 7px 11px; border-radius: 9px; font-weight: 550; font-size: 14px; color: var(--text-2); }
.lp-nav a:hover { background: var(--surface-2); color: var(--text); }
.lp-header .actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-header .login { font-size: 14px; }

/* ---- Hero -------------------------------------------------------------------------------- */
.lp-hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.lp-hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 650; }
.lp-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.lp-title { margin: 0; font-size: clamp(44px, 6.2vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; }
.lp-title span { display: block; }
.lp-title .mark { width: fit-content; background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.lp-lead { max-width: 34em; margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-cta .btn-lg { height: 48px; padding: 0 22px; }
.lp-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.lp-note .icon { color: var(--success); }

/* App preview: the "Nouvelle vidéo" card next to the finished video */
.lp-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 0; }
.lp-mock { position: relative; z-index: 2; margin-right: -36px; box-shadow: var(--shadow-lg); border-radius: var(--lp-radius); overflow: hidden; }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-mock-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.lp-mock-bar b { margin-left: 8px; font-size: 13px; font-weight: 650; color: var(--text); }
.lp-mock-body { display: grid; gap: 10px; padding: 16px 52px 18px 16px; }
.lp-mock-prompt { padding: 11px 12px; min-height: 92px; border: 1px solid var(--primary); box-shadow: var(--ring); border-radius: 10px; background: var(--surface); font-size: 13.5px; line-height: 1.5; color: var(--text); }
.lp-mock-prompt::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--primary); animation: lp-caret 1.1s steps(1) infinite; }
@keyframes lp-caret { 50% { opacity: 0; } }
.lp-mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-mock-chips .chip { cursor: default; border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.lp-mock-status { display: grid; gap: 8px; padding-top: 4px; }
.lp-mock-status .progress > span { width: 100%; }
.lp-mock-status .badge { width: fit-content; }
.lp-reel { position: relative; z-index: 3; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0b0d13; border: 6px solid #0b0d13; box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); }
.lp-reel video, .lp-reel img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.lp-stamp { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: color-mix(in srgb, #0b0d13 72%, transparent); color: #fff; border-color: transparent; backdrop-filter: blur(6px); }

/* ---- Trades band ------------------------------------------------------------------------- */
.lp-marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); color: var(--text-2); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee .track { display: flex; width: max-content; animation: lp-scroll 44s linear infinite; }
.lp-marquee span { padding: 15px 0; white-space: nowrap; font-size: 14.5px; font-weight: 550; }
@keyframes lp-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-marquee .track, .lp-mock-prompt::after { animation: none; } }

/* ---- Sections ---------------------------------------------------------------------------- */
.lp-section { padding: 96px 0; }
.lp-section + .lp-section { border-top: 1px solid var(--border); }
.lp-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.lp-head h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 780; line-height: 1.1; }
.lp-head p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.lp-head p:empty { display: none; }
.lp .icon-wrap { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }

/* Real output gallery */
.lp-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lp-gallery figure { margin: 0; }
.lp-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); background: #0b0d13; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.lp-gallery figure:hover img { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-gallery figcaption { margin-top: 12px; font-size: 13.5px; font-weight: 650; color: var(--text); }
.lp-gallery figcaption span { display: block; font-weight: 450; font-size: 12.5px; color: var(--muted); }
.lp-proof { margin: 28px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.lp-steps > div { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--lp-radius); box-shadow: var(--shadow-sm); padding: 26px 24px 28px; }
.lp-steps .n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: var(--primary-text); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.lp-steps > div + div::before { content: ''; position: absolute; top: 43px; left: -17px; width: 18px; height: 2px; background: var(--border-strong); }
.lp-steps h3 { margin: 0 0 8px; font-size: 17px; font-weight: 680; }
.lp-steps p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* Features */
.lp-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-board > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--lp-radius); box-shadow: var(--shadow-sm); padding: 22px 22px 24px; transition: border-color 0.15s, box-shadow 0.15s; }
.lp-board > div:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.lp-board > div[hidden] { display: none; }
.lp-board h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 680; }
.lp-board p { margin: 0; color: var(--text-2); line-height: 1.55; font-size: 14px; }
.lp-board .hot, .lp-board .warm { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); background: linear-gradient(180deg, var(--primary-soft), var(--surface) 70%); }
.lp-board .hot .icon-wrap, .lp-board .warm .icon-wrap { background: var(--primary); color: var(--primary-text); }

/* Songs */
.lp-songs .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.lp-songs .tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 650; }
.lp-songs h2 { margin: 16px 0 12px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 780; line-height: 1.1; }
.lp-songs p.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.lp-songs ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.lp-songs li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.lp-songs li .icon { color: var(--success); flex: none; margin-top: 3px; }
.lp-lyrics { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--lp-radius); box-shadow: var(--shadow-lg); padding: 28px 28px 30px; overflow: hidden; }
.lp-lyrics::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--lp-grad); }
.lp-lyrics small { display: block; font-size: 11.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lp-lyrics p { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--text); white-space: pre-line; }

/* Built for African businesses */
.lp-local { background: var(--surface); }
.lp-stamps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-stamps > div { background: var(--bg); border: 1px solid var(--border); border-radius: var(--lp-radius); padding: 22px 22px 24px; }
.lp-stamps .icon-wrap { background: var(--warning-soft); color: var(--warning); }
.lp-stamps h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 680; }
.lp-stamps p { margin: 0; line-height: 1.55; font-size: 14px; color: var(--text-2); }

/* Pricing: the app's plan cards, a little roomier */
.lp .plans { max-width: 1020px; margin: 0 auto; }
.lp .plan-card { padding: 26px; border-radius: var(--lp-radius); }
.lp .plan-card.featured { box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg); }
.lp .plan-card .btn { height: 42px; }
.lp-fine { margin: 24px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.lp-faq { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--lp-radius); box-shadow: var(--shadow-sm); }
.lp-faq details + details { border-top: 1px solid var(--border); }
.lp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; font-size: 15.5px; font-weight: 620; color: var(--text); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.15s; }
.lp-faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.lp-faq summary:hover { color: var(--primary); }
.lp-faq p { margin: 0; padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

/* Final call */
.lp-final { padding: 0 0 96px; }
.lp-final .container > * { position: relative; }
.lp-final .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 52px 56px; border-radius: 22px; background: var(--lp-grad); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1132px; }
.lp-final .container::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 60%); }
.lp-final h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 780; line-height: 1.1; color: #fff; max-width: 14em; }
.lp-final-btn { background: #fff; color: #312e81; height: 50px; padding: 0 24px; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.35); }
.lp-final-btn:hover { background: #eef0ff; }

/* Footer */
.lp-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 32px 0; }
.lp-footer .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lp-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-footer nav a { color: var(--text-2); font-size: 13.5px; }
.lp-footer nav a:hover { color: var(--primary); }
.lp-footer .copy { margin-left: auto; font-size: 13px; color: var(--muted); }

/* ---- Responsive -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .lp-board, .lp-stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 900px) {
  .lp-nav { display: none; }
  .lp-hero { padding: 44px 0 60px; }
  .lp-hero .container, .lp-songs .container { grid-template-columns: 1fr; gap: 40px; }
  .lp-stage { grid-template-columns: minmax(0, 1fr) 170px; max-width: 560px; }
  .lp-steps, .lp .plans { grid-template-columns: 1fr; }
  .lp-steps > div + div::before { display: none; }
  .lp-section { padding: 68px 0; }
  .lp-final .container { padding: 40px 32px; }
}
@media (max-width: 560px) {
  .lp .container { padding: 0 16px; }
  .lp-header .container { gap: 8px; }
  .lp-header #startLink { display: none; }
  .lp-title { font-size: clamp(40px, 12vw, 52px); }
  .lp-lead { font-size: 16.5px; }
  .lp-cta .btn-lg { flex: 1 1 100%; }
  .lp-stage { grid-template-columns: minmax(0, 1fr) 128px; }
  .lp-mock { margin-right: -28px; }
  .lp-mock-body { padding: 12px 36px 14px 12px; }
  .lp-mock-prompt { font-size: 12.5px; min-height: 0; }
  .lp-mock-chips .chip:nth-child(n + 3) { display: none; }
  .lp-reel { border-width: 4px; border-radius: 16px; }
  .lp-reel video { border-radius: 12px; }
  .lp-stamp { display: none; }
  .lp-board, .lp-stamps { grid-template-columns: 1fr; }
  .lp-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 2px 14px; }
  .lp-gallery figure { flex: 0 0 44%; scroll-snap-align: start; }
  .lp-final { padding-bottom: 64px; }
  .lp-final .container { margin: 0 16px; padding: 32px 22px; }
  .lp-final-btn { width: 100%; }
  .lp-footer .copy { margin-left: 0; }
}
