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

:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --surface: #111111;
  --surface-hover: #161616;
  --border: #1e1e1e;
  --border-hover: #2a2a2a;
  --accent: #c6f135;
  --accent-hover: #d4ff40;
  --accent-dim: rgba(198, 241, 53, 0.08);
  --accent-glow: rgba(198, 241, 53, 0.15);
  --text: #ebebeb;
  --text-secondary: #888;
  --text-muted: #777;
  --danger: #ff4444;
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.15s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* -- Grain overlay -- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 9999;
}

/* -- Scrollbar -- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* -- Layout -- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -- Navigation -- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.logo-icon svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  background: var(--accent) !important;
  color: #050505 !important;
  font-weight: 600 !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-xs) !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #050505 !important;
}

/* -- Hero -- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s 0.35s forwards;
}

h1 .accent { color: var(--accent); }

h1 .outline {
  -webkit-text-stroke: 1.5px var(--text-muted);
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.5s forwards;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s 0.65s forwards;
}

.hero-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.hero-feat-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* -- Section titles -- */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* -- Bento grid -- */
.tools-section {
  padding: 80px 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.bento-card.featured {
  cursor: pointer;
}

.bento-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color var(--transition-fast),
              background var(--transition-fast);
}

.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* -- Active tools: accent border + glow on hover -- */
.bento-card.active-tool {
  border-color: rgba(198, 241, 53, 0.15);
}

.bento-card.active-tool:hover {
  border-color: rgba(198, 241, 53, 0.35);
  box-shadow: 0 0 24px rgba(198, 241, 53, 0.06), 0 0 0 1px rgba(198, 241, 53, 0.1);
}

/* -- Coming soon tools: dimmed -- */
.bento-card.coming-tool {
  opacity: 0.5;
}

.bento-card.coming-tool.revealed {
  opacity: 0.5;
}

.bento-card.coming-tool:hover {
  opacity: 0.7;
}

.bento-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.bento-card-link:hover .card-title {
  color: var(--accent);
}

.card-preview {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xs);
  margin-top: 16px;
  border: 1px solid var(--border);
  transition: var(--transition-fast);
}

.bento-card-link:hover .card-preview {
  border-color: var(--accent);
}

/* -- Card CTA link -- */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}

.card-cta svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast);
}

.bento-card-link:hover .card-cta svg {
  transform: translateX(3px);
}

/* -- Bento group labels -- */
.bento-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-top: 32px;
}

.bento-group-label:first-of-type {
  margin-top: 0;
}

.bento-group-label .label-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.bento-group-label .label-dot.green {
  background: var(--success);
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.bento-group-label .label-dot.gray {
  background: var(--text-muted);
}

.bento-coming {
  grid-template-columns: repeat(3, 1fr);
}

.bento-coming .bento-card {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.featured .card-tool-area {
  margin-top: 20px;
}

.card-status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.card-status.live {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 11px;
  padding: 5px 12px;
}

.card-status.coming {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.card-status .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.card-status.live .status-dot {
  background: var(--success);
  animation: pulse 2s infinite;
}

.card-status.coming .status-dot { background: var(--text-muted); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* -- WebP Converter (featured tool) -- */
.converter-area {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: var(--transition);
  position: relative;
}

.converter-area.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.converter-dropzone {
  text-align: center;
  padding: 24px 16px;
  cursor: pointer;
}

.converter-dropzone-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.converter-dropzone-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.converter-dropzone p {
  font-size: 13px;
  color: var(--text-muted);
}

.converter-dropzone p span {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.converter-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.control-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.control-group input[type="number"],
.control-group input[type="range"] {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: var(--transition-fast);
}

.control-group input[type="number"]:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.control-group input[type="range"] {
  -webkit-appearance: none;
  padding: 0;
  height: 36px;
  background: transparent;
  border: none;
}

.control-group input[type="range"]::-webkit-slider-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}

.control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: -6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.quality-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-align: right;
  margin-top: 4px;
}

.file-list {
  margin-top: 14px;
  display: none;
  max-height: 120px;
  overflow-y: auto;
}

.file-list.visible { display: block; }

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.file-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.converter-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-convert {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}

.btn-convert.primary {
  background: var(--accent);
  color: #050505;
}

.btn-convert.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-convert.primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-convert.secondary {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  flex: 0;
  padding: 12px 16px;
}

.btn-convert.secondary:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.progress-wrap {
  margin-top: 14px;
  display: none;
}

.progress-wrap.visible { display: block; }

.progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* -- Privacy banner -- */
.privacy-banner {
  padding: 60px 0;
}

.privacy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.privacy-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at top right, var(--accent-dim), transparent 70%);
  pointer-events: none;
}

.privacy-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.privacy-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.privacy-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -- Pricing -- */
.pricing-section { padding: 80px 0; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
}

.pricing-card.popular {
  border-color: rgba(198, 241, 53, 0.3);
  background: linear-gradient(180deg, rgba(198, 241, 53, 0.04) 0%, var(--surface) 100%);
}

.pricing-card.popular::before {
  content: 'Populaire';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #050505;
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 100px;
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.pricing-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pricing-btn.primary {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
  font-weight: 600;
}

.pricing-btn.primary:hover {
  background: var(--accent-hover);
}

.pricing-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* -- Operation counter -- */
.ops-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}

.ops-counter-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.ops-counter-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.ops-counter-fill.warning { background: #D97706; }
.ops-counter-fill.danger { background: #DC2626; }

/* -- Gate banner -- */
.gate-banner {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(198, 241, 53, 0.06) 0%, rgba(198, 241, 53, 0.02) 100%);
  border: 1px solid rgba(198, 241, 53, 0.2);
  border-radius: var(--radius-sm);
  text-align: center;
}

.gate-banner.visible { display: block; }

.gate-banner .card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.gate-banner p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.gate-banner .btn-convert.primary {
  display: inline-block;
  width: auto;
  padding: 10px 24px;
}

/* -- Post-payment success banner -- */
.success-banner {
  display: none;
  padding: 100px 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.success-banner.visible { display: block; }

.success-inner {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 100%);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.5s 0.1s forwards;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.success-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.success-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.success-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.success-feat svg {
  width: 12px;
  height: 12px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2.5;
}

.success-dismiss {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.2);
  border-radius: var(--radius-xs);
  padding: 8px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.success-dismiss:hover {
  background: var(--accent);
  color: #050505;
}

.success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-fast);
}

.success-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

/* -- Pro state on counter -- */
.ops-counter.pro-active {
  border-color: rgba(198, 241, 53, 0.2);
  background: rgba(198, 241, 53, 0.04);
}

/* -- Pricing button current plan state -- */
.pricing-btn.current {
  background: transparent;
  border-color: var(--success);
  color: var(--success);
  cursor: default;
  pointer-events: none;
}

/* -- How it works -- */
.howitworks-section { padding: 60px 0; }

.howitworks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.howitworks-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.howitworks-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.howitworks-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.howitworks-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ops-explainer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 24px;
}

.ops-explainer h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.ops-example {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}

.ops-example:last-child { border-bottom: none; }

.ops-example-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  min-width: 44px;
  text-align: center;
}

.ops-example-text { color: var(--text-secondary); }
.ops-example-text strong { color: var(--text); font-weight: 500; }

/* -- Stub page -- */
.stub-section {
  padding: 160px 0 100px;
  text-align: center;
}

.stub-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.12);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

.stub-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stub-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.stub-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.stub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.stub-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(198, 241, 53, 0.2);
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}

.stub-back:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* -- 404 page -- */
.error-section {
  padding: 160px 0 100px;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* -- Footer -- */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-left a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-left a:hover { color: var(--accent); }

.footer-right {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* -- Animations -- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* -- Focus visible (a11y) -- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn-convert:focus-visible,
.pricing-btn:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.converter-dropzone:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius-sm);
}

/* -- Skip nav (a11y) -- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--accent);
  color: #050505;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

/* -- Reduced motion (a11y) -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .hero-badge, h1, .hero-sub, .hero-features {
    opacity: 1;
    transform: none;
  }
  .bento-card {
    opacity: 1;
    transform: none;
  }
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .success-inner { flex-direction: column; padding: 24px; }
  .success-features { flex-direction: column; }
  .success-banner { padding-top: 80px; }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card.coming-tool { opacity: 0.55; }
  .bento-card.coming-tool:hover { opacity: 0.75; }
  .bento-coming { grid-template-columns: 1fr; }
  .converter-controls {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .privacy-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .hero-features {
    flex-direction: column;
  }
  .nav-links { display: none; }
  .howitworks-grid { grid-template-columns: 1fr; }
}

/* -- Restore Pro section -- */
.restore-section {
  margin-top: 32px;
  text-align: center;
}

.restore-toggle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-fast);
}

.restore-toggle:hover {
  color: var(--accent-hover);
}

.restore-form p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 10px 0 8px;
}

.restore-input-row {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.restore-input-row input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.restore-input-row input[type="email"]:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.restore-status {
  font-family: var(--font-mono);
  font-size: 11px;
  min-height: 18px;
  margin-top: 8px;
}

.restore-status.success { color: var(--success); }
.restore-status.error { color: var(--danger); }

/* -- Tool hero (compact, for tool pages) -- */
.tool-hero {
  padding: 120px 0 40px;
  text-align: center;
}

.tool-hero .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tool-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.tool-hero .hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.tool-section {
  padding: 20px 0 80px;
}

/* -- Hero actions & meta (plugin page) -- */
.hero-actions {
  margin-top: 24px;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.hero-meta a {
  color: var(--accent);
  text-decoration: none;
}

.hero-meta a:hover {
  text-decoration: underline;
}

/* -- Features grid (plugin page) -- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.features-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.features-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.feature-step {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

/* -- CTA features list + buttons (plugin page) -- */
.cta-features-list {
  list-style: none;
  padding: 0;
  margin: 24px auto 32px;
  display: inline-block;
  text-align: left;
}

.cta-features-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-features-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* -- LR Plugin cross-link banner -- */
.lr-plugin-banner {
  padding: 24px 0;
  text-align: center;
}

.lr-plugin-banner p {
  font-size: 14px;
  color: var(--text-secondary);
}

.lr-plugin-banner a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.lr-plugin-banner a:hover {
  text-decoration: underline;
}

/* -- Presets section -- */
.presets-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.presets-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.preset-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.preset-group h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.preset-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.preset-checkbox:hover {
  color: var(--text);
}

.preset-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.preset-checkbox span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.preset-checkbox em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.preset-checkbox:has(input:checked) {
  color: var(--text);
}

.preset-checkbox:has(input:checked) em {
  color: var(--accent);
}

.presets-counter {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* -- Format select (reuses input styles) -- */
.control-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

.control-group select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* -- Dropzone hint text -- */
.converter-dropzone-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .converter-controls {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .presets-grid {
    grid-template-columns: 1fr;
  }
}

/* SEO content block */
.seo-content {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.content-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 760px;
}

.content-block p strong {
  color: var(--text);
  font-weight: 500;
}

/* FAQ section */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.faq-list {
  max-width: 760px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
  transition: var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* FAQ dl/dt/dd variant */
#faq dl {
  max-width: 760px;
  margin: 0;
  padding: 0;
}

#faq dl > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

#faq dt {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 16px 20px;
}

#faq dd {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Related tools section */
.related-tools {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}

.related-tools h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}

.related-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  display: block;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-card .related-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.related-card .related-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.related-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: var(--transition-fast);
}

.related-card:hover h3 {
  color: var(--accent);
}

.related-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* -- Modes section (radio cards) -- */
.modes-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.modes-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mode-card:hover {
  border-color: rgba(198, 241, 53, 0.3);
}

.mode-card:has(input:checked) {
  border-color: var(--accent);
  background: rgba(198, 241, 53, 0.04);
}

.mode-card input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.mode-content {
  flex: 1;
  min-width: 0;
}

.mode-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.mode-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.mode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mode-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.tag-remove {
  color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}

.tag-keep {
  color: var(--success);
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.tag-neutral {
  color: var(--text-muted);
  background: var(--surface);
  border-color: var(--border);
}

/* -- Custom options (checkboxes granulaires) -- */
.custom-options {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.custom-options h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-checkbox:hover {
  border-color: var(--border-hover);
}

.custom-checkbox:has(input:checked) {
  border-color: var(--accent);
}

.custom-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
}

.custom-checkbox span {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.4;
}

.custom-checkbox strong {
  color: var(--text);
  font-weight: 500;
}

.custom-checkbox em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 2px;
}

/* -- Metadata preview (révélé après chargement du 1er fichier) -- */
.metadata-preview {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.metadata-preview h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.metadata-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.metadata-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
}

.metadata-key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.metadata-value {
  color: var(--text);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.metadata-value.sensitive {
  color: #DC2626;
  font-weight: 500;
}

.metadata-empty {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: 10px;
  text-align: center;
}

@media (max-width: 600px) {
  .modes-grid { grid-template-columns: 1fr; }
  .custom-grid { grid-template-columns: 1fr; }
}

/* Workflow section */
.workflow-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
}
.workflow-section h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}
.workflow-intro {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 760px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.workflow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: var(--transition-fast);
}
.workflow-step:hover {
  border-color: rgba(198, 241, 53, 0.3);
}
.workflow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(198, 241, 53, 0.15);
  padding: 6px 10px;
  border-radius: 6px;
  height: fit-content;
  flex-shrink: 0;
}
.workflow-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.workflow-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}
.workflow-content h3 a:hover {
  color: var(--accent);
}
.workflow-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.workflow-content .soon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .workflow-steps { grid-template-columns: 1fr; }
}

/* Feature screenshots (LR plugin) */
.feature-figure {
  margin-top: 16px;
}
.feature-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.feature-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}
.hero-screenshot {
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.hero-screenshot figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}
