/*
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║  FABELLA — LANDING (index.html)                                  ║
 * ║  À importer APRÈS tokens.css                                     ║
 * ║  Aligné sur le design system iOS (FabellaColors / DesignTokens)  ║
 * ╚══════════════════════════════════════════════════════════════════╝
 */

html, body { background: var(--bg-primary); color: var(--text-primary); }
body {
  font-family: var(--font-sans);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient glow */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(249, 115, 22, 0.10) 0%, transparent 55%);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.ln-hero { position: relative; z-index: 1; padding: 80px 32px 120px; }
.ln-hero-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.ln-hero-copy { max-width: 580px; }

.ln-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.10);
  border: 1px solid rgba(249, 115, 22, 0.22);
  font-size: 11px; font-weight: 600; color: #FDBA74;
  letter-spacing: 0.04em; margin-bottom: 28px;
  text-transform: uppercase;
}
.ln-badge-flag { font-size: 12px; line-height: 1; }

.ln-h1 {
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}
.ln-brand-text {
  background: var(--brand-gradient-diag);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ln-lead {
  font-size: 19px; line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 28px; max-width: 500px;
  text-wrap: pretty;
}

.ln-cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.ln-btn-light, .ln-btn-ghost {
  height: 52px; padding: 0 24px;
  border-radius: var(--button-radius);
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
}
.ln-btn-light { background: #fff; color: #0A0A0A; }
.ln-btn-light:hover { transform: translateY(-1px); opacity: 0.92; }
.ln-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  font-weight: 600;
}
.ln-btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }
.ln-btn-large { height: 58px; padding: 0 32px; font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════════
   HERO — PHONE MOCKUP (Inbox / True or Not)
   ═══════════════════════════════════════════════════════════════════ */
.ln-phone-wrap {
  position: relative;
  display: flex; justify-content: center;
  perspective: 1500px;
}
.ln-phone {
  width: 320px; height: 640px; border-radius: 48px;
  background: #000; padding: 8px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(99, 102, 241, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.ln-phone:hover { transform: rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.ln-phone-screen {
  width: 100%; height: 100%; border-radius: 40px;
  background: var(--bg-primary); overflow: hidden; position: relative;
}
.ln-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; border-radius: 999px;
  background: #000; z-index: 10;
}
.ln-phone-status {
  display: flex; justify-content: space-between;
  padding: 14px 24px 0;
  font-size: 12px; font-weight: 600; color: var(--text-primary);
}
.ln-phone-header {
  padding: 28px 18px 8px;
  display: flex; align-items: center; gap: 8px;
}
.ln-phone-logo { width: 24px; height: 24px; border-radius: 6px; }
.ln-phone-header span {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* Inbox composition */
.ln-inbox { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.ln-inbox-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-tertiary);
}
.ln-inbox-meta b { color: var(--text-primary); font-weight: 700; }
.ln-inbox-meta time { font-size: 10px; }
.ln-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }

.ln-swipe-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(249, 115, 22, 0.06));
  border: 1px solid rgba(99, 102, 241, 0.30);
  border-radius: 18px; padding: 16px;
  transform: rotate(-1.5deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.ln-swipe-prompt {
  font-size: 11px; font-weight: 600;
  color: var(--brand-end);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  opacity: 0.9;
}
.ln-swipe-card p {
  font-size: 13px; line-height: 1.45;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-weight: 500;
}
.ln-swipe-tags {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.ln-swipe-tags span {
  font-size: 9px; font-weight: 600;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.ln-swipe-tags span:last-child {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
  color: #A5B4FC;
}

.ln-swipe-actions {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}
.ln-swipe-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px;
  font-size: 12px; font-weight: 700;
}
.ln-swipe-not { color: var(--status-error); }
.ln-swipe-true { color: #4ADE80; }
.ln-swipe-divider {
  width: 1px; background: var(--border-subtle);
}

.ln-toast {
  position: absolute; top: 28%; right: -16px;
  background: var(--brand-gradient-diag);
  color: #fff;
  padding: 10px 16px; border-radius: 12px;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  opacity: 0;
}
.ln-toast-anim { animation: ln-toast-in 0.6s ease forwards; }
@keyframes ln-toast-in {
  from { opacity: 0; transform: translateX(20px) scale(0.85); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════════════
   02 — PROOF MOMENT
   ═══════════════════════════════════════════════════════════════════ */
.ln-proof {
  position: relative; z-index: 1;
  padding: 80px 32px 100px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(99,102,241,0.06) 0%, transparent 60%);
}
.ln-proof-inner {
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.ln-proof-h {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.ln-true {
  background: linear-gradient(135deg, #34D399, #6366F1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ln-not {
  background: linear-gradient(135deg, #F87171, #F97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ln-proof-sub {
  font-size: 17px; color: var(--text-secondary);
  margin: 0 0 56px;
}

.ln-proof-fan {
  display: flex; justify-content: center; align-items: center;
  gap: 0;
  perspective: 1400px;
  min-height: 360px;
}
.ln-mini-phone {
  width: 220px; height: 340px;
  border-radius: 28px;
  background: #000;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.ln-mini-phone-left  { transform: rotate(-8deg) translateX(40px); z-index: 1; }
.ln-mini-phone-center{ transform: scale(1.06); z-index: 3; }
.ln-mini-phone-right { transform: rotate(8deg) translateX(-40px); z-index: 1; }

.ln-mini-screen {
  width: 100%; height: 100%; border-radius: 22px;
  background: var(--bg-primary);
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.ln-mini-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-tertiary);
}
.ln-mini-prompt {
  font-size: 11px; font-weight: 600;
  color: var(--brand-end);
}
.ln-mini-body {
  font-size: 13px; line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: auto;
}
.ln-mini-status {
  font-size: 10px;
  color: var(--text-tertiary);
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  align-self: flex-start;
}
.ln-mini-cta {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.ln-mini-not  { color: var(--status-error); }
.ln-mini-true { color: #4ADE80; }
.ln-mini-validated {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--text-tertiary);
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════════════════════════════════ */
.ln-section {
  position: relative; z-index: 1;
  padding: 100px 32px;
  max-width: 1280px; margin: 0 auto;
}
.ln-section-head { margin-bottom: 56px; max-width: 720px; }
.ln-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 16px;
}
.ln-section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0; line-height: 1.05;
  text-wrap: balance;
}
.ln-section-sub {
  font-size: 17px; color: var(--text-secondary);
  margin: 16px 0 0; max-width: 580px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════════
   03 — HOW IT WORKS (steps)
   ═══════════════════════════════════════════════════════════════════ */
.ln-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ln-step {
  padding: 28px; border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  display: flex; flex-direction: column;
}
.ln-step:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}
.ln-step-num {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 32px;
}
.ln-step h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ln-step p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.55;
  margin: 0 0 24px;
}
.ln-step p em {
  font-style: normal; font-weight: 600;
  color: var(--brand-end);
}
.ln-step-visu {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  display: flex; flex-direction: column; gap: 6px;
}

/* Step 01 — starters */
.ln-starter {
  font-size: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-tertiary);
}
.ln-starter-active {
  background: rgba(249, 115, 22, 0.10);
  border-color: rgba(249, 115, 22, 0.30);
  color: #FDBA74;
  font-weight: 600;
}
.ln-starter-more {
  font-size: 10px; color: var(--text-tertiary);
  text-align: center; padding-top: 4px;
  letter-spacing: 0.04em;
}

/* Step 02 — media chips */
.ln-media-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ln-chip {
  font-size: 11px; font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.10);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #A5B4FC;
}

/* Step 03 — validated stack */
.ln-validated-stack {
  display: flex; align-items: center; gap: 8px;
}
.ln-avatar-sm {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-right: -8px;
}
.ln-avatar-sm:last-of-type { margin-right: 4px; }
.ln-validated-label {
  font-size: 11px; color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════════════════
   04 — REACTIONS
   ═══════════════════════════════════════════════════════════════════ */
.ln-reactions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ln-reaction {
  padding: 32px; border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--c) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--c) 25%, transparent);
}
.ln-reaction-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--c);
  box-shadow: 0 8px 24px color-mix(in oklab, var(--c) 40%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  margin-bottom: 24px;
}
.ln-reaction h4 {
  font-size: 22px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.ln-reaction p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   05 — WHAT GOES ON FABELLA (gallery)
   ═══════════════════════════════════════════════════════════════════ */
.ln-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ln-anec {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px;
  min-height: 200px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.ln-anec:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(255,255,255,0.03);
}
.ln-anec h5 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--text-primary);
  text-wrap: balance;
}
.ln-anec-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text-tertiary);
}
.ln-stack { display: inline-flex; }
.ln-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-right: -6px;
}
.ln-anec-feat {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(99, 102, 241, 0.06));
  border-color: rgba(249, 115, 22, 0.20);
}
.ln-anec-feat h5 {
  background: var(--brand-gradient-diag);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════
   06 — BUILT DIFFERENT (manifesto)
   ═══════════════════════════════════════════════════════════════════ */
.ln-manifesto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.ln-mani {
  padding: 36px 32px;
  background: var(--bg-primary);
  display: flex; flex-direction: column; gap: 12px;
}
.ln-mani-tag {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand-gradient-diag);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ln-mani p {
  font-size: 16px; color: var(--text-secondary);
  margin: 0; line-height: 1.5;
  text-wrap: pretty;
}

/* ═══════════════════════════════════════════════════════════════════
   07 — CTA FINAL
   ═══════════════════════════════════════════════════════════════════ */
.ln-cta-final {
  position: relative; z-index: 1;
  padding: 80px 32px 120px;
  text-align: center;
  max-width: 800px; margin: 0 auto;
}
.ln-cta-final h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 18px;
  line-height: 1.05;
  text-wrap: balance;
}
.ln-cta-final p {
  font-size: 17px; color: var(--text-secondary);
  margin: 0 0 36px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ln-steps,
  .ln-reactions,
  .ln-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .ln-hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .ln-phone-wrap { order: -1; }
  .ln-phone { transform: rotateY(0) rotateX(0); }
  .ln-proof-fan { gap: 0; transform: scale(0.85); }
}

@media (max-width: 720px) {
  .ln-steps,
  .ln-reactions,
  .ln-gallery,
  .ln-manifesto { grid-template-columns: 1fr; }
  .ln-proof-fan {
    flex-direction: column;
    min-height: auto;
    gap: 16px;
    transform: none;
  }
  .ln-mini-phone-left,
  .ln-mini-phone-center,
  .ln-mini-phone-right { transform: none; }
}

@media (max-width: 480px) {
  .ln-hero { padding: 48px 20px 80px; }
  .ln-section { padding: 64px 20px; }
  .ln-proof { padding: 64px 20px 80px; }
  .ln-cta-final { padding: 60px 20px 80px; }
  .ln-toast { right: 8px; top: 22%; }
  .ln-mani { padding: 28px 24px; }
  .ln-mani-tag { font-size: 24px; }
}
