/* ═══════════════════════════════════════════════════════════════
   Araventura — Landing page styles
   Dark default. Mirrors app tokens but is independent.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0C0F14;
  --surface: #151921;
  --surface-alt: #1C2230;
  --text: #F0F2F5;
  --text-soft: #9CA3B0;
  --text-dim: #5C6370;
  --primary: #F5C518;
  --primary-soft: rgba(245, 197, 24, 0.12);
  --primary-text: #1A1500;
  --border: #1E2432;
  --content-max: 1100px;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 200ms var(--ease);
}

a:hover { color: #FFD23F; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand img { width: 32px; height: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: all 150ms var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-text);
}

.btn--primary:hover {
  background: #FFD23F;
  color: var(--primary-text);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.25);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--surface-alt);
  border-color: var(--text-dim);
  color: var(--text);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--primary-soft), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title .accent { color: var(--primary); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-soft);
  max-width: 38ch;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  color: var(--text-soft);
  font-size: 1.0625rem;
  max-width: 50ch;
  margin: 0 auto;
}

/* ── Feature grid ───────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all 200ms var(--ease);
}

.feature:hover {
  border-color: var(--text-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature__desc {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ── How it works ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__num {
  counter-increment: step;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  font-family: 'Plus Jakarta Sans', monospace;
}

.step__num::before { content: counter(step); }

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__desc {
  color: var(--text-soft);
  font-size: 0.9375rem;
  max-width: 30ch;
  margin: 0 auto;
}

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  padding: 5rem 0;
  background: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, var(--primary-soft), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, var(--primary-soft), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-band > .container { position: relative; z-index: 1; }

.cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-band__subtitle {
  color: var(--text-soft);
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.footer__links a { color: var(--text-soft); }
.footer__links a:hover { color: var(--text); }

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__locale {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__locale-label {
  margin-right: 0.25rem;
}

.footer__locale-link {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 120ms, border-color 120ms;
}

.footer__locale-link:hover {
  color: var(--text);
  border-color: var(--text-soft);
}

.footer__locale-link--active {
  color: var(--primary-text);
  background: var(--primary);
  border-color: var(--primary);
}

.legal__locale-note {
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  background: var(--surface-alt, rgba(245, 197, 24, 0.08));
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  color: var(--text-soft);
  font-size: 0.875rem;
}

/* ── Legal page (Terms/Privacy/Cookies) ─────────────────────── */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal__updated {
  color: var(--text-dim);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.legal p, .legal ul {
  color: var(--text-soft);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.legal ul { padding-left: 1.5rem; }
.legal li { margin-bottom: 0.5rem; }

/* ── Cookie banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__text {
  flex: 1;
  color: var(--text-soft);
}

.cookie-banner__text a {
  color: var(--primary);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
}
