:root {
  --bg: #fdf4ee;
  --bg-alt: #fff9f4;
  --card: #ffffff;
  --border: #f0ded0;
  --text: #3a2618;
  --muted: #8a7261;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;

  --bot-breaker: #c2410c;
  --bot-bpr: #b8860b;
  --bot-ote: #0d9488;
  --bot-london: #ea580c;
  --bot-indices: #2952e3;
  --bot-crypto: #16a34a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}
.brand .logo-dot {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.disabled { pointer-events: none; opacity: 0.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 2px 0 rgba(154, 52, 18, 0.25);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.secondary {
  background: none;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); transform: none; }
.btn.small { padding: 9px 16px; font-size: 0.85rem; }
.btn.block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(194, 65, 12, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.9rem;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}
.hero-trust span { font-weight: 700; color: var(--text); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 { font-size: 2rem; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Screenshot mock (browser chrome) ---------- */
.browser-mock {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(58, 38, 24, 0.25);
}
.browser-mock .chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-mock .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-mock .chrome .url {
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
  border-radius: 6px;
  padding: 3px 10px;
}

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.feature-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(194, 65, 12, 0.1);
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Bot cards ---------- */
.bots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  border-top: 4px solid var(--bot-color, var(--accent));
}
.bot-card .bot-emoji { font-size: 1.7rem; margin-bottom: 10px; }
.bot-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.bot-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.88rem; min-height: 58px; }
.bot-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(58, 38, 24, 0.06);
  color: var(--muted);
}
.tag.free { background: rgba(22, 163, 74, 0.12); color: var(--green); }

.backtest-chip {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.backtest-chip .m { flex: 1; }
.backtest-chip .m .k { font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.backtest-chip .m .v { font-size: 1.05rem; font-weight: 800; margin-top: 2px; }
.backtest-chip .m .v.pos { color: var(--green); }
.backtest-note { font-size: 0.72rem; color: var(--muted); margin-top: 6px; font-style: italic; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px -25px rgba(194, 65, 12, 0.45);
  position: relative;
}
.price-card.featured::before {
  content: "★ Le plus populaire";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.price-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.price-card .amount { font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 18px 0 26px; padding: 0; flex: 1; }
.price-card li { padding: 8px 0; border-top: 1px solid var(--border); font-size: 0.92rem; display: flex; gap: 10px; }
.price-card li:first-child { border-top: none; }
.price-card li .ok { color: var(--green); font-weight: 800; }
.bonus-banner {
  margin-top: 14px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #15803d;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- Hosting add-on ---------- */
.addon-card {
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.addon-card .ico { font-size: 2rem; }
.addon-card h3 { margin: 0 0 6px; }
.addon-card p { margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 480px; }
.badge-soon {
  font-size: 0.74rem; font-weight: 800; color: var(--amber);
  background: rgba(217, 119, 6, 0.12); padding: 3px 10px; border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 22px;
  padding: 52px 40px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: 1.9rem; }
.cta-band p { margin: 0 0 28px; opacity: 0.9; }
.cta-band .btn { background: #fff; color: var(--accent-dark); box-shadow: none; }
.cta-band .btn:hover { background: #fdf4ee; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 0.86rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.risk-note {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 18px;
}

/* ---------- Live demo page ---------- */
.live-select-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.live-select-row select {
  font: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--card); color: var(--text); min-width: 260px;
}
.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  border-top: 5px solid var(--bot-color, var(--accent));
}
.live-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.live-card .head h2 { margin: 0 0 6px; }
.live-card .head p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.live-status { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; }
.live-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.live-stat { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.live-stat .k { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.live-stat .v { font-size: 1.3rem; font-weight: 800; }
.live-feed { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.live-feed .row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 0.88rem; border-top: 1px solid var(--border); }
.live-feed .row:first-child { border-top: none; }
.live-feed .row .time { color: var(--muted); min-width: 130px; }
.live-feed .row .res.win { color: var(--green); font-weight: 700; }
.live-feed .row .res.loss { color: var(--red); font-weight: 700; }
.live-feed .row .res.open { color: var(--amber); font-weight: 700; }
.demo-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

/* ---------- Order page ---------- */
.order-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.order-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-bottom: 20px; }
.order-card h3 { margin: 0 0 16px; font-size: 1.05rem; }
.option-tile {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option-tile:hover { border-color: var(--accent); }
.option-tile.selected { border-color: var(--accent); background: rgba(194, 65, 12, 0.05); }
.option-tile input { width: 18px; height: 18px; accent-color: var(--accent); }
.option-tile .info { flex: 1; }
.option-tile .info .t { font-weight: 700; font-size: 0.95rem; }
.option-tile .info .d { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.option-tile .price { font-weight: 800; white-space: nowrap; }
.mini-backtest { font-size: 0.76rem; color: var(--accent); font-weight: 700; margin-top: 4px; }
.bot-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bot-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; padding: 8px 10px; border-radius: 8px; background: var(--bg-alt); }
.bot-check.free { color: var(--green); font-weight: 700; }
.summary-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.summary-row:first-child { border-top: none; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; border-top: 2px solid var(--text); margin-top: 6px; padding-top: 14px; }
.paypal-placeholder {
  margin-top: 18px; padding: 16px; border-radius: 10px;
  background: #ffc439; color: #2c2c2c; text-align: center; font-weight: 800;
  cursor: pointer; border: none; width: 100%; font-size: 0.98rem;
}
.paypal-placeholder small { display: block; font-weight: 500; font-size: 0.72rem; margin-top: 3px; }
.paypal-placeholder:disabled { opacity: 0.6; cursor: not-allowed; }
.msg.ok { color: var(--green); font-weight: 600; }
.msg.err { color: var(--red); font-weight: 600; }
.field-hint { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.mock-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-2, .bots-grid, .pricing-grid, .order-layout, .live-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .summary-card { position: static; }
  .mock-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-nav .nav-links { display: none; }
  .site-nav .wrap { height: 60px; }
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-trust { flex-direction: column; gap: 10px; }
  section { padding: 44px 0; }
  .cta-band { padding: 40px 22px; }
  .cta-band h2 { font-size: 1.5rem; }
}
