/* ══════════════════════════════════════════
   BITWALLET — index.css
   Palette : or #f5c842 · fond #0b0d14 · texte #e8e6dc
   Fonts   : Cabinet Grotesk (corps) · Syncopate (logo)
   ══════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
  --gold:        #f5c842;
  --gold-dim:    #c89e28;
  --gold-glow:   rgba(245, 200, 66, 0.18);
  --bg:          #0b0d14;
  --bg-card:     #12141f;
  --bg-card2:    #181b28;
  --border:      rgba(245, 200, 66, 0.14);
  --border-hi:   rgba(245, 200, 66, 0.32);
  --text:        #e8e6dc;
  --text-muted:  #7e8098;
  --text-dim:    #4a4d62;
  --green:       #29c87a;
  --red:         #e84545;
  --purple:      #8b6fde;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cabinet Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── Page wrapper ───────────────────────────── */
.page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 48px;
  min-height: 100vh;
}

/* ── Backgrounds décoratifs ─────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 200, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 200, 66, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
}
.bg-glow--top {
  width: 340px; height: 340px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(245,200,66,.12) 0%, transparent 70%);
}
.bg-glow--bottom {
  width: 300px; height: 300px;
  bottom: 60px; left: -100px;
  background: radial-gradient(circle, rgba(139,111,222,.1) 0%, transparent 70%);
}

/* ── Sections & divider ─────────────────────── */
.section { position: relative; z-index: 1; padding: 40px 0; }

.divider {
  position: relative;
  z-index: 1;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  margin: 0 -20px;
}

/* ══════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════ */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-name {
  font-family: 'Syncopate', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.top-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  padding: 3px 10px;
  letter-spacing: 0.06em;
}

/* Boutons langue */
.lang-buttons {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active {
  background: var(--gold);
  color: #0b0d14;
}
.lang-btn:not(.active):hover {
  color: var(--text);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero-section { padding-top: 12px; }

.hero-body { margin-top: 36px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(40px, 11vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.accent {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 340px;
}

/* ── Ticker ─────────────────────────────────── */
.ticker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ticker-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.2s;
}
.ticker-pill:hover { border-color: var(--border-hi); }

.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.ticker-dot--btc { background: #f7931a; }
.ticker-dot--eth { background: #627eea; }
.ticker-dot--ltc { background: #bfbbbb; }

.ticker-sym { color: var(--text); }

.ticker-pct--up { color: var(--green); }
.ticker-pct--dn { color: var(--red); }

/* ── Stats strip ────────────────────────────── */
.stats-strip {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  gap: 3px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.stat-val--accent { color: var(--gold); }
.stat-val--green  { color: var(--green); }

.stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CTA group ──────────────────────────────── */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--gold);
  color: #0b0d14;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-md);
  padding: 15px 24px;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-primary:hover {
  background: #ffd840;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(245,200,66,.28);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.btn-secondary:hover {
  color: var(--gold);
  border-color: var(--border-hi);
  background: var(--gold-glow);
}

/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card2);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon--gold   { background: rgba(245,200,66,.14); color: var(--gold); }
.feature-icon--green  { background: rgba(41,200,122,.14); color: var(--green); }
.feature-icon--purple { background: rgba(139,111,222,.16); color: var(--purple); }
.feature-icon--red    { background: rgba(232,69,69,.14); color: var(--red); }

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   CRYPTO LIST
   ══════════════════════════════════════════ */
.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crypto-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.2s, transform 0.18s;
}
.crypto-card:hover {
  border-color: var(--border-hi);
  transform: translateX(3px);
}

.crypto-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
  flex-shrink: 0;
}
.crypto-avatar--btc { background: rgba(247,147,26,.15); color: #f7931a; }
.crypto-avatar--eth { background: rgba(98,126,234,.15); color: #627eea; }
.crypto-avatar--ltc { background: rgba(191,187,187,.12); color: #bfbbbb; }

.crypto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crypto-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.crypto-sym {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.crypto-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.crypto-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.crypto-change {
  font-size: 12px;
  font-weight: 700;
}
.crypto-change--up { color: var(--green); }
.crypto-change--dn { color: var(--red); }

/* ══════════════════════════════════════════
   TESTIMONIAL
   ══════════════════════════════════════════ */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.star {
  color: var(--gold);
  font-size: 16px;
}

.quote-mark {
  font-size: 52px;
  line-height: 0.6;
  color: var(--gold);
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.quote-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0d14;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1px;
}

.quote-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   BOTTOM CTA
   ══════════════════════════════════════════ */
.bottom-cta-card {
  background: var(--bg-card2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bottom-cta-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.bottom-cta-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bottom-cta-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer-note {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 32px;
  line-height: 1.8;
}
.footer-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.footer-note a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   RESPONSIVE — tablette & desktop
   ══════════════════════════════════════════ */
@media (min-width: 560px) {
  .page { padding: 0 28px 64px; }

  .features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feature-card {
    flex-direction: column;
    gap: 14px;
  }

  .ticker-row { flex-wrap: nowrap; }
}

@media (min-width: 768px) {
  .page { max-width: 640px; }
  .hero-title { font-size: 58px; }
  .section-heading { font-size: 40px; }
}