/* META RÊVES — landing styles. Aligned with the mobile app palette
   (apps/mobile/src/theme/colors.ts). Pure CSS, no framework. */

:root {
  --bg: #0d1424;
  --surface: #161e36;
  --surface-muted: #1f2945;
  --border: #2c3858;
  --text: #f4ede4;
  --text-muted: #9aa3b8;
  --primary: #c1a4ff;
  --primary-strong: #9d7bff;
  --danger: #ff8c8c;
  --max-width: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-strong);
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--primary);
}

p {
  color: var(--text);
  margin-bottom: 1rem;
}

p.muted {
  color: var(--text-muted);
}

ul {
  margin: 0.75rem 0 1rem 1.25rem;
  color: var(--text);
}

li {
  margin-bottom: 0.4rem;
}

/* Layout */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}

.nav .brand:hover {
  text-decoration: none;
}

.nav .brand-mark {
  width: 28px;
  height: 28px;
}

.nav .nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav .nav-links a {
  color: var(--text-muted);
}

.nav .nav-links a:hover {
  color: var(--primary);
}

/* Hero */

.hero {
  text-align: center;
  padding: 3rem 1.25rem 2rem;
}

.hero .hero-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .tagline {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: opacity 0.15s, transform 0.15s, border-color 0.15s;
}

.store-button:hover {
  text-decoration: none;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.store-button.primary {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.store-button.primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.store-button.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.store-icon {
  width: 18px;
  height: 18px;
}

/* Features */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.feature .icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--primary);
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Callout — section pleine largeur pour développer un point fort */

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  margin-top: 2.5rem;
}

.callout .callout-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.callout h2 {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.callout p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout blockquote {
  margin: 1rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--primary);
  background: var(--surface-muted);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-style: italic;
  font-size: 0.95rem;
}

/* Body content (Privacy / Terms) */

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.footer .footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.footer .footer-links a {
  color: var(--text-muted);
}

.footer .footer-links a:hover {
  color: var(--primary);
}

.footer .copyright {
  color: var(--text-muted);
}
