/*
 * Feuille de style partagée des pages légales Quran Breeze.
 * Dark only, accent violet premium, police système (look Apple, zéro dépendance externe).
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --surface: #0a0a0f;
  --text: #fafafa;
  --text-secondary: #a3a3ad;
  --text-muted: #5a5a66;
  --accent: #8b80e9;
  --accent-strong: #5b4fcf;
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.1);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lang-switch {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s ease;
  z-index: 10;
}

.lang-switch:hover {
  color: var(--accent);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.brand {
  text-align: center;
  margin-bottom: 48px;
}

.brand-name {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.6px;
}

.effective-date {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 56px;
}

.intro {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 48px;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.2px;
}

h2 .num {
  color: var(--accent);
  margin-right: 8px;
}

h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 24px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

.highlight {
  background: rgba(139, 128, 233, 0.08);
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 15px;
}

ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

ul li strong {
  color: var(--text);
  font-weight: 600;
}

.not-list li::before {
  background: #4ade80;
}

.restrict-list li::before {
  background: #ef4444;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

thead th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--hairline-strong);
}

tbody td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 128, 233, 0.3);
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

.divider {
  height: 1px;
  background: var(--hairline);
  margin: 48px 0;
}

.contact-box {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  margin-top: 32px;
}

.contact-box p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.contact-email {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: none;
}

.contact-email:hover {
  border: none;
  opacity: 0.85;
}

/* Page support : contenu centré verticalement. */
body.support {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.support .container {
  max-width: 480px;
  text-align: center;
  padding: 60px 24px;
}

.support-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 40px;
}

.support-card {
  padding: 40px 32px;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--hairline);
}

.support-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(139, 128, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.support-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.support-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.support-response {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: 13px;
}

/* Page d'accueil : liste des liens légaux. */
.home-nav {
  display: flex;
  flex-direction: column;
}

.home-nav a {
  display: block;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.2s ease;
}

.home-nav a:last-child {
  border-bottom: none;
}

.home-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--hairline);
}
