:root {
  --bg: #0f1117;
  --bg-2: #171b24;
  --surface: #1c2130;
  --surface-2: #222840;
  --ink: #e8eaf2;
  --ink-2: #9da3b8;
  --ink-3: #5c6280;
  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --accent-border: rgba(108, 99, 255, 0.3);
  --green: #34d399;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.13);
  --radius: 8px;
  --radius-lg: 16px;
  --max: 860px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.nav-logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1.25rem, 5vw, 3rem) clamp(3rem, 7vw, 5rem);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 720px;
}
h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── SOMMAIRE ── */
.toc-wrap {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.toc-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.toc-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}
.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.15rem 2rem;
}
.toc-list a {
  font-size: 0.83rem;
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1.9;
  transition: color 0.15s;
}
.toc-list a::before {
  content: "//";
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.toc-list a:hover { color: var(--accent-2); }

/* ── ARTICLE ── */
article {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) 5rem;
}
section { margin-bottom: 3rem; }
hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── SOFTWARE CARD ── */
.software-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}
.software-card:hover { border-color: var(--border-2); }
.software-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) saturate(0.85);
}
.software-card-body { padding: 1.75rem 2rem; }
.software-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

p { margin-bottom: 0.95rem; color: var(--ink-2); font-size: 0.96rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ── FEATURE LIST ── */
.features {
  list-style: none;
  margin: 1.1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.6rem;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
}
.features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── HIGHLIGHT ── */
.highlight {
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin: 1.25rem 0;
}
.highlight p { color: var(--ink-2); margin: 0; font-size: 0.91rem; }
.highlight strong { color: var(--accent-2); }

/* ── COMPARISON TABLE ── */
.cmp-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 540px;
}
.cmp-table th {
  text-align: left;
  padding: 0.6rem 1rem;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-2);
}
.cmp-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  vertical-align: middle;
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:hover td { background: var(--surface); }
.badge-free {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-paid {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-glow);
  color: var(--accent-2);
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── FAQ ── */
.faq-list { margin: 1rem 0; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--surface);
}
details[open] { border-color: var(--accent-border); }
summary {
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 1.2rem 1rem;
  font-size: 0.89rem;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ── CONCLUSION ── */
.conclusion {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-2);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  margin: 2rem 0;
}
.conclusion h2 {
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.conclusion p { color: var(--ink-2); }
.conclusion strong { color: var(--accent-2); }

/* ── FOOTER ── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .toc-box { flex-direction: column; gap: 0.75rem; }
  .toc-list { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .software-card-body { padding: 1.25rem; }
  .conclusion { padding: 1.5rem; }
}
