/* ═══════════════════════════════════════════════════════════════
   TREZOR WEBSITE — CSS COMPLET
   Palette : DeepPurple #1E0A3C · Gold #D4A843 · Primary #6C63FF
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep-purple:      #1E0A3C;
  --deep-purple-l:    #2D1254;
  --deep-purple-d:    #120625;
  --primary:          #6C63FF;
  --primary-l:        #EDE9FF;
  --gold:             #D4A843;
  --gold-l:           #F5E6B8;
  --gold-d:           #B8922E;
  --success:          #22C55E;
  --warning:          #F59E0B;
  --error:            #EF4444;
  --light-bg:         #F8F9FC;
  --light-text:       #1A1D2E;
  --muted:            #9498B0;
  --card:             #ffffff;
  --border:           #E8E9F0;
  --radius:           16px;
  --radius-lg:        24px;
  --shadow:           0 4px 24px rgba(30,10,60,0.08);
  --shadow-lg:        0 16px 64px rgba(30,10,60,0.14);
  --transition:       0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ── TYPOGRAPHY ── */
.title-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, #F5C842 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(108,99,255,.12), rgba(212,168,67,.12));
  border: 1px solid rgba(108,99,255,.2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.gold-tag {
  background: linear-gradient(135deg, rgba(212,168,67,.15), rgba(212,168,67,.05));
  border-color: rgba(212,168,67,.3);
  color: var(--gold-d);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--light-text);
  margin-bottom: 16px;
}
.section-title.white { color: #fff; }
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-subtitle.white-70 { color: rgba(255,255,255,0.7); max-width: 560px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(30,10,60,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
}
.logo-tre { color: #fff; }
.logo-zor {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,168,67,0.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 10px;
  transition: var(--transition);
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-purple);
  background: linear-gradient(135deg, var(--gold), #F5C842);
  padding: 10px 22px;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(212,168,67,0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #F5C842 50%, #E8B830);
  color: var(--deep-purple);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(212,168,67,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212,168,67,0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 14px;
  transition: var(--transition);
}
.btn-ghost:hover { color: #fff; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--deep-purple-l) 0%, var(--deep-purple) 45%, var(--deep-purple-d) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero { position: relative; }
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, var(--deep-purple-l) 0%, var(--deep-purple) 45%, var(--deep-purple-d) 100%);
  z-index: -1;
}
/* Actually wrap hero properly */
body > .hero { max-width: 100%; padding: 0; }

/* Create a hero wrapper */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--deep-purple-l) 0%, var(--deep-purple) 45%, var(--deep-purple-d) 100%);
  position: relative;
  overflow: hidden;
}
section.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--deep-purple-l) 0%, var(--deep-purple) 45%, var(--deep-purple-d) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 80px 80px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
/* Full background for hero */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(145deg, var(--deep-purple-l), var(--deep-purple), var(--deep-purple-d));
  z-index: -2;
}

/* Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatPart 8s ease-in-out infinite;
}
.p1 { width:6px; height:6px; background:var(--gold); opacity:.4; top:20%; left:10%; animation-delay:0s; }
.p2 { width:4px; height:4px; background:var(--primary); opacity:.5; top:60%; left:5%; animation-delay:1.5s; }
.p3 { width:8px; height:8px; background:var(--gold-l); opacity:.3; top:35%; right:15%; animation-delay:3s; }
.p4 { width:5px; height:5px; background:#fff; opacity:.25; top:70%; right:8%; animation-delay:0.8s; }
.p5 { width:3px; height:3px; background:var(--gold); opacity:.5; top:15%; right:25%; animation-delay:2.2s; }
.p6 { width:6px; height:6px; background:var(--primary); opacity:.3; top:80%; left:20%; animation-delay:4s; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.orb1 { width:400px; height:400px; background:var(--primary); top:-10%; right:20%; }
.orb2 { width:300px; height:300px; background:var(--gold); bottom:0; left:30%; }

@keyframes floatPart {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero content */
.hero-content { z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,.12);
  border: 1px solid rgba(212,168,67,.25);
  color: var(--gold-l);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.phone-mockup {
  position: relative;
  width: 280px;
}
.phone-screen {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #1A1D2E 0%, #0F1117 100%);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
}
.phone-notch {
  width: 100px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}
.app-ui {
  padding: 8px 14px 0;
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-logo-small {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}
.app-logo-small span:first-child { color: #fff; }
.app-logo-small .gold { color: var(--gold); }
.app-tp {
  background: rgba(212,168,67,.15);
  border: 1px solid rgba(212,168,67,.25);
  border-radius: 20px;
  padding: 4px 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tp-amount {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}
.tp-label {
  font-size: 9px;
  color: var(--gold-l);
  font-weight: 600;
}
.app-greeting {}
.greeting-text {
  font-size: 13px;
  font-weight: 700;
  color: #F0F1F5;
}
.greeting-sub { font-size: 10px; color: #6B6F8D; }
.app-balance-card {
  background: linear-gradient(135deg, #2D1254, #1E0A3C);
  border: 1px solid rgba(212,168,67,.2);
  border-radius: 16px;
  padding: 14px;
}
.balance-label { font-size: 9px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.balance-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.balance-amount span { font-size: 11px; color: rgba(255,255,255,.5); }
.balance-progress {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  margin: 8px 0 4px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #F5C842);
  border-radius: 2px;
}
.balance-progress-text { font-size: 9px; color: var(--gold-l); }
.app-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-card {
  background: #1E2134;
  border: 1px solid #2A2D42;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.mini-green { background: rgba(34,197,94,.15); color: #22C55E; }
.mini-gold { background: rgba(212,168,67,.15); color: var(--gold); }
.mini-title { font-size: 8px; color: #6B6F8D; line-height: 1.2; }
.mini-val { font-size: 11px; font-weight: 700; color: #F0F1F5; }
.mini-val.gold { color: var(--gold); }
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  background: #1A1D2E;
  border-top: 1px solid #2A2D42;
  padding: 8px 0;
  margin: auto -14px 0;
}
.nav-item {
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  opacity: .6;
}
.nav-item.active { opacity: 1; background: rgba(108,99,255,.15); }

/* Phone decorations */
.phone-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,.12);
  pointer-events: none;
  animation: ringPulse 4s ease-in-out infinite;
}
.ring1 { width: 340px; height: 340px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 0s; }
.ring2 { width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 1s; border-color: rgba(108,99,255,.08); }
@keyframes ringPulse {
  0%, 100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.02); }
}
.floating-badge {
  position: absolute;
  background: rgba(30,10,60,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212,168,67,.25);
  border-radius: 20px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.fb1 { top: 80px; left: -90px; animation-delay: 0.5s; }
.fb2 { bottom: 120px; right: -80px; animation-delay: 1.5s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── TRUSTED BY ── */
.trusted-by {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #C0C4D8;
  transition: var(--transition);
  cursor: default;
}
.trust-logo:hover { color: var(--deep-purple); }

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  background: var(--light-bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-purple {
  background: linear-gradient(135deg, var(--deep-purple-l), var(--deep-purple));
  border: 1px solid rgba(212,168,67,.15);
  color: #fff;
}
.card-purple h3 { color: #fff; }
.card-purple p { color: rgba(255,255,255,.65); }
.card-dark {
  background: linear-gradient(135deg, #1A1D2E, #0F1117);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.55); }
.card-gold {
  background: linear-gradient(135deg, #fff9ee, #fff);
  border: 1.5px solid rgba(212,168,67,.25);
}
.card-gold h3 { color: var(--deep-purple); }
.card-gold p { color: var(--muted); }
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.15));
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}
.card-gold .feature-tag { color: var(--gold-d); }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  background: #fff;
}
.steps-container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step {
  flex: 1;
  position: relative;
}
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(108,99,255,.06);
  line-height: 1;
  margin-bottom: -20px;
  user-select: none;
}
.step-content {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.step-content:hover {
  border-color: rgba(108,99,255,.2);
  box-shadow: 0 8px 32px rgba(108,99,255,.08);
  transform: translateY(-4px);
}
.step-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--deep-purple-l), var(--deep-purple));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(30,10,60,.25);
}
.step-icon { font-size: 24px; }
.step-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--light-text);
}
.step-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.step-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.step-list li { font-size: 13px; color: var(--muted); }
.step-arrow {
  font-size: 28px;
  color: var(--primary);
  opacity: .3;
  padding-top: 100px;
  flex-shrink: 0;
}

/* ── TONTINES ── */
.tontines {
  padding: 100px 0;
  background: var(--light-bg);
}
.tontines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tontine-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.tontine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108,99,255,.15);
}
.tontine-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.argent { background: linear-gradient(135deg, #0f4c3a, #1a6b50); }
.immo  { background: linear-gradient(135deg, #1a2f6b, #2d4a8f); }
.auto  { background: linear-gradient(135deg, #4a1a6b, #6b2d8f); }
.autres{ background: linear-gradient(135deg, #6b3a1a, #8f5c2d); }
.tontine-emoji {
  font-size: 52px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
  z-index: 2;
  animation: floatEmoji 3s ease-in-out infinite;
}
@keyframes floatEmoji {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tontine-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,.15) 0%, transparent 70%);
}
.tontine-info { padding: 20px; }
.tontine-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--light-text);
}
.tontine-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.tontine-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-badge {
  font-size: 10px;
  font-weight: 600;
  background: var(--primary-l);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 100px;
}

/* ── MARKETPLACE ── */
.marketplace {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--deep-purple-d) 0%, var(--deep-purple) 60%, var(--deep-purple-l) 100%);
}
.marketplace-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.marketplace .section-title { color: #fff; }
.marketplace .section-subtitle { color: rgba(255,255,255,.6); }
.marketplace .section-tag { background: rgba(212,168,67,.12); border-color: rgba(212,168,67,.3); color: var(--gold-l); }
.marketplace-features { list-style: none; margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.marketplace-features li { display: flex; align-items: flex-start; gap: 14px; }
.mf-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.marketplace-features strong { display: block; font-size: 15px; color: #fff; margin-bottom: 4px; }
.marketplace-features p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* Market phone */
.market-phone {
  width: 260px;
  margin: 0 auto;
}
.market-screen {
  width: 260px;
  height: 500px;
  background: linear-gradient(160deg, #1A1D2E, #0F1117);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,.1);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 12px;
}
.market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mh-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 900;
}
.mh-logo span:first-child { color: #fff; }
.mh-logo .gold { color: var(--gold); }
.mh-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); }
.market-articles { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card {
  background: #1E2134;
  border: 1px solid #2A2D42;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.article-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.art1 { background: linear-gradient(135deg, #1a2f6b, #2d4a8f); }
.art2 { background: linear-gradient(135deg, #6b1a4a, #8f2d6b); }
.art3 { background: linear-gradient(135deg, #1a6b3a, #2d8f5c); }
.art-name { font-size: 11px; font-weight: 600; color: #F0F1F5; }
.art-price { font-size: 10px; font-weight: 700; }
.art-price.gold { color: var(--gold); }
.art-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 8px;
  font-weight: 700;
  background: rgba(108,99,255,.2);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 6px;
}
.market-nav {
  display: flex;
  justify-content: space-around;
  background: rgba(255,255,255,.04);
  border-top: 1px solid #2A2D42;
  padding: 8px 0;
  margin: 0 -14px -16px;
}
.mn-item { font-size: 18px; padding: 4px 8px; opacity: .5; transition: var(--transition); cursor: pointer; }
.mn-item.active { opacity: 1; }

/* ── SECURITY ── */
.security {
  padding: 100px 0;
  background: #fff;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.security-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sec-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.sec-card:hover {
  border-color: rgba(108,99,255,.2);
  box-shadow: 0 8px 24px rgba(108,99,255,.08);
  transform: translateY(-3px);
}
.sec-icon { font-size: 28px; margin-bottom: 12px; }
.sec-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--light-text);
}
.sec-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--light-bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card.featured {
  background: linear-gradient(135deg, var(--deep-purple-l), var(--deep-purple));
  border-color: rgba(212,168,67,.2);
  grid-row: span 1;
}
.testi-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 20px;
}
.featured .testi-text { color: rgba(255,255,255,.75); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #6C63FF, #9b8eff); }
.av2 { background: linear-gradient(135deg, #D4A843, #F5C842); color: var(--deep-purple); }
.av3 { background: linear-gradient(135deg, #22C55E, #4ade80); color: var(--deep-purple); }
.av4 { background: linear-gradient(135deg, #EF4444, #f87171); }
.testi-author strong { display: block; font-size: 14px; color: var(--light-text); }
.featured .testi-author strong { color: #fff; }
.testi-author span { font-size: 12px; color: var(--muted); }
.featured .testi-author span { color: rgba(255,255,255,.5); }

/* ── TP SYSTEM ── */
.tp-system {
  padding: 100px 0;
  background: linear-gradient(160deg, #0F1117 0%, #1A1D2E 50%, #1E2134 100%);
}
.tp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tp-coins {
  position: relative;
  height: 200px;
  margin-bottom: 24px;
}
.coin {
  position: absolute;
  font-size: 40px;
  animation: floatCoin 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.3));
}
.c1 { top: 0; left: 20%; animation-delay: 0s; }
.c2 { top: 30%; left: 60%; animation-delay: 1s; }
.c3 { top: 55%; left: 10%; animation-delay: 2s; }
.c4 { top: 65%; left: 75%; animation-delay: 0.5s; }
@keyframes floatCoin {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
.tp-card {
  background: linear-gradient(135deg, rgba(212,168,67,.12), rgba(212,168,67,.04));
  border: 1px solid rgba(212,168,67,.25);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.tp-card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.tp-card-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.tp-card-amount span { font-size: 16px; color: var(--gold-l); }
.tp-bar {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}
.tp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #F5C842);
  border-radius: 3px;
  transition: width 1s ease;
}
.tp-card-sub { font-size: 12px; color: var(--gold-l); }
.tp-text .section-title { color: #fff; }
.tp-text .section-subtitle { color: rgba(255,255,255,.6); }
.tp-benefits { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.tp-benefit { display: flex; align-items: flex-start; gap: 14px; }
.tp-b-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tp-benefit strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.tp-benefit p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ── DOWNLOAD CTA ── */
.download-cta {
  padding: 120px 0;
  background: linear-gradient(145deg, var(--deep-purple-l), var(--deep-purple), var(--deep-purple-d));
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,168,67,.08) 0%, transparent 70%);
  pointer-events: none;
}
.download-cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,99,255,.1) 0%, transparent 70%);
  pointer-events: none;
}
.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.download-text .section-title { text-align: left; }
.download-text .section-subtitle { text-align: left; margin: 0 0 40px; }
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 14px 22px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.store-btn:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
  border-color: rgba(212,168,67,.4);
}
.store-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-small { display: block; font-size: 10px; color: rgba(255,255,255,.5); }
.store-name { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.download-note { font-size: 13px; color: rgba(255,255,255,.4); }

/* QR code decorative */
.qr-container { position: relative; }
.qr-code {
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.qr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.qr-text { font-size: 11px; color: rgba(255,255,255,.5); text-align: center; line-height: 1.4; }
.qr-pattern {
  width: 80px;
  height: 80px;
  position: relative;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(212,168,67,.15) 4px,
    rgba(212,168,67,.15) 5px
  ),
  repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(212,168,67,.15) 4px,
    rgba(212,168,67,.15) 5px
  );
}
.qr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
}
.c-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.c-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.c-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.qr-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(212,168,67,.15) 0%, transparent 70%);
}

/* ── FOOTER ── */
.footer {
  background: var(--deep-purple-d);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { display: block; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(212,168,67,.15);
  border-color: rgba(212,168,67,.3);
  color: var(--gold);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-l); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.25); }
.footer-badges { display: flex; gap: 12px; }
.foot-badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 4px 10px;
  border-radius: 8px;
}

/* ── TONTINES GRID FULL (15 categories) ── */
.tontines-grid-full {
  grid-template-columns: repeat(5, 1fr) !important;
}
@media (max-width: 1200px) {
  .tontines-grid-full { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 900px) {
  .tontines-grid-full { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
  .tontines-grid-full { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  .tontines-grid-full { grid-template-columns: 1fr !important; }
}

/* ── SOON / BIENTÔT DISPONIBLE ── */
.soon-badge {
  width: 240px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(212,168,67,.25);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.soon-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(212,168,67,.08) 0%, transparent 70%);
}
.soon-icon {
  font-size: 48px;
  margin-bottom: 14px;
  animation: floatBadge 3s ease-in-out infinite;
  display: block;
}
.soon-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}
.soon-sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 20px;
}
.soon-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.soon-dots span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .4;
  animation: dotPulse 1.4s ease-in-out infinite;
}
.soon-dots span:nth-child(2) { animation-delay: 0.2s; }
.soon-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES — Design propre, lisible, professionnel
   ══════════════════════════════════════════════════════════════ */

/* Annuler le fond violet sur les pages légales */
body.legal-page::before {
  background: #ffffff !important;
}
body.legal-page {
  background: #f4f5f9;
}

/* Navbar toujours sombre sur pages légales */
body.legal-page .navbar {
  background: var(--deep-purple) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Hero de la page légale */
.legal-hero {
  background: linear-gradient(135deg, var(--deep-purple) 0%, var(--deep-purple-l) 60%, #3d1a6b 100%);
  padding: 80px 0 52px;
  position: relative;
  overflow: hidden;
}
.legal-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 40px;
  background: #f4f5f9;
  border-radius: 40px 40px 0 0;
}
.legal-hero-inner {
  position: relative;
  z-index: 1;
}
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}
.legal-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.legal-breadcrumb a:hover { color: var(--gold-l); }
.legal-breadcrumb span { color: rgba(255,255,255,0.25); }
.legal-breadcrumb strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.legal-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}
.legal-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.legal-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 20px;
}

/* Layout principal */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 48px 0 80px;
}

/* Table des matières latérale */
.legal-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #e2e4ef;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(30,10,60,0.05);
}
.legal-toc h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9498B0;
  margin-bottom: 16px;
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5A5E78;
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.2s;
  line-height: 1.4;
}
.legal-toc ul li a:hover {
  background: var(--primary-l);
  color: var(--primary);
}
.legal-toc ul li a .toc-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-l);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toc-divider {
  height: 1px;
  background: #e8e9f0;
  margin: 12px 0;
}
.toc-other-pages h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9498B0;
  margin-bottom: 8px;
  margin-top: 4px;
}
.toc-other-pages ul li a {
  font-size: 12px;
  color: #9498B0;
}
.toc-other-pages ul li a:hover { color: var(--primary); background: var(--primary-l); }

/* Contenu principal */
.legal-main { min-width: 0; }

.legal-section {
  background: #fff;
  border: 1px solid #e2e4ef;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(30,10,60,0.04);
  scroll-margin-top: 100px;
  transition: box-shadow 0.2s;
}
.legal-section:hover {
  box-shadow: 0 4px 20px rgba(30,10,60,0.08);
}
.legal-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f0f1f8;
}
.legal-section-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-l), #ddd8ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.legal-section-title {
  flex: 1;
}
.legal-section-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1D2E;
  margin: 0;
  line-height: 1.3;
}
.legal-section-title .lsn-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-l);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 4px;
}
.legal-section p {
  font-size: 15px;
  color: #3a3d52;
  line-height: 1.85;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--deep-purple); }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #3a3d52;
  line-height: 1.7;
  background: #fafbfd;
  border: 1px solid #eeeff6;
  border-radius: 10px;
  padding: 10px 14px;
}
.legal-section ul li::before {
  content: '▸';
  color: var(--primary);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}
.legal-section ul li strong {
  color: #1A1D2E;
  display: block;
  margin-bottom: 2px;
}

.legal-info-box {
  background: linear-gradient(135deg, #f0effe, #f7f5ff);
  border: 1.5px solid #d4d0ff;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.legal-info-box::before {
  content: 'ℹ️';
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-info-box p {
  margin: 0;
  font-size: 14px;
  color: #4a4680;
  line-height: 1.7;
}

.legal-contact-box {
  background: linear-gradient(135deg, var(--deep-purple-l) 0%, var(--deep-purple) 100%);
  border-radius: 20px;
  padding: 32px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(30,10,60,0.25);
}
.lcb-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.lcb-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.lcb-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}
.lcb-text a { color: var(--gold-l); text-decoration: none; font-weight: 600; }
.lcb-text a:hover { color: var(--gold); }

/* Legal page footer */
.legal-page-footer {
  background: var(--deep-purple-d);
  padding: 24px 0;
}
.legal-page-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.legal-page-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.legal-page-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.legal-page-footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.legal-page-footer-links a:hover { color: var(--gold-l); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
@media (max-width: 640px) {
  .legal-section { padding: 20px; }
  .legal-contact-box { flex-direction: column; text-align: center; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  section.hero { padding: 100px 40px 60px; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .tontines-grid { grid-template-columns: 1fr 1fr; }
  .marketplace-inner { gap: 48px; }
  .tp-inner { gap: 48px; }
}

@media (max-width: 900px) {
  section.hero { grid-template-columns: 1fr; padding: 100px 24px 60px; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { display: none; }
  .steps-container { flex-direction: column; }
  .step-arrow { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .marketplace-inner { grid-template-columns: 1fr; gap: 40px; }
  .marketplace-visual { display: none; }
  .security-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-inner { grid-template-columns: 1fr; gap: 40px; }
  .tp-visual { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .download-inner { grid-template-columns: 1fr; }
  .download-visual { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(30,10,60,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-link, .nav-cta { width: 100%; text-align: center; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .tontines-grid { grid-template-columns: 1fr 1fr; }
  .security-cards { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trusted-logos { gap: 20px; }
}

@media (max-width: 420px) {
  .tontines-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}
