/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg:        #080808;
  --surface:   #111111;
  --surface2:  #1a1a1a;
  --border:    rgba(255,255,255,0.07);
  --primary:   #C9A84C;
  --primary2:  #e8c96a;
  --text:      #f0f0f0;
  --muted:     #888;
  --radius:    18px;
  --shadow:    0 8px 40px rgba(201,168,76,0.12);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary2); }

/* ── Utilitaires ─────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

/* ── Navbar ──────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 2px;
}
.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}
/* placeholder logo nav */
.nav-logo .logo-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #8a6a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #000;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--primary);
  color: #000 !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 10px;
  transition: background .2s, transform .15s;
}
.btn-nav:hover { background: var(--primary2) !important; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 70%);
  pointer-events: none;
}

/* Cover image placeholder */
.hero-cover {
  width: 100%;
  max-width: 900px;
  height: 420px;
  margin: 0 auto 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  position: relative;
}
.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.img-placeholder span { font-size: 40px; opacity: 0.3; }

/* Logo hero */
.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(201,168,76,0.3);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-logo .logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #8a6a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  font-weight: 900;
  color: #000;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 14px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.3);
}
.btn-primary:hover { background: var(--primary2); color: #000; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.4); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: background .2s, transform .15s;
}
.btn-secondary:hover { background: var(--surface); color: var(--text); transform: translateY(-2px); }

/* ── Stats band ──────────────────────────────────────────── */
.stats {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num { font-size: 36px; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Sections communes ───────────────────────────────────── */
section { padding: 80px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
}

/* ── Features ────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Screenshots ─────────────────────────────────────────── */
.screenshots { background: var(--surface); }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.screenshot-slot {
  aspect-ratio: 9/19;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
}
.screenshot-slot img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-slot .img-placeholder { font-size: 12px; }
.screenshot-slot .img-placeholder span { font-size: 32px; }

/* ── Promo banner ────────────────────────────────────────── */
.promo-banner {
  width: 100%;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  margin-top: 48px;
  position: relative;
}
.promo-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ── Premium ─────────────────────────────────────────────── */
.premium-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.premium-card h2 { font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.premium-card p { color: var(--muted); margin-bottom: 32px; }
.premium-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  text-align: left;
}
.premium-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.premium-feature::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Download ────────────────────────────────────────────── */
.download { text-align: center; }
.download-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 40px;
  min-width: 220px;
  transition: border-color .2s, transform .2s;
}
.download-card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-4px); }
.download-card .icon { font-size: 40px; margin-bottom: 12px; }
.download-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.download-card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero-cover { height: 220px; }
  .premium-card { padding: 36px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
