/* StartBookmarks SaaS — Landing / page de présentation
   Réutilise les variables de themes.css (thème dark par défaut). */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.lp {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.lp-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Boutons ─────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s, filter .15s, background .15s;
  white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: var(--accent); color: #fff; }
.lp-btn-primary:hover { filter: brightness(1.1); }
.lp-btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.lp-btn-ghost:hover { background: var(--bg-surface); }
.lp-btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ── Header ──────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg-base) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.lp-header .lp-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.lp-brand svg { color: var(--accent); }
.lp-nav-links { display: flex; align-items: center; gap: 10px; }
.lp-nav-links a.lp-link { padding: 8px 12px; color: var(--text-secondary); font-weight: 500; border-radius: 8px; }
.lp-nav-links a.lp-link:hover { color: var(--text-primary); }

/* ── Sélecteur de langue ─────────────────────────── */
.lp-lang { position: relative; }
.lp-lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 10px; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--text-secondary);
  font-size: 1rem;
}
.lp-lang-btn:hover { color: var(--text-primary); background: var(--bg-surface); }
.lp-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 168px; padding: 6px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; gap: 2px;
}
.lp-lang-menu.open { display: flex; }
.lp-lang-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border: none; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--text-primary); font-size: 0.9rem; text-align: left;
}
.lp-lang-item:hover { background: var(--bg-base); }
.lp-lang-item.active { color: var(--accent); font-weight: 600; }

/* ── Hero ────────────────────────────────────────── */
.lp-hero { text-align: center; padding: 90px 0 60px; position: relative; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.lp-badge-top {
  display: inline-block; padding: 6px 14px; margin-bottom: 22px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg-surface); font-size: 0.8rem; color: var(--text-secondary);
}
.lp-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.02em; max-width: 820px; margin: 0 auto 20px;
}
.lp-hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #c084fc));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-hero p.lp-sub {
  font-size: clamp(1rem, 2.2vw, 1.22rem); color: var(--text-secondary);
  max-width: 640px; margin: 0 auto 34px;
}
.lp-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Bandeau points-clés ─────────────────────────── */
.lp-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
  padding: 30px 0; color: var(--text-secondary); font-size: 0.9rem;
}
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Sections ────────────────────────────────────── */
.lp-section { padding: 64px 0; }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.lp-section-head p { color: var(--text-secondary); font-size: 1.02rem; }

/* ── Grille fonctionnalités ──────────────────────── */
.lp-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.lp-feat {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px; transition: border-color .15s, transform .12s;
}
.lp-feat:hover { border-color: var(--accent); transform: translateY(-2px); }
.lp-feat-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
.lp-feat h3 { font-size: 1.06rem; margin-bottom: 7px; }
.lp-feat p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── Widgets chips ───────────────────────────────── */
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; margin: 0 auto; }
.lp-chip {
  padding: 9px 16px; border-radius: 999px; font-size: 0.88rem;
  background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary);
}

/* ── Étapes ──────────────────────────────────────── */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.lp-step { text-align: center; padding: 10px; }
.lp-step-num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.lp-step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.lp-step p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── Pricing ─────────────────────────────────────── */
.lp-pricing { display: flex; justify-content: center; }
.lp-price-card {
  background: var(--bg-surface); border: 1px solid var(--accent);
  border-radius: 20px; padding: 38px 34px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px -30px var(--accent);
}
.lp-price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.lp-price-amount { font-size: 2.6rem; font-weight: 800; margin: 14px 0 4px; }
.lp-price-amount small { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.lp-price-note { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 22px; }
.lp-price-list { list-style: none; text-align: left; margin: 0 0 26px; display: grid; gap: 10px; }
.lp-price-list li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.92rem; }
.lp-price-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ── FAQ ─────────────────────────────────────────── */
.lp-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq details {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px 18px;
}
.lp-faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq p { color: var(--text-secondary); font-size: 0.92rem; padding: 0 0 16px; }

/* ── CTA final ───────────────────────────────────── */
.lp-cta-final { text-align: center; padding: 80px 0; }
.lp-cta-final h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.lp-cta-final p { color: var(--text-secondary); margin-bottom: 28px; font-size: 1.05rem; }

/* ── Footer ──────────────────────────────────────── */
.lp-footer { border-top: 1px solid var(--border); padding: 34px 0; color: var(--text-muted); font-size: 0.85rem; }
.lp-footer .lp-container { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.lp-footer a { color: var(--text-secondary); }
.lp-footer a:hover { color: var(--text-primary); }

@media (max-width: 640px) {
  .lp-nav-links a.lp-link { display: none; }
  .lp-section { padding: 48px 0; }
}

/* ── Premium badge on feature cards ─────────────────── */
.lp-feat { position: relative; }
.lp-feat-premium::after {
  content: "Premium";
  position: absolute; top: 12px; right: 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 20px;
  background: linear-gradient(90deg, var(--accent), #9c5fe0);
  color: #fff;
}

/* ── Showcase : aperçu desktop + mobile ─────────────── */
.lp-showcase { padding: 18px 0 56px; }
.lp-shot { position: relative; max-width: 980px; margin: 0 auto; perspective: 1800px; }
.lp-shot-desktop {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 100px -44px rgba(0, 0, 0, 0.9);
  transform: rotateX(7deg) rotateY(-8deg);
  transform-origin: center;
  transition: transform 0.6s ease;
}
.lp-shot:hover .lp-shot-desktop { transform: rotateX(0deg) rotateY(0deg); }
.lp-shot-caption {
  text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 30px 0 0;
}
.lp-shot-bar {
  display: flex; gap: 6px; padding: 10px 14px;
  background: var(--bg-surface-2, var(--bg-surface)); border-bottom: 1px solid var(--border);
}
.lp-shot-bar span { width: 11px; height: 11px; border-radius: 50%; }
.lp-shot-bar span:nth-child(1) { background: #e0604d; }
.lp-shot-bar span:nth-child(2) { background: #e09b3d; }
.lp-shot-bar span:nth-child(3) { background: #22a96b; }
.lp-shot-mobile {
  position: absolute; right: -14px; bottom: -34px;
  width: 224px; padding: 8px; border-radius: 28px;
  background: var(--bg-surface-2, #0f0f14); border: 1px solid var(--border-hover, var(--border));
  box-shadow: 0 30px 64px -22px rgba(0, 0, 0, 0.9);
}
@keyframes lpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: no-preference) {
  .lp-shot-mobile { animation: lpFloat 6s ease-in-out infinite; }
}

/* ── Mockups d'interface (faux UI) ──────────────────── */
.mk { background: var(--bg-base, #0e1017); color: var(--text-primary); font-size: 12px; }
.mk-desktop { padding: 0; }
.mk-mobile { border-radius: 17px; overflow: hidden; padding: 0; font-size: 10px; }

.mk-top {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.mk-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.mk-brand .mk-logo { font-size: 1.05em; }
.mk-search {
  flex: 1; display: flex; align-items: center; gap: 6px;
  background: var(--bg-base, #0e1017); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 12px; color: var(--text-muted);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.mk-actions { display: flex; gap: 6px; flex-shrink: 0; }
.mk-pill {
  padding: 5px 10px; border-radius: 7px; border: 1px solid var(--border);
  color: var(--text-secondary); white-space: nowrap;
}
.mk-pill-accent { border-color: var(--accent); color: var(--accent); }

.mk-tabs {
  display: flex; gap: 4px; padding: 8px 14px; overflow: hidden;
  border-bottom: 1px solid var(--border); background: var(--bg-surface);
}
.mk-tab { padding: 5px 10px; border-radius: 6px; color: var(--text-secondary); white-space: nowrap; }
.mk-tab.active { background: var(--bg-hover); color: var(--text-primary); font-weight: 600; }

.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; }
.mk-col { display: flex; flex-direction: column; gap: 12px; }
.mk-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
}
.mk-card-h {
  font-size: 0.72em; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-secondary); text-transform: uppercase; margin-bottom: 8px;
}
.mk-h-accent { background: var(--accent); color: #fff; margin: -12px -12px 10px; padding: 8px 12px; border-radius: 12px 12px 0 0; }
.mk-h-purple { background: #7b3f9c; color: #fff; margin: -12px -12px 10px; padding: 8px 12px; border-radius: 12px 12px 0 0; }
.mk-clock { font-size: 2.1em; font-weight: 700; letter-spacing: 0.02em; line-height: 1; text-align: center; }
.mk-muted { color: var(--text-muted); font-size: 0.78em; text-align: center; margin-top: 5px; }
.mk-weather { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mk-sun { font-size: 1.7em; }
.mk-temp { font-size: 1.9em; font-weight: 700; }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-tiles span {
  aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1.75em;
}
.mk-list { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--text-secondary); }
.mk-list i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); flex-shrink: 0; }
.mk-fav {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.85em; color: #fff;
}
.mk-task { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--text-secondary); }
.mk-chk {
  width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid var(--border-hover, #555); display: flex; align-items: center; justify-content: center;
  font-size: 0.7em; color: transparent;
}
.mk-chk.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Mobile mockup internals */
.mk-mobile .mk-grid { display: none; }
.mk-mobile { display: flex; flex-direction: column; }
.mk-top-m { padding: 8px 10px; gap: 8px; }
.mk-search-m { flex: 1; justify-content: center; }
.mk-burger { color: var(--text-secondary); font-size: 1.1em; }
.mk-mobile .mk-card { margin: 10px 10px 0; }
.mk-mobile .mk-card:last-child { margin-bottom: 12px; }

/* ── Tableau comparatif Gratuit / Premium ───────────── */
.lp-compare-wrap { max-width: 840px; margin: 0 auto; overflow-x: auto; }
.lp-compare {
  width: 100%; border-collapse: collapse;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.lp-compare th, .lp-compare td {
  padding: 14px 16px; text-align: left; font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.lp-compare thead th {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
}
.lp-compare tbody tr:last-child td { border-bottom: none; }
.lp-compare td:first-child, .lp-compare th:first-child { color: var(--text-primary); font-weight: 500; }
.lp-compare .lp-compare-prem { background: var(--accent-dim); font-weight: 600; }
.lp-compare thead th.lp-compare-prem { color: var(--accent-text, var(--accent)); }
.lp-yes { color: #22a96b; font-weight: 800; font-size: 1.05rem; }
.lp-no  { color: var(--text-muted); font-weight: 700; }

@media (max-width: 640px) {
  .mk { font-size: 8px; }
  .mk-mobile { font-size: 7px; }
  .lp-shot-desktop { transform: none; }
  .lp-shot-mobile { width: 130px; right: 2px; bottom: -16px; padding: 4px; border-radius: 16px; }
  .lp-compare th, .lp-compare td { padding: 10px 11px; font-size: 0.82rem; }
}
