@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --surface-2: #334155;
  --gold: #E6B422;
  --white: #FFFFFF;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --soft: #64748B;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --line: rgba(148, 163, 184, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

.lang-en, .lang-en-block { display: none; }
body.lang-mode-en .lang-fr, body.lang-mode-en .lang-fr-block { display: none; }
body.lang-mode-en .lang-en { display: inline; }
body.lang-mode-en .lang-en-block { display: block; }

.site-shell { min-height: 100vh; background: radial-gradient(circle at 70% 0%, rgba(230,180,34,0.13), transparent 30%), var(--bg); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.84);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand img.brand-wordmark,
.nav-logo img,
.footer-logo-img {
  width: 164px;
  height: 46px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}
.brand img.brand-symbol,
.receipt-head img.brand-symbol {
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}
.brand span { color: var(--text); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(30, 41, 59, 0.72);
}
.lang-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.lang-link.active { background: var(--gold); color: var(--bg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-secondary { background: rgba(30,41,59,0.8); border-color: var(--line); color: var(--text); }
.btn-small { min-height: 38px; padding: 0 14px; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px;
}
.section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 780px;
  font-weight: 800;
}
.section-copy {
  max-width: 720px;
  color: var(--muted);
  margin-top: 18px;
  font-size: 16px;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(30,41,59,0.94), rgba(30,41,59,0.76));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,180,34,.38);
  box-shadow: 0 24px 72px rgba(0,0,0,.24);
}
.card h3 { font-size: 18px; margin: 16px 0 8px; line-height: 1.25; }
.card p { color: var(--muted); font-size: 14px; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 180, 34, 0.12);
  border: 1px solid rgba(230, 180, 34, 0.34);
}
.icon svg { width: 22px; height: 22px; stroke: var(--gold); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.footer {
  border-top: 1px solid var(--line);
  background: #0B1222;
  padding: 56px 24px 28px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}
.footer h4 {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  margin-bottom: 14px;
}
.footer p, .footer a, .footer li { color: var(--muted); font-size: 13px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { max-width: 1180px; margin: 36px auto 0; color: var(--soft); font-size: 12px; }

.page-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: 126px 24px 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.04; }
.page-hero p { color: var(--muted); margin: 18px auto 0; max-width: 740px; }
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}
.legal-content h2 { margin-top: 36px; color: var(--text); }
.legal-content h3 { margin-top: 22px; color: var(--gold); }
.legal-content p, .legal-content li { color: var(--muted); margin-top: 10px; }
.legal-content ul { margin-left: 22px; }

.page-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 24px 96px;
}

.legal-summary {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-bottom: 24px;
}

.legal-note,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30,41,59,.92), rgba(30,41,59,.68));
  box-shadow: 0 22px 64px rgba(0,0,0,.18);
}

.legal-note { padding: 24px; }

.legal-note strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.legal-note p { color: var(--muted); font-size: 14px; }

.legal-metrics {
  display: grid;
  gap: 10px;
}

.legal-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15,23,42,.34);
}

.legal-metric span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}

.legal-metric strong { color: var(--text); font-size: 16px; }

.legal-grid {
  display: grid;
  gap: 16px;
}

.legal-card { padding: 26px; }
.legal-card h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.legal-card ul {
  margin-left: 18px;
  display: grid;
  gap: 6px;
}
.legal-card li::marker { color: var(--gold); }
.legal-card a {
  color: var(--gold);
  font-weight: 700;
}

.legal-callout {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(230,180,34,.34);
  border-radius: 8px;
  background: rgba(230,180,34,.09);
  color: var(--text);
  font-size: 14px;
}

.product-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}

.product-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: .96;
  font-weight: 800;
  letter-spacing: 0;
}

.product-hero h1 span { color: var(--gold); }

.product-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 690px;
  margin-top: 20px;
}

.product-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(30,41,59,.94), rgba(15,23,42,.82)),
    radial-gradient(circle at 80% 20%, rgba(230,180,34,.16), transparent 34%);
  box-shadow: var(--shadow);
  padding: 24px;
}

.product-flow {
  display: grid;
  gap: 12px;
}

.flow-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(15,23,42,.5);
}

.flow-step strong { display: block; color: var(--text); font-size: 14px; }
.flow-step span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.flow-index {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: var(--gold);
  font-weight: 800;
}

.product-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 88px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(30,41,59,.9), rgba(30,41,59,.68));
  padding: 22px;
  min-height: 180px;
}

.product-card h3 { font-size: 18px; line-height: 1.25; margin-top: 16px; }
.product-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.product-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.proof-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(15,23,42,.48);
}

.proof-tile strong { display: block; color: var(--gold); font-size: 22px; line-height: 1; }
.proof-tile span { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }

.premium-link {
  color: var(--gold);
  font-weight: 800;
  display: inline-flex;
  margin-top: 16px;
}

.section > *, .proof-item, .operator-logo, .footer-inner > * {
  animation: fadeUp .72s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4, .footer-inner, .legal-summary, .product-hero, .product-cards, .product-proof { grid-template-columns: 1fr; }
  .section { padding: 68px 20px; }
  .product-hero { padding-top: 82px; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 0 16px; }
  .brand img.brand-wordmark,
  .nav-logo img,
  .footer-logo-img {
    width: 136px;
    height: 38px;
  }
  .brand span { display: none; }
  .nav-actions .btn-small { display: none; }
}
